From ffa0c09f48540f438d66eece605fd26bce04075f Mon Sep 17 00:00:00 2001 From: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Date: Tue, 11 Feb 2020 11:37:21 -0800 Subject: [PATCH] Implemented Storage 71 features (#7589) --- .../checkstyle/checkstyle-suppressions.xml | 4 +- .../resources/spotbugs/spotbugs-exclude.xml | 1 + .../EncryptedBlobAsyncClient.java | 3 +- .../EncyptedBlockBlobAPITest.groovy | 13 +- sdk/storage/azure-storage-blob/CHANGELOG.md | 4 + .../azure/storage/blob/BlobAsyncClient.java | 29 +- .../azure/storage/blob/BlobClientBuilder.java | 25 +- .../blob/BlobContainerAsyncClient.java | 30 +- .../storage/blob/BlobContainerClient.java | 9 + .../blob/BlobContainerClientBuilder.java | 41 +- .../storage/blob/BlobServiceAsyncClient.java | 16 +- .../blob/BlobServiceClientBuilder.java | 40 +- .../storage/blob/BlobServiceVersion.java | 5 +- .../blob/implementation/AppendBlobsImpl.java | 45 +- .../AzureBlobStorageBuilder.java | 9 +- .../implementation/AzureBlobStorageImpl.java | 7 +- .../blob/implementation/BlobsImpl.java | 42 +- .../blob/implementation/BlockBlobsImpl.java | 59 +- .../blob/implementation/ContainersImpl.java | 26 +- .../blob/implementation/DirectorysImpl.java | 2 +- .../blob/implementation/PageBlobsImpl.java | 83 ++- .../AppendBlobAppendBlockFromUrlHeaders.java | 36 +- .../models/AppendBlobAppendBlockHeaders.java | 36 +- .../models/AppendBlobCreateHeaders.java | 36 +- .../models/BlobCopyFromURLHeaders.java | 62 ++ .../models/BlobGetPropertiesHeaders.java | 36 +- .../models/BlobSetMetadataHeaders.java | 34 ++ .../BlockBlobCommitBlockListHeaders.java | 36 +- .../BlockBlobStageBlockFromURLHeaders.java | 36 +- .../models/BlockBlobStageBlockHeaders.java | 36 +- .../models/BlockBlobUploadHeaders.java | 36 +- .../models/ContainerGetPropertiesHeaders.java | 58 ++ .../models/EncryptionScope.java | 54 ++ .../models/PageBlobClearPagesHeaders.java | 2 +- .../models/PageBlobCreateHeaders.java | 36 +- .../PageBlobUploadPagesFromURLHeaders.java | 36 +- .../models/PageBlobUploadPagesHeaders.java | 36 +- .../implementation/util/BuilderHelper.java | 2 +- .../storage/blob/models/AppendBlobItem.java | 28 + .../models/BlobContainerEncryptionScope.java | 80 +++ .../models/BlobContainerItemProperties.java | 57 ++ .../blob/models/BlobContainerProperties.java | 42 ++ .../blob/models/BlobDownloadHeaders.java | 36 +- .../storage/blob/models/BlobErrorCode.java | 5 + .../blob/models/BlobItemProperties.java | 30 +- .../storage/blob/models/BlockBlobItem.java | 28 +- .../storage/blob/models/PageBlobItem.java | 26 + .../specialized/AppendBlobAsyncClient.java | 25 +- .../blob/specialized/BlobAsyncClientBase.java | 49 +- .../blob/specialized/BlobClientBase.java | 9 + .../specialized/BlockBlobAsyncClient.java | 22 +- .../blob/specialized/PageBlobAsyncClient.java | 105 +++- .../blob/specialized/PageBlobClient.java | 57 +- .../SpecializedBlobClientBuilder.java | 43 +- ...lobAsyncClientBaseJavaDocCodeSnippets.java | 2 +- ...ageBlobAsyncClientJavaDocCodeSnippets.java | 37 ++ .../PageBlobClientJavaDocCodeSnippets.java | 37 ++ .../com/azure/storage/blob/APISpec.groovy | 8 + .../com/azure/storage/blob/BlobAPITest.groovy | 1 + .../com/azure/storage/blob/CPKNTest.groovy | 390 ++++++++++++ .../com/azure/storage/blob/CPKTest.groovy | 2 +- .../storage/blob/ContainerAPITest.groovy | 4 + .../com/azure/storage/blob/SASTest.groovy | 61 +- .../azure/storage/blob/ServiceAPITest.groovy | 20 +- .../blob/specialized/HelperTest.groovy | 58 +- .../blob/specialized/PageBlobAPITest.groovy | 37 ++ .../CPKNTestappendblobappendblock.json | 141 +++++ .../CPKNTestappendblobappendblockfromurl.json | 165 ++++++ .../CPKNTestappendblobclientbuildercheck.json | 91 +++ .../CPKNTestappendblobcreate.json | 114 ++++ .../CPKNTestblobclientbuildercheck.json | 91 +++ .../CPKNTestblockblobclientbuildercheck.json | 91 +++ .../CPKNTestblockblobcommitblocklist.json | 139 +++++ .../CPKNTestblockblobstageblock.json | 140 +++++ .../CPKNTestblockblobupload.json | 117 ++++ .../CPKNTestcontainerclientbuildercheck.json | 91 +++ .../CPKNTestcontainercreate.json | 131 ++++ ...tcontainerdenyencryptionscopeoverride.json | 153 +++++ .../CPKNTestcontainerlistblobsflat.json | 175 ++++++ ...PKNTestcontainerlistblobshierarchical.json | 175 ++++++ .../CPKNTestpageblobclearpage.json | 162 +++++ .../CPKNTestpageblobclientbuildercheck.json | 91 +++ .../CPKNTestpageblobcreate.json | 114 ++++ .../CPKNTestpageblobputmultiplepages.json | 140 +++++ .../CPKNTestpageblobputpage.json | 140 +++++ .../CPKNTestpageblobputpagefromurl.json | 186 ++++++ .../CPKNTestpageblobresize.json | 136 +++++ .../CPKNTestserviceclientbuildercheck.json | 91 +++ ...ITestgetpagerangesdiffprevsnapshoturl.json | 249 ++++++++ ...ntsasnetworkaccountsastokenonendpoint.json | 136 ++--- ...accountsasnetworkcreatecontainerfails.json | 74 +-- ...ountsasnetworkcreatecontainersucceeds.json | 92 +-- ...taccountsasnetworktestblobdeletefails.json | 94 +-- .../SASTestaccountsasnetworktestblobread.json | 98 +-- .../SASTestaccountsaspermissionsparse[0].json | 56 +- .../SASTestaccountsaspermissionsparse[1].json | 56 +- .../SASTestaccountsaspermissionsparse[2].json | 56 +- .../SASTestaccountsaspermissionsparse[3].json | 56 +- .../SASTestaccountsaspermissionsparse[4].json | 56 +- .../SASTestaccountsaspermissionsparse[5].json | 56 +- .../SASTestaccountsaspermissionsparse[6].json | 56 +- .../SASTestaccountsaspermissionsparse[7].json | 56 +- .../SASTestaccountsaspermissionsparse[8].json | 56 +- .../SASTestaccountsaspermissionsparse[9].json | 56 +- .../SASTestaccountsaspermissionsparseia.json | 56 +- ...STestaccountsaspermissionstostring[0].json | 56 +- ...STestaccountsaspermissionstostring[1].json | 56 +- ...STestaccountsaspermissionstostring[2].json | 56 +- ...STestaccountsaspermissionstostring[3].json | 56 +- ...STestaccountsaspermissionstostring[4].json | 56 +- ...STestaccountsaspermissionstostring[5].json | 56 +- ...STestaccountsaspermissionstostring[6].json | 56 +- ...STestaccountsaspermissionstostring[7].json | 56 +- ...STestaccountsaspermissionstostring[8].json | 56 +- .../SASTestaccountsasresourcetypeia.json | 56 +- ...SASTestaccountsasresourcetypeparse[0].json | 56 +- ...SASTestaccountsasresourcetypeparse[1].json | 56 +- ...SASTestaccountsasresourcetypeparse[2].json | 56 +- ...SASTestaccountsasresourcetypeparse[3].json | 56 +- ...Testaccountsasresourcetypetostring[0].json | 56 +- ...Testaccountsasresourcetypetostring[1].json | 56 +- ...Testaccountsasresourcetypetostring[2].json | 56 +- ...Testaccountsasresourcetypetostring[3].json | 56 +- ...staccountsassignaturesstringtosign[0].json | 56 +- ...staccountsassignaturesstringtosign[1].json | 56 +- ...staccountsassignaturesstringtosign[2].json | 56 +- ...SASTestaccountsassignaturevaluesia[0].json | 56 +- ...SASTestaccountsassignaturevaluesia[1].json | 56 +- ...SASTestaccountsassignaturevaluesia[2].json | 56 +- ...SASTestaccountsassignaturevaluesia[3].json | 56 +- .../SASTestaccountsassignaturevaluesnull.json | 56 +- ...countsassignaturevaluesnullpermission.json | 56 +- .../SASTestblobclientgetsnapshot.json | 98 +-- .../SASTestblobclientissnapshot.json | 98 +-- .../session-records/SASTestblobrange[0].json | 56 +- .../session-records/SASTestblobrange[1].json | 56 +- .../session-records/SASTestblobrange[2].json | 56 +- .../SASTestblobrangeia[0].json | 56 +- .../SASTestblobrangeia[1].json | 56 +- .../SASTestblobsaspermissionsparse[0].json | 56 +- .../SASTestblobsaspermissionsparse[1].json | 56 +- .../SASTestblobsaspermissionsparse[2].json | 56 +- .../SASTestblobsaspermissionsparse[3].json | 56 +- .../SASTestblobsaspermissionsparse[4].json | 56 +- .../SASTestblobsaspermissionsparse[5].json | 56 +- .../SASTestblobsaspermissionsparse[6].json | 56 +- .../SASTestblobsaspermissionsparseia.json | 56 +- .../SASTestblobsaspermissionstostring[0].json | 56 +- .../SASTestblobsaspermissionstostring[1].json | 56 +- .../SASTestblobsaspermissionstostring[2].json | 56 +- .../SASTestblobsaspermissionstostring[3].json | 56 +- .../SASTestblobsaspermissionstostring[4].json | 56 +- .../SASTestblobsaspermissionstostring[5].json | 56 +- ...blobservicesasnetworktestblobsnapshot.json | 192 +++--- .../session-records/SASTestbloburlparts.json | 56 +- ...ASTestcontainersaspermissionsparse[0].json | 56 +- ...ASTestcontainersaspermissionsparse[1].json | 56 +- ...ASTestcontainersaspermissionsparse[2].json | 56 +- ...ASTestcontainersaspermissionsparse[3].json | 56 +- ...ASTestcontainersaspermissionsparse[4].json | 56 +- ...ASTestcontainersaspermissionsparse[5].json | 56 +- ...ASTestcontainersaspermissionsparse[6].json | 56 +- ...ASTestcontainersaspermissionsparse[7].json | 56 +- ...SASTestcontainersaspermissionsparseia.json | 56 +- ...estcontainersaspermissionstostring[0].json | 56 +- ...estcontainersaspermissionstostring[1].json | 56 +- ...estcontainersaspermissionstostring[2].json | 56 +- ...estcontainersaspermissionstostring[3].json | 56 +- ...estcontainersaspermissionstostring[4].json | 56 +- ...estcontainersaspermissionstostring[5].json | 56 +- ...estcontainersaspermissionstostring[6].json | 56 +- .../SASTestiprangeparse[0].json | 56 +- .../SASTestiprangeparse[1].json | 56 +- .../SASTestiprangeparse[2].json | 56 +- .../SASTestiprangetostring[0].json | 56 +- .../SASTestiprangetostring[1].json | 56 +- .../SASTestiprangetostring[2].json | 56 +- .../SASTestsasprotocolparse[0].json | 56 +- .../SASTestsasprotocolparse[1].json | 56 +- ...stservicesassignaturesstringtosign[0].json | 56 +- ...stservicesassignaturesstringtosign[1].json | 56 +- ...stservicesassignaturesstringtosign[2].json | 56 +- ...stservicesassignaturesstringtosign[3].json | 56 +- ...stservicesassignaturesstringtosign[4].json | 56 +- ...stservicesassignaturesstringtosign[5].json | 56 +- ...stservicesassignaturesstringtosign[6].json | 56 +- ...stservicesassignaturesstringtosign[7].json | 56 +- ...stservicesassignaturesstringtosign[8].json | 56 +- ...stservicesassignaturesstringtosign[9].json | 56 +- ...turesstringtosignuserdelegationkey[0].json | 56 +- ...uresstringtosignuserdelegationkey[10].json | 56 +- ...uresstringtosignuserdelegationkey[11].json | 56 +- ...uresstringtosignuserdelegationkey[12].json | 56 +- ...uresstringtosignuserdelegationkey[13].json | 56 +- ...uresstringtosignuserdelegationkey[14].json | 56 +- ...turesstringtosignuserdelegationkey[1].json | 56 +- ...turesstringtosignuserdelegationkey[2].json | 56 +- ...turesstringtosignuserdelegationkey[3].json | 56 +- ...turesstringtosignuserdelegationkey[4].json | 56 +- ...turesstringtosignuserdelegationkey[5].json | 56 +- ...turesstringtosignuserdelegationkey[6].json | 56 +- ...turesstringtosignuserdelegationkey[7].json | 56 +- ...turesstringtosignuserdelegationkey[8].json | 56 +- ...turesstringtosignuserdelegationkey[9].json | 56 +- ...sassignaturevaluesassertgenerateok[0].json | 56 +- ...sassignaturevaluesassertgenerateok[1].json | 56 +- .../SASTestservicesassignaturevaluesia.json | 56 +- ...vicesassignaturevaluesnetworktestblob.json | 120 ++-- ...ignaturevaluesnetworktestblobsnapshot.json | 142 ++--- ...networktestblobsnapshotuserdelegation.json | 174 +++--- ...revaluesnetworktestblobuserdelegation.json | 138 ++--- ...assignaturevaluesnetworktestcontainer.json | 112 ++-- ...uesnetworktestcontaineruserdelegation.json | 92 +-- .../session-records/SASTesturlparser.json | 56 +- ...accountsasnetworkcreatecontainerfails.json | 94 +-- ...ountsasnetworkcreatecontainersucceeds.json | 112 ++-- ...ntsasnetworktestblobdeletefailsnewapi.json | 94 +-- ...entTestsaccountsasnetworktestblobread.json | 98 +-- ...ntTestsblobsasimplutilstringtosign[0].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[1].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[2].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[3].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[4].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[5].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[6].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[7].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[8].json | 76 +-- ...ntTestsblobsasimplutilstringtosign[9].json | 76 +-- ...lutilstringtosignuserdelegationkey[0].json | 76 +-- ...utilstringtosignuserdelegationkey[10].json | 76 +-- ...utilstringtosignuserdelegationkey[11].json | 76 +-- ...utilstringtosignuserdelegationkey[12].json | 76 +-- ...utilstringtosignuserdelegationkey[13].json | 76 +-- ...utilstringtosignuserdelegationkey[14].json | 76 +-- ...lutilstringtosignuserdelegationkey[1].json | 76 +-- ...lutilstringtosignuserdelegationkey[2].json | 76 +-- ...lutilstringtosignuserdelegationkey[3].json | 76 +-- ...lutilstringtosignuserdelegationkey[4].json | 76 +-- ...lutilstringtosignuserdelegationkey[5].json | 76 +-- ...lutilstringtosignuserdelegationkey[6].json | 76 +-- ...lutilstringtosignuserdelegationkey[7].json | 76 +-- ...lutilstringtosignuserdelegationkey[8].json | 76 +-- ...lutilstringtosignuserdelegationkey[9].json | 76 +-- ...blobservicesasnetworktestblobsnapshot.json | 156 ++--- ...ClientTestsensurestateillegalargument.json | 76 +-- ...tsensurestateresourceandpermission[0].json | 76 +-- ...tsensurestateresourceandpermission[1].json | 76 +-- ...tsensurestateresourceandpermission[2].json | 76 +-- .../SasClientTestsensurestateversion.json | 76 +-- .../SasClientTestsnetworktestblobsas.json | 120 ++-- ...SasClientTestsnetworktestblobsnapshot.json | 162 ++--- ...networktestblobsnapshotuserdelegation.json | 174 +++--- ...entTestsnetworktestblobuserdelegation.json | 138 ++--- ...stsnetworktestcontaineruserdelegation.json | 112 ++-- ...assignaturevaluesnetworktestcontainer.json | 132 ++--- .../azure-storage-blob/swagger/README.md | 55 +- .../common/implementation/Constants.java | 2 +- .../implementation/StorageImplUtils.java | 3 +- .../DataLakeFileSystemClientBuilder.java | 3 +- .../datalake/DataLakePathAsyncClient.java | 5 +- .../datalake/DataLakePathClientBuilder.java | 3 +- .../DataLakeServiceClientBuilder.java | 3 +- .../file/datalake/DataLakeServiceVersion.java | 5 +- .../implementation/util/TransformUtils.java | 22 + .../DataLakeLeaseClientBuilder.java | 31 +- .../storage/file/datalake/SASTest.groovy | 47 +- ...ntsasnetworkaccountsastokenonendpoint.json | 168 +++--- ...ccountsasnetworkcreatefilesystemfails.json | 130 ++-- ...untsasnetworkcreatefilesystemsucceeds.json | 148 ++--- ...taccountsasnetworktestfiledeletefails.json | 150 ++--- .../SASTestaccountsasnetworktestfileread.json | 190 +++--- .../session-records/SASTestfilerange[0].json | 112 ++-- .../session-records/SASTestfilerange[1].json | 112 ++-- .../session-records/SASTestfilerange[2].json | 112 ++-- .../SASTestfilerangeia[0].json | 112 ++-- .../SASTestfilerangeia[1].json | 112 ++-- ...ASTestfilesystemsaspermissionparse[0].json | 112 ++-- ...ASTestfilesystemsaspermissionparse[1].json | 112 ++-- ...ASTestfilesystemsaspermissionparse[2].json | 112 ++-- ...ASTestfilesystemsaspermissionparse[3].json | 112 ++-- ...ASTestfilesystemsaspermissionparse[4].json | 112 ++-- ...ASTestfilesystemsaspermissionparse[5].json | 112 ++-- ...ASTestfilesystemsaspermissionparse[6].json | 112 ++-- ...ASTestfilesystemsaspermissionparse[7].json | 112 ++-- ...SASTestfilesystemsaspermissionparseia.json | 112 ++-- ...estfilesystemsaspermissiontostring[0].json | 112 ++-- ...estfilesystemsaspermissiontostring[1].json | 112 ++-- ...estfilesystemsaspermissiontostring[2].json | 112 ++-- ...estfilesystemsaspermissiontostring[3].json | 112 ++-- ...estfilesystemsaspermissiontostring[4].json | 112 ++-- ...estfilesystemsaspermissiontostring[5].json | 112 ++-- ...estfilesystemsaspermissiontostring[6].json | 112 ++-- .../SASTestpathsaspermissionparse[0].json | 112 ++-- .../SASTestpathsaspermissionparse[1].json | 112 ++-- .../SASTestpathsaspermissionparse[2].json | 112 ++-- .../SASTestpathsaspermissionparse[3].json | 112 ++-- .../SASTestpathsaspermissionparse[4].json | 112 ++-- .../SASTestpathsaspermissionparse[5].json | 112 ++-- .../SASTestpathsaspermissionparse[6].json | 112 ++-- .../SASTestpathsaspermissionparseia.json | 112 ++-- .../SASTestpathsaspermissiontostring[0].json | 112 ++-- .../SASTestpathsaspermissiontostring[1].json | 112 ++-- .../SASTestpathsaspermissiontostring[2].json | 112 ++-- .../SASTestpathsaspermissiontostring[3].json | 112 ++-- .../SASTestpathsaspermissiontostring[4].json | 112 ++-- .../SASTestpathsaspermissiontostring[5].json | 112 ++-- .../SASTestsasimplutilstringtosign[0].json | 112 ++-- .../SASTestsasimplutilstringtosign[1].json | 112 ++-- .../SASTestsasimplutilstringtosign[2].json | 112 ++-- .../SASTestsasimplutilstringtosign[3].json | 112 ++-- .../SASTestsasimplutilstringtosign[4].json | 112 ++-- .../SASTestsasimplutilstringtosign[5].json | 112 ++-- .../SASTestsasimplutilstringtosign[6].json | 112 ++-- .../SASTestsasimplutilstringtosign[7].json | 112 ++-- .../SASTestsasimplutilstringtosign[8].json | 112 ++-- ...lutilstringtosignuserdelegationkey[0].json | 112 ++-- ...utilstringtosignuserdelegationkey[10].json | 112 ++-- ...utilstringtosignuserdelegationkey[11].json | 112 ++-- ...utilstringtosignuserdelegationkey[12].json | 112 ++-- ...utilstringtosignuserdelegationkey[13].json | 112 ++-- ...lutilstringtosignuserdelegationkey[1].json | 112 ++-- ...lutilstringtosignuserdelegationkey[2].json | 112 ++-- ...lutilstringtosignuserdelegationkey[3].json | 112 ++-- ...lutilstringtosignuserdelegationkey[4].json | 112 ++-- ...lutilstringtosignuserdelegationkey[5].json | 112 ++-- ...lutilstringtosignuserdelegationkey[6].json | 112 ++-- ...lutilstringtosignuserdelegationkey[7].json | 112 ++-- ...lutilstringtosignuserdelegationkey[8].json | 112 ++-- ...lutilstringtosignuserdelegationkey[9].json | 112 ++-- ...vicesassignaturevaluesnetworktestfile.json | 156 ++--- ...ssignaturevaluesnetworktestfilesystem.json | 168 +++--- ...esnetworktestfilesystemuserdelegation.json | 148 ++--- ...revaluesnetworktestfileuserdelegation.json | 174 +++--- .../azure-storage-file-share/CHANGELOG.md | 5 + sdk/storage/azure-storage-file-share/pom.xml | 1 + .../storage/file/share/FileSmbProperties.java | 21 +- .../storage/file/share/ShareAsyncClient.java | 82 ++- .../azure/storage/file/share/ShareClient.java | 73 ++- .../file/share/ShareDirectoryAsyncClient.java | 82 ++- .../file/share/ShareDirectoryClient.java | 75 ++- .../file/share/ShareFileAsyncClient.java | 558 ++++++++++++++++-- .../storage/file/share/ShareFileClient.java | 449 +++++++++++++- .../file/share/ShareServiceVersion.java | 5 +- .../AzureFileStorageBuilder.java | 2 +- .../file/share/implementation/FilesImpl.java | 327 ++++++++-- .../models/CopyFileSmbInfo.java | 211 +++++++ .../DirectoryForceCloseHandlesHeaders.java | 29 + .../models/FileAcquireLeaseHeaders.java | 267 +++++++++ .../models/FileBreakLeaseHeaders.java | 267 +++++++++ .../models/FileChangeLeaseHeaders.java | 267 +++++++++ .../models/FileForceCloseHandlesHeaders.java | 29 + .../models/FileGetPropertiesHeaders.java | 92 +++ .../models/FileReleaseLeaseHeaders.java | 241 ++++++++ .../models/FilesAcquireLeaseResponse.java | 27 + .../models/FilesBreakLeaseResponse.java | 27 + .../models/FilesChangeLeaseResponse.java | 27 + .../models/FilesReleaseLeaseResponse.java | 27 + .../models/LeaseAccessConditions.java | 45 ++ .../models/LeaseDurationType.java | 55 ++ .../implementation/models/LeaseStateType.java | 70 +++ .../models/LeaseStatusType.java | 55 ++ .../models/ShareGetPropertiesHeaders.java | 120 ++++ .../file/share/models/CloseHandlesInfo.java | 22 + .../file/share/models/LeaseDurationType.java | 55 ++ .../file/share/models/LeaseStateType.java | 70 +++ .../file/share/models/LeaseStatusType.java | 55 ++ .../file/share/models/NtfsFileAttributes.java | 5 +- .../share/models/PermissionCopyModeType.java | 55 ++ .../file/share/models/ShareErrorCode.java | 18 +- .../models/ShareFileDownloadHeaders.java | 89 +++ .../share/models/ShareFileProperties.java | 79 +++ .../file/share/models/ShareProperties.java | 118 ++++ .../share/models/ShareRequestConditions.java | 37 ++ .../specialized/ShareLeaseAsyncClient.java | 252 ++++++++ .../share/specialized/ShareLeaseClient.java | 187 ++++++ .../specialized/ShareLeaseClientBuilder.java | 114 ++++ .../file/share/specialized/package-info.java | 7 + .../src/main/java/module-info.java | 1 + .../share/ShareAsyncJavaDocCodeSamples.java | 50 +- ...ShareDirectoryAsyncJavaDocCodeSamples.java | 114 +++- .../ShareDirectoryJavaDocCodeSamples.java | 51 +- .../ShareFileAsyncJavaDocCodeSamples.java | 290 ++++++++- .../share/ShareFileJavaDocCodeSamples.java | 289 ++++++++- .../file/share/ShareJavaDocCodeSamples.java | 45 ++ .../LeaseAsyncClientJavaDocCodeSnippets.java | 90 +++ ...LeaseClientBuilderJavaDocCodeSnippets.java | 66 +++ .../LeaseClientJavaDocCodeSnippets.java | 99 ++++ .../azure/storage/file/share/APISpec.groovy | 143 ++++- .../file/share/DirectoryAPITests.groovy | 2 + .../file/share/DirectoryAsyncAPITests.groovy | 58 +- .../storage/file/share/FileAPITests.groovy | 34 ++ .../file/share/FileAsyncAPITests.groovy | 493 +++++++++++++++- .../file/share/FileSasClientTests.groovy | 1 + .../file/share/FileServiceAPITests.groovy | 22 + .../share/FileServiceAsyncAPITests.groovy | 18 + .../storage/file/share/ShareAPITests.groovy | 22 +- .../file/share/ShareAsyncAPITests.groovy | 75 ++- .../share/specialized/LeaseAPITest.groovy | 173 ++++++ .../DirectoryAPITestsCreateDirectory.json | 50 +- ...DirectoryAPITestsCreateDirectoryError.json | 40 +- ...CreateDirectoryPermissionAndKeyError0.json | 22 +- ...CreateDirectoryPermissionAndKeyError1.json | 22 +- ...estsCreateDirectoryWithFilePermission.json | 50 +- ...sCreateDirectoryWithFilePermissionKey.json | 68 +-- ...ryAPITestsCreateDirectoryWithMetadata.json | 50 +- .../DirectoryAPITestsCreateFile.json | 79 ++- ...rectoryAPITestsCreateFileInvalidArgs0.json | 68 +-- ...rectoryAPITestsCreateFileInvalidArgs1.json | 68 +-- ...irectoryAPITestsCreateFileMaxOverload.json | 78 +-- ...estsCreateFileMaxOverloadInvalidArgs0.json | 68 +-- ...estsCreateFileMaxOverloadInvalidArgs1.json | 68 +-- ...estsCreateFileMaxOverloadInvalidArgs2.json | 68 +-- ...estsCreateFileMaxOverloadInvalidArgs3.json | 68 +-- .../DirectoryAPITestsCreateSubDirectory.json | 80 +-- ...TestsCreateSubDirectoryFilePermission.json | 80 +-- ...tsCreateSubDirectoryFilePermissionKey.json | 96 +-- ...APITestsCreateSubDirectoryInvalidName.json | 68 +-- ...oryAPITestsCreateSubDirectoryMetadata.json | 80 +-- ...ITestsCreateSubDirectoryMetadataError.json | 68 +-- .../DirectoryAPITestsDeleteDirectory.json | 66 +-- ...DirectoryAPITestsDeleteDirectoryError.json | 40 +- .../DirectoryAPITestsDeleteFile.json | 94 +-- .../DirectoryAPITestsDeleteFileError.json | 68 +-- .../DirectoryAPITestsDeleteSubDirectory.json | 96 +-- ...ectoryAPITestsDeleteSubDirectoryError.json | 68 +-- ...ectoryAPITestsForceCloseAllHandlesMin.json | 67 +-- ...ITestsForceCloseHandleInvalidHandleID.json | 68 +-- .../DirectoryAPITestsForceCloseHandleMin.json | 67 +-- .../DirectoryAPITestsGetDirectoryPath.json | 22 +- .../DirectoryAPITestsGetDirectoryURL.json | 22 +- .../DirectoryAPITestsGetFileClient.json | 22 +- .../DirectoryAPITestsGetProperties.json | 78 +-- .../DirectoryAPITestsGetPropertiesError.json | 40 +- .../DirectoryAPITestsGetShareName.json | 22 +- .../DirectoryAPITestsGetShareSnapshotURL.json | 44 +- .../DirectoryAPITestsGetSnapshotId.json | 22 +- ...irectoryAPITestsGetSubDirectoryClient.json | 22 +- ...ctoryAPITestsListFilesAndDirectories0.json | 218 +++---- ...ctoryAPITestsListFilesAndDirectories1.json | 218 +++---- ...yAPITestsListFilesAndDirectoriesArgs0.json | 286 ++++----- ...yAPITestsListFilesAndDirectoriesArgs1.json | 322 +++++----- ...yAPITestsListFilesAndDirectoriesArgs2.json | 286 ++++----- .../DirectoryAPITestsListHandles0.json | 66 +-- .../DirectoryAPITestsListHandles1.json | 66 +-- .../DirectoryAPITestsListHandlesError.json | 40 +- .../DirectoryAPITestsSetMetadata.json | 126 ++-- .../DirectoryAPITestsSetMetadataError.json | 68 +-- .../DirectoryAPITestsSetPropertiesError0.json | 50 +- .../DirectoryAPITestsSetPropertiesError1.json | 50 +- ...ryAPITestsSetPropertiesFilePermission.json | 78 +-- ...PITestsSetPropertiesFilePermissionKey.json | 96 +-- ...AsyncAPITestsCreateDirWithFilePermKey.json | 68 +-- ...DirectoryAsyncAPITestsCreateDirectory.json | 50 +- ...toryAsyncAPITestsCreateDirectoryError.json | 40 +- ...estsCreateDirectoryWithFilePermission.json | 50 +- ...ncAPITestsCreateDirectoryWithMetadata.json | 50 +- .../DirectoryAsyncAPITestsCreateFile.json | 78 +-- ...ryAsyncAPITestsCreateFileInvalidArgs0.json | 68 +-- ...ryAsyncAPITestsCreateFileInvalidArgs1.json | 68 +-- ...DirectoryAsyncAPITestsCreateFileLease.json | 134 +++++ ...ctoryAsyncAPITestsCreateFileLeaseFail.json | 127 ++++ ...oryAsyncAPITestsCreateFileMaxOverload.json | 78 +-- ...estsCreateFileMaxOverloadInvalidArgs0.json | 68 +-- ...estsCreateFileMaxOverloadInvalidArgs1.json | 68 +-- ...estsCreateFileMaxOverloadInvalidArgs2.json | 68 +-- ...estsCreateFileMaxOverloadInvalidArgs3.json | 68 +-- ...ectoryAsyncAPITestsCreateSubDirectory.json | 78 +-- ...APITestsCreateSubDirectoryFilePermKey.json | 96 +-- ...TestsCreateSubDirectoryFilePermission.json | 78 +-- ...APITestsCreateSubDirectoryInvalidName.json | 68 +-- ...yncAPITestsCreateSubDirectoryMetadata.json | 78 +-- ...ITestsCreateSubDirectoryMetadataError.json | 68 +-- ...DirectoryAsyncAPITestsDeleteDirectory.json | 66 +-- ...toryAsyncAPITestsDeleteDirectoryError.json | 40 +- .../DirectoryAsyncAPITestsDeleteFile.json | 94 +-- ...DirectoryAsyncAPITestsDeleteFileError.json | 68 +-- ...DirectoryAsyncAPITestsDeleteFileLease.json | 124 ++++ ...ctoryAsyncAPITestsDeleteFileLeaseFail.json | 127 ++++ ...ectoryAsyncAPITestsDeleteSubDirectory.json | 94 +-- ...yAsyncAPITestsDeleteSubDirectoryError.json | 68 +-- ...yAsyncAPITestsForceCloseAllHandlesMin.json | 67 +-- ...ITestsForceCloseHandleInvalidHandleID.json | 68 +-- ...ctoryAsyncAPITestsForceCloseHandleMin.json | 67 +-- ...irectoryAsyncAPITestsGetDirectoryPath.json | 22 +- ...DirectoryAsyncAPITestsGetDirectoryURL.json | 22 +- .../DirectoryAsyncAPITestsGetFileClient.json | 22 +- .../DirectoryAsyncAPITestsGetProperties.json | 78 +-- ...ectoryAsyncAPITestsGetPropertiesError.json | 40 +- .../DirectoryAsyncAPITestsGetShareName.json | 22 +- .../DirectoryAsyncAPITestsGetSnapshotId.json | 22 +- ...oryAsyncAPITestsGetSubDirectoryClient.json | 23 +- ...AsyncAPITestsListFilesAndDirectories0.json | 208 +++---- ...AsyncAPITestsListFilesAndDirectories1.json | 208 +++---- ...cAPITestsListFilesAndDirectoriesArgs0.json | 264 ++++----- ...cAPITestsListFilesAndDirectoriesArgs1.json | 300 +++++----- ...cAPITestsListFilesAndDirectoriesArgs2.json | 264 ++++----- .../DirectoryAsyncAPITestsListHandles0.json | 66 +-- .../DirectoryAsyncAPITestsListHandles1.json | 66 +-- ...irectoryAsyncAPITestsListHandlesError.json | 40 +- .../DirectoryAsyncAPITestsSetMetadata.json | 126 ++-- ...irectoryAsyncAPITestsSetMetadataError.json | 68 +-- ...ectoryAsyncAPITestsSetPropertiesError.json | 50 +- ...ncAPITestsSetPropertiesFilePermission.json | 78 +-- ...PITestsSetPropertiesFilePermissionKey.json | 96 +-- .../FileAPITestsClearRangeError.json | 88 +-- .../FileAPITestsClearRangeErrorArgs.json | 88 +-- .../FileAPITestsCreateFile.json | 50 +- .../FileAPITestsCreateFileError.json | 40 +- ...TestsCreateFilePermissionAndKeyError0.json | 22 +- ...TestsCreateFilePermissionAndKeyError1.json | 22 +- .../FileAPITestsCreateFileWithArgsError.json | 40 +- .../FileAPITestsCreateFileWithArgsFp.json | 50 +- .../FileAPITestsCreateFileWithArgsFpk.json | 68 +-- .../FileAPITestsDeleteFile.json | 66 +-- .../FileAPITestsDeleteFileError.json | 40 +- .../FileAPITestsDownloadDataError.json | 40 +- .../FileAPITestsForceCloseAllHandlesMin.json | 67 +-- ...ITestsForceCloseHandleInvalidHandleID.json | 68 +-- .../FileAPITestsForceCloseHandleMin.json | 67 +-- .../FileAPITestsGetFilePath.json | 22 +- .../FileAPITestsGetFileURL.json | 22 +- .../FileAPITestsGetProperties.json | 78 +-- .../FileAPITestsGetPropertiesError.json | 38 +- .../FileAPITestsGetShareName.json | 22 +- .../FileAPITestsGetShareSnapshotURL.json | 44 +- .../FileAPITestsGetSnapshotId.json | 22 +- .../FileAPITestsListHandles.json | 66 +-- .../FileAPITestsListHandlesWithMaxResult.json | 66 +-- .../FileAPITestsListRanges.json | 90 +-- .../FileAPITestsListRangesWithRange.json | 90 +-- .../FileAPITestsSetHttpHeadersError.json | 68 +-- .../FileAPITestsSetHttpHeadersFp.json | 78 +-- .../FileAPITestsSetHttpHeadersFpk.json | 96 +-- .../FileAPITestsSetMetadata.json | 126 ++-- .../FileAPITestsSetMetadataError.json | 68 +-- .../FileAPITestsStartCopy.json | 131 ++-- .../FileAPITestsStartCopyWithArgs0.json | 136 +++++ .../FileAPITestsStartCopyWithArgs1.json | 136 +++++ .../FileAPITestsStartCopyWithArgs2.json | 136 +++++ .../FileAPITestsStartCopyWithArgs3.json | 136 +++++ .../FileAPITestsUploadAndClearRange.json | 118 ++-- ...leAPITestsUploadAndClearRangeWithArgs.json | 118 ++-- .../FileAPITestsUploadAndDownloadData.json | 98 +-- ...APITestsUploadAndDownloadDataWithArgs.json | 98 +-- ...leAPITestsUploadAndDownloadFileExists.json | 70 +-- ...tsUploadAndDownloadToFileDoesNotExist.json | 126 ++-- .../FileAPITestsUploadDataError.json | 40 +- ...FileAPITestsUploadDataLengthMismatch0.json | 58 +- ...FileAPITestsUploadDataLengthMismatch1.json | 58 +- .../FileAPITestsUploadFileDoesNotExist.json | 22 +- .../FileAPITestsUploadRangeFromURL.json | 146 ++--- .../FileAsyncAPITestsClearRangeError.json | 88 +-- .../FileAsyncAPITestsClearRangeErrorArgs.json | 88 +-- .../FileAsyncAPITestsClearRangeLease.json | 76 +++ .../FileAsyncAPITestsClearRangeLeaseFail.json | 98 +++ .../FileAsyncAPITestsCreateFile.json | 50 +- .../FileAsyncAPITestsCreateFileError.json | 40 +- ...eAsyncAPITestsCreateFileWithArgsError.json | 40 +- ...FileAsyncAPITestsCreateFileWithArgsFp.json | 50 +- ...ileAsyncAPITestsCreateFileWithArgsFpk.json | 68 +-- .../FileAsyncAPITestsCreateLease.json | 76 +++ .../FileAsyncAPITestsCreateLeaseFail.json | 98 +++ .../FileAsyncAPITestsDeleteFile.json | 66 +-- .../FileAsyncAPITestsDeleteFileError.json | 40 +- .../FileAsyncAPITestsDeleteFileLease.json | 95 +++ .../FileAsyncAPITestsDeleteFileLeaseFail.json | 98 +++ .../FileAsyncAPITestsDownloadDataError.json | 40 +- .../FileAsyncAPITestsDownloadLease.json | 76 +++ .../FileAsyncAPITestsDownloadLeaseFail.json | 98 +++ .../FileAsyncAPITestsDownloadToFileLease.json | 171 ++++++ ...eAsyncAPITestsDownloadToFileLeaseFail.json | 119 ++++ ...eAsyncAPITestsForceCloseAllHandlesMin.json | 67 +-- ...ITestsForceCloseHandleInvalidHandleID.json | 68 +-- .../FileAsyncAPITestsForceCloseHandleMin.json | 67 +-- .../FileAsyncAPITestsGetFilePath.json | 22 +- .../FileAsyncAPITestsGetFileURL.json | 22 +- .../FileAsyncAPITestsGetProperties.json | 78 +-- .../FileAsyncAPITestsGetPropertiesError.json | 38 +- .../FileAsyncAPITestsGetPropertiesLease.json | 110 ++++ ...leAsyncAPITestsGetPropertiesLeaseFail.json | 95 +++ .../FileAsyncAPITestsGetShareName.json | 22 +- .../FileAsyncAPITestsGetSnapshotId.json | 22 +- .../FileAsyncAPITestsListHandles.json | 66 +-- ...AsyncAPITestsListHandlesWithMaxResult.json | 66 +-- .../FileAsyncAPITestsListRanges.json | 90 +-- .../FileAsyncAPITestsListRangesLease.json | 124 ++++ .../FileAsyncAPITestsListRangesLeaseFail.json | 122 ++++ .../FileAsyncAPITestsListRangesWithRange.json | 90 +-- .../FileAsyncAPITestsSetHttpHeadersError.json | 68 +-- .../FileAsyncAPITestsSetHttpHeadersFp.json | 78 +-- .../FileAsyncAPITestsSetHttpHeadersFpk.json | 96 +-- .../FileAsyncAPITestsSetHttpHeadersLease.json | 105 ++++ ...eAsyncAPITestsSetHttpHeadersLeaseFail.json | 98 +++ .../FileAsyncAPITestsSetMetadata.json | 126 ++-- .../FileAsyncAPITestsSetMetadataError.json | 68 +-- .../FileAsyncAPITestsSetMetadataLease.json | 98 +++ ...FileAsyncAPITestsSetMetadataLeaseFail.json | 98 +++ .../FileAsyncAPITestsStartCopy.json | 131 ++-- .../FileAsyncAPITestsStartCopyWithArgs0.json | 136 +++++ .../FileAsyncAPITestsStartCopyWithArgs1.json | 136 +++++ .../FileAsyncAPITestsStartCopyWithArgs2.json | 136 +++++ .../FileAsyncAPITestsStartCopyWithArgs3.json | 136 +++++ .../FileAsyncAPITestsUploadAndClearRange.json | 118 ++-- ...ncAPITestsUploadAndClearRangeWithArgs.json | 118 ++-- ...ileAsyncAPITestsUploadAndDownloadData.json | 98 +-- ...APITestsUploadAndDownloadDataWithArgs.json | 98 +-- ...ncAPITestsUploadAndDownloadFileExists.json | 70 +-- ...tsUploadAndDownloadToFileDoesNotExist.json | 126 ++-- .../FileAsyncAPITestsUploadDataError.json | 40 +- ...syncAPITestsUploadDataLengthMismatch0.json | 58 +- ...syncAPITestsUploadDataLengthMismatch1.json | 58 +- ...leAsyncAPITestsUploadFileDoesNotExist.json | 22 +- .../FileAsyncAPITestsUploadFromFileLease.json | 100 ++++ ...eAsyncAPITestsUploadFromFileLeaseFail.json | 99 ++++ .../FileAsyncAPITestsUploadLease.json | 76 +++ .../FileAsyncAPITestsUploadLeaseFail.json | 99 ++++ .../FileAsyncAPITestsUploadRangeFromURL.json | 146 ++--- ...eAsyncAPITestsUploadRangeFromURLLease.json | 152 +++++ ...ncAPITestsUploadRangeFromURLLeaseFail.json | 151 +++++ ...ntSASNetworkAccountSasTokenOnEndpoint.json | 87 ++- ...stsAccountSASNetworkCreateDeleteShare.json | 38 +- ...TestsFileSASNetworkTestDownloadUpload.json | 118 ++-- ...SASTestsFileSASNetworkTestUploadFails.json | 84 +-- .../FileSASTestsFileSASPermissionsParse0.json | 2 +- .../FileSASTestsFileSASPermissionsParse1.json | 2 +- .../FileSASTestsFileSASPermissionsParse2.json | 2 +- .../FileSASTestsFileSASPermissionsParse3.json | 2 +- .../FileSASTestsFileSASPermissionsParse4.json | 2 +- .../FileSASTestsFileSASPermissionsParse5.json | 2 +- ...FileSASTestsFileSASPermissionsParseIA.json | 2 +- ...leSASTestsFileSASPermissionsToString0.json | 2 +- ...leSASTestsFileSASPermissionsToString1.json | 2 +- ...leSASTestsFileSASPermissionsToString2.json | 2 +- ...leSASTestsFileSASPermissionsToString3.json | 2 +- ...leSASTestsFileSASPermissionsToString4.json | 2 +- ...sShareSASNetworkIdentifierPermissions.json | 130 ++-- ...FileSASTestsShareSASPermissionsParse0.json | 2 +- ...FileSASTestsShareSASPermissionsParse1.json | 2 +- ...FileSASTestsShareSASPermissionsParse2.json | 2 +- ...FileSASTestsShareSASPermissionsParse3.json | 2 +- ...FileSASTestsShareSASPermissionsParse4.json | 2 +- ...FileSASTestsShareSASPermissionsParse5.json | 2 +- ...FileSASTestsShareSASPermissionsParse6.json | 2 +- ...ileSASTestsShareSASPermissionsParseIA.json | 2 +- ...eSASTestsShareSASPermissionsToString0.json | 2 +- ...eSASTestsShareSASPermissionsToString1.json | 2 +- ...eSASTestsShareSASPermissionsToString2.json | 2 +- ...eSASTestsShareSASPermissionsToString3.json | 2 +- ...eSASTestsShareSASPermissionsToString4.json | 2 +- ...eSASTestsShareSASPermissionsToString5.json | 2 +- ...stsAccountSASNetworkCreateDeleteShare.json | 86 +-- ...TestsFileSASNetworkTestDownloadUpload.json | 119 ++-- ...entTestsFileSASNetworkTestUploadFails.json | 84 +-- ...sShareSASNetworkIdentifierPermissions.json | 158 ++--- .../FileServiceAPITestsCreateShare.json | 22 +- ...erviceAPITestsCreateShareMaxOverloads.json | 22 +- ...ceAPITestsCreateShareWithInvalidArgs0.json | 20 +- ...ceAPITestsCreateShareWithInvalidArgs1.json | 20 +- .../FileServiceAPITestsDeleteShare.json | 38 +- ...erviceAPITestsDeleteShareDoesNotExist.json | 20 +- .../FileServiceAPITestsGetFileServiceURL.json | 2 +- ...ceAPITestsGetShareDoesNotCreateAShare.json | 2 +- ...ileServiceAPITestsListSharesWithArgs0.json | 102 ++-- ...ileServiceAPITestsListSharesWithArgs1.json | 102 ++-- ...ileServiceAPITestsListSharesWithArgs2.json | 102 ++-- ...eServiceAPITestsListSharesWithFilter0.json | 80 +-- ...eServiceAPITestsListSharesWithFilter1.json | 80 +-- ...eServiceAPITestsListSharesWithFilter2.json | 80 +-- ...eServiceAPITestsListSharesWithFilter3.json | 98 +-- ...iceAPITestsListSharesWithPremiumShare.json | 46 ++ ...ileServiceAPITestsSetAndGetProperties.json | 58 +- ...tsSetAndGetPropertiesWithInvalidArgs0.json | 20 +- ...tsSetAndGetPropertiesWithInvalidArgs1.json | 20 +- ...tsSetAndGetPropertiesWithInvalidArgs2.json | 20 +- ...tsSetAndGetPropertiesWithInvalidArgs3.json | 20 +- ...tsSetAndGetPropertiesWithInvalidArgs4.json | 20 +- .../FileServiceAsyncAPITestsCreateShare.json | 22 +- ...ncAPITestsCreateShareWithInvalidArgs0.json | 20 +- ...ncAPITestsCreateShareWithInvalidArgs1.json | 20 +- ...ncAPITestsCreateShareWithInvalidArgs2.json | 20 +- ...ncAPITestsCreateShareWithInvalidArgs3.json | 20 +- ...AsyncAPITestsCreateShareWithMetadata0.json | 22 +- ...AsyncAPITestsCreateShareWithMetadata1.json | 22 +- ...AsyncAPITestsCreateShareWithMetadata2.json | 22 +- ...AsyncAPITestsCreateShareWithMetadata3.json | 22 +- .../FileServiceAsyncAPITestsDeleteShare.json | 38 +- ...eAsyncAPITestsDeleteShareDoesNotExist.json | 20 +- ...ServiceAsyncAPITestsGetFileServiceURL.json | 2 +- ...ncAPITestsGetShareDoesNotCreateAShare.json | 2 +- ...rviceAsyncAPITestsListSharesWithArgs0.json | 102 ++-- ...rviceAsyncAPITestsListSharesWithArgs1.json | 102 ++-- ...rviceAsyncAPITestsListSharesWithArgs2.json | 102 ++-- ...iceAsyncAPITestsListSharesWithFilter0.json | 80 +-- ...iceAsyncAPITestsListSharesWithFilter1.json | 80 +-- ...iceAsyncAPITestsListSharesWithFilter2.json | 80 +-- ...iceAsyncAPITestsListSharesWithFilter3.json | 98 +-- ...yncAPITestsListSharesWithPremiumShare.json | 46 ++ ...rviceAsyncAPITestsSetAndGetProperties.json | 58 +- ...tsSetAndGetPropertiesWithInvalidArgs0.json | 20 +- ...tsSetAndGetPropertiesWithInvalidArgs1.json | 20 +- ...tsSetAndGetPropertiesWithInvalidArgs2.json | 20 +- ...tsSetAndGetPropertiesWithInvalidArgs3.json | 20 +- ...tsSetAndGetPropertiesWithInvalidArgs4.json | 20 +- .../LeaseAPITestAcquireFileLease.json | 110 ++++ .../LeaseAPITestAcquireFileLeaseError.json | 76 +++ .../LeaseAPITestBreakBlobLease.json | 131 ++++ .../LeaseAPITestBreakBlobLeaseError.json | 76 +++ .../LeaseAPITestBreakBlobLeaseMin.json | 98 +++ .../LeaseAPITestChangeBlobLease.json | 119 ++++ .../LeaseAPITestChangeBlobLeaseError.json | 76 +++ .../LeaseAPITestChangeBlobLeaseMin.json | 98 +++ .../LeaseAPITestReleaseBlobLeaseError.json | 76 +++ .../LeaseAPITestReleaseLease.json | 130 ++++ .../LeaseAPITestReleaseLeaseMin.json | 97 +++ .../ShareAPITestsCreateAndGetPermission.json | 56 +- .../ShareAPITestsCreateDirectory.json | 50 +- ...APITestsCreateDirectoryFilePermission.json | 50 +- ...TestsCreateDirectoryFilePermissionKey.json | 68 +-- ...areAPITestsCreateDirectoryInvalidName.json | 40 +- .../ShareAPITestsCreateDirectoryMetadata.json | 50 +- ...eAPITestsCreateDirectoryMetadataError.json | 40 +- .../ShareAPITestsCreateFile.json | 50 +- ...ShareAPITestsCreateFileFilePermission.json | 50 +- ...reAPITestsCreateFileFilePermissionKey.json | 68 +-- .../ShareAPITestsCreateFileInvalidArgs0.json | 40 +- .../ShareAPITestsCreateFileInvalidArgs1.json | 40 +- .../ShareAPITestsCreateFileMaxOverload.json | 50 +- ...estsCreateFileMaxOverloadInvalidArgs0.json | 40 +- ...estsCreateFileMaxOverloadInvalidArgs1.json | 40 +- ...estsCreateFileMaxOverloadInvalidArgs2.json | 40 +- ...estsCreateFileMaxOverloadInvalidArgs3.json | 40 +- .../ShareAPITestsCreatePermission.json | 40 +- .../ShareAPITestsCreatePermissionError.json | 40 +- .../ShareAPITestsCreateShare.json | 22 +- .../ShareAPITestsCreateShareWithArgs0.json | 22 +- .../ShareAPITestsCreateShareWithArgs1.json | 22 +- .../ShareAPITestsCreateShareWithArgs2.json | 22 +- .../ShareAPITestsCreateShareWithArgs3.json | 22 +- ...reAPITestsCreateShareWithInvalidArgs0.json | 20 +- ...reAPITestsCreateShareWithInvalidArgs1.json | 20 +- ...reAPITestsCreateShareWithInvalidArgs2.json | 20 +- .../ShareAPITestsCreateSnapshot.json | 44 +- .../ShareAPITestsCreateSnapshotError.json | 20 +- .../ShareAPITestsCreateSnapshotMetadata.json | 44 +- ...reAPITestsCreateSnapshotMetadataError.json | 36 +- .../ShareAPITestsDeleteDirectory.json | 66 +-- .../ShareAPITestsDeleteDirectoryError.json | 40 +- .../ShareAPITestsDeleteFile.json | 66 +-- .../ShareAPITestsDeleteFileError.json | 40 +- .../ShareAPITestsDeleteShare.json | 38 +- .../ShareAPITestsDeleteShareError.json | 20 +- ...ITestsGetFileClientDoesNotCreateAFile.json | 2 +- .../ShareAPITestsGetPermissionError.json | 40 +- .../ShareAPITestsGetProperties.json | 42 +- .../ShareAPITestsGetPropertiesError.json | 20 +- .../ShareAPITestsGetPropertiesPremium.json | 55 ++ .../ShareAPITestsGetRootDirectoryClient.json | 2 +- .../ShareAPITestsGetShareName.json | 2 +- .../ShareAPITestsGetShareSnapshotURL.json | 44 +- .../ShareAPITestsGetShareURL.json | 2 +- .../ShareAPITestsGetSnapshotId.json | 2 +- .../ShareAPITestsSetMetadata.json | 82 +-- .../ShareAPITestsSetMetadataError.json | 20 +- .../ShareAPITestsSetQuota.json | 82 +-- .../ShareAPITestsSetQuotaError.json | 20 +- ...reAsyncAPITestsCreateAndGetPermission.json | 66 +++ .../ShareAsyncAPITestsCreateDirectory.json | 50 +- ...APITestsCreateDirectoryFilePermission.json | 50 +- ...TestsCreateDirectoryFilePermissionKey.json | 68 +-- ...yncAPITestsCreateDirectoryInvalidName.json | 40 +- ...eAsyncAPITestsCreateDirectoryMetadata.json | 50 +- ...cAPITestsCreateDirectoryMetadataError.json | 40 +- .../ShareAsyncAPITestsCreateFile.json | 50 +- ...AsyncAPITestsCreateFileFilePermission.json | 50 +- ...ncAPITestsCreateFileFilePermissionKey.json | 68 +-- ...reAsyncAPITestsCreateFileInvalidArgs0.json | 40 +- ...reAsyncAPITestsCreateFileInvalidArgs1.json | 40 +- .../ShareAsyncAPITestsCreateFileLease.json | 105 ++++ ...ShareAsyncAPITestsCreateFileLeaseFail.json | 98 +++ ...areAsyncAPITestsCreateFileMaxOverload.json | 50 +- ...estsCreateFileMaxOverloadInvalidArgs0.json | 40 +- ...estsCreateFileMaxOverloadInvalidArgs1.json | 40 +- ...estsCreateFileMaxOverloadInvalidArgs2.json | 40 +- ...estsCreateFileMaxOverloadInvalidArgs3.json | 40 +- .../ShareAsyncAPITestsCreatePermission.json | 40 +- ...areAsyncAPITestsCreatePermissionError.json | 40 +- .../ShareAsyncAPITestsCreateShare.json | 22 +- ...hareAsyncAPITestsCreateShareWithArgs0.json | 22 +- ...hareAsyncAPITestsCreateShareWithArgs1.json | 22 +- ...hareAsyncAPITestsCreateShareWithArgs2.json | 22 +- ...hareAsyncAPITestsCreateShareWithArgs3.json | 22 +- ...ncAPITestsCreateShareWithInvalidArgs0.json | 20 +- ...ncAPITestsCreateShareWithInvalidArgs1.json | 20 +- ...ncAPITestsCreateShareWithInvalidArgs2.json | 20 +- .../ShareAsyncAPITestsCreateSnapshot.json | 44 +- ...ShareAsyncAPITestsCreateSnapshotError.json | 20 +- ...reAsyncAPITestsCreateSnapshotMetadata.json | 44 +- ...ncAPITestsCreateSnapshotMetadataError.json | 36 +- .../ShareAsyncAPITestsDeleteDirectory.json | 66 +-- ...hareAsyncAPITestsDeleteDirectoryError.json | 40 +- .../ShareAsyncAPITestsDeleteFile.json | 66 +-- .../ShareAsyncAPITestsDeleteFileError.json | 40 +- .../ShareAsyncAPITestsDeleteFileLease.json | 95 +++ ...ShareAsyncAPITestsDeleteFileLeaseFail.json | 98 +++ .../ShareAsyncAPITestsDeleteShare.json | 22 +- .../ShareAsyncAPITestsDeleteShareError.json | 20 +- ...ITestsGetFileClientDoesNotCreateAFile.json | 2 +- .../ShareAsyncAPITestsGetPermissionError.json | 40 +- .../ShareAsyncAPITestsGetProperties.json | 42 +- .../ShareAsyncAPITestsGetPropertiesError.json | 20 +- ...hareAsyncAPITestsGetPropertiesPremium.json | 55 ++ ...reAsyncAPITestsGetRootDirectoryClient.json | 2 +- .../ShareAsyncAPITestsGetShareName.json | 2 +- .../ShareAsyncAPITestsGetShareURL.json | 2 +- .../ShareAsyncAPITestsGetSnapshotId.json | 2 +- .../ShareAsyncAPITestsSetMetadata.json | 22 +- .../ShareAsyncAPITestsSetMetadataError.json | 20 +- .../ShareAsyncAPITestsSetQuota.json | 22 +- .../ShareAsyncAPITestsSetQuotaError.json | 20 +- .../swagger/README.md | 74 ++- .../storage/queue/QueueServiceVersion.java | 5 +- .../com/azure/storage/queue/APISpec.groovy | 8 +- .../azure/storage/queue/QueueSASTests.groovy | 2 + ...eAPITestsBuilderBearerTokenValidation.json | 2 +- .../QueueAPITestsClearMessages.json | 113 ++-- .../QueueAPITestsClearMessagesError.json | 19 +- ...QueueAPITestsCreateQueueWithSharedKey.json | 17 +- .../QueueAPITestsDeleteExistQueue.json | 32 +- .../QueueAPITestsDeleteMessage.json | 130 ++-- ...ueueAPITestsDeleteMessageInvalidArgs0.json | 68 ++- ...ueueAPITestsDeleteMessageInvalidArgs1.json | 68 ++- ...ueueAPITestsDeleteMessageInvalidArgs2.json | 68 ++- .../QueueAPITestsDeleteQueueError.json | 19 +- .../QueueAPITestsDequeueMessage.json | 54 +- .../QueueAPITestsDequeueMultipleMessages.json | 68 ++- .../QueueAPITestsDequeueTooManyMessage.json | 34 +- .../QueueAPITestsEnqueueEmptyMessage.json | 51 +- .../QueueAPITestsEnqueueMessage.json | 51 +- .../QueueAPITestsEnqueueTimeToLive.json | 34 +- .../QueueAPITestsGetAccessPolicy.json | 32 +- .../QueueAPITestsGetAccessPolicyError.json | 19 +- .../QueueAPITestsGetProperties.json | 32 +- .../QueueAPITestsGetPropertiesError.json | 19 +- .../QueueAPITestsGetQueueName.json | 2 +- .../QueueAPITestsGetQueueURL.json | 2 +- .../QueueAPITestsIPBasedEndpoint.json | 2 +- .../QueueAPITestsPeekMessage.json | 51 +- .../QueueAPITestsPeekMessagesError.json | 19 +- .../QueueAPITestsPeekMultipleMessages.json | 68 ++- .../QueueAPITestsPeekTooManyMessage.json | 34 +- .../QueueAPITestsSetAccessPolicy.json | 47 +- .../QueueAPITestsSetAndClearMetadata0.json | 62 +- .../QueueAPITestsSetAndClearMetadata1.json | 62 +- .../QueueAPITestsSetAndClearMetadata2.json | 62 +- .../QueueAPITestsSetAndClearMetadata3.json | 62 +- .../QueueAPITestsSetAndClearMetadata4.json | 62 +- .../QueueAPITestsSetInvalidAccessPolicy.json | 34 +- .../QueueAPITestsSetInvalidMeta0.json | 34 +- .../QueueAPITestsSetInvalidMeta1.json | 34 +- .../QueueAPITestsSetInvalidMeta2.json | 34 +- .../QueueAPITestsSetMetadataQueueError.json | 19 +- ...ueueAPITestsSetMultipleAccessPolicies.json | 47 +- ...QueueAPITestsSetTooManyAccessPolicies.json | 34 +- .../QueueAPITestsUpdateMessage.json | 92 +-- ...ueueAPITestsUpdateMessageInvalidArgs0.json | 72 +-- ...ueueAPITestsUpdateMessageInvalidArgs1.json | 72 +-- ...ueueAPITestsUpdateMessageInvalidArgs2.json | 72 +-- .../QueueAysncAPITestsClearMessages.json | 113 ++-- .../QueueAysncAPITestsClearMessagesError.json | 19 +- ...AysncAPITestsCreateQueueWithSharedKey.json | 17 +- .../QueueAysncAPITestsDeleteExistQueue.json | 32 +- .../QueueAysncAPITestsDeleteMessage.json | 130 ++-- ...ysncAPITestsDeleteMessageInvalidArgs0.json | 68 ++- ...ysncAPITestsDeleteMessageInvalidArgs1.json | 68 ++- ...ysncAPITestsDeleteMessageInvalidArgs2.json | 68 ++- .../QueueAysncAPITestsDeleteQueueError.json | 19 +- .../QueueAysncAPITestsDequeueMessage.json | 51 +- ...eAysncAPITestsDequeueMultipleMessages.json | 68 ++- ...eueAysncAPITestsDequeueTooManyMessage.json | 34 +- ...QueueAysncAPITestsEnqueueEmptyMessage.json | 54 +- .../QueueAysncAPITestsEnqueueMessage.json | 54 +- .../QueueAysncAPITestsEnqueueTimeToLive.json | 34 +- .../QueueAysncAPITestsGetAccessPolicy.json | 32 +- ...AysncAPITestsGetAccessPolicyDoesError.json | 19 +- .../QueueAysncAPITestsGetProperties.json | 32 +- .../QueueAysncAPITestsGetPropertiesError.json | 19 +- .../QueueAysncAPITestsGetQueueName.json | 2 +- .../QueueAysncAPITestsGetQueueURL.json | 2 +- .../QueueAysncAPITestsIPBasedEndpoint.json | 2 +- .../QueueAysncAPITestsPeekMessage.json | 51 +- .../QueueAysncAPITestsPeekMessagesError.json | 19 +- ...ueueAysncAPITestsPeekMultipleMessages.json | 68 ++- .../QueueAysncAPITestsPeekTooManyMessage.json | 34 +- .../QueueAysncAPITestsSetAccessPolicy.json | 47 +- ...ueueAysncAPITestsSetAndClearMetadata0.json | 62 +- ...ueueAysncAPITestsSetAndClearMetadata1.json | 62 +- ...ueueAysncAPITestsSetAndClearMetadata2.json | 62 +- ...ueueAysncAPITestsSetAndClearMetadata3.json | 62 +- ...ueueAysncAPITestsSetAndClearMetadata4.json | 62 +- ...ueAysncAPITestsSetInvalidAccessPolicy.json | 34 +- .../QueueAysncAPITestsSetInvalidMeta0.json | 34 +- .../QueueAysncAPITestsSetInvalidMeta1.json | 34 +- .../QueueAysncAPITestsSetInvalidMeta2.json | 34 +- ...eueAysncAPITestsSetMetadataQueueError.json | 19 +- ...ysncAPITestsSetMultipleAccessPolicies.json | 47 +- ...AysncAPITestsSetTooManyAccessPolicies.json | 34 +- .../QueueAysncAPITestsUpdateMessage.json | 87 +-- ...ysncAPITestsUpdateMessageInvalidArgs0.json | 68 ++- ...ysncAPITestsUpdateMessageInvalidArgs1.json | 68 ++- ...ysncAPITestsUpdateMessageInvalidArgs2.json | 68 ++- ...ueSASTestsAccountSASCreateDeleteQueue.json | 34 +- .../QueueSASTestsAccountSASListQueues.json | 2 +- ...ueSASTestsAccountSASNetworkOnEndpoint.json | 34 +- ...sQueueSASEnqueueDequeueWithIdentifier.json | 88 +-- ...QueueSASEnqueueDequeueWithPermissions.json | 90 +-- ...QueueSASTestsQueueSASPermissionParse0.json | 2 +- ...QueueSASTestsQueueSASPermissionParse1.json | 2 +- ...QueueSASTestsQueueSASPermissionParse2.json | 2 +- ...QueueSASTestsQueueSASPermissionParse3.json | 2 +- ...QueueSASTestsQueueSASPermissionParse4.json | 2 +- ...QueueSASTestsQueueSASPermissionParse5.json | 2 +- ...QueueSASTestsQueueSASPermissionParse6.json | 2 +- ...QueueSASTestsQueueSASPermissionParse7.json | 2 +- ...ueueSASTestsQueueSASPermissionParseIA.json | 2 +- ...ueSASTestsQueueSASPermissionToString0.json | 2 +- ...ueSASTestsQueueSASPermissionToString1.json | 2 +- ...ueSASTestsQueueSASPermissionToString2.json | 2 +- ...ueSASTestsQueueSASPermissionToString3.json | 2 +- ...ueSASTestsQueueSASPermissionToString4.json | 2 +- ...ueSASTestsQueueSASPermissionToString5.json | 2 +- ...tsQueueSASUpdateDeleteWithPermissions.json | 92 +-- ...sQueueServiceSASCanonicalizedResource.json | 2 +- ...ueSasClientTestsAccountSASCreateQueue.json | 68 +-- ...eueSasClientTestsAccountSASListQueues.json | 36 +- ...ueSasClientTestsQueueSASEnqueueWithId.json | 88 +-- ...SasClientTestsQueueSASEnqueueWithPerm.json | 90 +-- ...eSasClientTestsQueueSASUpdateWithPerm.json | 92 +-- .../QueueServiceAPITestsCreateQueue.json | 34 +- ...erviceAPITestsCreateQueueMaxOverload0.json | 34 +- ...erviceAPITestsCreateQueueMaxOverload1.json | 34 +- ...erviceAPITestsCreateQueueMaxOverload2.json | 34 +- ...PITestsCreateQueueWithInvalidMetadata.json | 19 +- ...ceAPITestsCreateQueueWithInvalidName0.json | 17 +- ...ceAPITestsCreateQueueWithInvalidName1.json | 17 +- ...ceAPITestsCreateQueueWithInvalidName2.json | 17 +- ...ceAPITestsCreateQueueWithInvalidName3.json | 17 +- ...ceAPITestsCreateQueueWithInvalidName4.json | 17 +- ...ceAPITestsCreateQueueWithInvalidName5.json | 17 +- .../QueueServiceAPITestsDeleteQueue.json | 49 +- .../QueueServiceAPITestsDeleteQueueError.json | 19 +- ...eueServiceAPITestsGetAndSetProperties.json | 60 +- .../QueueServiceAPITestsGetQueueClient.json | 2 +- .../QueueServiceAPITestsListEmptyQueues.json | 18 +- .../QueueServiceAPITestsListQueues0.json | 109 ++-- .../QueueServiceAPITestsListQueues1.json | 126 ++-- .../QueueServiceAPITestsListQueues2.json | 109 ++-- .../QueueServiceAsyncAPITestsCreateQueue.json | 34 +- ...eAsyncAPITestsCreateQueueMaxOverload0.json | 34 +- ...eAsyncAPITestsCreateQueueMaxOverload1.json | 34 +- ...eAsyncAPITestsCreateQueueMaxOverload2.json | 34 +- ...PITestsCreateQueueWithInvalidMetadata.json | 19 +- ...ncAPITestsCreateQueueWithInvalidName0.json | 17 +- ...ncAPITestsCreateQueueWithInvalidName1.json | 17 +- ...ncAPITestsCreateQueueWithInvalidName2.json | 17 +- ...ncAPITestsCreateQueueWithInvalidName3.json | 17 +- ...ncAPITestsCreateQueueWithInvalidName4.json | 17 +- ...ncAPITestsCreateQueueWithInvalidName5.json | 17 +- .../QueueServiceAsyncAPITestsDeleteQueue.json | 49 +- ...eServiceAsyncAPITestsDeleteQueueError.json | 19 +- ...rviceAsyncAPITestsGetAndSetProperties.json | 64 +- ...eueServiceAsyncAPITestsGetQueueClient.json | 2 +- ...ueServiceAsyncAPITestsListEmptyQueues.json | 18 +- .../QueueServiceAsyncAPITestsListQueues0.json | 64 +- .../QueueServiceAsyncAPITestsListQueues1.json | 81 +-- .../QueueServiceAsyncAPITestsListQueues2.json | 64 +- sdk/storage/tests.yml | 2 + 976 files changed, 41057 insertions(+), 23383 deletions(-) create mode 100644 sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/EncryptionScope.java create mode 100644 sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerEncryptionScope.java create mode 100644 sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/CPKNTest.groovy create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobappendblock.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobappendblockfromurl.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobclientbuildercheck.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobcreate.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblobclientbuildercheck.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobclientbuildercheck.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobcommitblocklist.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobstageblock.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobupload.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerclientbuildercheck.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainercreate.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerdenyencryptionscopeoverride.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerlistblobsflat.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerlistblobshierarchical.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobclearpage.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobclientbuildercheck.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobcreate.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputmultiplepages.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputpage.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputpagefromurl.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobresize.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestserviceclientbuildercheck.json create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/session-records/PageBlobAPITestgetpagerangesdiffprevsnapshoturl.json create mode 100644 sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/TransformUtils.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/CopyFileSmbInfo.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileAcquireLeaseHeaders.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileBreakLeaseHeaders.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileChangeLeaseHeaders.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileReleaseLeaseHeaders.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesAcquireLeaseResponse.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesBreakLeaseResponse.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesChangeLeaseResponse.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesReleaseLeaseResponse.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseAccessConditions.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseDurationType.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseStateType.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseStatusType.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseDurationType.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseStateType.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseStatusType.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/PermissionCopyModeType.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareRequestConditions.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseAsyncClient.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseClient.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseClientBuilder.java create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/package-info.java create mode 100644 sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseAsyncClientJavaDocCodeSnippets.java create mode 100644 sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseClientBuilderJavaDocCodeSnippets.java create mode 100644 sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseClientJavaDocCodeSnippets.java create mode 100644 sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/specialized/LeaseAPITest.groovy create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs0.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs1.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs2.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs3.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadToFileLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadToFileLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs0.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs1.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs2.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs3.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFromFileLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFromFileLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURLLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURLLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithPremiumShare.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithPremiumShare.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLeaseError.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLeaseError.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLeaseMin.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLeaseError.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLeaseMin.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseBlobLeaseError.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLeaseMin.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesPremium.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateAndGetPermission.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileLease.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileLeaseFail.json create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPropertiesPremium.json diff --git a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml index f41831fb06020..e1467b7bd953c 100755 --- a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml +++ b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml @@ -234,7 +234,7 @@ - + @@ -249,6 +249,8 @@ + + diff --git a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml index 0ae3b90a7699c..dbefa3db18101 100755 --- a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml +++ b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml @@ -564,6 +564,7 @@ + > createWithResponse(Map metadata, Pub Mono> createWithResponse(Map metadata, PublicAccessType accessType, Context context) { return this.azureBlobStorage.containers().createWithRestResponseAsync( - null, null, metadata, accessType, null, context) + null, null, metadata, accessType, null, blobContainerEncryptionScope, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -410,7 +431,8 @@ Mono> getPropertiesWithResponse(String leaseId ContainerGetPropertiesHeaders hd = rb.getDeserializedHeaders(); BlobContainerProperties properties = new BlobContainerProperties(hd.getMetadata(), hd.getETag(), hd.getLastModified(), hd.getLeaseDuration(), hd.getLeaseState(), hd.getLeaseStatus(), - hd.getBlobPublicAccess(), hd.isHasImmutabilityPolicy(), hd.isHasLegalHold()); + hd.getBlobPublicAccess(), hd.isHasImmutabilityPolicy(), hd.isHasLegalHold(), + hd.getDefaultEncryptionScope(), hd.isDenyEncryptionScopeOverride()); return new SimpleResponse<>(rb, properties); }); } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerClient.java index 53fe86aa776fc..e25d30aad63cf 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerClient.java @@ -157,6 +157,15 @@ public CpkInfo getCustomerProvidedKey() { return client.getCustomerProvidedKey(); } + /** + * Gets the {@code encryption scope} used to encrypt this blob's content on the server. + * + * @return the encryption scope used for encryption. + */ + public String getEncryptionScope() { + return client.getEncryptionScope(); + } + /** * Gets if the container this client represents exists in the cloud. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerClientBuilder.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerClientBuilder.java index c0466cd049d0c..4ab5ff5111fbd 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerClientBuilder.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerClientBuilder.java @@ -12,7 +12,9 @@ import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; import com.azure.core.util.logging.ClientLogger; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.implementation.util.BuilderHelper; +import com.azure.storage.blob.models.BlobContainerEncryptionScope; import com.azure.storage.blob.models.CpkInfo; import com.azure.storage.blob.models.CustomerProvidedKey; import com.azure.storage.common.StorageSharedKeyCredential; @@ -52,6 +54,8 @@ public final class BlobContainerClientBuilder { private String containerName; private CpkInfo customerProvidedKey; + private EncryptionScope encryptionScope; + private BlobContainerEncryptionScope blobContainerEncryptionScope; private StorageSharedKeyCredential storageSharedKeyCredential; private TokenCredential tokenCredential; private SasTokenCredential sasTokenCredential; @@ -98,6 +102,11 @@ public BlobContainerClient buildClient() { public BlobContainerAsyncClient buildAsyncClient() { BuilderHelper.httpsValidation(customerProvidedKey, "customer provided key", endpoint, logger); + if (Objects.nonNull(customerProvidedKey) && Objects.nonNull(encryptionScope)) { + throw logger.logExceptionAsError(new IllegalArgumentException("Customer provided key and encryption " + + "scope cannot both be set")); + } + /* Implicit and explicit root container access are functionally equivalent, but explicit references are easier to read and debug. @@ -113,7 +122,8 @@ public BlobContainerAsyncClient buildAsyncClient() { httpClient, additionalPolicies, configuration, logger); return new BlobContainerAsyncClient(pipeline, String.format("%s/%s", endpoint, blobContainerName), - serviceVersion, accountName, blobContainerName, customerProvidedKey); + serviceVersion, accountName, blobContainerName, customerProvidedKey, encryptionScope, + blobContainerEncryptionScope); } /** @@ -163,6 +173,35 @@ public BlobContainerClientBuilder customerProvidedKey(CustomerProvidedKey custom return this; } + /** + * Sets the {@code encryption scope} that is used to encrypt blob contents on the server. + * + * @param encryptionScope Encryption scope containing the encryption key information. + * @return the updated BlobContainerClientBuilder object + */ + public BlobContainerClientBuilder encryptionScope(String encryptionScope) { + if (encryptionScope == null) { + this.encryptionScope = null; + } else { + this.encryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope); + } + + return this; + } + + /** + * Sets the {@link BlobContainerEncryptionScope encryption scope} that is used to determine how blob contents are + * encrypted on the server. + * + * @param blobContainerEncryptionScope Encryption scope containing the encryption key information. + * @return the updated BlobContainerClientBuilder object + */ + public BlobContainerClientBuilder blobContainerEncryptionScope( + BlobContainerEncryptionScope blobContainerEncryptionScope) { + this.blobContainerEncryptionScope = blobContainerEncryptionScope; + return this; + } + /** * Sets the {@link StorageSharedKeyCredential} used to authorize requests sent to the service. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceAsyncClient.java index 2c4e61f431da4..199bf884f3c49 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceAsyncClient.java @@ -17,8 +17,10 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.storage.blob.implementation.AzureBlobStorageBuilder; import com.azure.storage.blob.implementation.AzureBlobStorageImpl; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.implementation.models.ServiceGetAccountInfoHeaders; import com.azure.storage.blob.implementation.models.ServicesListBlobContainersSegmentResponse; +import com.azure.storage.blob.models.BlobContainerEncryptionScope; import com.azure.storage.blob.models.BlobContainerItem; import com.azure.storage.blob.models.BlobCorsRule; import com.azure.storage.blob.models.BlobRetentionPolicy; @@ -77,7 +79,10 @@ public final class BlobServiceAsyncClient { private final String accountName; private final BlobServiceVersion serviceVersion; - private final CpkInfo customerProvidedKey; + private final CpkInfo customerProvidedKey; // only used to pass down to blob clients + private final EncryptionScope encryptionScope; // only used to pass down to blob clients + private final BlobContainerEncryptionScope blobContainerEncryptionScope; // only used to pass down to container + // clients private final boolean anonymousAccess; /** @@ -89,10 +94,13 @@ public final class BlobServiceAsyncClient { * @param accountName The storage account name. * @param customerProvidedKey Customer provided key used during encryption of the blob's data on the server, pass * {@code null} to allow the service to use its own encryption. + * @param encryptionScope Encryption scope used during encryption of the blob's data on the server, pass + * {@code null} to allow the service to use its own encryption. * @param anonymousAccess Whether or not the client was built with anonymousAccess */ BlobServiceAsyncClient(HttpPipeline pipeline, String url, BlobServiceVersion serviceVersion, String accountName, - CpkInfo customerProvidedKey, boolean anonymousAccess) { + CpkInfo customerProvidedKey, EncryptionScope encryptionScope, + BlobContainerEncryptionScope blobContainerEncryptionScope, boolean anonymousAccess) { this.azureBlobStorage = new AzureBlobStorageBuilder() .pipeline(pipeline) .url(url) @@ -102,6 +110,8 @@ public final class BlobServiceAsyncClient { this.accountName = accountName; this.customerProvidedKey = customerProvidedKey; + this.encryptionScope = encryptionScope; + this.blobContainerEncryptionScope = blobContainerEncryptionScope; this.anonymousAccess = anonymousAccess; } @@ -125,7 +135,7 @@ public BlobContainerAsyncClient getBlobContainerAsyncClient(String containerName return new BlobContainerAsyncClient(getHttpPipeline(), StorageImplUtils.appendToUrlPath(getAccountUrl(), containerName).toString(), getServiceVersion(), - getAccountName(), containerName, customerProvidedKey); + getAccountName(), containerName, customerProvidedKey, encryptionScope, blobContainerEncryptionScope); } /** diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceClientBuilder.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceClientBuilder.java index 71ff5aad9439b..48fd523238cf0 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceClientBuilder.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceClientBuilder.java @@ -12,7 +12,9 @@ import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; import com.azure.core.util.logging.ClientLogger; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.implementation.util.BuilderHelper; +import com.azure.storage.blob.models.BlobContainerEncryptionScope; import com.azure.storage.blob.models.CpkInfo; import com.azure.storage.blob.models.CustomerProvidedKey; import com.azure.storage.common.StorageSharedKeyCredential; @@ -50,6 +52,8 @@ public final class BlobServiceClientBuilder { private String accountName; private CpkInfo customerProvidedKey; + private EncryptionScope encryptionScope; + private BlobContainerEncryptionScope blobContainerEncryptionScope; private StorageSharedKeyCredential storageSharedKeyCredential; private TokenCredential tokenCredential; private SasTokenCredential sasTokenCredential; @@ -92,13 +96,18 @@ public BlobServiceAsyncClient buildAsyncClient() { anonymousAccess = true; } + if (Objects.nonNull(customerProvidedKey) && Objects.nonNull(encryptionScope)) { + throw logger.logExceptionAsError(new IllegalArgumentException("Customer provided key and encryption " + + "scope cannot both be set")); + } + BlobServiceVersion serviceVersion = version != null ? version : BlobServiceVersion.getLatest(); HttpPipeline pipeline = (httpPipeline != null) ? httpPipeline : BuilderHelper.buildPipeline( storageSharedKeyCredential, tokenCredential, sasTokenCredential, endpoint, retryOptions, logOptions, httpClient, additionalPolicies, configuration, logger); return new BlobServiceAsyncClient(pipeline, endpoint, serviceVersion, accountName, customerProvidedKey, - anonymousAccess); + encryptionScope, blobContainerEncryptionScope, anonymousAccess); } /** @@ -146,6 +155,35 @@ public BlobServiceClientBuilder customerProvidedKey(CustomerProvidedKey customer return this; } + /** + * Sets the {@code encryption scope} that is used to encrypt blob contents on the server. + * + * @param encryptionScope Encryption scope containing the encryption key information. + * @return the updated BlobServiceClientBuilder object + */ + public BlobServiceClientBuilder encryptionScope(String encryptionScope) { + if (encryptionScope == null) { + this.encryptionScope = null; + } else { + this.encryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope); + } + + return this; + } + + /** + * Sets the {@link BlobContainerEncryptionScope encryption scope} that is used to determine how blob contents are + * encrypted on the server. + * + * @param blobContainerEncryptionScope Encryption scope containing the encryption key information. + * @return the updated BlobServiceClientBuilder object + */ + public BlobServiceClientBuilder blobContainerEncryptionScope( + BlobContainerEncryptionScope blobContainerEncryptionScope) { + this.blobContainerEncryptionScope = blobContainerEncryptionScope; + return this; + } + /** * Sets the {@link StorageSharedKeyCredential} used to authorize requests sent to the service. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceVersion.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceVersion.java index a917c97c1b741..a71156124ed01 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceVersion.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceVersion.java @@ -9,7 +9,8 @@ * The versions of Azure Storage Blob supported by this client library. */ public enum BlobServiceVersion implements ServiceVersion { - V2019_02_02("2019-02-02"); + V2019_02_02("2019-02-02"), + V2019_07_07("2019-07-07"); private final String version; @@ -31,6 +32,6 @@ public String getVersion() { * @return the latest {@link BlobServiceVersion} */ public static BlobServiceVersion getLatest() { - return V2019_02_02; + return V2019_07_07; } } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AppendBlobsImpl.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AppendBlobsImpl.java index 7f421ef3dbbf2..7c57c9c153b86 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AppendBlobsImpl.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AppendBlobsImpl.java @@ -16,13 +16,14 @@ import com.azure.core.annotation.ServiceInterface; import com.azure.core.annotation.ServiceMethod; import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.http.rest.RestProxy; import com.azure.core.util.Base64Util; import com.azure.core.util.Context; +import com.azure.core.util.DateTimeRfc1123; import com.azure.storage.blob.implementation.models.AppendBlobsAppendBlockFromUrlResponse; import com.azure.storage.blob.implementation.models.AppendBlobsAppendBlockResponse; import com.azure.storage.blob.implementation.models.AppendBlobsCreateResponse; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.models.BlobStorageException; import com.azure.storage.blob.models.BlobHttpHeaders; import com.azure.storage.blob.models.CpkInfo; @@ -69,17 +70,17 @@ private interface AppendBlobsService { @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono create(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @HeaderParam("x-ms-blob-type") String blobType, @HeaderParam("x-ms-blob-content-type") String contentType, @HeaderParam("x-ms-blob-content-encoding") String contentEncoding, @HeaderParam("x-ms-blob-content-language") String contentLanguage, @HeaderParam("x-ms-blob-content-md5") String contentMd5, @HeaderParam("x-ms-blob-cache-control") String cacheControl, @HeaderParam("x-ms-blob-content-disposition") String contentDisposition, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono create(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @HeaderParam("x-ms-blob-type") String blobType, @HeaderParam("x-ms-blob-content-type") String contentType, @HeaderParam("x-ms-blob-content-encoding") String contentEncoding, @HeaderParam("x-ms-blob-content-language") String contentLanguage, @HeaderParam("x-ms-blob-content-md5") String contentMd5, @HeaderParam("x-ms-blob-cache-control") String cacheControl, @HeaderParam("x-ms-blob-content-disposition") String contentDisposition, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono appendBlock(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @BodyParam("application/octet-stream") Flux body, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-content-crc64") String transactionalContentCrc64, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-blob-condition-maxsize") Long maxSize, @HeaderParam("x-ms-blob-condition-appendpos") Long appendPosition, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono appendBlock(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @BodyParam("application/octet-stream") Flux body, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-content-crc64") String transactionalContentCrc64, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-blob-condition-maxsize") Long maxSize, @HeaderParam("x-ms-blob-condition-appendpos") Long appendPosition, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono appendBlockFromUrl(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @HeaderParam("x-ms-copy-source") URL copySource, @HeaderParam("x-ms-source-range") String sourceRange, @HeaderParam("x-ms-source-content-md5") String sourceContentMD5, @HeaderParam("x-ms-source-content-crc64") String sourceContentcrc64, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-blob-condition-maxsize") Long maxSize, @HeaderParam("x-ms-blob-condition-appendpos") Long appendPosition, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-source-if-modified-since") DateTimeRfc1123 sourceIfModifiedSince, @HeaderParam("x-ms-source-if-unmodified-since") DateTimeRfc1123 sourceIfUnmodifiedSince, @HeaderParam("x-ms-source-if-match") String sourceIfMatch, @HeaderParam("x-ms-source-if-none-match") String sourceIfNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono appendBlockFromUrl(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @HeaderParam("x-ms-copy-source") URL copySource, @HeaderParam("x-ms-source-range") String sourceRange, @HeaderParam("x-ms-source-content-md5") String sourceContentMD5, @HeaderParam("x-ms-source-content-crc64") String sourceContentcrc64, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-blob-condition-maxsize") Long maxSize, @HeaderParam("x-ms-blob-condition-appendpos") Long appendPosition, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-source-if-modified-since") DateTimeRfc1123 sourceIfModifiedSince, @HeaderParam("x-ms-source-if-unmodified-since") DateTimeRfc1123 sourceIfUnmodifiedSince, @HeaderParam("x-ms-source-if-match") String sourceIfMatch, @HeaderParam("x-ms-source-if-none-match") String sourceIfNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); } /** @@ -109,10 +110,11 @@ public Mono createWithRestResponseAsync(String contai final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; String contentMd5Converted = null; - return service.create(containerName, blob, this.client.getUrl(), timeout, contentLength, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.create(containerName, blob, this.client.getUrl(), timeout, contentLength, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -131,12 +133,13 @@ public Mono createWithRestResponseAsync(String contai * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param blobHttpHeaders Additional parameters for the operation. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createWithRestResponseAsync(String containerName, String blob, long contentLength, Integer timeout, Map metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, BlobHttpHeaders blobHttpHeaders, CpkInfo cpkInfo, Context context) { + public Mono createWithRestResponseAsync(String containerName, String blob, long contentLength, Integer timeout, Map metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, BlobHttpHeaders blobHttpHeaders, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String blobType = "AppendBlob"; String contentType = null; if (blobHttpHeaders != null) { @@ -174,10 +177,14 @@ public Mono createWithRestResponseAsync(String contai if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); String contentMd5Converted = Base64Util.encodeToString(contentMd5); - return service.create(containerName, blob, this.client.getUrl(), timeout, contentLength, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.create(containerName, blob, this.client.getUrl(), timeout, contentLength, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -204,11 +211,12 @@ public Mono appendBlockWithRestResponseAsync(Str final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; String transactionalContentMD5Converted = null; String transactionalContentCrc64Converted = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; - return service.appendBlock(containerName, blob, this.client.getUrl(), body, timeout, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, leaseId, maxSize, appendPosition, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.appendBlock(containerName, blob, this.client.getUrl(), body, timeout, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, leaseId, maxSize, appendPosition, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -230,12 +238,13 @@ public Mono appendBlockWithRestResponseAsync(Str * @param ifNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono appendBlockWithRestResponseAsync(String containerName, String blob, Flux body, long contentLength, Integer timeout, byte[] transactionalContentMD5, byte[] transactionalContentCrc64, String leaseId, Long maxSize, Long appendPosition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, Context context) { + public Mono appendBlockWithRestResponseAsync(String containerName, String blob, Flux body, long contentLength, Integer timeout, byte[] transactionalContentMD5, byte[] transactionalContentCrc64, String leaseId, Long maxSize, Long appendPosition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "appendblock"; String encryptionKey = null; if (cpkInfo != null) { @@ -249,11 +258,15 @@ public Mono appendBlockWithRestResponseAsync(Str if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } String transactionalContentMD5Converted = Base64Util.encodeToString(transactionalContentMD5); String transactionalContentCrc64Converted = Base64Util.encodeToString(transactionalContentCrc64); DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); - return service.appendBlock(containerName, blob, this.client.getUrl(), body, timeout, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, leaseId, maxSize, appendPosition, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.appendBlock(containerName, blob, this.client.getUrl(), body, timeout, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, leaseId, maxSize, appendPosition, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -283,6 +296,7 @@ public Mono appendBlockFromUrlWithRestRes final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; String sourceContentMD5Converted = null; String sourceContentcrc64Converted = null; String transactionalContentMD5Converted = null; @@ -290,7 +304,7 @@ public Mono appendBlockFromUrlWithRestRes DateTimeRfc1123 ifUnmodifiedSinceConverted = null; DateTimeRfc1123 sourceIfModifiedSinceConverted = null; DateTimeRfc1123 sourceIfUnmodifiedSinceConverted = null; - return service.appendBlockFromUrl(containerName, blob, this.client.getUrl(), sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, timeout, contentLength, transactionalContentMD5Converted, leaseId, maxSize, appendPosition, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.appendBlockFromUrl(containerName, blob, this.client.getUrl(), sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, timeout, contentLength, transactionalContentMD5Converted, leaseId, maxSize, appendPosition, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -318,12 +332,13 @@ public Mono appendBlockFromUrlWithRestRes * @param sourceIfNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono appendBlockFromUrlWithRestResponseAsync(String containerName, String blob, URL sourceUrl, long contentLength, String sourceRange, byte[] sourceContentMD5, byte[] sourceContentcrc64, Integer timeout, byte[] transactionalContentMD5, String leaseId, Long maxSize, Long appendPosition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatch, String sourceIfNoneMatch, String requestId, CpkInfo cpkInfo, Context context) { + public Mono appendBlockFromUrlWithRestResponseAsync(String containerName, String blob, URL sourceUrl, long contentLength, String sourceRange, byte[] sourceContentMD5, byte[] sourceContentcrc64, Integer timeout, byte[] transactionalContentMD5, String leaseId, Long maxSize, Long appendPosition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatch, String sourceIfNoneMatch, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "appendblock"; String encryptionKey = null; if (cpkInfo != null) { @@ -337,6 +352,10 @@ public Mono appendBlockFromUrlWithRestRes if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } String sourceContentMD5Converted = Base64Util.encodeToString(sourceContentMD5); String sourceContentcrc64Converted = Base64Util.encodeToString(sourceContentcrc64); String transactionalContentMD5Converted = Base64Util.encodeToString(transactionalContentMD5); @@ -344,6 +363,6 @@ public Mono appendBlockFromUrlWithRestRes DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); DateTimeRfc1123 sourceIfModifiedSinceConverted = sourceIfModifiedSince == null ? null : new DateTimeRfc1123(sourceIfModifiedSince); DateTimeRfc1123 sourceIfUnmodifiedSinceConverted = sourceIfUnmodifiedSince == null ? null : new DateTimeRfc1123(sourceIfUnmodifiedSince); - return service.appendBlockFromUrl(containerName, blob, this.client.getUrl(), sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, timeout, contentLength, transactionalContentMD5Converted, leaseId, maxSize, appendPosition, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.appendBlockFromUrl(containerName, blob, this.client.getUrl(), sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, timeout, contentLength, transactionalContentMD5Converted, leaseId, maxSize, appendPosition, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AzureBlobStorageBuilder.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AzureBlobStorageBuilder.java index 19cee5337854e..26014264911f6 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AzureBlobStorageBuilder.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AzureBlobStorageBuilder.java @@ -88,12 +88,7 @@ public AzureBlobStorageBuilder pipeline(HttpPipeline pipeline) { */ public AzureBlobStorageImpl build() { if (pipeline == null) { - this.pipeline = new HttpPipelineBuilder() - .policies( - new UserAgentPolicy(), - new RetryPolicy(), - new CookiePolicy()) - .build(); + this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()).build(); } AzureBlobStorageImpl client = new AzureBlobStorageImpl(pipeline); if (this.url != null) { @@ -102,7 +97,7 @@ public AzureBlobStorageImpl build() { if (this.version != null) { client.setVersion(this.version); } else { - client.setVersion("2019-02-02"); + client.setVersion("2019-07-07"); } if (this.pathRenameMode != null) { client.setPathRenameMode(this.pathRenameMode); diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AzureBlobStorageImpl.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AzureBlobStorageImpl.java index 0272379252a37..7db61e4d47039 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AzureBlobStorageImpl.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/AzureBlobStorageImpl.java @@ -203,12 +203,7 @@ public BlockBlobsImpl blockBlobs() { * Initializes an instance of AzureBlobStorage client. */ public AzureBlobStorageImpl() { - this(new HttpPipelineBuilder() - .policies( - new UserAgentPolicy(), - new RetryPolicy(), - new CookiePolicy()) - .build()); + new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()).build(); } /** diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlobsImpl.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlobsImpl.java index 2e6bab1ac0f40..9c123748c84b0 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlobsImpl.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlobsImpl.java @@ -19,10 +19,10 @@ import com.azure.core.annotation.ServiceInterface; import com.azure.core.annotation.ServiceMethod; import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.http.rest.RestProxy; import com.azure.core.util.Base64Util; import com.azure.core.util.Context; +import com.azure.core.util.DateTimeRfc1123; import com.azure.storage.blob.implementation.models.BlobsAbortCopyFromURLResponse; import com.azure.storage.blob.implementation.models.BlobsAcquireLeaseResponse; import com.azure.storage.blob.implementation.models.BlobsBreakLeaseResponse; @@ -45,6 +45,7 @@ import com.azure.storage.blob.implementation.models.BlobsUndeleteResponse; import com.azure.storage.blob.implementation.models.DataLakeStorageErrorException; import com.azure.storage.blob.implementation.models.DirectoryHttpHeaders; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.models.BlobStorageException; import com.azure.storage.blob.models.AccessTier; import com.azure.storage.blob.models.BlobHttpHeaders; @@ -133,7 +134,7 @@ private interface BlobsService { @Put("{containerName}/{blob}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono setMetadata(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono setMetadata(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @@ -163,7 +164,7 @@ private interface BlobsService { @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono createSnapshot(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono createSnapshot(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({202}) @@ -173,7 +174,7 @@ private interface BlobsService { @Put("{containerName}/{blob}") @ExpectedResponses({202}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono copyFromURL(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-access-tier") AccessTier tier, @HeaderParam("x-ms-source-if-modified-since") DateTimeRfc1123 sourceIfModifiedSince, @HeaderParam("x-ms-source-if-unmodified-since") DateTimeRfc1123 sourceIfUnmodifiedSince, @HeaderParam("x-ms-source-if-match") String sourceIfMatch, @HeaderParam("x-ms-source-if-none-match") String sourceIfNoneMatch, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-copy-source") URL copySource, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @HeaderParam("x-ms-requires-sync") String xMsRequiresSync, Context context); + Mono copyFromURL(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-access-tier") AccessTier tier, @HeaderParam("x-ms-source-if-modified-since") DateTimeRfc1123 sourceIfModifiedSince, @HeaderParam("x-ms-source-if-unmodified-since") DateTimeRfc1123 sourceIfUnmodifiedSince, @HeaderParam("x-ms-source-if-match") String sourceIfMatch, @HeaderParam("x-ms-source-if-none-match") String sourceIfNoneMatch, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-copy-source") URL copySource, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @HeaderParam("x-ms-source-content-md5") String sourceContentMD5, @HeaderParam("x-ms-requires-sync") String xMsRequiresSync, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({204}) @@ -686,9 +687,10 @@ public Mono setMetadataWithRestResponseAsync(String co final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; - return service.setMetadata(containerName, blob, this.client.getUrl(), timeout, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.setMetadata(containerName, blob, this.client.getUrl(), timeout, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -705,12 +707,13 @@ public Mono setMetadataWithRestResponseAsync(String co * @param ifNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono setMetadataWithRestResponseAsync(String containerName, String blob, Integer timeout, Map metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, Context context) { + public Mono setMetadataWithRestResponseAsync(String containerName, String blob, Integer timeout, Map metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "metadata"; String encryptionKey = null; if (cpkInfo != null) { @@ -724,9 +727,13 @@ public Mono setMetadataWithRestResponseAsync(String co if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); - return service.setMetadata(containerName, blob, this.client.getUrl(), timeout, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.setMetadata(containerName, blob, this.client.getUrl(), timeout, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -994,9 +1001,10 @@ public Mono createSnapshotWithRestResponseAsync(Str final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; - return service.createSnapshot(containerName, blob, this.client.getUrl(), timeout, metadata, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, leaseId, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.createSnapshot(containerName, blob, this.client.getUrl(), timeout, metadata, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, leaseId, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -1013,12 +1021,13 @@ public Mono createSnapshotWithRestResponseAsync(Str * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createSnapshotWithRestResponseAsync(String containerName, String blob, Integer timeout, Map metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String leaseId, String requestId, CpkInfo cpkInfo, Context context) { + public Mono createSnapshotWithRestResponseAsync(String containerName, String blob, Integer timeout, Map metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String leaseId, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "snapshot"; String encryptionKey = null; if (cpkInfo != null) { @@ -1032,9 +1041,13 @@ public Mono createSnapshotWithRestResponseAsync(Str if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); - return service.createSnapshot(containerName, blob, this.client.getUrl(), timeout, metadata, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, leaseId, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.createSnapshot(containerName, blob, this.client.getUrl(), timeout, metadata, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, leaseId, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -1125,7 +1138,8 @@ public Mono copyFromURLWithRestResponseAsync(String co DateTimeRfc1123 sourceIfUnmodifiedSinceConverted = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; - return service.copyFromURL(containerName, blob, this.client.getUrl(), timeout, metadata, tier, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, copySource, leaseId, this.client.getVersion(), requestId, xMsRequiresSync, context); + String sourceContentMD5Converted = null; + return service.copyFromURL(containerName, blob, this.client.getUrl(), timeout, metadata, tier, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, copySource, leaseId, this.client.getVersion(), requestId, sourceContentMD5Converted, xMsRequiresSync, context); } /** @@ -1147,18 +1161,20 @@ public Mono copyFromURLWithRestResponseAsync(String co * @param ifNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. + * @param sourceContentMD5 Specify the md5 calculated for the range of bytes that must be read from the copy source. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono copyFromURLWithRestResponseAsync(String containerName, String blob, URL copySource, Integer timeout, Map metadata, AccessTier tier, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatch, String sourceIfNoneMatch, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String leaseId, String requestId, Context context) { + public Mono copyFromURLWithRestResponseAsync(String containerName, String blob, URL copySource, Integer timeout, Map metadata, AccessTier tier, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatch, String sourceIfNoneMatch, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String leaseId, String requestId, byte[] sourceContentMD5, Context context) { final String xMsRequiresSync = "true"; DateTimeRfc1123 sourceIfModifiedSinceConverted = sourceIfModifiedSince == null ? null : new DateTimeRfc1123(sourceIfModifiedSince); DateTimeRfc1123 sourceIfUnmodifiedSinceConverted = sourceIfUnmodifiedSince == null ? null : new DateTimeRfc1123(sourceIfUnmodifiedSince); DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); - return service.copyFromURL(containerName, blob, this.client.getUrl(), timeout, metadata, tier, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, copySource, leaseId, this.client.getVersion(), requestId, xMsRequiresSync, context); + String sourceContentMD5Converted = Base64Util.encodeToString(sourceContentMD5); + return service.copyFromURL(containerName, blob, this.client.getUrl(), timeout, metadata, tier, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, copySource, leaseId, this.client.getVersion(), requestId, sourceContentMD5Converted, xMsRequiresSync, context); } /** diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlockBlobsImpl.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlockBlobsImpl.java index 953b5b3086a38..3dc904698935b 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlockBlobsImpl.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlockBlobsImpl.java @@ -17,15 +17,16 @@ import com.azure.core.annotation.ServiceInterface; import com.azure.core.annotation.ServiceMethod; import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.http.rest.RestProxy; import com.azure.core.util.Base64Util; import com.azure.core.util.Context; +import com.azure.core.util.DateTimeRfc1123; import com.azure.storage.blob.implementation.models.BlockBlobsCommitBlockListResponse; import com.azure.storage.blob.implementation.models.BlockBlobsGetBlockListResponse; import com.azure.storage.blob.implementation.models.BlockBlobsStageBlockFromURLResponse; import com.azure.storage.blob.implementation.models.BlockBlobsStageBlockResponse; import com.azure.storage.blob.implementation.models.BlockBlobsUploadResponse; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.models.BlobStorageException; import com.azure.storage.blob.models.AccessTier; import com.azure.storage.blob.models.BlobHttpHeaders; @@ -75,22 +76,22 @@ private interface BlockBlobsService { @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono upload(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @BodyParam("application/octet-stream") Flux body, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-access-tier") AccessTier tier, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @HeaderParam("x-ms-blob-type") String blobType, @HeaderParam("x-ms-blob-content-type") String contentType, @HeaderParam("x-ms-blob-content-encoding") String contentEncoding, @HeaderParam("x-ms-blob-content-language") String contentLanguage, @HeaderParam("x-ms-blob-content-md5") String contentMd5, @HeaderParam("x-ms-blob-cache-control") String cacheControl, @HeaderParam("x-ms-blob-content-disposition") String contentDisposition, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono upload(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @BodyParam("application/octet-stream") Flux body, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-access-tier") AccessTier tier, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @HeaderParam("x-ms-blob-type") String blobType, @HeaderParam("x-ms-blob-content-type") String contentType, @HeaderParam("x-ms-blob-content-encoding") String contentEncoding, @HeaderParam("x-ms-blob-content-language") String contentLanguage, @HeaderParam("x-ms-blob-content-md5") String contentMd5, @HeaderParam("x-ms-blob-cache-control") String cacheControl, @HeaderParam("x-ms-blob-content-disposition") String contentDisposition, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono stageBlock(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("blockid") String blockId, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-content-crc64") String transactionalContentCrc64, @BodyParam("application/octet-stream") Flux body, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono stageBlock(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("blockid") String blockId, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-content-crc64") String transactionalContentCrc64, @BodyParam("application/octet-stream") Flux body, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono stageBlockFromURL(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("blockid") String blockId, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-copy-source") URL copySource, @HeaderParam("x-ms-source-range") String sourceRange, @HeaderParam("x-ms-source-content-md5") String sourceContentMD5, @HeaderParam("x-ms-source-content-crc64") String sourceContentcrc64, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-source-if-modified-since") DateTimeRfc1123 sourceIfModifiedSince, @HeaderParam("x-ms-source-if-unmodified-since") DateTimeRfc1123 sourceIfUnmodifiedSince, @HeaderParam("x-ms-source-if-match") String sourceIfMatch, @HeaderParam("x-ms-source-if-none-match") String sourceIfNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono stageBlockFromURL(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("blockid") String blockId, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-copy-source") URL copySource, @HeaderParam("x-ms-source-range") String sourceRange, @HeaderParam("x-ms-source-content-md5") String sourceContentMD5, @HeaderParam("x-ms-source-content-crc64") String sourceContentcrc64, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-source-if-modified-since") DateTimeRfc1123 sourceIfModifiedSince, @HeaderParam("x-ms-source-if-unmodified-since") DateTimeRfc1123 sourceIfUnmodifiedSince, @HeaderParam("x-ms-source-if-match") String sourceIfMatch, @HeaderParam("x-ms-source-if-none-match") String sourceIfNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono commitBlockList(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-content-crc64") String transactionalContentCrc64, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-access-tier") AccessTier tier, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @BodyParam("application/xml; charset=utf-8") BlockLookupList blocks, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-blob-cache-control") String cacheControl, @HeaderParam("x-ms-blob-content-type") String contentType, @HeaderParam("x-ms-blob-content-encoding") String contentEncoding, @HeaderParam("x-ms-blob-content-language") String contentLanguage, @HeaderParam("x-ms-blob-content-md5") String contentMd5, @HeaderParam("x-ms-blob-content-disposition") String contentDisposition, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono commitBlockList(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-content-crc64") String transactionalContentCrc64, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-access-tier") AccessTier tier, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @BodyParam("application/xml; charset=utf-8") BlockLookupList blocks, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-blob-cache-control") String cacheControl, @HeaderParam("x-ms-blob-content-type") String contentType, @HeaderParam("x-ms-blob-content-encoding") String contentEncoding, @HeaderParam("x-ms-blob-content-language") String contentLanguage, @HeaderParam("x-ms-blob-content-md5") String contentMd5, @HeaderParam("x-ms-blob-content-disposition") String contentDisposition, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Get("{containerName}/{blob}") @ExpectedResponses({200}) @@ -127,11 +128,12 @@ public Mono uploadWithRestResponseAsync(String contain final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; String transactionalContentMD5Converted = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; String contentMd5Converted = null; - return service.upload(containerName, blob, this.client.getUrl(), body, timeout, transactionalContentMD5Converted, contentLength, metadata, leaseId, tier, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.upload(containerName, blob, this.client.getUrl(), body, timeout, transactionalContentMD5Converted, contentLength, metadata, leaseId, tier, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -153,12 +155,13 @@ public Mono uploadWithRestResponseAsync(String contain * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param blobHttpHeaders Additional parameters for the operation. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadWithRestResponseAsync(String containerName, String blob, Flux body, long contentLength, Integer timeout, byte[] transactionalContentMD5, Map metadata, String leaseId, AccessTier tier, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, BlobHttpHeaders blobHttpHeaders, CpkInfo cpkInfo, Context context) { + public Mono uploadWithRestResponseAsync(String containerName, String blob, Flux body, long contentLength, Integer timeout, byte[] transactionalContentMD5, Map metadata, String leaseId, AccessTier tier, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, BlobHttpHeaders blobHttpHeaders, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String blobType = "BlockBlob"; String contentType = null; if (blobHttpHeaders != null) { @@ -196,11 +199,15 @@ public Mono uploadWithRestResponseAsync(String contain if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } String transactionalContentMD5Converted = Base64Util.encodeToString(transactionalContentMD5); DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); String contentMd5Converted = Base64Util.encodeToString(contentMd5); - return service.upload(containerName, blob, this.client.getUrl(), body, timeout, transactionalContentMD5Converted, contentLength, metadata, leaseId, tier, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.upload(containerName, blob, this.client.getUrl(), body, timeout, transactionalContentMD5Converted, contentLength, metadata, leaseId, tier, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -224,9 +231,10 @@ public Mono stageBlockWithRestResponseAsync(String final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; String transactionalContentMD5Converted = null; String transactionalContentCrc64Converted = null; - return service.stageBlock(containerName, blob, this.client.getUrl(), blockId, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, body, timeout, leaseId, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.stageBlock(containerName, blob, this.client.getUrl(), blockId, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, body, timeout, leaseId, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -243,12 +251,13 @@ public Mono stageBlockWithRestResponseAsync(String * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stageBlockWithRestResponseAsync(String containerName, String blob, String blockId, long contentLength, Flux body, byte[] transactionalContentMD5, byte[] transactionalContentCrc64, Integer timeout, String leaseId, String requestId, CpkInfo cpkInfo, Context context) { + public Mono stageBlockWithRestResponseAsync(String containerName, String blob, String blockId, long contentLength, Flux body, byte[] transactionalContentMD5, byte[] transactionalContentCrc64, Integer timeout, String leaseId, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "block"; String encryptionKey = null; if (cpkInfo != null) { @@ -262,9 +271,13 @@ public Mono stageBlockWithRestResponseAsync(String if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } String transactionalContentMD5Converted = Base64Util.encodeToString(transactionalContentMD5); String transactionalContentCrc64Converted = Base64Util.encodeToString(transactionalContentCrc64); - return service.stageBlock(containerName, blob, this.client.getUrl(), blockId, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, body, timeout, leaseId, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.stageBlock(containerName, blob, this.client.getUrl(), blockId, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, body, timeout, leaseId, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -291,11 +304,12 @@ public Mono stageBlockFromURLWithRestRespon final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; String sourceContentMD5Converted = null; String sourceContentcrc64Converted = null; DateTimeRfc1123 sourceIfModifiedSinceConverted = null; DateTimeRfc1123 sourceIfUnmodifiedSinceConverted = null; - return service.stageBlockFromURL(containerName, blob, this.client.getUrl(), blockId, contentLength, sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, timeout, leaseId, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.stageBlockFromURL(containerName, blob, this.client.getUrl(), blockId, contentLength, sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, timeout, leaseId, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -317,12 +331,13 @@ public Mono stageBlockFromURLWithRestRespon * @param sourceIfNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stageBlockFromURLWithRestResponseAsync(String containerName, String blob, String blockId, long contentLength, URL sourceUrl, String sourceRange, byte[] sourceContentMD5, byte[] sourceContentcrc64, Integer timeout, String leaseId, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatch, String sourceIfNoneMatch, String requestId, CpkInfo cpkInfo, Context context) { + public Mono stageBlockFromURLWithRestResponseAsync(String containerName, String blob, String blockId, long contentLength, URL sourceUrl, String sourceRange, byte[] sourceContentMD5, byte[] sourceContentcrc64, Integer timeout, String leaseId, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatch, String sourceIfNoneMatch, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "block"; String encryptionKey = null; if (cpkInfo != null) { @@ -336,11 +351,15 @@ public Mono stageBlockFromURLWithRestRespon if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } String sourceContentMD5Converted = Base64Util.encodeToString(sourceContentMD5); String sourceContentcrc64Converted = Base64Util.encodeToString(sourceContentcrc64); DateTimeRfc1123 sourceIfModifiedSinceConverted = sourceIfModifiedSince == null ? null : new DateTimeRfc1123(sourceIfModifiedSince); DateTimeRfc1123 sourceIfUnmodifiedSinceConverted = sourceIfUnmodifiedSince == null ? null : new DateTimeRfc1123(sourceIfUnmodifiedSince); - return service.stageBlockFromURL(containerName, blob, this.client.getUrl(), blockId, contentLength, sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, timeout, leaseId, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.stageBlockFromURL(containerName, blob, this.client.getUrl(), blockId, contentLength, sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, timeout, leaseId, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -371,12 +390,13 @@ public Mono commitBlockListWithRestResponseAs final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; String transactionalContentMD5Converted = null; String transactionalContentCrc64Converted = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; String contentMd5Converted = null; - return service.commitBlockList(containerName, blob, this.client.getUrl(), timeout, transactionalContentMD5Converted, transactionalContentCrc64Converted, metadata, leaseId, tier, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blocks, this.client.getVersion(), requestId, comp, cacheControl, contentType, contentEncoding, contentLanguage, contentMd5Converted, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.commitBlockList(containerName, blob, this.client.getUrl(), timeout, transactionalContentMD5Converted, transactionalContentCrc64Converted, metadata, leaseId, tier, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blocks, this.client.getVersion(), requestId, comp, cacheControl, contentType, contentEncoding, contentLanguage, contentMd5Converted, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -398,12 +418,13 @@ public Mono commitBlockListWithRestResponseAs * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param blobHttpHeaders Additional parameters for the operation. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono commitBlockListWithRestResponseAsync(String containerName, String blob, BlockLookupList blocks, Integer timeout, byte[] transactionalContentMD5, byte[] transactionalContentCrc64, Map metadata, String leaseId, AccessTier tier, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, BlobHttpHeaders blobHttpHeaders, CpkInfo cpkInfo, Context context) { + public Mono commitBlockListWithRestResponseAsync(String containerName, String blob, BlockLookupList blocks, Integer timeout, byte[] transactionalContentMD5, byte[] transactionalContentCrc64, Map metadata, String leaseId, AccessTier tier, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, BlobHttpHeaders blobHttpHeaders, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "blocklist"; String cacheControl = null; if (blobHttpHeaders != null) { @@ -441,12 +462,16 @@ public Mono commitBlockListWithRestResponseAs if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } String transactionalContentMD5Converted = Base64Util.encodeToString(transactionalContentMD5); String transactionalContentCrc64Converted = Base64Util.encodeToString(transactionalContentCrc64); DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); String contentMd5Converted = Base64Util.encodeToString(contentMd5); - return service.commitBlockList(containerName, blob, this.client.getUrl(), timeout, transactionalContentMD5Converted, transactionalContentCrc64Converted, metadata, leaseId, tier, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blocks, this.client.getVersion(), requestId, comp, cacheControl, contentType, contentEncoding, contentLanguage, contentMd5Converted, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.commitBlockList(containerName, blob, this.client.getUrl(), timeout, transactionalContentMD5Converted, transactionalContentCrc64Converted, metadata, leaseId, tier, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blocks, this.client.getVersion(), requestId, comp, cacheControl, contentType, contentEncoding, contentLanguage, contentMd5Converted, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/ContainersImpl.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/ContainersImpl.java index 493bc512312de..65b85ca876b83 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/ContainersImpl.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/ContainersImpl.java @@ -18,11 +18,11 @@ import com.azure.core.annotation.ServiceInterface; import com.azure.core.annotation.ServiceMethod; import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.util.serializer.CollectionFormat; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.http.rest.RestProxy; -import com.azure.core.util.serializer.JacksonAdapter; import com.azure.core.util.Context; +import com.azure.core.util.DateTimeRfc1123; +import com.azure.core.util.serializer.CollectionFormat; +import com.azure.core.util.serializer.JacksonAdapter; import com.azure.storage.blob.implementation.models.ContainersAcquireLeaseResponse; import com.azure.storage.blob.implementation.models.ContainersBreakLeaseResponse; import com.azure.storage.blob.implementation.models.ContainersChangeLeaseResponse; @@ -38,6 +38,7 @@ import com.azure.storage.blob.implementation.models.ContainersSetAccessPolicyResponse; import com.azure.storage.blob.implementation.models.ContainersSetMetadataResponse; import com.azure.storage.blob.models.BlobStorageException; +import com.azure.storage.blob.models.BlobContainerEncryptionScope; import com.azure.storage.blob.models.BlobSignedIdentifier; import com.azure.storage.blob.models.ListBlobsIncludeItem; import com.azure.storage.blob.models.PublicAccessType; @@ -81,7 +82,7 @@ private interface ContainersService { @Put("{containerName}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono create(@PathParam("containerName") String containerName, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-blob-public-access") PublicAccessType access, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("restype") String restype, Context context); + Mono create(@PathParam("containerName") String containerName, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-blob-public-access") PublicAccessType access, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("restype") String restype, @HeaderParam("x-ms-default-encryption-scope") String defaultEncryptionScope, @HeaderParam("x-ms-deny-encryption-scope-override") Boolean encryptionScopeOverridePrevented, Context context); @Get("{containerName}") @ExpectedResponses({200}) @@ -164,7 +165,9 @@ public Mono createWithRestResponseAsync(String contain final PublicAccessType access = null; final String requestId = null; final String restype = "container"; - return service.create(containerName, this.client.getUrl(), timeout, metadata, access, this.client.getVersion(), requestId, restype, context); + final String defaultEncryptionScope = null; + final Boolean encryptionScopeOverridePrevented = null; + return service.create(containerName, this.client.getUrl(), timeout, metadata, access, this.client.getVersion(), requestId, restype, defaultEncryptionScope, encryptionScopeOverridePrevented, context); } /** @@ -175,14 +178,23 @@ public Mono createWithRestResponseAsync(String contain * @param metadata Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information. * @param access Specifies whether data in the container may be accessed publicly and the level of access. Possible values include: 'container', 'blob'. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. + * @param blobContainerEncryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createWithRestResponseAsync(String containerName, Integer timeout, Map metadata, PublicAccessType access, String requestId, Context context) { + public Mono createWithRestResponseAsync(String containerName, Integer timeout, Map metadata, PublicAccessType access, String requestId, BlobContainerEncryptionScope blobContainerEncryptionScope, Context context) { final String restype = "container"; - return service.create(containerName, this.client.getUrl(), timeout, metadata, access, this.client.getVersion(), requestId, restype, context); + String defaultEncryptionScope = null; + if (blobContainerEncryptionScope != null) { + defaultEncryptionScope = blobContainerEncryptionScope.getDefaultEncryptionScope(); + } + Boolean encryptionScopeOverridePrevented = null; + if (blobContainerEncryptionScope != null) { + encryptionScopeOverridePrevented = blobContainerEncryptionScope.isEncryptionScopeOverridePrevented(); + } + return service.create(containerName, this.client.getUrl(), timeout, metadata, access, this.client.getVersion(), requestId, restype, defaultEncryptionScope, encryptionScopeOverridePrevented, context); } /** diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/DirectorysImpl.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/DirectorysImpl.java index 96fb18fe83e37..f3f0ea5644446 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/DirectorysImpl.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/DirectorysImpl.java @@ -18,9 +18,9 @@ import com.azure.core.annotation.ServiceInterface; import com.azure.core.annotation.ServiceMethod; import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.http.rest.RestProxy; import com.azure.core.util.Context; +import com.azure.core.util.DateTimeRfc1123; import com.azure.storage.blob.implementation.models.DataLakeStorageErrorException; import com.azure.storage.blob.implementation.models.DirectoryHttpHeaders; import com.azure.storage.blob.implementation.models.DirectorysCreateResponse; diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/PageBlobsImpl.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/PageBlobsImpl.java index 6304652a9e636..c0bcf7a9e0035 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/PageBlobsImpl.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/PageBlobsImpl.java @@ -17,10 +17,11 @@ import com.azure.core.annotation.ServiceInterface; import com.azure.core.annotation.ServiceMethod; import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.http.rest.RestProxy; import com.azure.core.util.Base64Util; import com.azure.core.util.Context; +import com.azure.core.util.DateTimeRfc1123; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.implementation.models.PageBlobsClearPagesResponse; import com.azure.storage.blob.implementation.models.PageBlobsCopyIncrementalResponse; import com.azure.storage.blob.implementation.models.PageBlobsCreateResponse; @@ -78,22 +79,22 @@ private interface PageBlobsService { @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono create(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-access-tier") PremiumPageBlobAccessTier tier, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-blob-content-length") long blobContentLength, @HeaderParam("x-ms-blob-sequence-number") Long blobSequenceNumber, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @HeaderParam("x-ms-blob-type") String blobType, @HeaderParam("x-ms-blob-content-type") String contentType, @HeaderParam("x-ms-blob-content-encoding") String contentEncoding, @HeaderParam("x-ms-blob-content-language") String contentLanguage, @HeaderParam("x-ms-blob-content-md5") String contentMd5, @HeaderParam("x-ms-blob-cache-control") String cacheControl, @HeaderParam("x-ms-blob-content-disposition") String contentDisposition, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono create(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-access-tier") PremiumPageBlobAccessTier tier, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-blob-content-length") long blobContentLength, @HeaderParam("x-ms-blob-sequence-number") Long blobSequenceNumber, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @HeaderParam("x-ms-blob-type") String blobType, @HeaderParam("x-ms-blob-content-type") String contentType, @HeaderParam("x-ms-blob-content-encoding") String contentEncoding, @HeaderParam("x-ms-blob-content-language") String contentLanguage, @HeaderParam("x-ms-blob-content-md5") String contentMd5, @HeaderParam("x-ms-blob-cache-control") String cacheControl, @HeaderParam("x-ms-blob-content-disposition") String contentDisposition, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono uploadPages(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @BodyParam("application/octet-stream") Flux body, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-content-crc64") String transactionalContentCrc64, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-if-sequence-number-le") Long ifSequenceNumberLessThanOrEqualTo, @HeaderParam("x-ms-if-sequence-number-lt") Long ifSequenceNumberLessThan, @HeaderParam("x-ms-if-sequence-number-eq") Long ifSequenceNumberEqualTo, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-page-write") String pageWrite, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono uploadPages(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @BodyParam("application/octet-stream") Flux body, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String transactionalContentMD5, @HeaderParam("x-ms-content-crc64") String transactionalContentCrc64, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-if-sequence-number-le") Long ifSequenceNumberLessThanOrEqualTo, @HeaderParam("x-ms-if-sequence-number-lt") Long ifSequenceNumberLessThan, @HeaderParam("x-ms-if-sequence-number-eq") Long ifSequenceNumberEqualTo, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-page-write") String pageWrite, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono clearPages(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @HeaderParam("Content-Length") long contentLength, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-if-sequence-number-le") Long ifSequenceNumberLessThanOrEqualTo, @HeaderParam("x-ms-if-sequence-number-lt") Long ifSequenceNumberLessThan, @HeaderParam("x-ms-if-sequence-number-eq") Long ifSequenceNumberEqualTo, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-page-write") String pageWrite, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono clearPages(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @HeaderParam("Content-Length") long contentLength, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-if-sequence-number-le") Long ifSequenceNumberLessThanOrEqualTo, @HeaderParam("x-ms-if-sequence-number-lt") Long ifSequenceNumberLessThan, @HeaderParam("x-ms-if-sequence-number-eq") Long ifSequenceNumberEqualTo, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-page-write") String pageWrite, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono uploadPagesFromURL(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @HeaderParam("x-ms-copy-source") URL copySource, @HeaderParam("x-ms-source-range") String sourceRange, @HeaderParam("x-ms-source-content-md5") String sourceContentMD5, @HeaderParam("x-ms-source-content-crc64") String sourceContentcrc64, @HeaderParam("Content-Length") long contentLength, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-if-sequence-number-le") Long ifSequenceNumberLessThanOrEqualTo, @HeaderParam("x-ms-if-sequence-number-lt") Long ifSequenceNumberLessThan, @HeaderParam("x-ms-if-sequence-number-eq") Long ifSequenceNumberEqualTo, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-source-if-modified-since") DateTimeRfc1123 sourceIfModifiedSince, @HeaderParam("x-ms-source-if-unmodified-since") DateTimeRfc1123 sourceIfUnmodifiedSince, @HeaderParam("x-ms-source-if-match") String sourceIfMatch, @HeaderParam("x-ms-source-if-none-match") String sourceIfNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-page-write") String pageWrite, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono uploadPagesFromURL(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @HeaderParam("x-ms-copy-source") URL copySource, @HeaderParam("x-ms-source-range") String sourceRange, @HeaderParam("x-ms-source-content-md5") String sourceContentMD5, @HeaderParam("x-ms-source-content-crc64") String sourceContentcrc64, @HeaderParam("Content-Length") long contentLength, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-if-sequence-number-le") Long ifSequenceNumberLessThanOrEqualTo, @HeaderParam("x-ms-if-sequence-number-lt") Long ifSequenceNumberLessThan, @HeaderParam("x-ms-if-sequence-number-eq") Long ifSequenceNumberEqualTo, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-source-if-modified-since") DateTimeRfc1123 sourceIfModifiedSince, @HeaderParam("x-ms-source-if-unmodified-since") DateTimeRfc1123 sourceIfUnmodifiedSince, @HeaderParam("x-ms-source-if-match") String sourceIfMatch, @HeaderParam("x-ms-source-if-none-match") String sourceIfNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-page-write") String pageWrite, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Get("{containerName}/{blob}") @ExpectedResponses({200}) @@ -103,12 +104,12 @@ private interface PageBlobsService { @Get("{containerName}/{blob}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono getPageRangesDiff(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("snapshot") String snapshot, @QueryParam("timeout") Integer timeout, @QueryParam("prevsnapshot") String prevsnapshot, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, Context context); + Mono getPageRangesDiff(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("snapshot") String snapshot, @QueryParam("timeout") Integer timeout, @QueryParam("prevsnapshot") String prevsnapshot, @HeaderParam("x-ms-previous-snapshot-url") URL prevSnapshotUrl, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(BlobStorageException.class) - Mono resize(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-blob-content-length") long blobContentLength, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, Context context); + Mono resize(@PathParam("containerName") String containerName, @PathParam("blob") String blob, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("If-Modified-Since") DateTimeRfc1123 ifModifiedSince, @HeaderParam("If-Unmodified-Since") DateTimeRfc1123 ifUnmodifiedSince, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @HeaderParam("x-ms-blob-content-length") long blobContentLength, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-encryption-key") String encryptionKey, @HeaderParam("x-ms-encryption-key-sha256") String encryptionKeySha256, @HeaderParam("x-ms-encryption-algorithm") EncryptionAlgorithmType encryptionAlgorithm, @HeaderParam("x-ms-encryption-scope") String encryptionScope, Context context); @Put("{containerName}/{blob}") @ExpectedResponses({200}) @@ -151,10 +152,11 @@ public Mono createWithRestResponseAsync(String containe final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; String contentMd5Converted = null; - return service.create(containerName, blob, this.client.getUrl(), timeout, contentLength, tier, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blobContentLength, blobSequenceNumber, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.create(containerName, blob, this.client.getUrl(), timeout, contentLength, tier, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blobContentLength, blobSequenceNumber, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -176,12 +178,13 @@ public Mono createWithRestResponseAsync(String containe * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param blobHttpHeaders Additional parameters for the operation. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createWithRestResponseAsync(String containerName, String blob, long contentLength, long blobContentLength, Integer timeout, PremiumPageBlobAccessTier tier, Map metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, Long blobSequenceNumber, String requestId, BlobHttpHeaders blobHttpHeaders, CpkInfo cpkInfo, Context context) { + public Mono createWithRestResponseAsync(String containerName, String blob, long contentLength, long blobContentLength, Integer timeout, PremiumPageBlobAccessTier tier, Map metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, Long blobSequenceNumber, String requestId, BlobHttpHeaders blobHttpHeaders, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String blobType = "PageBlob"; String contentType = null; if (blobHttpHeaders != null) { @@ -219,10 +222,14 @@ public Mono createWithRestResponseAsync(String containe if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); String contentMd5Converted = Base64Util.encodeToString(contentMd5); - return service.create(containerName, blob, this.client.getUrl(), timeout, contentLength, tier, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blobContentLength, blobSequenceNumber, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.create(containerName, blob, this.client.getUrl(), timeout, contentLength, tier, metadata, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blobContentLength, blobSequenceNumber, this.client.getVersion(), requestId, blobType, contentType, contentEncoding, contentLanguage, contentMd5Converted, cacheControl, contentDisposition, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -252,11 +259,12 @@ public Mono uploadPagesWithRestResponseAsync(Strin final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; String transactionalContentMD5Converted = null; String transactionalContentCrc64Converted = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; - return service.uploadPages(containerName, blob, this.client.getUrl(), body, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.uploadPages(containerName, blob, this.client.getUrl(), body, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -280,12 +288,13 @@ public Mono uploadPagesWithRestResponseAsync(Strin * @param ifNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadPagesWithRestResponseAsync(String containerName, String blob, Flux body, long contentLength, byte[] transactionalContentMD5, byte[] transactionalContentCrc64, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, Context context) { + public Mono uploadPagesWithRestResponseAsync(String containerName, String blob, Flux body, long contentLength, byte[] transactionalContentMD5, byte[] transactionalContentCrc64, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "page"; final String pageWrite = "update"; String encryptionKey = null; @@ -300,11 +309,15 @@ public Mono uploadPagesWithRestResponseAsync(Strin if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } String transactionalContentMD5Converted = Base64Util.encodeToString(transactionalContentMD5); String transactionalContentCrc64Converted = Base64Util.encodeToString(transactionalContentCrc64); DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); - return service.uploadPages(containerName, blob, this.client.getUrl(), body, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.uploadPages(containerName, blob, this.client.getUrl(), body, contentLength, transactionalContentMD5Converted, transactionalContentCrc64Converted, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -333,9 +346,10 @@ public Mono clearPagesWithRestResponseAsync(String final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; - return service.clearPages(containerName, blob, this.client.getUrl(), contentLength, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.clearPages(containerName, blob, this.client.getUrl(), contentLength, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -356,12 +370,13 @@ public Mono clearPagesWithRestResponseAsync(String * @param ifNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono clearPagesWithRestResponseAsync(String containerName, String blob, long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, Context context) { + public Mono clearPagesWithRestResponseAsync(String containerName, String blob, long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "page"; final String pageWrite = "clear"; String encryptionKey = null; @@ -376,9 +391,13 @@ public Mono clearPagesWithRestResponseAsync(String if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); - return service.clearPages(containerName, blob, this.client.getUrl(), contentLength, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.clearPages(containerName, blob, this.client.getUrl(), contentLength, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -411,13 +430,14 @@ public Mono uploadPagesFromURLWithRestRespo final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; String sourceContentMD5Converted = null; String sourceContentcrc64Converted = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; DateTimeRfc1123 sourceIfModifiedSinceConverted = null; DateTimeRfc1123 sourceIfUnmodifiedSinceConverted = null; - return service.uploadPagesFromURL(containerName, blob, this.client.getUrl(), sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, contentLength, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.uploadPagesFromURL(containerName, blob, this.client.getUrl(), sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, contentLength, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -446,12 +466,13 @@ public Mono uploadPagesFromURLWithRestRespo * @param sourceIfNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadPagesFromURLWithRestResponseAsync(String containerName, String blob, URL sourceUrl, String sourceRange, long contentLength, String range, byte[] sourceContentMD5, byte[] sourceContentcrc64, Integer timeout, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatch, String sourceIfNoneMatch, String requestId, CpkInfo cpkInfo, Context context) { + public Mono uploadPagesFromURLWithRestResponseAsync(String containerName, String blob, URL sourceUrl, String sourceRange, long contentLength, String range, byte[] sourceContentMD5, byte[] sourceContentcrc64, Integer timeout, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatch, String sourceIfNoneMatch, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "page"; final String pageWrite = "update"; String encryptionKey = null; @@ -466,13 +487,17 @@ public Mono uploadPagesFromURLWithRestRespo if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } String sourceContentMD5Converted = Base64Util.encodeToString(sourceContentMD5); String sourceContentcrc64Converted = Base64Util.encodeToString(sourceContentcrc64); DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); DateTimeRfc1123 sourceIfModifiedSinceConverted = sourceIfModifiedSince == null ? null : new DateTimeRfc1123(sourceIfModifiedSince); DateTimeRfc1123 sourceIfUnmodifiedSinceConverted = sourceIfUnmodifiedSince == null ? null : new DateTimeRfc1123(sourceIfUnmodifiedSince); - return service.uploadPagesFromURL(containerName, blob, this.client.getUrl(), sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, contentLength, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.uploadPagesFromURL(containerName, blob, this.client.getUrl(), sourceUrl, sourceRange, sourceContentMD5Converted, sourceContentcrc64Converted, contentLength, timeout, range, leaseId, ifSequenceNumberLessThanOrEqualTo, ifSequenceNumberLessThan, ifSequenceNumberEqualTo, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, sourceIfModifiedSinceConverted, sourceIfUnmodifiedSinceConverted, sourceIfMatch, sourceIfNoneMatch, this.client.getVersion(), requestId, comp, pageWrite, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** @@ -539,6 +564,7 @@ public Mono getPageRangesDiffWithRestRespons final String snapshot = null; final Integer timeout = null; final String prevsnapshot = null; + final URL prevSnapshotUrl = null; final String range = null; final String leaseId = null; final String ifMatch = null; @@ -547,7 +573,7 @@ public Mono getPageRangesDiffWithRestRespons final String comp = "pagelist"; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; - return service.getPageRangesDiff(containerName, blob, this.client.getUrl(), snapshot, timeout, prevsnapshot, range, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, context); + return service.getPageRangesDiff(containerName, blob, this.client.getUrl(), snapshot, timeout, prevsnapshot, prevSnapshotUrl, range, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, context); } /** @@ -558,6 +584,7 @@ public Mono getPageRangesDiffWithRestRespons * @param snapshot The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>. * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>. * @param prevsnapshot Optional in version 2015-07-08 and newer. The prevsnapshot parameter is a DateTime value that specifies that the response will contain only pages that were changed between target blob and previous snapshot. Changed pages include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by prevsnapshot is the older of the two. Note that incremental snapshots are currently supported only for blobs created on or after January 1, 2016. + * @param prevSnapshotUrl Optional. This header is only supported in service versions 2019-04-19 and after and specifies the URL of a previous snapshot of the target blob. The response will only contain pages that were changed between the target blob and its previous snapshot. * @param range Return only the bytes of the blob in the specified range. * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param ifModifiedSince Specify this header value to operate only on a blob if it has been modified since the specified date/time. @@ -570,11 +597,11 @@ public Mono getPageRangesDiffWithRestRespons * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPageRangesDiffWithRestResponseAsync(String containerName, String blob, String snapshot, Integer timeout, String prevsnapshot, String range, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, Context context) { + public Mono getPageRangesDiffWithRestResponseAsync(String containerName, String blob, String snapshot, Integer timeout, String prevsnapshot, URL prevSnapshotUrl, String range, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, Context context) { final String comp = "pagelist"; DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); - return service.getPageRangesDiff(containerName, blob, this.client.getUrl(), snapshot, timeout, prevsnapshot, range, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, context); + return service.getPageRangesDiff(containerName, blob, this.client.getUrl(), snapshot, timeout, prevsnapshot, prevSnapshotUrl, range, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, this.client.getVersion(), requestId, comp, context); } /** @@ -598,9 +625,10 @@ public Mono resizeWithRestResponseAsync(String containe final String encryptionKey = null; final String encryptionKeySha256 = null; final EncryptionAlgorithmType encryptionAlgorithm = null; + final String encryptionScope = null; DateTimeRfc1123 ifModifiedSinceConverted = null; DateTimeRfc1123 ifUnmodifiedSinceConverted = null; - return service.resize(containerName, blob, this.client.getUrl(), timeout, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blobContentLength, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.resize(containerName, blob, this.client.getUrl(), timeout, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blobContentLength, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope, context); } /** @@ -617,12 +645,13 @@ public Mono resizeWithRestResponseAsync(String containe * @param ifNoneMatch Specify an ETag value to operate only on blobs without a matching value. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param cpkInfo Additional parameters for the operation. + * @param encryptionScope Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono resizeWithRestResponseAsync(String containerName, String blob, long blobContentLength, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, Context context) { + public Mono resizeWithRestResponseAsync(String containerName, String blob, long blobContentLength, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String requestId, CpkInfo cpkInfo, EncryptionScope encryptionScope, Context context) { final String comp = "properties"; String encryptionKey = null; if (cpkInfo != null) { @@ -636,9 +665,13 @@ public Mono resizeWithRestResponseAsync(String containe if (cpkInfo != null) { encryptionAlgorithm = cpkInfo.getEncryptionAlgorithm(); } + String encryptionScope1 = null; + if (encryptionScope != null) { + encryptionScope1 = encryptionScope.getEncryptionScope(); + } DateTimeRfc1123 ifModifiedSinceConverted = ifModifiedSince == null ? null : new DateTimeRfc1123(ifModifiedSince); DateTimeRfc1123 ifUnmodifiedSinceConverted = ifUnmodifiedSince == null ? null : new DateTimeRfc1123(ifUnmodifiedSince); - return service.resize(containerName, blob, this.client.getUrl(), timeout, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blobContentLength, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, context); + return service.resize(containerName, blob, this.client.getUrl(), timeout, leaseId, ifModifiedSinceConverted, ifUnmodifiedSinceConverted, ifMatch, ifNoneMatch, blobContentLength, this.client.getVersion(), requestId, comp, encryptionKey, encryptionKeySha256, encryptionAlgorithm, encryptionScope1, context); } /** diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobAppendBlockFromUrlHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobAppendBlockFromUrlHeaders.java index bb07642c76f65..ed709d9ff65e3 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobAppendBlockFromUrlHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobAppendBlockFromUrlHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -93,6 +93,14 @@ public final class AppendBlobAppendBlockFromUrlHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The value of this header is set to true if the contents of the request * are successfully encrypted using the specified algorithm, and false @@ -359,6 +367,32 @@ public AppendBlobAppendBlockFromUrlHeaders setEncryptionKeySha256(String encrypt return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the AppendBlobAppendBlockFromUrlHeaders object itself. + */ + public AppendBlobAppendBlockFromUrlHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the isServerEncrypted property: The value of this header is set to * true if the contents of the request are successfully encrypted using the diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobAppendBlockHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobAppendBlockHeaders.java index a985c2009c841..ccac2ede5b202 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobAppendBlockHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobAppendBlockHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -108,6 +108,14 @@ public final class AppendBlobAppendBlockHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -414,6 +422,32 @@ public AppendBlobAppendBlockHeaders setEncryptionKeySha256(String encryptionKeyS return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the AppendBlobAppendBlockHeaders object itself. + */ + public AppendBlobAppendBlockHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobCreateHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobCreateHeaders.java index 2d7dc14406af4..d7d96f5747c1b 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobCreateHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/AppendBlobCreateHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -86,6 +86,14 @@ public final class AppendBlobCreateHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -320,6 +328,32 @@ public AppendBlobCreateHeaders setEncryptionKeySha256(String encryptionKeySha256 return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the AppendBlobCreateHeaders object itself. + */ + public AppendBlobCreateHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobCopyFromURLHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobCopyFromURLHeaders.java index 0fe9129f81a11..b42f2da6d9ccc 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobCopyFromURLHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobCopyFromURLHeaders.java @@ -5,6 +5,7 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; +import com.azure.core.util.CoreUtils; import com.azure.core.util.DateTimeRfc1123; import com.azure.storage.blob.models.SyncCopyStatusType; import com.fasterxml.jackson.annotation.JsonProperty; @@ -75,6 +76,21 @@ public final class BlobCopyFromURLHeaders { @JsonProperty(value = "x-ms-copy-status") private SyncCopyStatusType copyStatus; + /* + * This response header is returned so that the client can check for the + * integrity of the copied content. This header is only returned if the + * source content MD5 was specified. + */ + @JsonProperty(value = "Content-MD5") + private byte[] contentMD5; + + /* + * This response header is returned so that the client can check for the + * integrity of the copied content. + */ + @JsonProperty(value = "x-ms-content-crc64") + private byte[] xMsContentCrc64; + /* * UTC date/time value generated by the service that identifies the version * of the blob. This header is returned for requests made against version @@ -287,6 +303,52 @@ public BlobCopyFromURLHeaders setCopyStatus(SyncCopyStatusType copyStatus) { return this; } + /** + * Get the contentMD5 property: This response header is returned so that + * the client can check for the integrity of the copied content. This + * header is only returned if the source content MD5 was specified. + * + * @return the contentMD5 value. + */ + public byte[] getContentMD5() { + return CoreUtils.clone(this.contentMD5); + } + + /** + * Set the contentMD5 property: This response header is returned so that + * the client can check for the integrity of the copied content. This + * header is only returned if the source content MD5 was specified. + * + * @param contentMD5 the contentMD5 value to set. + * @return the BlobCopyFromURLHeaders object itself. + */ + public BlobCopyFromURLHeaders setContentMD5(byte[] contentMD5) { + this.contentMD5 = CoreUtils.clone(contentMD5); + return this; + } + + /** + * Get the xMsContentCrc64 property: This response header is returned so + * that the client can check for the integrity of the copied content. + * + * @return the xMsContentCrc64 value. + */ + public byte[] getXMsContentCrc64() { + return CoreUtils.clone(this.xMsContentCrc64); + } + + /** + * Set the xMsContentCrc64 property: This response header is returned so + * that the client can check for the integrity of the copied content. + * + * @param xMsContentCrc64 the xMsContentCrc64 value to set. + * @return the BlobCopyFromURLHeaders object itself. + */ + public BlobCopyFromURLHeaders setXMsContentCrc64(byte[] xMsContentCrc64) { + this.xMsContentCrc64 = CoreUtils.clone(xMsContentCrc64); + return this; + } + /** * Get the versionId property: UTC date/time value generated by the service * that identifies the version of the blob. This header is returned for diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobGetPropertiesHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobGetPropertiesHeaders.java index 929550a4834df..bfa1f0723cf2c 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobGetPropertiesHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobGetPropertiesHeaders.java @@ -6,8 +6,8 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.HeaderCollection; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.azure.storage.blob.models.BlobType; import com.azure.storage.blob.models.CopyStatusType; import com.azure.storage.blob.models.LeaseDurationType; @@ -273,6 +273,14 @@ public final class BlobGetPropertiesHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The tier of page blob on a premium storage account or tier of block blob * on blob storage LRS accounts. For a list of allowed premium page blob @@ -1121,6 +1129,32 @@ public BlobGetPropertiesHeaders setEncryptionKeySha256(String encryptionKeySha25 return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the BlobGetPropertiesHeaders object itself. + */ + public BlobGetPropertiesHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the accessTier property: The tier of page blob on a premium storage * account or tier of block blob on blob storage LRS accounts. For a list diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobSetMetadataHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobSetMetadataHeaders.java index ff6258494255b..6c13228eaf7d5 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobSetMetadataHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobSetMetadataHeaders.java @@ -77,6 +77,14 @@ public final class BlobSetMetadataHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -287,6 +295,32 @@ public BlobSetMetadataHeaders setEncryptionKeySha256(String encryptionKeySha256) return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the BlobSetMetadataHeaders object itself. + */ + public BlobSetMetadataHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobCommitBlockListHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobCommitBlockListHeaders.java index 83098799f9732..6361943632b13 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobCommitBlockListHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobCommitBlockListHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -94,6 +94,14 @@ public final class BlockBlobCommitBlockListHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -356,6 +364,32 @@ public BlockBlobCommitBlockListHeaders setEncryptionKeySha256(String encryptionK return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the BlockBlobCommitBlockListHeaders object itself. + */ + public BlockBlobCommitBlockListHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobStageBlockFromURLHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobStageBlockFromURLHeaders.java index 0713c8b43aafe..13b11283ef6e1 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobStageBlockFromURLHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobStageBlockFromURLHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -78,6 +78,14 @@ public final class BlockBlobStageBlockFromURLHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -283,6 +291,32 @@ public BlockBlobStageBlockFromURLHeaders setEncryptionKeySha256(String encryptio return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the BlockBlobStageBlockFromURLHeaders object itself. + */ + public BlockBlobStageBlockFromURLHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobStageBlockHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobStageBlockHeaders.java index 90f2e9eb22086..0a77f90fc51e3 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobStageBlockHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobStageBlockHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -78,6 +78,14 @@ public final class BlockBlobStageBlockHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -283,6 +291,32 @@ public BlockBlobStageBlockHeaders setEncryptionKeySha256(String encryptionKeySha return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the BlockBlobStageBlockHeaders object itself. + */ + public BlockBlobStageBlockHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobUploadHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobUploadHeaders.java index 53778137928da..e22b65e07361b 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobUploadHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlockBlobUploadHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -86,6 +86,14 @@ public final class BlockBlobUploadHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -320,6 +328,32 @@ public BlockBlobUploadHeaders setEncryptionKeySha256(String encryptionKeySha256) return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the BlockBlobUploadHeaders object itself. + */ + public BlockBlobUploadHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/ContainerGetPropertiesHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/ContainerGetPropertiesHeaders.java index 67fb33334770d..42cb15f26dac8 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/ContainerGetPropertiesHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/ContainerGetPropertiesHeaders.java @@ -113,6 +113,19 @@ public final class ContainerGetPropertiesHeaders { @JsonProperty(value = "x-ms-has-legal-hold") private Boolean hasLegalHold; + /* + * The default encryption scope for the container. + */ + @JsonProperty(value = "x-ms-default-encryption-scope") + private String defaultEncryptionScope; + + /* + * Indicates whether the container's default encryption scope can be + * overriden. + */ + @JsonProperty(value = "x-ms-deny-encryption-scope-override") + private Boolean denyEncryptionScopeOverride; + /* * The errorCode property. */ @@ -431,6 +444,51 @@ public ContainerGetPropertiesHeaders setHasLegalHold(Boolean hasLegalHold) { return this; } + /** + * Get the defaultEncryptionScope property: The default encryption scope + * for the container. + * + * @return the defaultEncryptionScope value. + */ + public String getDefaultEncryptionScope() { + return this.defaultEncryptionScope; + } + + /** + * Set the defaultEncryptionScope property: The default encryption scope + * for the container. + * + * @param defaultEncryptionScope the defaultEncryptionScope value to set. + * @return the ContainerGetPropertiesHeaders object itself. + */ + public ContainerGetPropertiesHeaders setDefaultEncryptionScope(String defaultEncryptionScope) { + this.defaultEncryptionScope = defaultEncryptionScope; + return this; + } + + /** + * Get the denyEncryptionScopeOverride property: Indicates whether the + * container's default encryption scope can be overriden. + * + * @return the denyEncryptionScopeOverride value. + */ + public Boolean isDenyEncryptionScopeOverride() { + return this.denyEncryptionScopeOverride; + } + + /** + * Set the denyEncryptionScopeOverride property: Indicates whether the + * container's default encryption scope can be overriden. + * + * @param denyEncryptionScopeOverride the denyEncryptionScopeOverride value + * to set. + * @return the ContainerGetPropertiesHeaders object itself. + */ + public ContainerGetPropertiesHeaders setDenyEncryptionScopeOverride(Boolean denyEncryptionScopeOverride) { + this.denyEncryptionScopeOverride = denyEncryptionScopeOverride; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/EncryptionScope.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/EncryptionScope.java new file mode 100644 index 0000000000000..8e01fe8dafe7f --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/EncryptionScope.java @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.blob.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; + +/** + * Additional parameters for a set of operations. + */ +@JacksonXmlRootElement(localName = "encryption-scope") +@Fluent +public final class EncryptionScope { + /* + * Optional. Version 2019-07-07 and later. Specifies the name of the + * encryption scope to use to encrypt the data provided in the request. If + * not specified, encryption is performed with the default account + * encryption scope. For more information, see Encryption at Rest for + * Azure Storage Services. + */ + @JsonProperty(value = "encryptionScope") + private String encryptionScope; + + /** + * Get the encryptionScope property: Optional. Version 2019-07-07 and + * later. Specifies the name of the encryption scope to use to encrypt the + * data provided in the request. If not specified, encryption is performed + * with the default account encryption scope. For more information, see + * Encryption at Rest for Azure Storage Services. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Optional. Version 2019-07-07 and + * later. Specifies the name of the encryption scope to use to encrypt the + * data provided in the request. If not specified, encryption is performed + * with the default account encryption scope. For more information, see + * Encryption at Rest for Azure Storage Services. + * + * @param encryptionScope the encryptionScope value to set. + * @return the EncryptionScope object itself. + */ + public EncryptionScope setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } +} diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobClearPagesHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobClearPagesHeaders.java index 36cbf72202c79..8280626d40ef3 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobClearPagesHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobClearPagesHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobCreateHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobCreateHeaders.java index f85802875b7db..fc79f601e0b02 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobCreateHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobCreateHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -86,6 +86,14 @@ public final class PageBlobCreateHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -320,6 +328,32 @@ public PageBlobCreateHeaders setEncryptionKeySha256(String encryptionKeySha256) return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the PageBlobCreateHeaders object itself. + */ + public PageBlobCreateHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobUploadPagesFromURLHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobUploadPagesFromURLHeaders.java index 92e985d21184e..f8623be160b11 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobUploadPagesFromURLHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobUploadPagesFromURLHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -93,6 +93,14 @@ public final class PageBlobUploadPagesFromURLHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -351,6 +359,32 @@ public PageBlobUploadPagesFromURLHeaders setEncryptionKeySha256(String encryptio return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the PageBlobUploadPagesFromURLHeaders object itself. + */ + public PageBlobUploadPagesFromURLHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobUploadPagesHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobUploadPagesHeaders.java index a4bfa7b69115e..bea3204369dad 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobUploadPagesHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/PageBlobUploadPagesHeaders.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.implementation.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -100,6 +100,14 @@ public final class PageBlobUploadPagesHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * The errorCode property. */ @@ -382,6 +390,32 @@ public PageBlobUploadPagesHeaders setEncryptionKeySha256(String encryptionKeySha return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the PageBlobUploadPagesHeaders object itself. + */ + public PageBlobUploadPagesHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/util/BuilderHelper.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/util/BuilderHelper.java index 31eccba92d8bc..9259bbbb00fd3 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/util/BuilderHelper.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/util/BuilderHelper.java @@ -30,8 +30,8 @@ import com.azure.storage.common.policy.StorageSharedKeyCredentialPolicy; import java.util.ArrayList; -import java.util.List; import java.util.Map; +import java.util.List; /** * This class provides helper methods for common builder patterns. diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/AppendBlobItem.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/AppendBlobItem.java index 3bea9cafe312a..28b088c684930 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/AppendBlobItem.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/AppendBlobItem.java @@ -18,6 +18,7 @@ public class AppendBlobItem { private final byte[] contentMd5; private final boolean isServerEncrypted; private final String encryptionKeySha256; + private final String encryptionScope; private final String blobAppendOffset; private final Integer blobCommittedBlockCount; @@ -35,11 +36,31 @@ public class AppendBlobItem { public AppendBlobItem(final String eTag, final OffsetDateTime lastModified, final byte[] contentMd5, final boolean isServerEncrypted, final String encryptionKeySha256, final String blobAppendOffset, final Integer blobCommittedBlockCount) { + this(eTag, lastModified, contentMd5, isServerEncrypted, encryptionKeySha256, null, blobAppendOffset, + blobCommittedBlockCount); + } + + /** + * Constructs an {@link AppendBlobItem}. + * + * @param eTag ETag of the append blob. + * @param lastModified Last modified time of the append blob. + * @param contentMd5 Content MD5 of the append blob. + * @param isServerEncrypted Flag indicating if the page blob is encrypted on the server. + * @param encryptionKeySha256 The encryption key used to encrypt the append blob. + * @param encryptionScope The encryption scope used to encrypt the append blob. + * @param blobAppendOffset The offset at which the block was committed to the append blob. + * @param blobCommittedBlockCount The number of committed blocks in the append blob. + */ + public AppendBlobItem(final String eTag, final OffsetDateTime lastModified, final byte[] contentMd5, + final boolean isServerEncrypted, final String encryptionKeySha256, final String encryptionScope, + final String blobAppendOffset, final Integer blobCommittedBlockCount) { this.eTag = eTag; this.lastModified = lastModified; this.contentMd5 = CoreUtils.clone(contentMd5); this.isServerEncrypted = isServerEncrypted; this.encryptionKeySha256 = encryptionKeySha256; + this.encryptionScope = encryptionScope; this.blobAppendOffset = blobAppendOffset; this.blobCommittedBlockCount = blobCommittedBlockCount; } @@ -72,6 +93,13 @@ public String getEncryptionKeySha256() { return encryptionKeySha256; } + /** + * @return the encryption scope that was used to encrypt the append blob + */ + public String getEncryptionScope() { + return encryptionScope; + } + /** * @return the calculated MD5 of the append blob */ diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerEncryptionScope.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerEncryptionScope.java new file mode 100644 index 0000000000000..e1b940a5450b6 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerEncryptionScope.java @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.blob.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; + +/** + * Additional parameters for create operation. + */ +@JacksonXmlRootElement(localName = "blob-container-encryption-scope") +@Fluent +public final class BlobContainerEncryptionScope { + /* + * Optional. Version 2019-07-07 and later. Specifies the default + * encryption scope to set on the container and use for all future writes. + */ + @JsonProperty(value = "defaultEncryptionScope") + private String defaultEncryptionScope; + + /* + * Optional. Version 2019-07-07 and newer. If true, prevents any request + * from specifying a different encryption scope than the scope set on the + * container. + */ + @JsonProperty(value = "encryptionScopeOverridePrevented") + private boolean encryptionScopeOverridePrevented; + + /** + * Get the defaultEncryptionScope property: Optional. Version 2019-07-07 + * and later. Specifies the default encryption scope to set on the + * container and use for all future writes. + * + * @return the defaultEncryptionScope value. + */ + public String getDefaultEncryptionScope() { + return this.defaultEncryptionScope; + } + + /** + * Set the defaultEncryptionScope property: Optional. Version 2019-07-07 + * and later. Specifies the default encryption scope to set on the + * container and use for all future writes. + * + * @param defaultEncryptionScope the defaultEncryptionScope value to set. + * @return the BlobContainerEncryptionScope object itself. + */ + public BlobContainerEncryptionScope setDefaultEncryptionScope(String defaultEncryptionScope) { + this.defaultEncryptionScope = defaultEncryptionScope; + return this; + } + + /** + * Get the encryptionScopeOverridePrevented property: Optional. Version + * 2019-07-07 and newer. If true, prevents any request from specifying a + * different encryption scope than the scope set on the container. + * + * @return the encryptionScopeOverridePrevented value. + */ + public boolean isEncryptionScopeOverridePrevented() { + return this.encryptionScopeOverridePrevented; + } + + /** + * Set the encryptionScopeOverridePrevented property: Optional. Version + * 2019-07-07 and newer. If true, prevents any request from specifying a + * different encryption scope than the scope set on the container. + * + * @param encryptionScopeOverridePrevented the + * encryptionScopeOverridePrevented value to set. + * @return the BlobContainerEncryptionScope object itself. + */ + public BlobContainerEncryptionScope setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented) { + this.encryptionScopeOverridePrevented = encryptionScopeOverridePrevented; + return this; + } +} diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerItemProperties.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerItemProperties.java index e05eb6f41e383..b3371bdd16af8 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerItemProperties.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerItemProperties.java @@ -65,6 +65,18 @@ public final class BlobContainerItemProperties { @JsonProperty(value = "HasLegalHold") private Boolean hasLegalHold; + /* + * The defaultEncryptionScope property. + */ + @JsonProperty(value = "DefaultEncryptionScope") + private String defaultEncryptionScope; + + /* + * The encryptionScopeOverridePrevented property. + */ + @JsonProperty(value = "DenyEncryptionScopeOverride") + private boolean encryptionScopeOverridePrevented; + /** * Get the lastModified property: The lastModified property. * @@ -241,4 +253,49 @@ public BlobContainerItemProperties setHasLegalHold(Boolean hasLegalHold) { this.hasLegalHold = hasLegalHold; return this; } + + /** + * Get the defaultEncryptionScope property: The defaultEncryptionScope + * property. + * + * @return the defaultEncryptionScope value. + */ + public String getDefaultEncryptionScope() { + return this.defaultEncryptionScope; + } + + /** + * Set the defaultEncryptionScope property: The defaultEncryptionScope + * property. + * + * @param defaultEncryptionScope the defaultEncryptionScope value to set. + * @return the BlobContainerItemProperties object itself. + */ + public BlobContainerItemProperties setDefaultEncryptionScope(String defaultEncryptionScope) { + this.defaultEncryptionScope = defaultEncryptionScope; + return this; + } + + /** + * Get the encryptionScopeOverridePrevented property: The + * encryptionScopeOverridePrevented property. + * + * @return the encryptionScopeOverridePrevented value. + */ + public boolean isEncryptionScopeOverridePrevented() { + return this.encryptionScopeOverridePrevented; + } + + /** + * Set the encryptionScopeOverridePrevented property: The + * encryptionScopeOverridePrevented property. + * + * @param encryptionScopeOverridePrevented the + * encryptionScopeOverridePrevented value to set. + * @return the BlobContainerItemProperties object itself. + */ + public BlobContainerItemProperties setEncryptionScopeOverridePrevented(boolean encryptionScopeOverridePrevented) { + this.encryptionScopeOverridePrevented = encryptionScopeOverridePrevented; + return this; + } } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerProperties.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerProperties.java index 957f16842bffc..d67cbb799b59d 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerProperties.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerProperties.java @@ -23,6 +23,8 @@ public final class BlobContainerProperties { private final PublicAccessType blobPublicAccess; private final boolean hasImmutabilityPolicy; private final boolean hasLegalHold; + private final String defaultEncryptionScope; + private final Boolean encryptionScopeOverridePrevented; /** * Constructs a {@link BlobContainerProperties}. @@ -41,6 +43,30 @@ public BlobContainerProperties(final Map metadata, final String final OffsetDateTime lastModified, final LeaseDurationType leaseDuration, final LeaseStateType leaseState, final LeaseStatusType leaseStatus, final PublicAccessType blobPublicAccess, final boolean hasImmutabilityPolicy, final boolean hasLegalHold) { + this(metadata, eTag, lastModified, leaseDuration, leaseState, leaseStatus, blobPublicAccess, + hasImmutabilityPolicy, hasLegalHold, null, false); + } + + /** + * Constructs a {@link BlobContainerProperties}. + * + * @param metadata Metadata associated with the container. + * @param eTag ETag of the container. + * @param lastModified Datetime when the container was last modified. + * @param leaseDuration Type of the lease on the container. + * @param leaseState State of the lease on the container. + * @param leaseStatus Status of the lease on the container. + * @param blobPublicAccess Public access status for the container. + * @param hasImmutabilityPolicy Flag indicating if the container has an immutability policy set on it. + * @param hasLegalHold Flag indicating if the container has a legal hold. + * @param defaultEncryptionScope The container's default encryption scope to encrypt blobs with. + * @param encryptionScopeOverridePrevented Whether or not a container's default encryption scope can be overriden + */ + public BlobContainerProperties(final Map metadata, final String eTag, + final OffsetDateTime lastModified, final LeaseDurationType leaseDuration, final LeaseStateType leaseState, + final LeaseStatusType leaseStatus, final PublicAccessType blobPublicAccess, final boolean hasImmutabilityPolicy, + final boolean hasLegalHold, final String defaultEncryptionScope, + final Boolean encryptionScopeOverridePrevented) { this.metadata = metadata; this.eTag = eTag; this.lastModified = lastModified; @@ -50,6 +76,8 @@ public BlobContainerProperties(final Map metadata, final String this.blobPublicAccess = blobPublicAccess; this.hasImmutabilityPolicy = hasImmutabilityPolicy; this.hasLegalHold = hasLegalHold; + this.defaultEncryptionScope = defaultEncryptionScope; + this.encryptionScopeOverridePrevented = encryptionScopeOverridePrevented; } /** @@ -114,4 +142,18 @@ public boolean hasImmutabilityPolicy() { public boolean hasLegalHold() { return hasLegalHold; } + + /** + * @return the container's default encryption scope + */ + public String getDefaultEncryptionScope() { + return defaultEncryptionScope; + } + + /** + * @return the container's deny encryption scope override property. + */ + public Boolean isEncryptionScopeOverridePrevented() { + return encryptionScopeOverridePrevented; + } } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobDownloadHeaders.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobDownloadHeaders.java index 73b17f7f808d0..346916fabc590 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobDownloadHeaders.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobDownloadHeaders.java @@ -6,8 +6,8 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.HeaderCollection; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -255,6 +255,14 @@ public final class BlobDownloadHeaders { @JsonProperty(value = "x-ms-encryption-key-sha256") private String encryptionKeySha256; + /* + * Returns the name of the encryption scope used to encrypt the blob + * contents and application metadata. Note that the absence of this header + * implies use of the default account encryption scope. + */ + @JsonProperty(value = "x-ms-encryption-scope") + private String encryptionScope; + /* * If the blob has a MD5 hash, and if request contains range header (Range * or x-ms-range), this response header is returned with the value of the @@ -1036,6 +1044,32 @@ public BlobDownloadHeaders setEncryptionKeySha256(String encryptionKeySha256) { return this; } + /** + * Get the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: Returns the name of the encryption + * scope used to encrypt the blob contents and application metadata. Note + * that the absence of this header implies use of the default account + * encryption scope. + * + * @param encryptionScope the encryptionScope value to set. + * @return the BlobDownloadHeaders object itself. + */ + public BlobDownloadHeaders setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the blobContentMD5 property: If the blob has a MD5 hash, and if * request contains range header (Range or x-ms-range), this response diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobErrorCode.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobErrorCode.java index 8f84676ea800a..a65fad6f171cd 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobErrorCode.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobErrorCode.java @@ -447,6 +447,11 @@ public final class BlobErrorCode extends ExpandableStringEnum { */ public static final BlobErrorCode MAX_BLOB_SIZE_CONDITION_NOT_MET = fromString("MaxBlobSizeConditionNotMet"); + /** + * Static value NoAuthenticationInformation for BlobErrorCode. + */ + public static final BlobErrorCode NO_AUTHENTICATION_INFORMATION = fromString("NoAuthenticationInformation"); + /** * Static value NoPendingCopyOperation for BlobErrorCode. */ diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobItemProperties.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobItemProperties.java index 7eaf13076416b..dc247184ef4bf 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobItemProperties.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobItemProperties.java @@ -5,8 +5,8 @@ package com.azure.storage.blob.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.DateTimeRfc1123; import com.azure.core.util.CoreUtils; +import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -200,6 +200,12 @@ public final class BlobItemProperties { @JsonProperty(value = "CustomerProvidedKeySha256") private String customerProvidedKeySha256; + /* + * The name of the encryption scope under which the blob is encrypted. + */ + @JsonProperty(value = "EncryptionScope") + private String encryptionScope; + /* * The accessTierChangeTime property. */ @@ -857,6 +863,28 @@ public BlobItemProperties setCustomerProvidedKeySha256(String customerProvidedKe return this; } + /** + * Get the encryptionScope property: The name of the encryption scope under + * which the blob is encrypted. + * + * @return the encryptionScope value. + */ + public String getEncryptionScope() { + return this.encryptionScope; + } + + /** + * Set the encryptionScope property: The name of the encryption scope under + * which the blob is encrypted. + * + * @param encryptionScope the encryptionScope value to set. + * @return the BlobItemProperties object itself. + */ + public BlobItemProperties setEncryptionScope(String encryptionScope) { + this.encryptionScope = encryptionScope; + return this; + } + /** * Get the accessTierChangeTime property: The accessTierChangeTime * property. diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlockBlobItem.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlockBlobItem.java index dffdba0637928..526b0e66abb61 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlockBlobItem.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlockBlobItem.java @@ -18,6 +18,7 @@ public class BlockBlobItem { private final byte[] contentMd5; private final Boolean isServerEncrypted; private final String encryptionKeySha256; + private final String encryptionScope; /** * Constructs a {@link BlockBlobItem}. @@ -25,16 +26,32 @@ public class BlockBlobItem { * @param eTag ETag of the block blob. * @param lastModified Last modified time of the block blob. * @param contentMd5 Content MD5 of the block blob. - * @param isServerEncrypted Flag indicating if the page blob is encrypted on the server. - * @param encryptionKeySha256 The encryption key used to encrypt the page blob. + * @param isServerEncrypted Flag indicating if the block blob is encrypted on the server. + * @param encryptionKeySha256 The encryption key used to encrypt the block blob. */ public BlockBlobItem(final String eTag, final OffsetDateTime lastModified, final byte[] contentMd5, final boolean isServerEncrypted, final String encryptionKeySha256) { + this(eTag, lastModified, contentMd5, isServerEncrypted, encryptionKeySha256, null); + } + + /** + * Constructs a {@link BlockBlobItem}. + * + * @param eTag ETag of the block blob. + * @param lastModified Last modified time of the block blob. + * @param contentMd5 Content MD5 of the block blob. + * @param isServerEncrypted Flag indicating if the block blob is encrypted on the server. + * @param encryptionKeySha256 The encryption key used to encrypt the block blob. + * @param encryptionScope The encryption scope used to encrypt the block blob. + */ + public BlockBlobItem(final String eTag, final OffsetDateTime lastModified, final byte[] contentMd5, + final boolean isServerEncrypted, final String encryptionKeySha256, final String encryptionScope) { this.eTag = eTag; this.lastModified = lastModified; this.contentMd5 = CoreUtils.clone(contentMd5); this.isServerEncrypted = isServerEncrypted; this.encryptionKeySha256 = encryptionKeySha256; + this.encryptionScope = encryptionScope; } /** @@ -65,6 +82,13 @@ public String getEncryptionKeySha256() { return encryptionKeySha256; } + /** + * @return the encryption scope used to encrypt the block blob + */ + public String getEncryptionScope() { + return encryptionScope; + } + /** * @return the MD5 of the block blob's comment */ diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/PageBlobItem.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/PageBlobItem.java index 1cb6e5090a49a..92ab9358a3e66 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/PageBlobItem.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/PageBlobItem.java @@ -18,6 +18,7 @@ public class PageBlobItem { private final byte[] contentMd5; private final Boolean isServerEncrypted; private final String encryptionKeySha256; + private final String encryptionScope; private final Long blobSequenceNumber; /** @@ -32,11 +33,29 @@ public class PageBlobItem { */ public PageBlobItem(final String eTag, final OffsetDateTime lastModified, final byte[] contentMd5, final Boolean isServerEncrypted, final String encryptionKeySha256, final Long blobSequenceNumber) { + this(eTag, lastModified, contentMd5, isServerEncrypted, encryptionKeySha256, null, blobSequenceNumber); + } + + /** + * Constructs a {@link PageBlobItem}. + * + * @param eTag ETag of the page blob. + * @param lastModified Last modified time of the page blob. + * @param contentMd5 Content MD5 of the page blob. + * @param isServerEncrypted Flag indicating if the page blob is encrypted on the server. + * @param encryptionKeySha256 The encryption key used to encrypt the page blob. + * @param encryptionScope The encryption scope used to encrypt the page blob. + * @param blobSequenceNumber The current sequence number for the page blob. + */ + public PageBlobItem(final String eTag, final OffsetDateTime lastModified, final byte[] contentMd5, + final Boolean isServerEncrypted, final String encryptionKeySha256, final String encryptionScope, + final Long blobSequenceNumber) { this.eTag = eTag; this.lastModified = lastModified; this.contentMd5 = CoreUtils.clone(contentMd5); this.isServerEncrypted = isServerEncrypted; this.encryptionKeySha256 = encryptionKeySha256; + this.encryptionScope = encryptionScope; this.blobSequenceNumber = blobSequenceNumber; } @@ -68,6 +87,13 @@ public String getEncryptionKeySha256() { return encryptionKeySha256; } + /** + * @return the encryption scope used to encrypt the page blob + */ + public String getEncryptionScope() { + return encryptionScope; + } + /** * @return the MD5 of the page blob's content */ diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/AppendBlobAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/AppendBlobAsyncClient.java index 5b259be36f4a5..4135358dc7986 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/AppendBlobAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/AppendBlobAsyncClient.java @@ -18,6 +18,7 @@ import com.azure.storage.blob.implementation.models.AppendBlobAppendBlockFromUrlHeaders; import com.azure.storage.blob.implementation.models.AppendBlobAppendBlockHeaders; import com.azure.storage.blob.implementation.models.AppendBlobCreateHeaders; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.models.AppendBlobRequestConditions; import com.azure.storage.blob.models.AppendBlobItem; import com.azure.storage.blob.models.BlobRequestConditions; @@ -82,10 +83,14 @@ public final class AppendBlobAsyncClient extends BlobAsyncClientBase { * @param snapshot The snapshot identifier for the blob, pass {@code null} to interact with the blob directly. * @param customerProvidedKey Customer provided key used during encryption of the blob's data on the server, pass * {@code null} to allow the service to use its own encryption. + * @param encryptionScope Encryption scope used during encryption of the blob's data on the server, pass + * {@code null} to allow the service to use its own encryption. */ AppendBlobAsyncClient(HttpPipeline pipeline, String url, BlobServiceVersion serviceVersion, - String accountName, String containerName, String blobName, String snapshot, CpkInfo customerProvidedKey) { - super(pipeline, url, serviceVersion, accountName, containerName, blobName, snapshot, customerProvidedKey); + String accountName, String containerName, String blobName, String snapshot, CpkInfo customerProvidedKey, + EncryptionScope encryptionScope) { + super(pipeline, url, serviceVersion, accountName, containerName, blobName, snapshot, customerProvidedKey, + encryptionScope); } /** @@ -160,11 +165,11 @@ Mono> createWithResponse(BlobHttpHeaders headers, Map { AppendBlobCreateHeaders hd = rb.getDeserializedHeaders(); AppendBlobItem item = new AppendBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256(), null, null); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getEncryptionScope(), null, null); return new SimpleResponse<>(rb, item); }); } @@ -235,12 +240,12 @@ Mono> appendBlockWithResponse(Flux data, lo appendBlobRequestConditions.getMaxSize(), appendBlobRequestConditions.getAppendPosition(), appendBlobRequestConditions.getIfModifiedSince(), appendBlobRequestConditions.getIfUnmodifiedSince(), appendBlobRequestConditions.getIfMatch(), appendBlobRequestConditions.getIfNoneMatch(), null, - getCustomerProvidedKey(), context) + getCustomerProvidedKey(), encryptionScope, context) .map(rb -> { AppendBlobAppendBlockHeaders hd = rb.getDeserializedHeaders(); AppendBlobItem item = new AppendBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getBlobAppendOffset(), - hd.getBlobCommittedBlockCount()); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getEncryptionScope(), + hd.getBlobAppendOffset(), hd.getBlobCommittedBlockCount()); return new SimpleResponse<>(rb, item); }); } @@ -320,12 +325,12 @@ Mono> appendBlockFromUrlWithResponse(String sourceUrl, destRequestConditions.getIfMatch(), destRequestConditions.getIfNoneMatch(), sourceRequestConditions.getIfModifiedSince(), sourceRequestConditions.getIfUnmodifiedSince(), sourceRequestConditions.getIfMatch(), sourceRequestConditions.getIfNoneMatch(), null, - getCustomerProvidedKey(), context) + getCustomerProvidedKey(), encryptionScope, context) .map(rb -> { AppendBlobAppendBlockFromUrlHeaders hd = rb.getDeserializedHeaders(); AppendBlobItem item = new AppendBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getBlobAppendOffset(), - hd.getBlobCommittedBlockCount()); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getEncryptionScope(), + hd.getBlobAppendOffset(), hd.getBlobCommittedBlockCount()); return new SimpleResponse<>(rb, item); }); } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java index 17aba91d3cd1a..02edc25f62395 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java @@ -24,6 +24,7 @@ import com.azure.storage.blob.implementation.models.BlobGetAccountInfoHeaders; import com.azure.storage.blob.implementation.models.BlobGetPropertiesHeaders; import com.azure.storage.blob.implementation.models.BlobStartCopyFromURLHeaders; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.implementation.util.BlobSasImplUtil; import com.azure.storage.blob.implementation.util.ModelHelper; import com.azure.storage.blob.models.AccessTier; @@ -94,13 +95,14 @@ public class BlobAsyncClientBase { protected final AzureBlobStorageImpl azureBlobStorage; private final String snapshot; private final CpkInfo customerProvidedKey; + protected final EncryptionScope encryptionScope; protected final String accountName; protected final String containerName; protected final String blobName; protected final BlobServiceVersion serviceVersion; /** - * Package-private constructor for use by {@link SpecializedBlobClientBuilder}. + * Protected constructor for use by {@link SpecializedBlobClientBuilder}. * * @param pipeline The pipeline used to send and receive service requests. * @param url The endpoint where to send service requests. @@ -114,6 +116,27 @@ public class BlobAsyncClientBase { */ protected BlobAsyncClientBase(HttpPipeline pipeline, String url, BlobServiceVersion serviceVersion, String accountName, String containerName, String blobName, String snapshot, CpkInfo customerProvidedKey) { + this(pipeline, url, serviceVersion, accountName, containerName, blobName, snapshot, customerProvidedKey, null); + } + + /** + * Protected constructor for use by {@link SpecializedBlobClientBuilder}. + * + * @param pipeline The pipeline used to send and receive service requests. + * @param url The endpoint where to send service requests. + * @param serviceVersion The version of the service to receive requests. + * @param accountName The storage account name. + * @param containerName The container name. + * @param blobName The blob name. + * @param snapshot The snapshot identifier for the blob, pass {@code null} to interact with the blob directly. + * @param customerProvidedKey Customer provided key used during encryption of the blob's data on the server, pass + * {@code null} to allow the service to use its own encryption. + * @param encryptionScope Encryption scope used during encryption of the blob's data on the server, pass + * {@code null} to allow the service to use its own encryption. + */ + protected BlobAsyncClientBase(HttpPipeline pipeline, String url, BlobServiceVersion serviceVersion, + String accountName, String containerName, String blobName, String snapshot, CpkInfo customerProvidedKey, + EncryptionScope encryptionScope) { this.azureBlobStorage = new AzureBlobStorageBuilder() .pipeline(pipeline) .url(url) @@ -126,6 +149,19 @@ protected BlobAsyncClientBase(HttpPipeline pipeline, String url, BlobServiceVers this.blobName = Utility.urlEncode(Utility.urlDecode(blobName)); this.snapshot = snapshot; this.customerProvidedKey = customerProvidedKey; + this.encryptionScope = encryptionScope; + } + + /** + * Gets the {@code encryption scope} used to encrypt this blob's content on the server. + * + * @return the encryption scope used for encryption. + */ + protected String getEncryptionScope() { + if (encryptionScope == null) { + return null; + } + return encryptionScope.getEncryptionScope(); } /** @@ -136,7 +172,7 @@ protected BlobAsyncClientBase(HttpPipeline pipeline, String url, BlobServiceVers */ public BlobAsyncClientBase getSnapshotClient(String snapshot) { return new BlobAsyncClientBase(getHttpPipeline(), getBlobUrl(), getServiceVersion(), getAccountName(), - getContainerName(), getBlobName(), snapshot, getCustomerProvidedKey()); + getContainerName(), getBlobName(), snapshot, getCustomerProvidedKey(), encryptionScope); } /** @@ -576,7 +612,7 @@ Mono> copyFromUrlWithResponse(String copySource, Map new SimpleResponse<>(rb, rb.getDeserializedHeaders().getCopyId())); } @@ -1240,11 +1276,11 @@ public Mono> setMetadataWithResponse(Map metadata Mono> setMetadataWithResponse(Map metadata, BlobRequestConditions requestConditions, Context context) { requestConditions = requestConditions == null ? new BlobRequestConditions() : requestConditions; - + return this.azureBlobStorage.blobs().setMetadataWithRestResponseAsync( null, null, null, metadata, requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), - requestConditions.getIfNoneMatch(), null, customerProvidedKey, context) + requestConditions.getIfNoneMatch(), null, customerProvidedKey, encryptionScope, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -1300,7 +1336,8 @@ Mono> createSnapshotWithResponse(Map new SimpleResponse<>(rb, this.getSnapshotClient(rb.getDeserializedHeaders().getSnapshot()))); } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java index da581f7d0f5f9..b5c79c4671928 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java @@ -143,6 +143,15 @@ public CpkInfo getCustomerProvidedKey() { return client.getCustomerProvidedKey(); } + /** + * Gets the {@code encryption scope} used to encrypt this blob's content on the server. + * + * @return the encryption scope used for encryption. + */ + String getEncryptionScope() { + return client.getEncryptionScope(); + } + /** * Gets the service version the client is using. * diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobAsyncClient.java index fab5081587edf..a84cf6a5e1444 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobAsyncClient.java @@ -14,6 +14,7 @@ import com.azure.storage.blob.BlobServiceVersion; import com.azure.storage.blob.implementation.models.BlockBlobCommitBlockListHeaders; import com.azure.storage.blob.implementation.models.BlockBlobUploadHeaders; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.models.AccessTier; import com.azure.storage.blob.models.BlobHttpHeaders; import com.azure.storage.blob.models.BlobRange; @@ -82,10 +83,14 @@ public final class BlockBlobAsyncClient extends BlobAsyncClientBase { * @param snapshot The snapshot identifier for the blob, pass {@code null} to interact with the blob directly. * @param customerProvidedKey Customer provided key used during encryption of the blob's data on the server, pass * {@code null} to allow the service to use its own encryption. + * @param encryptionScope Encryption scope used during encryption of the blob's data on the server, pass + * {@code null} to allow the service to use its own encryption. */ BlockBlobAsyncClient(HttpPipeline pipeline, String url, BlobServiceVersion serviceVersion, - String accountName, String containerName, String blobName, String snapshot, CpkInfo customerProvidedKey) { - super(pipeline, url, serviceVersion, accountName, containerName, blobName, snapshot, customerProvidedKey); + String accountName, String containerName, String blobName, String snapshot, CpkInfo customerProvidedKey, + EncryptionScope encryptionScope) { + super(pipeline, url, serviceVersion, accountName, containerName, blobName, snapshot, customerProvidedKey, + encryptionScope); } /** @@ -202,11 +207,11 @@ Mono> uploadWithResponse(Flux data, long len null, data, length, null, contentMd5, metadata, requestConditions.getLeaseId(), tier, requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), null, headers, getCustomerProvidedKey(), - context) + encryptionScope, context) .map(rb -> { BlockBlobUploadHeaders hd = rb.getDeserializedHeaders(); BlockBlobItem item = new BlockBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256()); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getEncryptionScope()); return new SimpleResponse<>(rb, item); }); } @@ -278,7 +283,8 @@ public Mono> stageBlockWithResponse(String base64BlockId, Flux> stageBlockWithResponse(String base64BlockId, Flux data, long length, byte[] contentMd5, String leaseId, Context context) { return this.azureBlobStorage.blockBlobs().stageBlockWithRestResponseAsync(null, null, - base64BlockId, length, data, contentMd5, null, null, leaseId, null, getCustomerProvidedKey(), context) + base64BlockId, length, data, contentMd5, null, null, leaseId, null, getCustomerProvidedKey(), + encryptionScope, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -361,7 +367,7 @@ Mono> stageBlockFromUrlWithResponse(String base64BlockId, String url, sourceRange.toHeaderValue(), sourceContentMd5, null, null, leaseId, sourceRequestConditions.getIfModifiedSince(), sourceRequestConditions.getIfUnmodifiedSince(), sourceRequestConditions.getIfMatch(), sourceRequestConditions.getIfNoneMatch(), null, - getCustomerProvidedKey(), context) + getCustomerProvidedKey(), encryptionScope, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -508,11 +514,11 @@ Mono> commitBlockListWithResponse(List base64Blo new BlockLookupList().setLatest(base64BlockIds), null, null, null, metadata, requestConditions.getLeaseId(), tier, requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), null, headers, getCustomerProvidedKey(), - context) + encryptionScope, context) .map(rb -> { BlockBlobCommitBlockListHeaders hd = rb.getDeserializedHeaders(); BlockBlobItem item = new BlockBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256()); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getEncryptionScope()); return new SimpleResponse<>(rb, item); }); } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobAsyncClient.java index bb104484aa1c7..8400c1c9b982b 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobAsyncClient.java @@ -14,6 +14,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.storage.blob.BlobAsyncClient; import com.azure.storage.blob.BlobServiceVersion; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.implementation.models.PageBlobClearPagesHeaders; import com.azure.storage.blob.implementation.models.PageBlobCreateHeaders; import com.azure.storage.blob.implementation.models.PageBlobResizeHeaders; @@ -82,10 +83,14 @@ public final class PageBlobAsyncClient extends BlobAsyncClientBase { * @param snapshot The snapshot identifier for the blob, pass {@code null} to interact with the blob directly. * @param customerProvidedKey Customer provided key used during encryption of the blob's data on the server, pass * {@code null} to allow the service to use its own encryption. + * @param encryptionScope Encryption scope used during encryption of the blob's data on the server, pass + * {@code null} to allow the service to use its own encryption. */ PageBlobAsyncClient(HttpPipeline pipeline, String url, BlobServiceVersion serviceVersion, - String accountName, String containerName, String blobName, String snapshot, CpkInfo customerProvidedKey) { - super(pipeline, url, serviceVersion, accountName, containerName, blobName, snapshot, customerProvidedKey); + String accountName, String containerName, String blobName, String snapshot, CpkInfo customerProvidedKey, + EncryptionScope encryptionScope) { + super(pipeline, url, serviceVersion, accountName, containerName, blobName, snapshot, customerProvidedKey, + encryptionScope); } private static String pageRangeToString(PageRange pageRange) { @@ -206,11 +211,12 @@ Mono> createWithResponse(long size, Long sequenceNumber, return this.azureBlobStorage.pageBlobs().createWithRestResponseAsync(null, null, 0, size, null, null, metadata, requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), - requestConditions.getIfNoneMatch(), sequenceNumber, null, headers, getCustomerProvidedKey(), context) + requestConditions.getIfNoneMatch(), sequenceNumber, null, headers, getCustomerProvidedKey(), + encryptionScope, context) .map(rb -> { PageBlobCreateHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256(), null); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getEncryptionScope(), null); return new SimpleResponse<>(rb, item); }); } @@ -297,11 +303,12 @@ Mono> uploadPagesWithResponse(PageRange pageRange, Flux { PageBlobUploadPagesHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getBlobSequenceNumber()); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getEncryptionScope(), + hd.getBlobSequenceNumber()); return new SimpleResponse<>(rb, item); }); } @@ -414,11 +421,11 @@ Mono> uploadPagesFromUrlWithResponse(PageRange range, Str destRequestConditions.getIfMatch(), destRequestConditions.getIfNoneMatch(), sourceRequestConditions.getIfModifiedSince(), sourceRequestConditions.getIfUnmodifiedSince(), sourceRequestConditions.getIfMatch(), sourceRequestConditions.getIfNoneMatch(), null, - getCustomerProvidedKey(), context) + getCustomerProvidedKey(), encryptionScope, context) .map(rb -> { PageBlobUploadPagesFromURLHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256(), null); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getEncryptionScope(), null); return new SimpleResponse<>(rb, item); }); } @@ -487,11 +494,11 @@ Mono> clearPagesWithResponse(PageRange pageRange, pageBlobRequestConditions.getIfSequenceNumberLessThan(), pageBlobRequestConditions.getIfSequenceNumberEqualTo(), pageBlobRequestConditions.getIfModifiedSince(), pageBlobRequestConditions.getIfUnmodifiedSince(), pageBlobRequestConditions.getIfMatch(), - pageBlobRequestConditions.getIfNoneMatch(), null, getCustomerProvidedKey(), context) + pageBlobRequestConditions.getIfNoneMatch(), null, getCustomerProvidedKey(), encryptionScope, context) .map(rb -> { PageBlobClearPagesHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), - hd.isServerEncrypted(), hd.getEncryptionKeySha256(), hd.getBlobSequenceNumber()); + hd.isServerEncrypted(), hd.getEncryptionKeySha256(), null, hd.getBlobSequenceNumber()); return new SimpleResponse<>(rb, item); }); } @@ -595,23 +602,87 @@ public Mono> getPageRangesDiffWithResponse(BlobRange blobRang BlobRequestConditions requestConditions) { try { return withContext(context -> - getPageRangesDiffWithResponse(blobRange, prevSnapshot, requestConditions, context)); + getPageRangesDiffWithResponse(blobRange, prevSnapshot, null, requestConditions, context)); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * This API only works for managed disk accounts. + *

Gets the collection of page ranges that differ between a specified snapshot and this page blob. For more + * information, see the Azure + * Docs.

+ * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.blob.specialized.PageBlobAsyncClient.getManagedDiskPageRangesDiff#BlobRange-String} + * + * @param blobRange {@link BlobRange} + * @param prevSnapshotUrl Specifies the URL of a previous snapshot of the target blob. Specifies that the + * response will contain only pages that were changed between target blob and previous snapshot. Changed pages + * include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by + * prevsnapshot is the older of the two. + * + * @return A reactive response emitting all the different page ranges. + */ + public Mono getManagedDiskPageRangesDiff(BlobRange blobRange, String prevSnapshotUrl) { + try { + return getManagedDiskPageRangesDiffWithResponse(blobRange, prevSnapshotUrl, null).flatMap(FluxUtil::toMono); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * This API only works for managed disk accounts. + *

Gets the collection of page ranges that differ between a specified snapshot and this page blob. For more + * information, see the Azure + * Docs.

+ * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.blob.specialized.PageBlobAsyncClient.getManagedDiskPageRangesDiffWithResponse#BlobRange-String-BlobRequestConditions} + * + * @param blobRange {@link BlobRange} + * @param prevSnapshotUrl Specifies the URL of a previous snapshot of the target blob. Specifies that the + * response will contain only pages that were changed between target blob and previous snapshot. Changed pages + * include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by + * prevsnapshot is the older of the two. + * @param requestConditions {@link BlobRequestConditions} + * @return A reactive response emitting all the different page ranges. + * + * @throws IllegalArgumentException If {@code prevSnapshot} is {@code null} + */ + public Mono> getManagedDiskPageRangesDiffWithResponse(BlobRange blobRange, + String prevSnapshotUrl, BlobRequestConditions requestConditions) { + try { + return withContext(context -> + getPageRangesDiffWithResponse(blobRange, null, prevSnapshotUrl, requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } Mono> getPageRangesDiffWithResponse(BlobRange blobRange, String prevSnapshot, - BlobRequestConditions requestConditions, Context context) { + String prevSnapshotUrl, BlobRequestConditions requestConditions, Context context) { blobRange = blobRange == null ? new BlobRange(0) : blobRange; requestConditions = requestConditions == null ? new BlobRequestConditions() : requestConditions; - if (prevSnapshot == null) { + URL url = null; + if (prevSnapshotUrl == null && prevSnapshot == null) { throw logger.logExceptionAsError(new IllegalArgumentException("prevSnapshot cannot be null")); } + if (prevSnapshotUrl != null) { + try { + url = new URL(prevSnapshotUrl); + } catch (MalformedURLException ex) { + throw logger.logExceptionAsError(new IllegalArgumentException("'prevSnapshotUrl' is not a valid url.")); + } + } return this.azureBlobStorage.pageBlobs().getPageRangesDiffWithRestResponseAsync(null, null, getSnapshotId(), - null, prevSnapshot, blobRange.toHeaderValue(), requestConditions.getLeaseId(), + null, prevSnapshot, url, blobRange.toHeaderValue(), requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), null, context) .map(response -> new SimpleResponse<>(response, response.getValue())); @@ -674,10 +745,10 @@ Mono> resizeWithResponse(long size, BlobRequestConditions return this.azureBlobStorage.pageBlobs().resizeWithRestResponseAsync(null, null, size, null, requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), - requestConditions.getIfNoneMatch(), null, getCustomerProvidedKey(), context) + requestConditions.getIfNoneMatch(), null, getCustomerProvidedKey(), encryptionScope, context) .map(rb -> { PageBlobResizeHeaders hd = rb.getDeserializedHeaders(); - PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), null, null, null, + PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), null, null, null, null, hd.getBlobSequenceNumber()); return new SimpleResponse<>(rb, item); }); @@ -749,7 +820,7 @@ Mono> updateSequenceNumberWithResponse(SequenceNumberActi requestConditions.getIfNoneMatch(), sequenceNumber, null, context) .map(rb -> { PageBlobUpdateSequenceNumberHeaders hd = rb.getDeserializedHeaders(); - PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), null, null, null, + PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), null, null, null, null, hd.getBlobSequenceNumber()); return new SimpleResponse<>(rb, item); }); diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobClient.java index 25c47a946321a..b10ec6c9add98 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobClient.java @@ -380,9 +380,10 @@ public PageList getPageRangesDiff(BlobRange blobRange, String prevSnapshot) { } /** - * Gets the collection of page ranges that differ between a specified snapshot and this page blob. For more + * This API only works for managed disk accounts. + *

Gets the collection of page ranges that differ between a specified snapshot and this page blob. For more * information, see the Azure - * Docs. + * Docs.

* *

Code Samples

* @@ -400,7 +401,57 @@ public PageList getPageRangesDiff(BlobRange blobRange, String prevSnapshot) { public Response getPageRangesDiffWithResponse(BlobRange blobRange, String prevSnapshot, BlobRequestConditions requestConditions, Duration timeout, Context context) { return StorageImplUtils.blockWithOptionalTimeout(pageBlobAsyncClient - .getPageRangesDiffWithResponse(blobRange, prevSnapshot, requestConditions, context), timeout); + .getPageRangesDiffWithResponse(blobRange, prevSnapshot, null, requestConditions, context), + timeout); + } + + /** + * This API only works for managed disk accounts. + *

Gets the collection of page ranges that differ between a specified snapshot and this page blob. For more + * information, see the Azure + * Docs.

+ * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.blob.specialized.PageBlobClient.getManagedDiskPageRangesDiff#BlobRange-String} + * + * @param blobRange {@link BlobRange} + * @param prevSnapshotUrl Specifies the URL of a previous snapshot of the target blob. Specifies that the + * response will contain only pages that were changed between target blob and previous snapshot. Changed pages + * include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by + * prevsnapshot is the older of the two. + * @return All the different page ranges. + */ + public PageList getManagedDiskPageRangesDiff(BlobRange blobRange, String prevSnapshotUrl) { + return getManagedDiskPageRangesDiffWithResponse(blobRange, prevSnapshotUrl, null, null, Context.NONE) + .getValue(); + } + + /** + * This API only works for managed disk accounts. + *

Gets the collection of page ranges that differ between a specified snapshot and this page blob. For more + * information, see the Azure + * Docs.

+ * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.blob.specialized.PageBlobClient.getManagedDiskPageRangesDiffWithResponse#BlobRange-String-BlobRequestConditions-Duration-Context} + * + * @param blobRange {@link BlobRange} + * @param prevSnapshotUrl Specifies the URL of a previous snapshot of the target blob. Specifies that the + * response will contain only pages that were changed between target blob and previous snapshot. Changed pages + * include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by + * prevsnapshot is the older of the two. + * @param requestConditions {@link BlobRequestConditions} + * @param timeout An optional timeout value beyond which a {@link RuntimeException} will be raised. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return All the different page ranges. + */ + public Response getManagedDiskPageRangesDiffWithResponse(BlobRange blobRange, String prevSnapshotUrl, + BlobRequestConditions requestConditions, Duration timeout, Context context) { + return StorageImplUtils.blockWithOptionalTimeout(pageBlobAsyncClient + .getPageRangesDiffWithResponse(blobRange, null, prevSnapshotUrl, requestConditions, context), + timeout); } /** diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/SpecializedBlobClientBuilder.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/SpecializedBlobClientBuilder.java index 1beb41ffdab1e..699483c6e6f18 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/SpecializedBlobClientBuilder.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/SpecializedBlobClientBuilder.java @@ -16,6 +16,7 @@ import com.azure.storage.blob.BlobContainerClient; import com.azure.storage.blob.BlobServiceVersion; import com.azure.storage.blob.BlobUrlParts; +import com.azure.storage.blob.implementation.models.EncryptionScope; import com.azure.storage.blob.implementation.util.BuilderHelper; import com.azure.storage.blob.models.CpkInfo; import com.azure.storage.blob.models.CustomerProvidedKey; @@ -63,6 +64,7 @@ public final class SpecializedBlobClientBuilder { private String snapshot; private CpkInfo customerProvidedKey; + private EncryptionScope encryptionScope; private StorageSharedKeyCredential storageSharedKeyCredential; private TokenCredential tokenCredential; private SasTokenCredential sasTokenCredential; @@ -101,7 +103,7 @@ public AppendBlobAsyncClient buildAppendBlobAsyncClient() { String containerName = getContainerName(); return new AppendBlobAsyncClient(getHttpPipeline(), getUrl(containerName), getServiceVersion(), - accountName, containerName, blobName, snapshot, customerProvidedKey); + accountName, containerName, blobName, snapshot, customerProvidedKey, encryptionScope); } /** @@ -132,7 +134,7 @@ public BlockBlobAsyncClient buildBlockBlobAsyncClient() { String containerName = getContainerName(); return new BlockBlobAsyncClient(getHttpPipeline(), getUrl(containerName), getServiceVersion(), - accountName, containerName, blobName, snapshot, customerProvidedKey); + accountName, containerName, blobName, snapshot, customerProvidedKey, encryptionScope); } /** @@ -162,7 +164,7 @@ public PageBlobAsyncClient buildPageBlobAsyncClient() { String containerName = getContainerName(); return new PageBlobAsyncClient(getHttpPipeline(), getUrl(containerName), getServiceVersion(), - accountName, containerName, blobName, snapshot, customerProvidedKey); + accountName, containerName, blobName, snapshot, customerProvidedKey, encryptionScope); } /* @@ -173,6 +175,11 @@ private void validateConstruction() { Objects.requireNonNull(endpoint, "'endpoint' cannot be null"); BuilderHelper.httpsValidation(customerProvidedKey, "customer provided key", endpoint, logger); + + if (Objects.nonNull(customerProvidedKey) && Objects.nonNull(encryptionScope)) { + throw logger.logExceptionAsError(new IllegalArgumentException("Customer provided key and encryption" + + "scope cannot both be set")); + } } /* @@ -212,6 +219,9 @@ public SpecializedBlobClientBuilder blobClient(BlobClientBase blobClient) { serviceVersion(blobClient.getServiceVersion()); this.snapshot = blobClient.getSnapshotId(); this.customerProvidedKey = blobClient.getCustomerProvidedKey(); + if (blobClient.getEncryptionScope() != null) { + this.encryptionScope = new EncryptionScope().setEncryptionScope(blobClient.getEncryptionScope()); + } return this; } @@ -227,6 +237,9 @@ public SpecializedBlobClientBuilder blobAsyncClient(BlobAsyncClientBase blobAsyn serviceVersion(blobAsyncClient.getServiceVersion()); this.snapshot = blobAsyncClient.getSnapshotId(); this.customerProvidedKey = blobAsyncClient.getCustomerProvidedKey(); + if (blobAsyncClient.getEncryptionScope() != null) { + this.encryptionScope = new EncryptionScope().setEncryptionScope(blobAsyncClient.getEncryptionScope()); + } return this; } @@ -243,6 +256,9 @@ public SpecializedBlobClientBuilder containerClient(BlobContainerClient blobCont serviceVersion(blobContainerClient.getServiceVersion()); blobName(blobName); this.customerProvidedKey = blobContainerClient.getCustomerProvidedKey(); + if (blobContainerClient.getEncryptionScope() != null) { + this.encryptionScope = new EncryptionScope().setEncryptionScope(blobContainerClient.getEncryptionScope()); + } return this; } @@ -261,6 +277,10 @@ public SpecializedBlobClientBuilder containerAsyncClient(BlobContainerAsyncClien serviceVersion(blobContainerAsyncClient.getServiceVersion()); blobName(blobName); this.customerProvidedKey = blobContainerAsyncClient.getCustomerProvidedKey(); + if (blobContainerAsyncClient.getEncryptionScope() != null) { + this.encryptionScope = new EncryptionScope().setEncryptionScope( + blobContainerAsyncClient.getEncryptionScope()); + } return this; } @@ -312,6 +332,23 @@ public SpecializedBlobClientBuilder customerProvidedKey(CustomerProvidedKey cust return this; } + + /** + * Sets the {@code encryption scope} that is used to encrypt blob contents on the server. + * + * @param encryptionScope Encryption scope containing the encryption key information. + * @return the updated BlobClientBuilder object + */ + public SpecializedBlobClientBuilder encryptionScope(String encryptionScope) { + if (encryptionScope == null) { + this.encryptionScope = null; + } else { + this.encryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope); + } + + return this; + } + /** * Sets the {@link StorageSharedKeyCredential} used to authorize requests sent to the service. * diff --git a/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/BlobAsyncClientBaseJavaDocCodeSnippets.java b/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/BlobAsyncClientBaseJavaDocCodeSnippets.java index 305d39dcd0879..80bac6da0e856 100644 --- a/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/BlobAsyncClientBaseJavaDocCodeSnippets.java +++ b/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/BlobAsyncClientBaseJavaDocCodeSnippets.java @@ -40,7 +40,7 @@ @SuppressWarnings("unused") public class BlobAsyncClientBaseJavaDocCodeSnippets { private BlobAsyncClientBase client = new BlobAsyncClientBase(null, null, BlobServiceVersion.getLatest(), - null, null, null, null, null); + null, null, null, null, null, null); private String leaseId = "leaseId"; private String copyId = "copyId"; private String url = "https://sample.com"; diff --git a/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/PageBlobAsyncClientJavaDocCodeSnippets.java b/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/PageBlobAsyncClientJavaDocCodeSnippets.java index 35584385dbb98..ddc604afac618 100644 --- a/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/PageBlobAsyncClientJavaDocCodeSnippets.java +++ b/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/PageBlobAsyncClientJavaDocCodeSnippets.java @@ -253,6 +253,43 @@ public void getPageRangesDiffWithResponseCodeSnippet() { // END: com.azure.storage.blob.specialized.PageBlobAsyncClient.getPageRangesDiffWithResponse#BlobRange-String-BlobRequestConditions } + /** + * Code snippets for {@link PageBlobAsyncClient#getManagedDiskPageRangesDiff(BlobRange, String)} + */ + public void getPageRangesDiffFromUrlCodeSnippet() { + // BEGIN: com.azure.storage.blob.specialized.PageBlobAsyncClient.getManagedDiskPageRangesDiff#BlobRange-String + BlobRange blobRange = new BlobRange(offset); + final String prevSnapshotUrl = "previous snapshot url"; + + client.getPageRangesDiff(blobRange, prevSnapshotUrl).subscribe(response -> { + System.out.println("Valid Page Ranges are:"); + for (PageRange pageRange : response.getPageRange()) { + System.out.printf("Start: %s, End: %s%n", pageRange.getStart(), pageRange.getEnd()); + } + }); + // END: com.azure.storage.blob.specialized.PageBlobAsyncClient.getManagedDiskPageRangesDiff#BlobRange-String + } + + /** + * Code snippets for {@link PageBlobAsyncClient#getManagedDiskPageRangesDiffWithResponse(BlobRange, String, + * BlobRequestConditions)} + */ + public void getPageRangesDiffFromUrlWithResponseCodeSnippet() { + // BEGIN: com.azure.storage.blob.specialized.PageBlobAsyncClient.getManagedDiskPageRangesDiffWithResponse#BlobRange-String-BlobRequestConditions + BlobRange blobRange = new BlobRange(offset); + final String prevSnapshotUrl = "previous snapshot url"; + BlobRequestConditions blobRequestConditions = new BlobRequestConditions().setLeaseId(leaseId); + + client.getPageRangesDiffWithResponse(blobRange, prevSnapshotUrl, blobRequestConditions) + .subscribe(response -> { + System.out.println("Valid Page Ranges are:"); + for (PageRange pageRange : response.getValue().getPageRange()) { + System.out.printf("Start: %s, End: %s%n", pageRange.getStart(), pageRange.getEnd()); + } + }); + // END: com.azure.storage.blob.specialized.PageBlobAsyncClient.getManagedDiskPageRangesDiffWithResponse#BlobRange-String-BlobRequestConditions + } + /** * Code snippets for {@link PageBlobAsyncClient#resize(long)} */ diff --git a/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/PageBlobClientJavaDocCodeSnippets.java b/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/PageBlobClientJavaDocCodeSnippets.java index 4c9c531f0b123..ade34bbbc1a23 100644 --- a/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/PageBlobClientJavaDocCodeSnippets.java +++ b/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/specialized/PageBlobClientJavaDocCodeSnippets.java @@ -266,6 +266,43 @@ public void getPageRangesDiffWithResponseCodeSnippet() { // END: com.azure.storage.blob.specialized.PageBlobClient.getPageRangesDiffWithResponse#BlobRange-String-BlobRequestConditions-Duration-Context } + /** + * Code snippets for {@link PageBlobClient#getManagedDiskPageRangesDiff(BlobRange, String)} + */ + public void getPageRangesDiffFromUrlCodeSnippet() { + // BEGIN: com.azure.storage.blob.specialized.PageBlobClient.getManagedDiskPageRangesDiff#BlobRange-String + BlobRange blobRange = new BlobRange(offset); + final String prevSnapshotUrl = "previous snapshot url"; + PageList pageList = client.getPageRangesDiff(blobRange, prevSnapshotUrl); + + System.out.println("Valid Page Ranges are:"); + for (PageRange pageRange : pageList.getPageRange()) { + System.out.printf("Start: %s, End: %s%n", pageRange.getStart(), pageRange.getEnd()); + } + // END: com.azure.storage.blob.specialized.PageBlobClient.getManagedDiskPageRangesDiff#BlobRange-String + } + + /** + * Code snippets for {@link PageBlobClient#getManagedDiskPageRangesDiffWithResponse(BlobRange, String, BlobRequestConditions, + * Duration, Context)} + */ + public void getPageRangesDiffFromUrlWithResponseCodeSnippet() { + // BEGIN: com.azure.storage.blob.specialized.PageBlobClient.getManagedDiskPageRangesDiffWithResponse#BlobRange-String-BlobRequestConditions-Duration-Context + BlobRange blobRange = new BlobRange(offset); + final String prevSnapshotUrl = "previous snapshot url"; + BlobRequestConditions blobRequestConditions = new BlobRequestConditions().setLeaseId(leaseId); + Context context = new Context(key, value); + + PageList pageList = client + .getPageRangesDiffWithResponse(blobRange, prevSnapshotUrl, blobRequestConditions, timeout, context).getValue(); + + System.out.println("Valid Page Ranges are:"); + for (PageRange pageRange : pageList.getPageRange()) { + System.out.printf("Start: %s, End: %s%n", pageRange.getStart(), pageRange.getEnd()); + } + // END: com.azure.storage.blob.specialized.PageBlobClient.getManagedDiskPageRangesDiffWithResponse#BlobRange-String-BlobRequestConditions-Duration-Context + } + /** * Code snippets for {@link PageBlobClient#resize(long)} */ diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/APISpec.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/APISpec.groovy index 4d8523a92a69a..1b6f97910191e 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/APISpec.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/APISpec.groovy @@ -118,11 +118,15 @@ class APISpec extends Specification { static def SECONDARY_STORAGE = "SECONDARY_STORAGE_" static def BLOB_STORAGE = "BLOB_STORAGE_" static def PREMIUM_STORAGE = "PREMIUM_STORAGE_" + /* Unignore any managed disk tests if a managed disk account is available to be tested. They are difficult to + acquire so we do not run them in the nightly live run tests. */ + static def MANAGED_DISK_STORAGE = "MANAGED_DISK_STORAGE_" protected static StorageSharedKeyCredential primaryCredential static StorageSharedKeyCredential alternateCredential static StorageSharedKeyCredential blobCredential static StorageSharedKeyCredential premiumCredential + static StorageSharedKeyCredential managedDiskCredential static TestMode testMode BlobServiceClient primaryBlobServiceClient @@ -130,6 +134,7 @@ class APISpec extends Specification { BlobServiceClient alternateBlobServiceClient BlobServiceClient blobServiceClient BlobServiceClient premiumBlobServiceClient + BlobServiceClient managedDiskServiceClient InterceptorManager interceptorManager boolean recordLiveMode @@ -143,10 +148,12 @@ class APISpec extends Specification { alternateCredential = getCredential(SECONDARY_STORAGE) blobCredential = getCredential(BLOB_STORAGE) premiumCredential = getCredential(PREMIUM_STORAGE) + managedDiskCredential = getCredential(MANAGED_DISK_STORAGE) // The property is to limit flapMap buffer size of concurrency // in case the upload or download open too many connections. System.setProperty("reactor.bufferSize.x", "16") System.setProperty("reactor.bufferSize.small", "100") + System.out.println(String.format("--------%s---------", testMode)) } def setup() { @@ -169,6 +176,7 @@ class APISpec extends Specification { alternateBlobServiceClient = setClient(alternateCredential) blobServiceClient = setClient(blobCredential) premiumBlobServiceClient = setClient(premiumCredential) + managedDiskServiceClient = setClient(managedDiskCredential) containerName = generateContainerName() cc = primaryBlobServiceClient.getBlobContainerClient(containerName) diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobAPITest.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobAPITest.groovy index 407dd0a233c65..f3d369b15871e 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobAPITest.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobAPITest.groovy @@ -39,6 +39,7 @@ import spock.lang.Requires import spock.lang.Unroll import java.nio.ByteBuffer +import java.nio.channels.NonWritableChannelException import java.nio.charset.StandardCharsets import java.nio.file.FileAlreadyExistsException import java.nio.file.Files diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/CPKNTest.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/CPKNTest.groovy new file mode 100644 index 0000000000000..6985ef77ebeb2 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/CPKNTest.groovy @@ -0,0 +1,390 @@ +package com.azure.storage.blob + +import com.azure.core.http.policy.HttpLogDetailLevel +import com.azure.core.http.policy.HttpLogOptions +import com.azure.core.test.TestMode +import com.azure.storage.blob.models.BlobContainerEncryptionScope +import com.azure.storage.blob.models.BlobItem +import com.azure.storage.blob.models.BlobStorageException +import com.azure.storage.blob.models.CustomerProvidedKey + +import com.azure.storage.blob.models.PageRange +import com.azure.storage.blob.sas.BlobSasPermission +import com.azure.storage.blob.sas.BlobServiceSasSignatureValues +import com.azure.storage.blob.specialized.AppendBlobClient +import com.azure.storage.blob.specialized.BlobClientBase +import com.azure.storage.blob.specialized.BlockBlobClient +import com.azure.storage.blob.specialized.PageBlobClient +import com.azure.storage.blob.specialized.SpecializedBlobClientBuilder + +import java.time.OffsetDateTime + +class CPKNTest extends APISpec { + + String scope1 = "testscope1" + String scope2 = "testscope2" + String es + BlobContainerEncryptionScope ces + BlobContainerClientBuilder builder + + BlobContainerClient cpknContainer + BlockBlobClient cpknBlockBlob + PageBlobClient cpknPageBlob + AppendBlobClient cpknAppendBlob + BlobClientBase cpknExistingBlob + + def setup() { + es = scope1 + ces = new BlobContainerEncryptionScope().setDefaultEncryptionScope(scope2).setEncryptionScopeOverridePrevented(true) + + builder = new BlobContainerClientBuilder() + .endpoint(cc.getBlobContainerUrl().toString()) + .httpClient(getHttpClient()) + .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) + .credential(primaryCredential) + + if (testMode == TestMode.RECORD && recordLiveMode) { + builder.addPolicy(interceptorManager.getRecordPolicy()) + } + + cpknContainer = builder.encryptionScope(es).buildClient() + + cpknBlockBlob = cpknContainer.getBlobClient(generateBlobName()).getBlockBlobClient() + cpknPageBlob = cpknContainer.getBlobClient(generateBlobName()).getPageBlobClient() + cpknAppendBlob = cpknContainer.getBlobClient(generateBlobName()).getAppendBlobClient() + + def existingBlobSetup = cpknContainer.getBlobClient(generateBlobName()).getBlockBlobClient() + existingBlobSetup.upload(defaultInputStream.get(), defaultDataSize) + cpknExistingBlob = existingBlobSetup + } + + def "Container create"() { + when: + BlobContainerClient cpkncesContainer = builder.blobContainerEncryptionScope(ces).encryptionScope(null) + .containerName(generateContainerName()).buildClient() + def response = cpkncesContainer.createWithResponse(null, null, null, null) + + then: + response.getStatusCode() == 201 + } + + def "Container deny encryption scope override"() { + setup: + BlobContainerClient cpkncesContainer = builder.blobContainerEncryptionScope(ces) + .containerName(generateContainerName()).buildClient() + cpkncesContainer.create() + + cpknAppendBlob = builder.encryptionScope(es) + .containerName(cpkncesContainer.getBlobContainerName()) + .buildClient() + .getBlobClient(generateBlobName()) + .getAppendBlobClient() + + when: + cpknAppendBlob.create() + + then: + thrown(BlobStorageException) + } + + def "Container list blobs flat"() { + setup: + BlobContainerClient cpkncesContainer = builder + .blobContainerEncryptionScope(ces) + .encryptionScope(null) + .containerName(generateContainerName()) + .buildClient() + cpkncesContainer.create() + def cpknAppendBlob = cpkncesContainer.getBlobClient(generateBlobName()).getAppendBlobClient() + cpknAppendBlob.create() + + when: + Iterator items = cpkncesContainer.listBlobs().iterator() + + then: + def blob = items.next() + !items.hasNext() + blob.getProperties().getEncryptionScope() == scope2 + } + + def "Container list blobs hierarchical"() { + setup: + BlobContainerClient cpkncesContainer = builder + .blobContainerEncryptionScope(ces) + .encryptionScope(null) + .containerName(generateContainerName()) + .buildClient() + cpkncesContainer.create() + def cpknAppendBlob = cpkncesContainer.getBlobClient(generateBlobName()).getAppendBlobClient() + cpknAppendBlob.create() + + when: + Iterator items = cpkncesContainer.listBlobsByHierarchy("").iterator() + + then: + def blob = items.next() + !items.hasNext() + blob.getProperties().getEncryptionScope() == scope2 + } + + def "Append blob create"() { + when: + def response = cpknAppendBlob.createWithResponse(null, null, null, null, null) + + then: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Append blob append block"() { + setup: + cpknAppendBlob.create() + + when: + def response = cpknAppendBlob.appendBlockWithResponse(defaultInputStream.get(), defaultDataSize, null, null, + null, null) + + then: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Append blob append block from URL"() { + setup: + cpknAppendBlob.create() + def blobName = generateBlobName() + def sourceBlob = cc.getBlobClient(blobName).getBlockBlobClient() + sourceBlob.upload(defaultInputStream.get(), defaultDataSize) + + when: + def sas = new BlobServiceSasSignatureValues() + .setExpiryTime(OffsetDateTime.now().plusHours(1)) + .setPermissions(new BlobSasPermission().setReadPermission(true)) + .setContainerName(cc.getBlobContainerName()) + .setBlobName(blobName) + .generateSasQueryParameters(primaryCredential) + .encode() + def response = cpknAppendBlob.appendBlockFromUrlWithResponse(sourceBlob.getBlobUrl().toString() + "?" + sas, + null, null, null, null, null, null) + + then: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Page blob create"() { + when: + def response = cpknPageBlob.createWithResponse(1024, null, null, null, null, null, null) + + then: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Page blob put page"() { + setup: + cpknPageBlob.create(PageBlobClient.PAGE_BYTES) + + when: + def response = cpknPageBlob.uploadPagesWithResponse(new PageRange().setStart(0).setEnd(PageBlobClient.PAGE_BYTES - 1), + new ByteArrayInputStream(getRandomByteArray(PageBlobClient.PAGE_BYTES)), null, null, null, null) + + then: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Page blob put page from URL"() { + setup: + def blobName = generateBlobName() + def sourceBlob = cc.getBlobClient(blobName).getPageBlobClient() + sourceBlob.create(PageBlobClient.PAGE_BYTES) + sourceBlob.uploadPagesWithResponse(new PageRange().setStart(0).setEnd(PageBlobClient.PAGE_BYTES - 1), + new ByteArrayInputStream(getRandomByteArray(PageBlobClient.PAGE_BYTES)), null, null, null, null) + + cpknPageBlob.create(PageBlobClient.PAGE_BYTES) + + when: + def sas = new BlobServiceSasSignatureValues() + .setExpiryTime(OffsetDateTime.now().plusHours(1)) + .setPermissions(new BlobSasPermission().setReadPermission(true)) + .setContainerName(cc.getBlobContainerName()) + .setBlobName(blobName) + .generateSasQueryParameters(primaryCredential) + .encode() + + def response = cpknPageBlob.uploadPagesFromUrlWithResponse(new PageRange().setStart(0).setEnd(PageBlobClient.PAGE_BYTES - 1), + sourceBlob.getBlobUrl().toString() + "?" + sas, null, null, null, null, null, null) + + then: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Page blob put multiple pages"() { + setup: + cpknPageBlob.create(PageBlobClient.PAGE_BYTES * 2) + + when: + def response = cpknPageBlob.uploadPagesWithResponse(new PageRange().setStart(0).setEnd(PageBlobClient.PAGE_BYTES * 2 - 1), + new ByteArrayInputStream(getRandomByteArray(PageBlobClient.PAGE_BYTES * 2)), null, null, null, null) + + then: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Page blob clear page"() { + setup: + cpknPageBlob.create(PageBlobClient.PAGE_BYTES * 2) + cpknPageBlob.uploadPagesWithResponse(new PageRange().setStart(0).setEnd(PageBlobClient.PAGE_BYTES - 1), + new ByteArrayInputStream(getRandomByteArray(PageBlobClient.PAGE_BYTES)), null, null, null, null) + + when: + def response = cpknPageBlob.clearPagesWithResponse(new PageRange().setStart(0).setEnd(PageBlobClient.PAGE_BYTES - 1), + null, null, null) + + then: + response.getStatusCode() == 201 + } + + def "Page blob resize"() { + setup: + cpknPageBlob.create(PageBlobClient.PAGE_BYTES * 2) + def response = cpknPageBlob.resizeWithResponse(PageBlobClient.PAGE_BYTES * 2, null, null, null) + + expect: + response.getStatusCode() == 200 + } + + def "Block blob upload"() { + setup: + def response = cpknBlockBlob.uploadWithResponse(defaultInputStream.get(), defaultDataSize, null, null, null, null, null, + null, null) + + expect: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Block blob stage block"() { + setup: + cpknBlockBlob.upload(defaultInputStream.get(), defaultDataSize) + def response = cpknBlockBlob.stageBlockWithResponse(getBlockID(), defaultInputStream.get(), defaultDataSize, null, null, + null, null) + def headers = response.getHeaders() + + expect: + response.getStatusCode() == 201 + Boolean.parseBoolean(headers.getValue("x-ms-request-server-encrypted")) + headers.getValue("x-ms-encryption-scope") == scope1 + } + + def "Block blob commit block list"() { + setup: + def blockID = getBlockID() + cpknBlockBlob.stageBlock(blockID, defaultInputStream.get(), defaultDataSize) + def ids = [blockID] as List + + when: + def response = cpknBlockBlob.commitBlockListWithResponse(ids, null, null, null, null, null, null) + + then: + response.getStatusCode() == 201 + response.getValue().isServerEncrypted() + response.getValue().getEncryptionScope() == scope1 + } + + def "Service client builder check"() { + when: + new BlobServiceClientBuilder() + .encryptionScope(es) + .customerProvidedKey(new CustomerProvidedKey(getRandomKey())) + .buildClient() + + then: + thrown(IllegalArgumentException) + } + + def "Container client builder check"() { + when: + new BlobContainerClientBuilder() + .encryptionScope(es) + .customerProvidedKey(new CustomerProvidedKey(getRandomKey())) + .buildClient() + + then: + thrown(IllegalArgumentException) + } + + def "Blob client builder check"() { + when: + new BlobClientBuilder() + .encryptionScope(es) + .customerProvidedKey(new CustomerProvidedKey(getRandomKey())) + .endpoint(cc.getBlobContainerUrl()) + .blobName(generateBlobName()) + .buildClient() + + then: + thrown(IllegalArgumentException) + } + + def "Append blob client builder check"() { + when: + new SpecializedBlobClientBuilder() + .encryptionScope(es) + .customerProvidedKey(new CustomerProvidedKey(getRandomKey())) + .endpoint(cc.getBlobContainerUrl()) + .blobName(generateBlobName()) + .buildAppendBlobClient() + + then: + thrown(IllegalArgumentException) + } + + def "Block blob client builder check"() { + when: + new SpecializedBlobClientBuilder() + .encryptionScope(es) + .customerProvidedKey(new CustomerProvidedKey(getRandomKey())) + .endpoint(cc.getBlobContainerUrl()) + .blobName(generateBlobName()) + .buildBlockBlobClient() + + then: + thrown(IllegalArgumentException) + } + + def "Page blob client builder check"() { + when: + new SpecializedBlobClientBuilder() + .encryptionScope(es) + .customerProvidedKey(new CustomerProvidedKey(getRandomKey())) + .endpoint(cc.getBlobContainerUrl()) + .blobName(generateBlobName()) + .buildPageBlobClient() + + then: + thrown(IllegalArgumentException) + } + + /** + * Insecurely and quickly generates a random AES256 key for the purpose of unit tests. No one should ever make a + * real key this way. + */ + def getRandomKey(long seed = new Random().nextLong()) { + def key = new byte[32] // 256 bit key + new Random(seed).nextBytes(key) + return key + } + +} diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/CPKTest.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/CPKTest.groovy index be19c296aac6a..859beff975a9a 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/CPKTest.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/CPKTest.groovy @@ -220,7 +220,7 @@ class CPKTest extends APISpec { then: response.getStatusCode() == 201 //TODO uncomment when swagger is fixed so AppendBlobAppendBLockFromURLHeaders contains isrequestserverencrypted - //response.getValue().isServerEncrypted() + response.getValue().isServerEncrypted() response.getValue().getEncryptionKeySha256() == key.getKeySha256() } diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/ContainerAPITest.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/ContainerAPITest.groovy index 92b319a363eac..246839df13001 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/ContainerAPITest.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/ContainerAPITest.groovy @@ -111,6 +111,7 @@ class ContainerAPITest extends APISpec { e.getServiceMessage().contains("The specified container already exists.") } + def "Get properties null"() { when: def response = cc.getPropertiesWithResponse(null, null, null) @@ -124,6 +125,9 @@ class ContainerAPITest extends APISpec { response.getValue().getLeaseState() == LeaseStateType.AVAILABLE response.getValue().getLeaseStatus() == LeaseStatusType.UNLOCKED response.getValue().getMetadata().size() == 0 + !response.getValue().isEncryptionScopeOverridePrevented() + response.getValue().getDefaultEncryptionScope() + } def "Get properties min"() { diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/SASTest.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/SASTest.groovy index 76ff4005f371a..96359087d018b 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/SASTest.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/SASTest.groovy @@ -517,6 +517,7 @@ class SASTest extends APISpec { def sasWithPermissions = new BlobServiceSasSignatureValues() .setPermissions(permissions) .setExpiryTime(expiryTime) + .setVersion(BlobServiceVersion.V2019_02_02.getVersion()) .setContainerName(cc.getBlobContainerName()) .generateSasQueryParameters(key, primaryCredential.getAccountName()) .encode() @@ -736,16 +737,16 @@ class SASTest extends APISpec { */ where: startTime | identifier | ipRange | protocol | snapId | cacheControl | disposition | encoding | language | type || expectedStringToSign - OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | null | null | null || "r\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | "id" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\nid\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | new SasIpRange() | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\nip\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | "snapId" | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nbs\nsnapId\n\n\n\n\n" - null | null | null | null | null | "control" | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\ncontrol\n\n\n\n" - null | null | null | null | null | null | "disposition" | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\ndisposition\n\n\n" - null | null | null | null | null | null | null | "encoding" | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\nencoding\n\n" - null | null | null | null | null | null | null | null | "language" | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\nlanguage\n" - null | null | null | null | null | null | null | null | null | "type" || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\ntype" + OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | null | null | null || "r\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | "id" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\nid\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | new SasIpRange() | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\nip\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | "snapId" | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nbs\nsnapId\n\n\n\n\n" + null | null | null | null | null | "control" | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\ncontrol\n\n\n\n" + null | null | null | null | null | null | "disposition" | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\ndisposition\n\n\n" + null | null | null | null | null | null | null | "encoding" | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\nencoding\n\n" + null | null | null | null | null | null | null | null | "language" | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\nlanguage\n" + null | null | null | null | null | null | null | null | null | "type" || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\ntype" } @Unroll @@ -794,21 +795,21 @@ class SASTest extends APISpec { */ where: startTime | keyOid | keyTid | keyStart | keyExpiry | keyService | keyVersion | keyValue | ipRange | protocol | snapId | cacheControl | disposition | encoding | language | type || expectedStringToSign - OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | "11111111-1111-1111-1111-111111111111" | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n11111111-1111-1111-1111-111111111111\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | "22222222-2222-2222-2222-222222222222" | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n22222222-2222-2222-2222-222222222222\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | "b" | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\nb\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | "2018-06-17" | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n2018-06-17\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | new SasIpRange() | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\nip\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | "snapId" | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nbs\nsnapId\n\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | "control" | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\ncontrol\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | "disposition" | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\ndisposition\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | "encoding" | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\nencoding\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | "language" | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\nlanguage\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | "type" || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\ntype" + OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | "11111111-1111-1111-1111-111111111111" | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n11111111-1111-1111-1111-111111111111\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | "22222222-2222-2222-2222-222222222222" | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n22222222-2222-2222-2222-222222222222\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | "b" | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\nb\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | "2018-06-17" | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n2018-06-17\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | new SasIpRange() | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\nip\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | "snapId" | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nbs\nsnapId\n\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | "control" | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\ncontrol\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | "disposition" | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\ndisposition\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | "encoding" | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\nencoding\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | "language" | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\nlanguage\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | "type" || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\ntype" } def "serviceSasSignatureValues IA"() { @@ -1033,9 +1034,9 @@ class SASTest extends APISpec { where: startTime | ipRange | protocol || expectedStringToSign - OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null || "%s" + "\nr\nb\no\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\n" - null | new SasIpRange() | null || "%s" + "\nr\nb\no\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\nip\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\n" - null | null | SasProtocol.HTTPS_ONLY || "%s" + "\nr\nb\no\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n\n" + SasProtocol.HTTPS_ONLY + "\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\n" + OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null || "%s" + "\nr\nb\no\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\n" + null | new SasIpRange() | null || "%s" + "\nr\nb\no\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\nip\n\n" + BlobServiceVersion.getLatest().getVersion() + "\n" + null | null | SasProtocol.HTTPS_ONLY || "%s" + "\nr\nb\no\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n\n" + SasProtocol.HTTPS_ONLY + "\n" + BlobServiceVersion.getLatest().getVersion() + "\n" } @Unroll @@ -1228,7 +1229,7 @@ class SASTest extends APISpec { def "URLParser"() { when: - def parts = BlobUrlParts.parse(new URL("http://host/container/" + originalBlobName + "?snapshot=snapshot&sv=" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "&sr=c&sp=r&sig=Ee%2BSodSXamKSzivSdRTqYGh7AeMVEk3wEoRZ1yzkpSc%3D")) + def parts = BlobUrlParts.parse(new URL("http://host/container/" + originalBlobName + "?snapshot=snapshot&sv=" + BlobServiceVersion.getLatest().getVersion() + "&sr=c&sp=r&sig=Ee%2BSodSXamKSzivSdRTqYGh7AeMVEk3wEoRZ1yzkpSc%3D")) then: parts.getScheme() == "http" @@ -1237,7 +1238,7 @@ class SASTest extends APISpec { parts.getBlobName() == finalBlobName parts.getSnapshot() == "snapshot" parts.getSasQueryParameters().getPermissions() == "r" - parts.getSasQueryParameters().getVersion() == Constants.HeaderConstants.TARGET_STORAGE_VERSION + parts.getSasQueryParameters().getVersion() == BlobServiceVersion.getLatest().getVersion() parts.getSasQueryParameters().getResource() == "c" parts.getSasQueryParameters().getSignature() == Utility.urlDecode("Ee%2BSodSXamKSzivSdRTqYGh7AeMVEk3wEoRZ1yzkpSc%3D") diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/ServiceAPITest.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/ServiceAPITest.groovy index 9f536c78ece37..eb55907dba21b 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/ServiceAPITest.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/ServiceAPITest.groovy @@ -74,15 +74,17 @@ class ServiceAPITest extends APISpec { then: for (BlobContainerItem c : response) { - assert c.getName().startsWith(containerPrefix) - assert c.getProperties().getLastModified() != null - assert c.getProperties().getETag() != null - assert c.getProperties().getLeaseStatus() != null - assert c.getProperties().getLeaseState() != null - assert c.getProperties().getLeaseDuration() == null - assert c.getProperties().getPublicAccess() == null - assert !c.getProperties().isHasLegalHold() - assert !c.getProperties().isHasImmutabilityPolicy() + c.getName().startsWith(containerPrefix) + c.getProperties().getLastModified() != null + c.getProperties().getETag() != null + c.getProperties().getLeaseStatus() != null + c.getProperties().getLeaseState() != null + c.getProperties().getLeaseDuration() == null + c.getProperties().getPublicAccess() == null + !c.getProperties().isHasLegalHold() + !c.getProperties().isHasImmutabilityPolicy() + !c.getProperties().isEncryptionScopeOverridePrevented() + c.getProperties().getDefaultEncryptionScope() } } diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/HelperTest.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/HelperTest.groovy index 3fb05026c78a6..ab7834769c637 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/HelperTest.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/HelperTest.groovy @@ -131,18 +131,18 @@ class HelperTest extends APISpec { */ where: permissions | startTime | expiryTime | identifier | ipRange | protocol | snapId | cacheControl | disposition | encoding | language | type || expectedStringToSign - new BlobSasPermission() | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | null | null || "r\n\n%s\n" + "/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | OffsetDateTime.now(ZoneOffset.UTC).minusDays(1) | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | null | null || "\n%s\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | "id" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\nid\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | new SasIpRange() | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\nip\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | "snapId" | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nbs\nsnapId\n\n\n\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | "control" | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\ncontrol\n\n\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | "disposition" | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\ndisposition\n\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | "encoding" | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\nencoding\n\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | "language" | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\nlanguage\n" - null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | null | "type" || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\ntype" + new BlobSasPermission() | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | null | null || "r\n\n%s\n" + "/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | OffsetDateTime.now(ZoneOffset.UTC).minusDays(1) | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | null | null || "\n%s\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | "id" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\nid\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | new SasIpRange() | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\nip\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | "snapId" | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nbs\nsnapId\n\n\n\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | "control" | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\ncontrol\n\n\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | "disposition" | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\ndisposition\n\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | "encoding" | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\nencoding\n\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | "language" | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\nlanguage\n" + null | null | OffsetDateTime.now(ZoneOffset.UTC).plusDays(1) | null | null | null | null | null | null | null | null | "type" || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\ntype" } @Unroll @@ -198,23 +198,23 @@ class HelperTest extends APISpec { */ where: permissions | startTime | expiryTime | keyOid | keyTid | keyStart | keyExpiry | keyService | keyVersion | keyValue | ipRange | protocol | snapId | cacheControl | disposition | encoding | language | type || expectedStringToSign - new BlobSasPermission() | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n%s\n" + "/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | "11111111-1111-1111-1111-111111111111" | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n11111111-1111-1111-1111-111111111111\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | "22222222-2222-2222-2222-222222222222" | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n22222222-2222-2222-2222-222222222222\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | "b" | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\nb\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | null | "2018-06-17" | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n2018-06-17\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | new SasIpRange() | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\nip\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | "snapId" | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nbs\nsnapId\n\n\n\n\n" - null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | "control" | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\ncontrol\n\n\n\n" - null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | "disposition" | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\ndisposition\n\n\n" - null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | "encoding" | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\nencoding\n\n" - null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | "language" | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\nlanguage\n" - null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | "type" || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\ntype" + new BlobSasPermission() | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n%s\n" + "/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | "11111111-1111-1111-1111-111111111111" | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n11111111-1111-1111-1111-111111111111\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | "22222222-2222-2222-2222-222222222222" | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n22222222-2222-2222-2222-222222222222\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | "b" | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\nb\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | null | "2018-06-17" | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n2018-06-17\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | new SasIpRange() | null | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\nip\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | "snapId" | null | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nbs\nsnapId\n\n\n\n\n" + null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | "control" | null | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\ncontrol\n\n\n\n" + null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | "disposition" | null | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\ndisposition\n\n\n" + null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | "encoding" | null | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\nencoding\n\n" + null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | "language" | null || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\nlanguage\n" + null | null | null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | "type" || "\n\n%s\n/blob/%s/containerName/blobName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\ntype" } @Unroll diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/PageBlobAPITest.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/PageBlobAPITest.groovy index fb673983076eb..8c1cf20bafa92 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/PageBlobAPITest.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/PageBlobAPITest.groovy @@ -6,6 +6,7 @@ package com.azure.storage.blob.specialized import com.azure.core.exception.UnexpectedLengthException import com.azure.core.http.RequestConditions import com.azure.storage.blob.APISpec +import com.azure.storage.blob.BlobContainerClient import com.azure.storage.blob.models.BlobErrorCode import com.azure.storage.blob.models.BlobHttpHeaders import com.azure.storage.blob.models.BlobRange @@ -16,6 +17,7 @@ import com.azure.storage.blob.models.PageBlobRequestConditions import com.azure.storage.blob.models.PageRange import com.azure.storage.blob.models.PublicAccessType import com.azure.storage.blob.models.SequenceNumberActionType +import org.junit.Ignore import spock.lang.Unroll import java.security.MessageDigest @@ -809,6 +811,41 @@ class PageBlobAPITest extends APISpec { thrown(BlobStorageException) } + /* Uncomment any managed disk lines if a managed disk account is available to be tested. They are difficult to + acquire so we do not run them in the nightly live run tests. */ + + @Ignore + def "Get page ranges diff prev snapshot url"() { + setup: + BlobContainerClient managedDiskContainer = managedDiskServiceClient.getBlobContainerClient(generateContainerName()) + managedDiskContainer.create() + PageBlobClient managedDiskBlob = managedDiskContainer.getBlobClient(generateBlobName()).getPageBlobClient() + managedDiskBlob.create(PageBlobClient.PAGE_BYTES * 2) + + managedDiskBlob.uploadPages(new PageRange().setStart(PageBlobClient.PAGE_BYTES).setEnd(PageBlobClient.PAGE_BYTES * 2 - 1), + new ByteArrayInputStream(getRandomByteArray(PageBlobClient.PAGE_BYTES))) + + def snapUrl = managedDiskBlob.createSnapshot().getBlobUrl() + + managedDiskBlob.uploadPages(new PageRange().setStart(0).setEnd(PageBlobClient.PAGE_BYTES - 1), + new ByteArrayInputStream(getRandomByteArray(PageBlobClient.PAGE_BYTES))) + + managedDiskBlob.clearPages(new PageRange().setStart(PageBlobClient.PAGE_BYTES).setEnd(PageBlobClient.PAGE_BYTES * 2 - 1)) + + when: + def response = managedDiskBlob.getManagedDiskPageRangesDiffWithResponse(new BlobRange(0, PageBlobClient.PAGE_BYTES * 2), snapUrl, null, null, null) + + then: + response.getValue().getPageRange().size() == 1 + response.getValue().getPageRange().get(0).getStart() == 0 + response.getValue().getPageRange().get(0).getEnd() == PageBlobClient.PAGE_BYTES - 1 + response.getValue().getClearRange().size() == 1 + response.getValue().getClearRange().get(0).getStart() == PageBlobClient.PAGE_BYTES + response.getValue().getClearRange().get(0).getEnd() == PageBlobClient.PAGE_BYTES * 2 - 1 + validateBasicHeaders(response.getHeaders()) + Integer.parseInt(response.getHeaders().getValue("x-ms-blob-content-length")) == PageBlobClient.PAGE_BYTES * 2 + } + @Unroll def "PageRange IA"() { setup: diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobappendblock.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobappendblock.json new file mode 100644 index 0000000000000..d39ce2a225a00 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobappendblock.json @@ -0,0 +1,141 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblock0cpkntestappendblobappendblock57217128?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9d2b5e8c-239b-448f-a0c0-d995f66921ae" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEF390D3C", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:38 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d96f3-901e-002b-6607-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "9d2b5e8c-239b-448f-a0c0-d995f66921ae" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblock0cpkntestappendblobappendblock57217128/javablobappendblobappendblock4336163ed6f748d23846", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e25f0e96-1297-49f6-ae06-5baae9ead084", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:38 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEF461003", + "Content-Length" : "0", + "x-ms-request-id" : "522d96f8-901e-002b-6a07-b512f7000000", + "x-ms-client-request-id" : "e25f0e96-1297-49f6-ae06-5baae9ead084", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblock0cpkntestappendblobappendblock57217128/javablobappendblobappendblock324104233857d5a8c44e", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a88ac426-e454-4e13-8f26-e03f73c8c39e" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEF5293A3", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:38 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d96fc-901e-002b-6e07-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "a88ac426-e454-4e13-8f26-e03f73c8c39e", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblock0cpkntestappendblobappendblock57217128/javablobappendblobappendblock324104233857d5a8c44e?comp=appendblock", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "39ec3395-2ee2-420d-987f-298bec9f6e88", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "x-ms-blob-committed-block-count" : "1", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:38 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "ETag" : "0x8D7831EEF6075EE", + "Content-Length" : "0", + "x-ms-request-id" : "522d9702-901e-002b-7407-b512f7000000", + "x-ms-client-request-id" : "39ec3395-2ee2-420d-987f-298bec9f6e88", + "x-ms-blob-append-offset" : "0", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcappendblobappendblock&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5e1befb2-1a51-4b70-81cb-9f685ed3c40f" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9705-901e-002b-7707-b512f7000000", + "Body" : "jtcappendblobappendblockjtcappendblobappendblock0cpkntestappendblobappendblock57217128Tue, 17 Dec 2019 18:28:38 GMT\"0x8D7831EEF390D3C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "x-ms-client-request-id" : "5e1befb2-1a51-4b70-81cb-9f685ed3c40f", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblock0cpkntestappendblobappendblock57217128?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d67f0a17-3a04-4b5a-bcf1-205541f3bf3b" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9709-901e-002b-7b07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "x-ms-client-request-id" : "d67f0a17-3a04-4b5a-bcf1-205541f3bf3b" + }, + "Exception" : null + } ], + "variables" : [ "jtcappendblobappendblock0cpkntestappendblobappendblock57217128", "javablobappendblobappendblock1624804ad48e0a105043", "javablobappendblobappendblock2781694c1d86aa2d5e45", "javablobappendblobappendblock324104233857d5a8c44e", "javablobappendblobappendblock4336163ed6f748d23846" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobappendblockfromurl.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobappendblockfromurl.json new file mode 100644 index 0000000000000..5e6df1099cbd8 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobappendblockfromurl.json @@ -0,0 +1,165 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblockfromurl08693056d4a11494b64?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6aba9d2e-df41-4c2c-99d6-4173e0e01791" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEF85E0E7", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:38 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d970d-901e-002b-7f07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "x-ms-client-request-id" : "6aba9d2e-df41-4c2c-99d6-4173e0e01791" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblockfromurl08693056d4a11494b64/javablobappendblobappendblockfromurl49775915c82e698b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "64828764-0ac6-486a-932a-d5ff5ea6d8f7", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:38 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEF93440A", + "Content-Length" : "0", + "x-ms-request-id" : "522d9711-901e-002b-0207-b512f7000000", + "x-ms-client-request-id" : "64828764-0ac6-486a-932a-d5ff5ea6d8f7", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblockfromurl08693056d4a11494b64/javablobappendblobappendblockfromurl37825211345a9533", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3f707756-88eb-4f0b-9160-8d6d452fcfe3" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEF9FEE72", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:38 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9715-901e-002b-0607-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "x-ms-client-request-id" : "3f707756-88eb-4f0b-9160-8d6d452fcfe3", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblockfromurl08693056d4a11494b64/javablobappendblobappendblockfromurl58050382f30e269e", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a9090732-4c42-41e6-8834-bc701ceb12d8", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:38 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEFAC71C0", + "Content-Length" : "0", + "x-ms-request-id" : "522d9718-901e-002b-0907-b512f7000000", + "x-ms-client-request-id" : "a9090732-4c42-41e6-8834-bc701ceb12d8" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblockfromurl08693056d4a11494b64/javablobappendblobappendblockfromurl37825211345a9533?comp=appendblock", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c5c95d0-c587-4f47-9f8c-fdf8a0989952" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-blob-committed-block-count" : "1", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:39 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEFC79A81", + "Content-Length" : "0", + "x-ms-request-id" : "522d971f-901e-002b-0d07-b512f7000000", + "x-ms-client-request-id" : "4c5c95d0-c587-4f47-9f8c-fdf8a0989952", + "x-ms-blob-append-offset" : "0", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcappendblobappendblockfromurl&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0925e5f4-94a6-4f13-be2e-dcdda41f0f1c" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d972a-901e-002b-1107-b512f7000000", + "Body" : "jtcappendblobappendblockfromurljtcappendblobappendblockfromurl08693056d4a11494b64Tue, 17 Dec 2019 18:28:38 GMT\"0x8D7831EEF85E0E7\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "x-ms-client-request-id" : "0925e5f4-94a6-4f13-be2e-dcdda41f0f1c", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobappendblockfromurl08693056d4a11494b64?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09d8b3ec-f1f5-430f-a627-e02a6522dbe3" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9730-901e-002b-1507-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "x-ms-client-request-id" : "09d8b3ec-f1f5-430f-a627-e02a6522dbe3" + }, + "Exception" : null + } ], + "variables" : [ "jtcappendblobappendblockfromurl08693056d4a11494b64", "javablobappendblobappendblockfromurl17854517b1c42687", "javablobappendblobappendblockfromurl279631214cc9d069", "javablobappendblobappendblockfromurl37825211345a9533", "javablobappendblobappendblockfromurl49775915c82e698b", "javablobappendblobappendblockfromurl58050382f30e269e" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobclientbuildercheck.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobclientbuildercheck.json new file mode 100644 index 0000000000000..1cb115e6a7feb --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobclientbuildercheck.json @@ -0,0 +1,91 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobclientbuildercheck081177d6babda1a64a4?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1e0dd131-e125-470e-9472-528636dff27e" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF35E5989", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:45 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9869-901e-002b-3307-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "x-ms-client-request-id" : "1e0dd131-e125-470e-9472-528636dff27e" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobclientbuildercheck081177d6babda1a64a4/javablobappendblobclientbuildercheck4168913528532e75", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "32bbd69b-89ab-46bb-ab1d-db569501d8ef", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:45 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF36B5247", + "Content-Length" : "0", + "x-ms-request-id" : "522d986e-901e-002b-3707-b512f7000000", + "x-ms-client-request-id" : "32bbd69b-89ab-46bb-ab1d-db569501d8ef", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcappendblobclientbuildercheck&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2eeaf4bd-9a88-4849-899e-d82308a653f7" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9872-901e-002b-3b07-b512f7000000", + "Body" : "jtcappendblobclientbuildercheckjtcappendblobclientbuildercheck081177d6babda1a64a4Tue, 17 Dec 2019 18:28:45 GMT\"0x8D7831EF35E5989\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "x-ms-client-request-id" : "2eeaf4bd-9a88-4849-899e-d82308a653f7", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobclientbuildercheck081177d6babda1a64a4?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d2cd843a-6461-485f-8026-2858f39847e8" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9875-901e-002b-3e07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "x-ms-client-request-id" : "d2cd843a-6461-485f-8026-2858f39847e8" + }, + "Exception" : null + } ], + "variables" : [ "jtcappendblobclientbuildercheck081177d6babda1a64a4", "javablobappendblobclientbuildercheck1234152dd1a48c30", "javablobappendblobclientbuildercheck232493805cfc0c07", "javablobappendblobclientbuildercheck3787110809bb555d", "javablobappendblobclientbuildercheck4168913528532e75", "javablobappendblobclientbuildercheck527628be5d1535fa" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobcreate.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobcreate.json new file mode 100644 index 0000000000000..6cfa309f307ae --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestappendblobcreate.json @@ -0,0 +1,114 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobcreate0cpkntestappendblobcreateb5258725094dd?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e35dc89e-fd5b-4de4-98eb-534813a84ef1" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEEF78865", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:37 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d96d9-901e-002b-4e07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "e35dc89e-fd5b-4de4-98eb-534813a84ef1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobcreate0cpkntestappendblobcreateb5258725094dd/javablobappendblobcreate4cpkntestappendblobcreateb52266363ac", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "709ad406-4ac5-4936-9fee-2320042b0ed3", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:37 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEF044A79", + "Content-Length" : "0", + "x-ms-request-id" : "522d96e0-901e-002b-5407-b512f7000000", + "x-ms-client-request-id" : "709ad406-4ac5-4936-9fee-2320042b0ed3", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobcreate0cpkntestappendblobcreateb5258725094dd/javablobappendblobcreate3cpkntestappendblobcreateb528516986e", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ad71c529-79e9-4730-8045-374119666d10" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEF111C89", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:37 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d96e7-901e-002b-5b07-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "ad71c529-79e9-4730-8045-374119666d10", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcappendblobcreate&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fea19ce8-847d-42f5-8803-dacc7c6d9fd2" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d96eb-901e-002b-5f07-b512f7000000", + "Body" : "jtcappendblobcreatejtcappendblobcreate0cpkntestappendblobcreateb5258725094ddTue, 17 Dec 2019 18:28:37 GMT\"0x8D7831EEEF78865\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "fea19ce8-847d-42f5-8803-dacc7c6d9fd2", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcappendblobcreate0cpkntestappendblobcreateb5258725094dd?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab6dcadc-22d8-4b81-95ea-40267f0d8109" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d96ef-901e-002b-6207-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "ab6dcadc-22d8-4b81-95ea-40267f0d8109" + }, + "Exception" : null + } ], + "variables" : [ "jtcappendblobcreate0cpkntestappendblobcreateb5258725094dd", "javablobappendblobcreate1cpkntestappendblobcreateb52388306cd", "javablobappendblobcreate2cpkntestappendblobcreateb52063626ab", "javablobappendblobcreate3cpkntestappendblobcreateb528516986e", "javablobappendblobcreate4cpkntestappendblobcreateb52266363ac" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblobclientbuildercheck.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblobclientbuildercheck.json new file mode 100644 index 0000000000000..3e2eefe131b9c --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblobclientbuildercheck.json @@ -0,0 +1,91 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientbuildercheck06502642bbc418b9ee4231?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "57108f75-9008-4e52-b0a4-0ea187b94df2" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF32A68CC", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9854-901e-002b-1f07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "x-ms-client-request-id" : "57108f75-9008-4e52-b0a4-0ea187b94df2" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientbuildercheck06502642bbc418b9ee4231/javablobblobclientbuildercheck4995564d8329c5b2224", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1377ee80-17e7-4cfb-b4c5-579419892803", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF3387FB8", + "Content-Length" : "0", + "x-ms-request-id" : "522d9859-901e-002b-2307-b512f7000000", + "x-ms-client-request-id" : "1377ee80-17e7-4cfb-b4c5-579419892803", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobclientbuildercheck&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8fa17bda-1712-4cd4-bc7f-76ac90756f18" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d985f-901e-002b-2907-b512f7000000", + "Body" : "jtcblobclientbuildercheckjtcblobclientbuildercheck06502642bbc418b9ee4231Tue, 17 Dec 2019 18:28:44 GMT\"0x8D7831EF32A68CC\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "x-ms-client-request-id" : "8fa17bda-1712-4cd4-bc7f-76ac90756f18", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientbuildercheck06502642bbc418b9ee4231?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b0a99911-0050-40c2-b00e-bb19a08af8af" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9863-901e-002b-2d07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "x-ms-client-request-id" : "b0a99911-0050-40c2-b00e-bb19a08af8af" + }, + "Exception" : null + } ], + "variables" : [ "jtcblobclientbuildercheck06502642bbc418b9ee4231", "javablobblobclientbuildercheck161861e34f7b9445b44", "javablobblobclientbuildercheck297974df32514942af4", "javablobblobclientbuildercheck355134e35877b7dbb44", "javablobblobclientbuildercheck4995564d8329c5b2224", "javablobblobclientbuildercheck53107534a157325eb24" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobclientbuildercheck.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobclientbuildercheck.json new file mode 100644 index 0000000000000..20a4b14f56b5a --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobclientbuildercheck.json @@ -0,0 +1,91 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobclientbuildercheck09386232d4b8c97c004?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8fe89c75-624f-4340-9ec2-0955820b19a9" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF391F577", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:45 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9879-901e-002b-4207-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:45 GMT", + "x-ms-client-request-id" : "8fe89c75-624f-4340-9ec2-0955820b19a9" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobclientbuildercheck09386232d4b8c97c004/javablobblockblobclientbuildercheck485971f52bbd014f7", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0564868-937b-4a80-89c0-ae96fae70995", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:45 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:45 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF39F323E", + "Content-Length" : "0", + "x-ms-request-id" : "522d987b-901e-002b-4307-b512f7000000", + "x-ms-client-request-id" : "f0564868-937b-4a80-89c0-ae96fae70995", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblockblobclientbuildercheck&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a374e29f-6b52-4d42-a392-3c774593b8a5" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d987d-901e-002b-4507-b512f7000000", + "Body" : "jtcblockblobclientbuildercheckjtcblockblobclientbuildercheck09386232d4b8c97c004Tue, 17 Dec 2019 18:28:45 GMT\"0x8D7831EF391F577\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:45 GMT", + "x-ms-client-request-id" : "a374e29f-6b52-4d42-a392-3c774593b8a5", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobclientbuildercheck09386232d4b8c97c004?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "edee771c-00e9-4ed5-8b42-8e4fec1cc7d2" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9880-901e-002b-4807-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:45 GMT", + "x-ms-client-request-id" : "edee771c-00e9-4ed5-8b42-8e4fec1cc7d2" + }, + "Exception" : null + } ], + "variables" : [ "jtcblockblobclientbuildercheck09386232d4b8c97c004", "javablobblockblobclientbuildercheck184873d79fa0ccfdd", "javablobblockblobclientbuildercheck2151175d772dcc5be", "javablobblockblobclientbuildercheck306787569af40483f", "javablobblockblobclientbuildercheck485971f52bbd014f7", "javablobblockblobclientbuildercheck50201122a2907f03e" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobcommitblocklist.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobcommitblocklist.json new file mode 100644 index 0000000000000..79b38b536926c --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobcommitblocklist.json @@ -0,0 +1,139 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobcommitblocklist07486422cdbf667a7548f?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d856923-3eff-4691-9f53-d2922132b26c" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF27179F6", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:43 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9812-901e-002b-6407-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "7d856923-3eff-4691-9f53-d2922132b26c" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobcommitblocklist07486422cdbf667a7548f/javablobblockblobcommitblocklist4106344763843c2f78", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84d0c314-00da-47d9-9dd0-6927e77a91a3", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:43 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF27E56CA", + "Content-Length" : "0", + "x-ms-request-id" : "522d9818-901e-002b-6907-b512f7000000", + "x-ms-client-request-id" : "84d0c314-00da-47d9-9dd0-6927e77a91a3", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobcommitblocklist07486422cdbf667a7548f/javablobblockblobcommitblocklist158153cb465aa0abee?blockid=NDMyZDA3YmYtMTA5NC00YWY2LTliYmMtMDBhM2EzYWE5Y2M1&comp=block", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b0bdfb14-63bd-4c0b-a73f-ece667b72770", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d981c-901e-002b-6d07-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "b0bdfb14-63bd-4c0b-a73f-ece667b72770", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobcommitblocklist07486422cdbf667a7548f/javablobblockblobcommitblocklist158153cb465aa0abee?comp=blocklist", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cdc112ca-5f7e-48ee-a118-4e8154580eb1", + "Content-Type" : "application/xml; charset=utf-8" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "71T+n49QhFs=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:43 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "ETag" : "0x8D7831EF29C17D5", + "Content-Length" : "0", + "x-ms-request-id" : "522d9820-901e-002b-7107-b512f7000000", + "x-ms-client-request-id" : "cdc112ca-5f7e-48ee-a118-4e8154580eb1", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblockblobcommitblocklist&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8adced68-789e-4826-96e2-66a021731e48" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9824-901e-002b-7507-b512f7000000", + "Body" : "jtcblockblobcommitblocklistjtcblockblobcommitblocklist07486422cdbf667a7548fTue, 17 Dec 2019 18:28:43 GMT\"0x8D7831EF27179F6\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "8adced68-789e-4826-96e2-66a021731e48", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobcommitblocklist07486422cdbf667a7548f?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f8f9d0a-2811-4d2e-8299-58de3c174ab2" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9828-901e-002b-7907-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "7f8f9d0a-2811-4d2e-8299-58de3c174ab2" + }, + "Exception" : null + } ], + "variables" : [ "jtcblockblobcommitblocklist07486422cdbf667a7548f", "javablobblockblobcommitblocklist158153cb465aa0abee", "javablobblockblobcommitblocklist2768665c48a1aa064f", "javablobblockblobcommitblocklist317324846878b3e11a", "javablobblockblobcommitblocklist4106344763843c2f78", "432d07bf-1094-4af6-9bbc-00a3a3aa9cc5" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobstageblock.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobstageblock.json new file mode 100644 index 0000000000000..7720fbc3f8b20 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobstageblock.json @@ -0,0 +1,140 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobstageblock0cpkntestblockblobstageblock7ab498595e?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "66169623-ce8e-48cd-9ccc-46332ca6fcf4" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF224074E", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:43 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d97f7-901e-002b-4a07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "x-ms-client-request-id" : "66169623-ce8e-48cd-9ccc-46332ca6fcf4" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobstageblock0cpkntestblockblobstageblock7ab498595e/javablobblockblobstageblock4105797e91277b70d7420", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7cfeaf8d-e683-47b8-a2bc-0a2f6ffeb4a0", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:43 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF230D2E5", + "Content-Length" : "0", + "x-ms-request-id" : "522d97fc-901e-002b-4e07-b512f7000000", + "x-ms-client-request-id" : "7cfeaf8d-e683-47b8-a2bc-0a2f6ffeb4a0", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobstageblock0cpkntestblockblobstageblock7ab498595e/javablobblockblobstageblock160323e93ab47fe9d44e9", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5e2b6d79-af4e-4d6a-b6e4-198e647035ce", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:43 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF23F51C4", + "Content-Length" : "0", + "x-ms-request-id" : "522d9801-901e-002b-5307-b512f7000000", + "x-ms-client-request-id" : "5e2b6d79-af4e-4d6a-b6e4-198e647035ce", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobstageblock0cpkntestblockblobstageblock7ab498595e/javablobblockblobstageblock160323e93ab47fe9d44e9?blockid=NjlmNDg4OTctZDI3Zi00ODk4LWE3ZGMtNDM4Y2RjMmM1MzY5&comp=block", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "91b734f0-aae2-4bb2-b752-239e59d02274", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9805-901e-002b-5707-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "x-ms-client-request-id" : "91b734f0-aae2-4bb2-b752-239e59d02274", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblockblobstageblock&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4a76589d-4ebf-4821-a1df-29d70875fea0" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9808-901e-002b-5a07-b512f7000000", + "Body" : "jtcblockblobstageblockjtcblockblobstageblock0cpkntestblockblobstageblock7ab498595eTue, 17 Dec 2019 18:28:43 GMT\"0x8D7831EF224074E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "x-ms-client-request-id" : "4a76589d-4ebf-4821-a1df-29d70875fea0", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobstageblock0cpkntestblockblobstageblock7ab498595e?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c5ba1875-c8fb-4388-affb-730a64d972d7" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d980c-901e-002b-5e07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "c5ba1875-c8fb-4388-affb-730a64d972d7" + }, + "Exception" : null + } ], + "variables" : [ "jtcblockblobstageblock0cpkntestblockblobstageblock7ab498595e", "javablobblockblobstageblock160323e93ab47fe9d44e9", "javablobblockblobstageblock2797554c5fb3ec6e0f4b9", "javablobblockblobstageblock30914438130c50d41b4d8", "javablobblockblobstageblock4105797e91277b70d7420", "69f48897-d27f-4898-a7dc-438cdc2c5369" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobupload.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobupload.json new file mode 100644 index 0000000000000..f99e0c840c8e3 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestblockblobupload.json @@ -0,0 +1,117 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobupload0cpkntestblockblobupload00e497197c1fb1?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "563e5b2c-9455-4407-a4f5-17dc9f56c0f2" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF1E4A5F8", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d97e0-901e-002b-3507-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "x-ms-client-request-id" : "563e5b2c-9455-4407-a4f5-17dc9f56c0f2" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobupload0cpkntestblockblobupload00e497197c1fb1/javablobblockblobupload4cpkntestblockblobupload00e787631aba", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "08ec6c51-753e-466d-99f5-39903b2c9c1f", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF1F26C2E", + "Content-Length" : "0", + "x-ms-request-id" : "522d97e5-901e-002b-3907-b512f7000000", + "x-ms-client-request-id" : "08ec6c51-753e-466d-99f5-39903b2c9c1f", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobupload0cpkntestblockblobupload00e497197c1fb1/javablobblockblobupload1cpkntestblockblobupload00e2428407b6", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f706e1cd-5027-4984-88d4-9fc69faf158d", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF1FEC6B4", + "Content-Length" : "0", + "x-ms-request-id" : "522d97e9-901e-002b-3d07-b512f7000000", + "x-ms-client-request-id" : "f706e1cd-5027-4984-88d4-9fc69faf158d", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblockblobupload&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "36618e0c-e297-46a1-8fa9-37ea16380125" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d97ec-901e-002b-4007-b512f7000000", + "Body" : "jtcblockblobuploadjtcblockblobupload0cpkntestblockblobupload00e497197c1fb1Tue, 17 Dec 2019 18:28:42 GMT\"0x8D7831EF1E4A5F8\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "x-ms-client-request-id" : "36618e0c-e297-46a1-8fa9-37ea16380125", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblockblobupload0cpkntestblockblobupload00e497197c1fb1?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f48d584-07a9-4a4c-9b59-122d8b36f202" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d97f1-901e-002b-4507-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "x-ms-client-request-id" : "4f48d584-07a9-4a4c-9b59-122d8b36f202" + }, + "Exception" : null + } ], + "variables" : [ "jtcblockblobupload0cpkntestblockblobupload00e497197c1fb1", "javablobblockblobupload1cpkntestblockblobupload00e2428407b6", "javablobblockblobupload2cpkntestblockblobupload00e91906562d", "javablobblockblobupload3cpkntestblockblobupload00e919579048", "javablobblockblobupload4cpkntestblockblobupload00e787631aba" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerclientbuildercheck.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerclientbuildercheck.json new file mode 100644 index 0000000000000..cccd382d5f05b --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerclientbuildercheck.json @@ -0,0 +1,91 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerclientbuildercheck062874b3d4ef485aac4?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a81c961a-4988-4967-bef3-d121a36d5974" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF2F7DB8B", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9841-901e-002b-0d07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "a81c961a-4988-4967-bef3-d121a36d5974" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerclientbuildercheck062874b3d4ef485aac4/javablobcontainerclientbuildercheck447386203e771f6b0", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc97a844-667e-458d-94e8-fa265aaf445f", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF3049F8F", + "Content-Length" : "0", + "x-ms-request-id" : "522d9848-901e-002b-1307-b512f7000000", + "x-ms-client-request-id" : "fc97a844-667e-458d-94e8-fa265aaf445f", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainerclientbuildercheck&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84ff553c-2100-4114-8008-8c7daecb8efc" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d984b-901e-002b-1607-b512f7000000", + "Body" : "jtccontainerclientbuildercheckjtccontainerclientbuildercheck062874b3d4ef485aac4Tue, 17 Dec 2019 18:28:44 GMT\"0x8D7831EF2F7DB8B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "x-ms-client-request-id" : "84ff553c-2100-4114-8008-8c7daecb8efc", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerclientbuildercheck062874b3d4ef485aac4?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93337c9e-260f-4002-85c6-09520ed01bb4" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d984f-901e-002b-1a07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:44 GMT", + "x-ms-client-request-id" : "93337c9e-260f-4002-85c6-09520ed01bb4" + }, + "Exception" : null + } ], + "variables" : [ "jtccontainerclientbuildercheck062874b3d4ef485aac4", "javablobcontainerclientbuildercheck129507f3593d933f8", "javablobcontainerclientbuildercheck201333da77a3641c8", "javablobcontainerclientbuildercheck30379173c88738531", "javablobcontainerclientbuildercheck447386203e771f6b0" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainercreate.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainercreate.json new file mode 100644 index 0000000000000..4ecfdf83bcb07 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainercreate.json @@ -0,0 +1,131 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainercreate0cpkntestcontainercreate18831544027cbe?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0071c958-2318-469b-bb40-839d6dad8c10" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EED2CC119", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:34 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9644-901e-002b-4707-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:34 GMT", + "x-ms-client-request-id" : "0071c958-2318-469b-bb40-839d6dad8c10" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainercreate0cpkntestcontainercreate18831544027cbe/javablobcontainercreate4cpkntestcontainercreate18858588efe5", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3db91bbe-a5cd-4704-8afc-3bf385c1944a", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:35 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:34 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EED5ED79C", + "Content-Length" : "0", + "x-ms-request-id" : "522d964b-901e-002b-4c07-b512f7000000", + "x-ms-client-request-id" : "3db91bbe-a5cd-4704-8afc-3bf385c1944a", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainercreate5cpkntestcontainercreate18869475b56be3?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1a067708-0253-4e97-9924-3ede2294a0ae" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EED7EC466", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:35 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9656-901e-002b-5607-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:34 GMT", + "x-ms-client-request-id" : "1a067708-0253-4e97-9924-3ede2294a0ae" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainercreate&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea373d2b-dac7-4ef6-9b10-cdb9de04daae" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d965f-901e-002b-5e07-b512f7000000", + "Body" : "jtccontainercreatejtccontainercreate0cpkntestcontainercreate18831544027cbeTue, 17 Dec 2019 18:28:34 GMT\"0x8D7831EED2CC119\"unlockedavailable$account-encryption-keyfalsefalsefalsejtccontainercreate5cpkntestcontainercreate18869475b56be3Tue, 17 Dec 2019 18:28:35 GMT\"0x8D7831EED7EC466\"unlockedavailabletestscope2truefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:34 GMT", + "x-ms-client-request-id" : "ea373d2b-dac7-4ef6-9b10-cdb9de04daae", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainercreate0cpkntestcontainercreate18831544027cbe?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d3c0911-1061-45d7-a4c0-2721f13acab2" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9664-901e-002b-6307-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "8d3c0911-1061-45d7-a4c0-2721f13acab2" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainercreate5cpkntestcontainercreate18869475b56be3?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b228b689-1745-44f6-a159-67f5dac2d89f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9669-901e-002b-6707-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "b228b689-1745-44f6-a159-67f5dac2d89f" + }, + "Exception" : null + } ], + "variables" : [ "jtccontainercreate0cpkntestcontainercreate18831544027cbe", "javablobcontainercreate1cpkntestcontainercreate18861101d355", "javablobcontainercreate2cpkntestcontainercreate188979968765", "javablobcontainercreate3cpkntestcontainercreate188547136e02", "javablobcontainercreate4cpkntestcontainercreate18858588efe5", "jtccontainercreate5cpkntestcontainercreate18869475b56be3" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerdenyencryptionscopeoverride.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerdenyencryptionscopeoverride.json new file mode 100644 index 0000000000000..f55fb34550e9b --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerdenyencryptionscopeoverride.json @@ -0,0 +1,153 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerdenyencryptionscopeoverride038128f94b22acc?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "200151e9-5119-4f64-ad04-10bc61b919ea" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEDC1CEAD", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:35 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d966e-901e-002b-6c07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "200151e9-5119-4f64-ad04-10bc61b919ea" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerdenyencryptionscopeoverride038128f94b22acc/javablobcontainerdenyencryptionscopeoverride45168625158f", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b99b1ba6-5efb-42d7-8dbd-cc776049a880", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:35 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEDCFEAB7", + "Content-Length" : "0", + "x-ms-request-id" : "522d9673-901e-002b-7007-b512f7000000", + "x-ms-client-request-id" : "b99b1ba6-5efb-42d7-8dbd-cc776049a880", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerdenyencryptionscopeoverride5986167a28dafb1?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b8daa512-77ce-4a49-99c8-817d78a5b812" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEDDCD79F", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:35 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9676-901e-002b-7307-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "b8daa512-77ce-4a49-99c8-817d78a5b812" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerdenyencryptionscopeoverride5986167a28dafb1/javablobcontainerdenyencryptionscopeoverride65712728007d", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cbbf5150-bfd6-4fb2-9014-311882ea322f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "RequestForbiddenByContainerEncryptionPolicy", + "retry-after" : "0", + "Content-Length" : "272", + "StatusCode" : "403", + "x-ms-request-id" : "522d967c-901e-002b-7807-b512f7000000", + "Body" : "RequestForbiddenByContainerEncryptionPolicyThe request is forbidden by the container encryption policy.\nRequestId:522d967c-901e-002b-7807-b512f7000000\nTime:2019-12-17T18:28:36.0256198Z", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "cbbf5150-bfd6-4fb2-9014-311882ea322f", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainerdenyencryptionscopeoverride&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "afc76915-63e1-4047-a0e7-1fe909b4a9dd" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9682-901e-002b-7e07-b512f7000000", + "Body" : "jtccontainerdenyencryptionscopeoverridejtccontainerdenyencryptionscopeoverride038128f94b22accTue, 17 Dec 2019 18:28:35 GMT\"0x8D7831EEDC1CEAD\"unlockedavailable$account-encryption-keyfalsefalsefalsejtccontainerdenyencryptionscopeoverride5986167a28dafb1Tue, 17 Dec 2019 18:28:35 GMT\"0x8D7831EEDDCD79F\"unlockedavailabletestscope2truefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "afc76915-63e1-4047-a0e7-1fe909b4a9dd", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerdenyencryptionscopeoverride038128f94b22acc?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0c010440-ff57-478a-83fb-25a32e49c122" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9685-901e-002b-0107-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "0c010440-ff57-478a-83fb-25a32e49c122" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerdenyencryptionscopeoverride5986167a28dafb1?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b45da243-5082-46bf-9f5c-c0af45f1653a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9689-901e-002b-0507-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "b45da243-5082-46bf-9f5c-c0af45f1653a" + }, + "Exception" : null + } ], + "variables" : [ "jtccontainerdenyencryptionscopeoverride038128f94b22acc", "javablobcontainerdenyencryptionscopeoverride14512129b4d6", "javablobcontainerdenyencryptionscopeoverride2671932f321d", "javablobcontainerdenyencryptionscopeoverride369816a42c16", "javablobcontainerdenyencryptionscopeoverride45168625158f", "jtccontainerdenyencryptionscopeoverride5986167a28dafb1", "javablobcontainerdenyencryptionscopeoverride65712728007d" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerlistblobsflat.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerlistblobsflat.json new file mode 100644 index 0000000000000..55ffbdad61de6 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerlistblobsflat.json @@ -0,0 +1,175 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobsflat0861575840cd39b84a4f2c?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0f575aeb-5f22-46d5-a7cd-2a5f41fb0995" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEE2515EC", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:36 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d968d-901e-002b-0907-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:35 GMT", + "x-ms-client-request-id" : "0f575aeb-5f22-46d5-a7cd-2a5f41fb0995" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobsflat0861575840cd39b84a4f2c/javablobcontainerlistblobsflat40284597af91f054d84", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5d7ee3b9-76c0-4c9a-b5b0-c69a11feaf46", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:36 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEE325607", + "Content-Length" : "0", + "x-ms-request-id" : "522d9691-901e-002b-0c07-b512f7000000", + "x-ms-client-request-id" : "5d7ee3b9-76c0-4c9a-b5b0-c69a11feaf46", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobsflat599194fd2429ab45244ee3?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9d7b54f2-fb3a-4f00-80fa-bb0235955fc0" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEE3FA719", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:36 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9696-901e-002b-1107-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "9d7b54f2-fb3a-4f00-80fa-bb0235955fc0" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobsflat599194fd2429ab45244ee3/javablobcontainerlistblobsflat648726c2528d56f2604", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef008dbc-f216-4c45-8aca-4e81af848d88" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEE4CE129", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:36 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d969c-901e-002b-1607-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "ef008dbc-f216-4c45-8aca-4e81af848d88", + "x-ms-encryption-scope" : "testscope2" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobsflat599194fd2429ab45244ee3?include=&restype=container&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "de50a5a5-becf-47b5-9896-37d584bbcc7a" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d96a1-901e-002b-1b07-b512f7000000", + "Body" : "javablobcontainerlistblobsflat648726c2528d56f2604Tue, 17 Dec 2019 18:28:36 GMTTue, 17 Dec 2019 18:28:36 GMT0x8D7831EEE4CE1290application/octet-streamAppendBlobunlockedavailabletruetestscope2", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "de50a5a5-becf-47b5-9896-37d584bbcc7a", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainerlistblobsflat&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c356a06e-a18d-485b-9dc3-c004810a8072" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d96a6-901e-002b-1f07-b512f7000000", + "Body" : "jtccontainerlistblobsflatjtccontainerlistblobsflat0861575840cd39b84a4f2cTue, 17 Dec 2019 18:28:36 GMT\"0x8D7831EEE2515EC\"unlockedavailable$account-encryption-keyfalsefalsefalsejtccontainerlistblobsflat599194fd2429ab45244ee3Tue, 17 Dec 2019 18:28:36 GMT\"0x8D7831EEE3FA719\"unlockedavailabletestscope2truefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "c356a06e-a18d-485b-9dc3-c004810a8072", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobsflat0861575840cd39b84a4f2c?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8ff979ce-523a-48fe-8a61-6efc5c93d039" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d96ac-901e-002b-2407-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "8ff979ce-523a-48fe-8a61-6efc5c93d039" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobsflat599194fd2429ab45244ee3?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "731f1420-0113-4954-a805-b1890c8b69b8" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d96af-901e-002b-2707-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "731f1420-0113-4954-a805-b1890c8b69b8" + }, + "Exception" : null + } ], + "variables" : [ "jtccontainerlistblobsflat0861575840cd39b84a4f2c", "javablobcontainerlistblobsflat10875199eb6704d05d4", "javablobcontainerlistblobsflat2241350f1c0ec06b1b4", "javablobcontainerlistblobsflat3991182bdb36b4caf04", "javablobcontainerlistblobsflat40284597af91f054d84", "jtccontainerlistblobsflat599194fd2429ab45244ee3", "javablobcontainerlistblobsflat648726c2528d56f2604" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerlistblobshierarchical.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerlistblobshierarchical.json new file mode 100644 index 0000000000000..88b2a2b61e5bc --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestcontainerlistblobshierarchical.json @@ -0,0 +1,175 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobshierarchical0951069b2b98b03e58?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ead76097-77f4-47f3-9748-a4b693803671" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEE8E000F", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:37 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d96b6-901e-002b-2d07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "ead76097-77f4-47f3-9748-a4b693803671" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobshierarchical0951069b2b98b03e58/javablobcontainerlistblobshierarchical4508691bf741207", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "86c7d32d-62ff-4215-988f-9efadca2a803", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:37 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEE9B4F61", + "Content-Length" : "0", + "x-ms-request-id" : "522d96bb-901e-002b-3107-b512f7000000", + "x-ms-client-request-id" : "86c7d32d-62ff-4215-988f-9efadca2a803", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobshierarchical54741778219e404eb6?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "26042abe-a91a-41c9-b9bd-3a986093841a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEEA7F69E", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:37 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d96be-901e-002b-3407-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "26042abe-a91a-41c9-b9bd-3a986093841a" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobshierarchical54741778219e404eb6/javablobcontainerlistblobshierarchical683413562c298c3", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "28f544b5-6bca-4006-a44a-ccd62dc42052" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEEB58EF5", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:37 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d96c3-901e-002b-3807-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "28f544b5-6bca-4006-a44a-ccd62dc42052", + "x-ms-encryption-scope" : "testscope2" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobshierarchical54741778219e404eb6?prefix=&delimiter=/&include=&restype=container&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8cda94b8-55f7-43ec-b2c6-e573ac660d2f" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d96c6-901e-002b-3b07-b512f7000000", + "Body" : "/javablobcontainerlistblobshierarchical683413562c298c3Tue, 17 Dec 2019 18:28:37 GMTTue, 17 Dec 2019 18:28:37 GMT0x8D7831EEEB58EF50application/octet-streamAppendBlobunlockedavailabletruetestscope2", + "Date" : "Tue, 17 Dec 2019 18:28:36 GMT", + "x-ms-client-request-id" : "8cda94b8-55f7-43ec-b2c6-e573ac660d2f", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainerlistblobshierarchical&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "674fb553-e056-4109-a28f-ae89ce5884f0" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d96cc-901e-002b-4107-b512f7000000", + "Body" : "jtccontainerlistblobshierarchicaljtccontainerlistblobshierarchical0951069b2b98b03e58Tue, 17 Dec 2019 18:28:37 GMT\"0x8D7831EEE8E000F\"unlockedavailable$account-encryption-keyfalsefalsefalsejtccontainerlistblobshierarchical54741778219e404eb6Tue, 17 Dec 2019 18:28:37 GMT\"0x8D7831EEEA7F69E\"unlockedavailabletestscope2truefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "674fb553-e056-4109-a28f-ae89ce5884f0", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobshierarchical0951069b2b98b03e58?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a371f6d9-e9b5-4aec-a2ff-76b107420e0c" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d96cf-901e-002b-4407-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "a371f6d9-e9b5-4aec-a2ff-76b107420e0c" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainerlistblobshierarchical54741778219e404eb6?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e89b4152-c075-4f27-b36c-4038d4d1b8b4" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d96d3-901e-002b-4807-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:37 GMT", + "x-ms-client-request-id" : "e89b4152-c075-4f27-b36c-4038d4d1b8b4" + }, + "Exception" : null + } ], + "variables" : [ "jtccontainerlistblobshierarchical0951069b2b98b03e58", "javablobcontainerlistblobshierarchical189133bc8a2c082", "javablobcontainerlistblobshierarchical286435d536fa205", "javablobcontainerlistblobshierarchical3335439a56b0a89", "javablobcontainerlistblobshierarchical4508691bf741207", "jtccontainerlistblobshierarchical54741778219e404eb6", "javablobcontainerlistblobshierarchical683413562c298c3" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobclearpage.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobclearpage.json new file mode 100644 index 0000000000000..c2cb4ffe25b21 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobclearpage.json @@ -0,0 +1,162 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclearpage0cpkntestpageblobclearpage8f0513854a08?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a0aa2d8-3748-4a05-b72b-b7647d5b812e" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF13ECA0C", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d97a6-901e-002b-8007-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "0a0aa2d8-3748-4a05-b72b-b7647d5b812e" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclearpage0cpkntestpageblobclearpage8f0513854a08/javablobpageblobclearpage4cpkntestpageblobclearpage8f02969603", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a3ca12a1-d64b-4a5e-ab41-98db374734ea", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF14BCA26", + "Content-Length" : "0", + "x-ms-request-id" : "522d97aa-901e-002b-0307-b512f7000000", + "x-ms-client-request-id" : "a3ca12a1-d64b-4a5e-ab41-98db374734ea", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclearpage0cpkntestpageblobclearpage8f0513854a08/javablobpageblobclearpage2cpkntestpageblobclearpage8f044888a1", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ec6feb61-028c-4296-be8a-ec19a6312718" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF1589B21", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d97af-901e-002b-0707-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "ec6feb61-028c-4296-be8a-ec19a6312718", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclearpage0cpkntestpageblobclearpage8f0513854a08/javablobpageblobclearpage2cpkntestpageblobclearpage8f044888a1?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a9833c6-56d1-4de0-a1a3-b224016aa446", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "Content-MD5" : "SADXbxNxWAqkKLoYrCuM7A==", + "ETag" : "0x8D7831EF164F9AE", + "Content-Length" : "0", + "x-ms-request-id" : "522d97b3-901e-002b-0b07-b512f7000000", + "x-ms-client-request-id" : "0a9833c6-56d1-4de0-a1a3-b224016aa446", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclearpage0cpkntestpageblobclearpage8f0513854a08/javablobpageblobclearpage2cpkntestpageblobclearpage8f044888a1?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "25e933b5-0c89-4699-89f4-cbfef70212a4" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF170DFD9", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d97b7-901e-002b-0f07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "25e933b5-0c89-4699-89f4-cbfef70212a4" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcpageblobclearpage&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d59cbcd-cc10-4730-9003-5bba051ac586" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d97ba-901e-002b-1207-b512f7000000", + "Body" : "jtcpageblobclearpagejtcpageblobclearpage0cpkntestpageblobclearpage8f0513854a08Tue, 17 Dec 2019 18:28:41 GMT\"0x8D7831EF13ECA0C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "7d59cbcd-cc10-4730-9003-5bba051ac586", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclearpage0cpkntestpageblobclearpage8f0513854a08?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fcf848c7-13b1-467a-b40c-5573a9346d2a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d97bf-901e-002b-1707-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "fcf848c7-13b1-467a-b40c-5573a9346d2a" + }, + "Exception" : null + } ], + "variables" : [ "jtcpageblobclearpage0cpkntestpageblobclearpage8f0513854a08", "javablobpageblobclearpage1cpkntestpageblobclearpage8f07756401", "javablobpageblobclearpage2cpkntestpageblobclearpage8f044888a1", "javablobpageblobclearpage3cpkntestpageblobclearpage8f0504037b", "javablobpageblobclearpage4cpkntestpageblobclearpage8f02969603", "caac5251-48a8-42b4-a81f-53f2992b4bfd" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobclientbuildercheck.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobclientbuildercheck.json new file mode 100644 index 0000000000000..01f764da90771 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobclientbuildercheck.json @@ -0,0 +1,91 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclientbuildercheck057554a88048fbcf3f4f?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "803d9030-5b0e-491d-b001-c94ccc1b20e0" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF3C4A94D", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:45 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9883-901e-002b-4b07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:45 GMT", + "x-ms-client-request-id" : "803d9030-5b0e-491d-b001-c94ccc1b20e0" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclientbuildercheck057554a88048fbcf3f4f/javablobpageblobclientbuildercheck40638096b85815277", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "10fe3482-89d9-4902-93f3-63a85f4cc64c", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:45 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:45 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF3D18ACB", + "Content-Length" : "0", + "x-ms-request-id" : "522d9885-901e-002b-4c07-b512f7000000", + "x-ms-client-request-id" : "10fe3482-89d9-4902-93f3-63a85f4cc64c", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcpageblobclientbuildercheck&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fde155a2-e071-441c-bbc4-b791536701bb" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9887-901e-002b-4e07-b512f7000000", + "Body" : "jtcpageblobclientbuildercheckjtcpageblobclientbuildercheck057554a88048fbcf3f4fTue, 17 Dec 2019 18:28:45 GMT\"0x8D7831EF3C4A94D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:45 GMT", + "x-ms-client-request-id" : "fde155a2-e071-441c-bbc4-b791536701bb", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobclientbuildercheck057554a88048fbcf3f4f?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bf7a8678-f59f-44a6-9ab8-e5b85826cbbb" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d988e-901e-002b-5307-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:45 GMT", + "x-ms-client-request-id" : "bf7a8678-f59f-44a6-9ab8-e5b85826cbbb" + }, + "Exception" : null + } ], + "variables" : [ "jtcpageblobclientbuildercheck057554a88048fbcf3f4f", "javablobpageblobclientbuildercheck1797826a2f8082576", "javablobpageblobclientbuildercheck20817129e44d6eea1", "javablobpageblobclientbuildercheck36884037136c6e265", "javablobpageblobclientbuildercheck40638096b85815277", "javablobpageblobclientbuildercheck532427ed8ce92f587" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobcreate.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobcreate.json new file mode 100644 index 0000000000000..92929123542e8 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobcreate.json @@ -0,0 +1,114 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobcreate0cpkntestpageblobcreated70175180e2fdde?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc71c9fd-5623-4f42-84f7-1a9c89857f97" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EEFEDE30A", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:39 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9734-901e-002b-1907-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:38 GMT", + "x-ms-client-request-id" : "bc71c9fd-5623-4f42-84f7-1a9c89857f97" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobcreate0cpkntestpageblobcreated70175180e2fdde/javablobpageblobcreate4cpkntestpageblobcreated704558896d89", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f215e02e-17d0-4651-bf96-4bf860f11dd3", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:39 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EEFFADF99", + "Content-Length" : "0", + "x-ms-request-id" : "522d9739-901e-002b-1d07-b512f7000000", + "x-ms-client-request-id" : "f215e02e-17d0-4651-bf96-4bf860f11dd3", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobcreate0cpkntestpageblobcreated70175180e2fdde/javablobpageblobcreate2cpkntestpageblobcreated7088016f3f95", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f726b41e-9657-42b4-a070-1bbecde1e432" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF0084D00", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:39 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d973e-901e-002b-2107-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "x-ms-client-request-id" : "f726b41e-9657-42b4-a070-1bbecde1e432", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcpageblobcreate&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93bc19d9-a83f-46cb-bfcb-e658f0fdceba" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9746-901e-002b-2807-b512f7000000", + "Body" : "jtcpageblobcreatejtcpageblobcreate0cpkntestpageblobcreated70175180e2fddeTue, 17 Dec 2019 18:28:39 GMT\"0x8D7831EEFEDE30A\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "x-ms-client-request-id" : "93bc19d9-a83f-46cb-bfcb-e658f0fdceba", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobcreate0cpkntestpageblobcreated70175180e2fdde?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e35bad58-3d60-46a5-b7db-5c902e6c2886" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9749-901e-002b-2b07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "x-ms-client-request-id" : "e35bad58-3d60-46a5-b7db-5c902e6c2886" + }, + "Exception" : null + } ], + "variables" : [ "jtcpageblobcreate0cpkntestpageblobcreated70175180e2fdde", "javablobpageblobcreate1cpkntestpageblobcreated7009578e9450", "javablobpageblobcreate2cpkntestpageblobcreated7088016f3f95", "javablobpageblobcreate3cpkntestpageblobcreated70216975ea5d", "javablobpageblobcreate4cpkntestpageblobcreated704558896d89" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputmultiplepages.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputmultiplepages.json new file mode 100644 index 0000000000000..e7cb2af329caa --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputmultiplepages.json @@ -0,0 +1,140 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputmultiplepages045015644f573d34a44d8?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d5117188-7f67-44f7-bcac-511c2ff5f1a5" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF0F2BB5A", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9788-901e-002b-6507-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "x-ms-client-request-id" : "d5117188-7f67-44f7-bcac-511c2ff5f1a5" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputmultiplepages045015644f573d34a44d8/javablobpageblobputmultiplepages485196cef0c4c2adcb", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37f341e8-e4ed-4412-81aa-434cd7b39346", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF0FFA5CA", + "Content-Length" : "0", + "x-ms-request-id" : "522d978d-901e-002b-6907-b512f7000000", + "x-ms-client-request-id" : "37f341e8-e4ed-4412-81aa-434cd7b39346", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputmultiplepages045015644f573d34a44d8/javablobpageblobputmultiplepages27217645abe5ba961a", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bab3ba71-f942-44c8-9ae7-a27a5bdebf36" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF10D15AE", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9792-901e-002b-6e07-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "x-ms-client-request-id" : "bab3ba71-f942-44c8-9ae7-a27a5bdebf36", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputmultiplepages045015644f573d34a44d8/javablobpageblobputmultiplepages27217645abe5ba961a?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "71aacf74-5f1f-4780-8664-3ec1cb0087a6", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:41 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "Content-MD5" : "b0pVATytl9k4pve1KJg4mA==", + "ETag" : "0x8D7831EF1196F4E", + "Content-Length" : "0", + "x-ms-request-id" : "522d9797-901e-002b-7207-b512f7000000", + "x-ms-client-request-id" : "71aacf74-5f1f-4780-8664-3ec1cb0087a6", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcpageblobputmultiplepages&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c52d8aec-dbf4-4f4a-840d-eba6a3c5a5d3" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d979c-901e-002b-7607-b512f7000000", + "Body" : "jtcpageblobputmultiplepagesjtcpageblobputmultiplepages045015644f573d34a44d8Tue, 17 Dec 2019 18:28:41 GMT\"0x8D7831EF0F2BB5A\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "x-ms-client-request-id" : "c52d8aec-dbf4-4f4a-840d-eba6a3c5a5d3", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputmultiplepages045015644f573d34a44d8?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4772b76a-5569-496a-9ca2-eaf6a33cb3b2" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d97a2-901e-002b-7c07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "4772b76a-5569-496a-9ca2-eaf6a33cb3b2" + }, + "Exception" : null + } ], + "variables" : [ "jtcpageblobputmultiplepages045015644f573d34a44d8", "javablobpageblobputmultiplepages1990657a6535a4b260", "javablobpageblobputmultiplepages27217645abe5ba961a", "javablobpageblobputmultiplepages381886d5932f6631f4", "javablobpageblobputmultiplepages485196cef0c4c2adcb", "c9bd3647-6581-45c5-807f-f8eec86f74d7" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputpage.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputpage.json new file mode 100644 index 0000000000000..d39a8ba105a0e --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputpage.json @@ -0,0 +1,140 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpage0cpkntestpageblobputpage9eb23506cca4b4?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aab29850-b319-4fac-9276-35938114c424" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF03B9D46", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:39 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d974e-901e-002b-3007-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "x-ms-client-request-id" : "aab29850-b319-4fac-9276-35938114c424" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpage0cpkntestpageblobputpage9eb23506cca4b4/javablobpageblobputpage4cpkntestpageblobputpage9eb456456654", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a6bf6d01-e03d-465a-8b01-2e12fbb2503a", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:39 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF048D887", + "Content-Length" : "0", + "x-ms-request-id" : "522d9754-901e-002b-3407-b512f7000000", + "x-ms-client-request-id" : "a6bf6d01-e03d-465a-8b01-2e12fbb2503a", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpage0cpkntestpageblobputpage9eb23506cca4b4/javablobpageblobputpage2cpkntestpageblobputpage9eb380132e0b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1665cc02-52dd-41cc-9286-c024fd981a36" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF0566D13", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:40 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9758-901e-002b-3807-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "x-ms-client-request-id" : "1665cc02-52dd-41cc-9286-c024fd981a36", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpage0cpkntestpageblobputpage9eb23506cca4b4/javablobpageblobputpage2cpkntestpageblobputpage9eb380132e0b?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d9f07cdc-7878-41f7-aa0b-ba51b9eb3535", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:40 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "Content-MD5" : "uT/gz8SQvRZ8XDz2Rm553w==", + "ETag" : "0x8D7831EF0664BAA", + "Content-Length" : "0", + "x-ms-request-id" : "522d975e-901e-002b-3e07-b512f7000000", + "x-ms-client-request-id" : "d9f07cdc-7878-41f7-aa0b-ba51b9eb3535", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcpageblobputpage&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d73a58e-2cd8-4c9b-9625-b2a656b0cb4e" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9763-901e-002b-4307-b512f7000000", + "Body" : "jtcpageblobputpagejtcpageblobputpage0cpkntestpageblobputpage9eb23506cca4b4Tue, 17 Dec 2019 18:28:39 GMT\"0x8D7831EF03B9D46\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "x-ms-client-request-id" : "8d73a58e-2cd8-4c9b-9625-b2a656b0cb4e", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpage0cpkntestpageblobputpage9eb23506cca4b4?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "34f0fc90-1d5d-4de4-befb-c05f1bb107c3" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9767-901e-002b-4707-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "x-ms-client-request-id" : "34f0fc90-1d5d-4de4-befb-c05f1bb107c3" + }, + "Exception" : null + } ], + "variables" : [ "jtcpageblobputpage0cpkntestpageblobputpage9eb23506cca4b4", "javablobpageblobputpage1cpkntestpageblobputpage9eb81974cf93", "javablobpageblobputpage2cpkntestpageblobputpage9eb380132e0b", "javablobpageblobputpage3cpkntestpageblobputpage9eb88081cb4e", "javablobpageblobputpage4cpkntestpageblobputpage9eb456456654", "28714559-7ec8-4b55-bf63-53802674b6ff" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputpagefromurl.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputpagefromurl.json new file mode 100644 index 0000000000000..56bc19081be3d --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobputpagefromurl.json @@ -0,0 +1,186 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpagefromurl09127476aa73f7dd5348e0?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4172d14d-8409-4c1b-a828-adf519f02f6e" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF08C67D9", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:40 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d976e-901e-002b-4e07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:39 GMT", + "x-ms-client-request-id" : "4172d14d-8409-4c1b-a828-adf519f02f6e" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpagefromurl09127476aa73f7dd5348e0/javablobpageblobputpagefromurl417079223e1a76499c4", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f85d3451-67fa-4b91-a8ca-1b82cee960fb", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:40 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF09942A9", + "Content-Length" : "0", + "x-ms-request-id" : "522d9771-901e-002b-5007-b512f7000000", + "x-ms-client-request-id" : "f85d3451-67fa-4b91-a8ca-1b82cee960fb", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpagefromurl09127476aa73f7dd5348e0/javablobpageblobputpagefromurl53041451efa3ee4e614", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c752f4ab-c938-41aa-81ac-0a2d6759e5d5" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF0A59F0B", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:40 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9773-901e-002b-5107-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "x-ms-client-request-id" : "c752f4ab-c938-41aa-81ac-0a2d6759e5d5" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpagefromurl09127476aa73f7dd5348e0/javablobpageblobputpagefromurl53041451efa3ee4e614?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d4236640-4e48-45d9-93d6-cd63e35bddf4", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:40 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "Content-MD5" : "3jV1cfxekqk2ISU9GAoJ8Q==", + "ETag" : "0x8D7831EF0B1D54E", + "Content-Length" : "0", + "x-ms-request-id" : "522d9774-901e-002b-5207-b512f7000000", + "x-ms-client-request-id" : "d4236640-4e48-45d9-93d6-cd63e35bddf4" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpagefromurl09127476aa73f7dd5348e0/javablobpageblobputpagefromurl25121296b654cd29774", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cb0b9a55-804d-4cf5-ba93-48ba93e69684" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF0BF9147", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:40 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d9777-901e-002b-5507-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "x-ms-client-request-id" : "cb0b9a55-804d-4cf5-ba93-48ba93e69684", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpagefromurl09127476aa73f7dd5348e0/javablobpageblobputpagefromurl25121296b654cd29774?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d835550b-46ef-475e-9a0f-a5ffc24fa3e5" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:40 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "Content-MD5" : "3jV1cfxekqk2ISU9GAoJ8Q==", + "ETag" : "0x8D7831EF0CD25A4", + "Content-Length" : "0", + "x-ms-request-id" : "522d977b-901e-002b-5907-b512f7000000", + "x-ms-client-request-id" : "d835550b-46ef-475e-9a0f-a5ffc24fa3e5", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcpageblobputpagefromurl&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "343d2a9c-2e28-46fd-a1d2-204b20c8b4b4" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d977f-901e-002b-5d07-b512f7000000", + "Body" : "jtcpageblobputpagefromurljtcpageblobputpagefromurl09127476aa73f7dd5348e0Tue, 17 Dec 2019 18:28:40 GMT\"0x8D7831EF08C67D9\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "x-ms-client-request-id" : "343d2a9c-2e28-46fd-a1d2-204b20c8b4b4", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobputpagefromurl09127476aa73f7dd5348e0?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0fea8f44-bd91-4935-b399-9acd4a3e5640" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d9782-901e-002b-6007-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:40 GMT", + "x-ms-client-request-id" : "0fea8f44-bd91-4935-b399-9acd4a3e5640" + }, + "Exception" : null + } ], + "variables" : [ "jtcpageblobputpagefromurl09127476aa73f7dd5348e0", "javablobpageblobputpagefromurl1401098968eb4ccce84", "javablobpageblobputpagefromurl25121296b654cd29774", "javablobpageblobputpagefromurl3131966f9bece146074", "javablobpageblobputpagefromurl417079223e1a76499c4", "javablobpageblobputpagefromurl53041451efa3ee4e614", "c9e0a0a3-bf94-4a48-91c7-a6da4ffae6f9" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobresize.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobresize.json new file mode 100644 index 0000000000000..759c03bb6e38e --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestpageblobresize.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobresize0cpkntestpageblobresizea4f570317f3318a?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "58f11d11-355a-4902-a9bf-d3f998871b2f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF19625DB", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d97c3-901e-002b-1b07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "58f11d11-355a-4902-a9bf-d3f998871b2f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobresize0cpkntestpageblobresizea4f570317f3318a/javablobpageblobresize4cpkntestpageblobresizea4f06718b3627", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf93561a-54b4-4ad9-9f77-9cf435b9d0c1", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF1A3151F", + "Content-Length" : "0", + "x-ms-request-id" : "522d97ca-901e-002b-1f07-b512f7000000", + "x-ms-client-request-id" : "cf93561a-54b4-4ad9-9f77-9cf435b9d0c1", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobresize0cpkntestpageblobresizea4f570317f3318a/javablobpageblobresize2cpkntestpageblobresizea4f7272392fb2", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e6765c7f-a1c6-4c82-867b-fa279e587a50" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF1AFE349", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d97d0-901e-002b-2507-b512f7000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "e6765c7f-a1c6-4c82-867b-fa279e587a50", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobresize0cpkntestpageblobresizea4f570317f3318a/javablobpageblobresize2cpkntestpageblobresizea4f7272392fb2?comp=properties", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a4b5b48f-b9d4-4a44-b2f6-105a43389726" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF1BC65FE", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d97d4-901e-002b-2907-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:41 GMT", + "x-ms-client-request-id" : "a4b5b48f-b9d4-4a44-b2f6-105a43389726" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcpageblobresize&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "131e2415-b298-4f53-8fea-ecd79e4190bb" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d97d9-901e-002b-2e07-b512f7000000", + "Body" : "jtcpageblobresizejtcpageblobresize0cpkntestpageblobresizea4f570317f3318aTue, 17 Dec 2019 18:28:42 GMT\"0x8D7831EF19625DB\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "x-ms-client-request-id" : "131e2415-b298-4f53-8fea-ecd79e4190bb", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcpageblobresize0cpkntestpageblobresizea4f570317f3318a?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c992a82f-1b01-44b8-9400-a5a6fd445ef4" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d97dc-901e-002b-3107-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:42 GMT", + "x-ms-client-request-id" : "c992a82f-1b01-44b8-9400-a5a6fd445ef4" + }, + "Exception" : null + } ], + "variables" : [ "jtcpageblobresize0cpkntestpageblobresizea4f570317f3318a", "javablobpageblobresize1cpkntestpageblobresizea4f285267ad67", "javablobpageblobresize2cpkntestpageblobresizea4f7272392fb2", "javablobpageblobresize3cpkntestpageblobresizea4f468432c9bd", "javablobpageblobresize4cpkntestpageblobresizea4f06718b3627" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestserviceclientbuildercheck.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestserviceclientbuildercheck.json new file mode 100644 index 0000000000000..427847013a71d --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/CPKNTestserviceclientbuildercheck.json @@ -0,0 +1,91 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcserviceclientbuildercheck00319009e8130d356d47?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d939461-f581-459d-a153-a34380d4c880" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7831EF2C1CC92", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "522d982c-901e-002b-7d07-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "7d939461-f581-459d-a153-a34380d4c880" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcserviceclientbuildercheck00319009e8130d356d47/javablobserviceclientbuildercheck492901a0f67fcdf5bf", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fde5e1aa-38ad-4c95-801e-44fb0c2920d4", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "6RYQPwaVsyQ=", + "Last-Modified" : "Tue, 17 Dec 2019 18:28:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", + "ETag" : "0x8D7831EF2CF85AE", + "Content-Length" : "0", + "x-ms-request-id" : "522d9830-901e-002b-8007-b512f7000000", + "x-ms-client-request-id" : "fde5e1aa-38ad-4c95-801e-44fb0c2920d4", + "x-ms-encryption-scope" : "testscope1" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcserviceclientbuildercheck&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bea3841e-cdec-43dc-9a3c-2a163ed19931" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "522d9835-901e-002b-0407-b512f7000000", + "Body" : "jtcserviceclientbuildercheckjtcserviceclientbuildercheck00319009e8130d356d47Tue, 17 Dec 2019 18:28:44 GMT\"0x8D7831EF2C1CC92\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "bea3841e-cdec-43dc-9a3c-2a163ed19931", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcserviceclientbuildercheck00319009e8130d356d47?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a897031f-783c-4f25-8c51-38734a40ee17" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "522d983d-901e-002b-0907-b512f7000000", + "Date" : "Tue, 17 Dec 2019 18:28:43 GMT", + "x-ms-client-request-id" : "a897031f-783c-4f25-8c51-38734a40ee17" + }, + "Exception" : null + } ], + "variables" : [ "jtcserviceclientbuildercheck00319009e8130d356d47", "javablobserviceclientbuildercheck146488f4523ec01d11", "javablobserviceclientbuildercheck2136090d66e1f922b6", "javablobserviceclientbuildercheck391412ecf37d55e320", "javablobserviceclientbuildercheck492901a0f67fcdf5bf" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/PageBlobAPITestgetpagerangesdiffprevsnapshoturl.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/PageBlobAPITestgetpagerangesdiffprevsnapshoturl.json new file mode 100644 index 0000000000000..fa1d183d8db15 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/PageBlobAPITestgetpagerangesdiffprevsnapshoturl.json @@ -0,0 +1,249 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl0223651c9abf9b108?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a8570305-02f6-4fcc-92d8-c428c9ba75b0" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D78337BE5DCF10", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:13 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d6135911-501e-0046-7920-b5a6bc000000", + "Date" : "Tue, 17 Dec 2019 21:26:13 GMT", + "x-ms-client-request-id" : "a8570305-02f6-4fcc-92d8-c428c9ba75b0" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl0223651c9abf9b108/javablobgetpagerangesdiffprevsnapshoturl1291792e0d33ed", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7952a0d-94e7-4131-b677-ab97f673d870" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D78337BE887126", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:13 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d6135929-501e-0046-0a20-b5a6bc000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 21:26:13 GMT", + "x-ms-client-request-id" : "b7952a0d-94e7-4131-b677-ab97f673d870" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://md-58xxscnapsn4prde16j.blob.preprod.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl260553225adee536d?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e56f2054-bb4e-4e41-8031-4f270c546f49" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D78337BECA6660", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:14 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "eb57a8ae-e01e-0003-1520-b562a6000000", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "x-ms-client-request-id" : "e56f2054-bb4e-4e41-8031-4f270c546f49" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://md-58xxscnapsn4prde16j.blob.preprod.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl260553225adee536d/javablobgetpagerangesdiffprevsnapshoturl352180386390ad", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b6e446b6-9137-41b0-a365-7a006d8a8377" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D78337BED40B78", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:14 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "x-ms-request-id" : "eb57a8af-e01e-0003-1620-b562a6000000", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "x-ms-client-request-id" : "b6e446b6-9137-41b0-a365-7a006d8a8377" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://md-58xxscnapsn4prde16j.blob.preprod.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl260553225adee536d/javablobgetpagerangesdiffprevsnapshoturl352180386390ad?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "10b80695-6a96-49c4-b213-0bfdf97bfa8f", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "3Ki3Uw70f24=", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:14 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "ETag" : "0x8D78337BEE3C5C4", + "Content-Length" : "0", + "x-ms-request-id" : "eb57a8b0-e01e-0003-1720-b562a6000000", + "x-ms-client-request-id" : "10b80695-6a96-49c4-b213-0bfdf97bfa8f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://md-58xxscnapsn4prde16j.blob.preprod.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl260553225adee536d/javablobgetpagerangesdiffprevsnapshoturl352180386390ad?comp=snapshot", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0542fdcc-b529-4916-85c6-ce4d3272af3e" + }, + "Response" : { + "x-ms-snapshot" : "2019-12-17T21:26:14.6183470Z", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D78337BEE3C5C4", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:14 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "false", + "x-ms-request-id" : "eb57a8b4-e01e-0003-1920-b562a6000000", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "x-ms-client-request-id" : "0542fdcc-b529-4916-85c6-ce4d3272af3e" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://md-58xxscnapsn4prde16j.blob.preprod.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl260553225adee536d/javablobgetpagerangesdiffprevsnapshoturl352180386390ad?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1f85df6f-c566-4f2a-aaf6-0db4b0fc63f9", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "/qt+htgZ1pw=", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:14 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "ETag" : "0x8D78337BF01B37A", + "Content-Length" : "0", + "x-ms-request-id" : "eb57a8b5-e01e-0003-1a20-b562a6000000", + "x-ms-client-request-id" : "1f85df6f-c566-4f2a-aaf6-0db4b0fc63f9" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://md-58xxscnapsn4prde16j.blob.preprod.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl260553225adee536d/javablobgetpagerangesdiffprevsnapshoturl352180386390ad?comp=page", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d1bba677-812e-45e5-8887-09f7c94fc0f0" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D78337BF0AB5CA", + "x-ms-blob-sequence-number" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:14 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "eb57a8b6-e01e-0003-1b20-b562a6000000", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "x-ms-client-request-id" : "d1bba677-812e-45e5-8887-09f7c94fc0f0" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://md-58xxscnapsn4prde16j.blob.preprod.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl260553225adee536d/javablobgetpagerangesdiffprevsnapshoturl352180386390ad?comp=pagelist", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8ef808f2-b4c6-411f-a352-373897d16563" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-blob-content-length" : "1024", + "Last-Modified" : "Tue, 17 Dec 2019 21:26:14 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "ETag" : "0x8D78337BF0AB5CA", + "x-ms-request-id" : "eb57a8b7-e01e-0003-1c20-b562a6000000", + "Body" : "\n05115121023", + "x-ms-client-request-id" : "8ef808f2-b4c6-411f-a352-373897d16563", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcgetpagerangesdiffprevsnapshoturl&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cc35466c-1dae-4167-a716-7262e3b5feb5" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "d613595e-501e-0046-3b20-b5a6bc000000", + "Body" : "jtcgetpagerangesdiffprevsnapshoturljtcgetpagerangesdiffprevsnapshoturl0223651c9abf9b108Tue, 17 Dec 2019 21:26:13 GMT\"0x8D78337BE5DCF10\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "x-ms-client-request-id" : "cc35466c-1dae-4167-a716-7262e3b5feb5", + "Content-Type" : "application/xml" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcgetpagerangesdiffprevsnapshoturl0223651c9abf9b108?restype=container", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "13efe58f-30fd-44a9-a835-10e41d531aac" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "d613596b-501e-0046-4720-b5a6bc000000", + "Date" : "Tue, 17 Dec 2019 21:26:14 GMT", + "x-ms-client-request-id" : "13efe58f-30fd-44a9-a835-10e41d531aac" + }, + "Exception" : null + } ], + "variables" : [ "jtcgetpagerangesdiffprevsnapshoturl0223651c9abf9b108", "javablobgetpagerangesdiffprevsnapshoturl1291792e0d33ed", "jtcgetpagerangesdiffprevsnapshoturl260553225adee536d", "javablobgetpagerangesdiffprevsnapshoturl352180386390ad", "2ee06e9f-ea6b-4260-b09d-a5bd117e4ccb", "1133a0f3-ab3a-49ae-bd3b-45aefcaec0ce" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkaccountsastokenonendpoint.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkaccountsastokenonendpoint.json index 8b56a1e30b993..8ac4e5ec1f5b4 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkaccountsastokenonendpoint.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkaccountsastokenonendpoint.json @@ -1,157 +1,157 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://gapradev.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint050228f98ad1?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint006473f3ae07?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "925672fa-f516-4c17-906b-a6835276df64" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b2871910-d415-4292-9eba-669b60f68645" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D773836B4E450E", - "Last-Modified" : "Wed, 27 Nov 2019 21:47:37 GMT", + "ETag" : "0x8D78A5AF66D88E3", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0776e54f-901e-0014-666c-a5da54000000", - "Date" : "Wed, 27 Nov 2019 21:47:36 GMT", - "x-ms-client-request-id" : "925672fa-f516-4c17-906b-a6835276df64" + "x-ms-request-id" : "af5f4983-201e-003e-3243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "b2871910-d415-4292-9eba-669b60f68645" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint1543876bb344?restype=container&sv=2019-02-02&se=2019-11-28T21%3A47%3A37Z&sp=rc&sig=REDACTED&ss=b&srt=sco", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint157476256b3a?restype=container&sv=2019-07-07&se=2019-12-27T23%3A25%3A58Z&sp=rc&sig=REDACTED&ss=b&srt=sco", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "35417c17-ad75-4110-9555-03252c4b0b6d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c8081296-7bdf-4ad9-b6b6-92cbb1747cea" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D773836B6AAD48", - "Last-Modified" : "Wed, 27 Nov 2019 21:47:37 GMT", + "ETag" : "0x8D78A5AF67A8135", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0776e552-901e-0014-676c-a5da54000000", - "Date" : "Wed, 27 Nov 2019 21:47:36 GMT", - "x-ms-client-request-id" : "35417c17-ad75-4110-9555-03252c4b0b6d" + "x-ms-request-id" : "af5f498a-201e-003e-3843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "c8081296-7bdf-4ad9-b6b6-92cbb1747cea" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://gapradev.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint1543876bb344?restype=container&sv=2019-02-02&se=2019-11-28T21%3A47%3A37Z&sp=rc&sig=REDACTED&ss=b&srt=sco", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint157476256b3a?restype=container&sv=2019-07-07&se=2019-12-27T23%3A25%3A58Z&sp=rc&sig=REDACTED&ss=b&srt=sco", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4e97d86d-be22-4bfb-ae2a-13fef784350c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "443a6f80-52bf-4ffd-aadb-fcc484a43de1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", "x-ms-deny-encryption-scope-override" : "false", - "Last-Modified" : "Wed, 27 Nov 2019 21:47:37 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 27 Nov 2019 21:47:36 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", "x-ms-has-legal-hold" : "false", "x-ms-default-encryption-scope" : "$account-encryption-key", - "ETag" : "0x8D773836B6AAD48", + "ETag" : "0x8D78A5AF67A8135", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "0776e555-901e-0014-696c-a5da54000000", - "x-ms-client-request-id" : "4e97d86d-be22-4bfb-ae2a-13fef784350c" + "x-ms-request-id" : "af5f498f-201e-003e-3c43-bc0544000000", + "x-ms-client-request-id" : "443a6f80-52bf-4ffd-aadb-fcc484a43de1" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint1543876bb344/javablobaccountsasnetworkaccountsastokenonendpoint229626e91", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint157476256b3a/javablobaccountsasnetworkaccountsastokenonendpoint209033bb2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5f5279c7-652f-4a2d-8439-3fe87fd07f29", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "48a5e6e4-c9bb-4c1a-95d0-976b7b00d3a4", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "rbcXQ38oC1E=", - "Last-Modified" : "Wed, 27 Nov 2019 21:47:37 GMT", + "x-ms-content-crc64" : "agebAe6YKjU=", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:58 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 27 Nov 2019 21:47:37 GMT", - "Content-MD5" : "y1n7ncfEwoX0QRYmWDZmzg==", - "ETag" : "0x8D773836B945C66", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "Content-MD5" : "5EsThXqyQIGh1Xi0rirsjg==", + "ETag" : "0x8D78A5AF69F5D30", "Content-Length" : "0", - "x-ms-request-id" : "0776e556-901e-0014-6a6c-a5da54000000", - "x-ms-client-request-id" : "5f5279c7-652f-4a2d-8439-3fe87fd07f29" + "x-ms-request-id" : "af5f4994-201e-003e-4143-bc0544000000", + "x-ms-client-request-id" : "48a5e6e4-c9bb-4c1a-95d0-976b7b00d3a4" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://gapradev.blob.core.windows.net?prefix=jtcaccountsasnetworkaccountsastokenonendpoint&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworkaccountsastokenonendpoint&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5972c394-80b6-4ddd-954d-b61ccd74957a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "95782f79-84c3-4b87-804e-5bee4db11aa1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0776e558-901e-0014-6c6c-a5da54000000", - "Body" : "jtcaccountsasnetworkaccountsastokenonendpointjtcaccountsasnetworkaccountsastokenonendpoint050228f98ad1Wed, 27 Nov 2019 21:47:37 GMT\"0x8D773836B4E450E\"unlockedavailable$account-encryption-keyfalsefalsefalsejtcaccountsasnetworkaccountsastokenonendpoint1543876bb344Wed, 27 Nov 2019 21:47:37 GMT\"0x8D773836B6AAD48\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Wed, 27 Nov 2019 21:47:37 GMT", - "x-ms-client-request-id" : "5972c394-80b6-4ddd-954d-b61ccd74957a", + "x-ms-request-id" : "af5f499a-201e-003e-4743-bc0544000000", + "Body" : "jtcaccountsasnetworkaccountsastokenonendpointjtcaccountsasnetworkaccountsastokenonendpoint006473f3ae07Thu, 26 Dec 2019 23:25:58 GMT\"0x8D78A5AF66D88E3\"unlockedavailable$account-encryption-keyfalsefalsefalsejtcaccountsasnetworkaccountsastokenonendpoint157476256b3aThu, 26 Dec 2019 23:25:58 GMT\"0x8D78A5AF67A8135\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "95782f79-84c3-4b87-804e-5bee4db11aa1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://gapradev.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint050228f98ad1?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint006473f3ae07?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b55b2e4b-e952-44c2-af44-2831f03bdb65" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f102b9dc-b951-4195-a230-d56268d4d580" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "0776e55c-901e-0014-6f6c-a5da54000000", - "Date" : "Wed, 27 Nov 2019 21:47:37 GMT", - "x-ms-client-request-id" : "b55b2e4b-e952-44c2-af44-2831f03bdb65" + "x-ms-request-id" : "af5f499f-201e-003e-4c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "f102b9dc-b951-4195-a230-d56268d4d580" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://gapradev.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint1543876bb344?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkaccountsastokenonendpoint157476256b3a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d896db14-3c6a-490a-85a0-1d4cf5ba38d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f9f88a44-6dc7-4871-932b-fe37f6a5223a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "0776e55d-901e-0014-706c-a5da54000000", - "Date" : "Wed, 27 Nov 2019 21:47:37 GMT", - "x-ms-client-request-id" : "d896db14-3c6a-490a-85a0-1d4cf5ba38d8" + "x-ms-request-id" : "af5f49a4-201e-003e-5143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "f9f88a44-6dc7-4871-932b-fe37f6a5223a" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworkaccountsastokenonendpoint050228f98ad1", "2019-11-27T21:47:37.507880300Z", "jtcaccountsasnetworkaccountsastokenonendpoint1543876bb344", "javablobaccountsasnetworkaccountsastokenonendpoint229626e91", "7ed715c3-c2ea-49d9-9f59-32d821b579a0" ] + "variables" : [ "jtcaccountsasnetworkaccountsastokenonendpoint006473f3ae07", "2019-12-26T23:25:58.270613300Z", "jtcaccountsasnetworkaccountsastokenonendpoint157476256b3a", "javablobaccountsasnetworkaccountsastokenonendpoint209033bb2", "1f865d89-3c11-4357-9cbb-e859f439c004" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkcreatecontainerfails.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkcreatecontainerfails.json index 1bfad13376ac1..d83472406cc59 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkcreatecontainerfails.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkcreatecontainerfails.json @@ -1,87 +1,87 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails020672fa7f95ea?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails066345c0297b1f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "51874248-da55-4ec4-97df-348c50bf86b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "49164994-cbb2-4e41-8b24-64acb4b027a4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE213E0089", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF5FF394D", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074aaa6-501e-002e-4196-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "51874248-da55-4ec4-97df-348c50bf86b5" + "x-ms-request-id" : "af5f4960-201e-003e-1243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "49164994-cbb2-4e41-8b24-64acb4b027a4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails1936594d1c6bcb?restype=container&sv=2019-02-02&ss=b&srt=sco&se=2019-10-16T20%3A27%3A42Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails103632bf0176d2?restype=container&sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A25%3A57Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "37e08c75-bc4c-4654-878b-55b46e5e3e55" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af934ae1-69c5-43d2-b038-dcb6898329cb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "69fa3758-c01e-012f-5296-83f719000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:69fa3758-c01e-012f-5296-83f719000000\nTime:2019-10-15T20:27:42.0453027Z", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "37e08c75-bc4c-4654-878b-55b46e5e3e55", + "x-ms-request-id" : "af5f4965-201e-003e-1643-bc0544000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:af5f4965-201e-003e-1643-bc0544000000\nTime:2019-12-26T23:25:57.5837847Z", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "af934ae1-69c5-43d2-b038-dcb6898329cb", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasnetworkcreatecontainerfails&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworkcreatecontainerfails&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1cd82c67-11df-40a8-818c-286f4ef6138d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3bcbeb41-de1c-4e42-a29a-ab44ed633f0a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074aabc-501e-002e-5596-83b0b1000000", - "Body" : "jtcaccountsasnetworkcreatecontainerfailsjtcaccountsasnetworkcreatecontainerfails020672fa7f95eaTue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE213E0089\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "1cd82c67-11df-40a8-818c-286f4ef6138d", + "x-ms-request-id" : "af5f4969-201e-003e-1a43-bc0544000000", + "Body" : "jtcaccountsasnetworkcreatecontainerfailsjtcaccountsasnetworkcreatecontainerfails066345c0297b1fThu, 26 Dec 2019 23:25:57 GMT\"0x8D78A5AF5FF394D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "3bcbeb41-de1c-4e42-a29a-ab44ed633f0a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails020672fa7f95ea?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails066345c0297b1f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d3ddeaef-542f-403c-85fd-50496424390d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "90555fe2-631b-4645-a0d3-8fd5d418c9b2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa37a5-c01e-012f-1596-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "d3ddeaef-542f-403c-85fd-50496424390d" + "x-ms-request-id" : "af5f496c-201e-003e-1d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "90555fe2-631b-4645-a0d3-8fd5d418c9b2" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworkcreatecontainerfails020672fa7f95ea", "2019-10-15T20:27:42.045375600Z", "jtcaccountsasnetworkcreatecontainerfails1936594d1c6bcb" ] + "variables" : [ "jtcaccountsasnetworkcreatecontainerfails066345c0297b1f", "2019-12-26T23:25:57.544360600Z", "jtcaccountsasnetworkcreatecontainerfails103632bf0176d2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkcreatecontainersucceeds.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkcreatecontainersucceeds.json index 75d5dd99d30c1..77892dfc1756a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkcreatecontainersucceeds.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworkcreatecontainersucceeds.json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds0442876e8e2a1?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds02467300c973e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4eb90515-b579-4a97-99e0-aff31a018cbd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e0b6f68b-fb0a-4230-aa9a-f7dab1e4eb7d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE21544D30", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF62F9582", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074aad7-501e-002e-6d96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "4eb90515-b579-4a97-99e0-aff31a018cbd" + "x-ms-request-id" : "af5f496e-201e-003e-1f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "e0b6f68b-fb0a-4230-aa9a-f7dab1e4eb7d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds1551090dd9b5d?restype=container&sv=2019-02-02&ss=b&srt=sco&se=2019-10-16T20%3A27%3A42Z&sp=rc&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds119252acd4157?restype=container&sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A25%3A57Z&sp=rc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "836798ea-0ffb-4440-bcbc-9414bbca9442" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "81a73349-f794-4494-99b9-f4c174515f82" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE215A377C", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF63C6657", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa37fe-c01e-012f-6796-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "836798ea-0ffb-4440-bcbc-9414bbca9442" + "x-ms-request-id" : "af5f4973-201e-003e-2343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "81a73349-f794-4494-99b9-f4c174515f82" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasnetworkcreatecontainersucceeds&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworkcreatecontainersucceeds&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cbf82d1a-50ca-4f2a-93ad-49614804f58c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "53754c55-4b7c-4ebd-b9cb-86c7acd4e31f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074aaf5-501e-002e-0496-83b0b1000000", - "Body" : "jtcaccountsasnetworkcreatecontainersucceedsjtcaccountsasnetworkcreatecontainersucceeds0442876e8e2a1Tue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE21544D30\"unlockedavailable$account-encryption-keyfalsefalsefalsejtcaccountsasnetworkcreatecontainersucceeds1551090dd9b5dTue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE215A377C\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "cbf82d1a-50ca-4f2a-93ad-49614804f58c", + "x-ms-request-id" : "af5f4976-201e-003e-2543-bc0544000000", + "Body" : "jtcaccountsasnetworkcreatecontainersucceedsjtcaccountsasnetworkcreatecontainersucceeds02467300c973eThu, 26 Dec 2019 23:25:57 GMT\"0x8D78A5AF62F9582\"unlockedavailable$account-encryption-keyfalsefalsefalsejtcaccountsasnetworkcreatecontainersucceeds119252acd4157Thu, 26 Dec 2019 23:25:57 GMT\"0x8D78A5AF63C6657\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "53754c55-4b7c-4ebd-b9cb-86c7acd4e31f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds0442876e8e2a1?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds02467300c973e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ef1517e5-9932-4095-86dc-29f0d8b84614" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d4a71ea-11fa-4889-8d63-9d6b907633dd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa383e-c01e-012f-2396-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "ef1517e5-9932-4095-86dc-29f0d8b84614" + "x-ms-request-id" : "af5f4979-201e-003e-2843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "8d4a71ea-11fa-4889-8d63-9d6b907633dd" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds1551090dd9b5d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds119252acd4157?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c6cafb1c-6b20-428e-bd37-abc931a75bb3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e860b191-e1c0-48b0-9a6b-12f0dcf5aff5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074ab15-501e-002e-1f96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "c6cafb1c-6b20-428e-bd37-abc931a75bb3" + "x-ms-request-id" : "af5f497c-201e-003e-2b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "e860b191-e1c0-48b0-9a6b-12f0dcf5aff5" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworkcreatecontainersucceeds0442876e8e2a1", "2019-10-15T20:27:42.189536900Z", "jtcaccountsasnetworkcreatecontainersucceeds1551090dd9b5d" ] + "variables" : [ "jtcaccountsasnetworkcreatecontainersucceeds02467300c973e", "2019-12-26T23:25:57.862603200Z", "jtcaccountsasnetworkcreatecontainersucceeds119252acd4157" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworktestblobdeletefails.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworktestblobdeletefails.json index 72afb35e53ac6..98ae7459807f1 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworktestblobdeletefails.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworktestblobdeletefails.json @@ -1,112 +1,112 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefails0055077e9360287?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefails02991420d82e028?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5c3b2de7-d712-429e-8278-2a9224994b17" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8f1fcdaa-3d1a-46ba-8942-7753f5360404" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE21220285", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "ETag" : "0x8D78A5AF5C1B882", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa366a-c01e-012f-7196-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "5c3b2de7-d712-429e-8278-2a9224994b17" + "x-ms-request-id" : "af5f494f-201e-003e-0243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", + "x-ms-client-request-id" : "8f1fcdaa-3d1a-46ba-8942-7753f5360404" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefails0055077e9360287/javablobaccountsasnetworktestblobdeletefails1696382ea8f1", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefails02991420d82e028/javablobaccountsasnetworktestblobdeletefails15240410fbbd", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "17ae82c0-fa09-4a52-a3c9-65a04054c233", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "797016c0-6e67-4039-b0c9-e5f178521ca5", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:57 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D751AE212890CA", + "ETag" : "0x8D78A5AF5CE9DCA", "Content-Length" : "0", - "x-ms-request-id" : "8074aa6f-501e-002e-1496-83b0b1000000", - "x-ms-client-request-id" : "17ae82c0-fa09-4a52-a3c9-65a04054c233" + "x-ms-request-id" : "af5f4954-201e-003e-0643-bc0544000000", + "x-ms-client-request-id" : "797016c0-6e67-4039-b0c9-e5f178521ca5" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefails0055077e9360287/javablobaccountsasnetworktestblobdeletefails1696382ea8f1?sv=2019-02-02&ss=b&srt=sco&se=2019-10-16T20%3A27%3A41Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefails02991420d82e028/javablobaccountsasnetworktestblobdeletefails15240410fbbd?sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A25%3A57Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0834039d-0f3e-40fd-8af5-a5c224025db8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d780f581-4268-49ca-8322-7cf370653b3f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "69fa36c4-c01e-012f-4996-83f719000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:69fa36c4-c01e-012f-4996-83f719000000\nTime:2019-10-15T20:27:41.9091701Z", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "0834039d-0f3e-40fd-8af5-a5c224025db8", + "x-ms-request-id" : "af5f4956-201e-003e-0843-bc0544000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:af5f4956-201e-003e-0843-bc0544000000\nTime:2019-12-26T23:25:57.2677762Z", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "d780f581-4268-49ca-8322-7cf370653b3f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasnetworktestblobdeletefails&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworktestblobdeletefails&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "da8cc38b-cc08-40d5-9b42-87e3cb4da787" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b1ac13d5-9d20-483d-979e-af6743b16b1a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074aa8e-501e-002e-2b96-83b0b1000000", - "Body" : "jtcaccountsasnetworktestblobdeletefailsjtcaccountsasnetworktestblobdeletefails0055077e9360287Tue, 15 Oct 2019 20:27:41 GMT\"0x8D751AE21220285\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "da8cc38b-cc08-40d5-9b42-87e3cb4da787", + "x-ms-request-id" : "af5f4957-201e-003e-0943-bc0544000000", + "Body" : "jtcaccountsasnetworktestblobdeletefailsjtcaccountsasnetworktestblobdeletefails02991420d82e028Thu, 26 Dec 2019 23:25:57 GMT\"0x8D78A5AF5C1B882\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "b1ac13d5-9d20-483d-979e-af6743b16b1a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefails0055077e9360287?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefails02991420d82e028?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9ca4f986-d54a-4983-bfbd-67dbab1a9ed5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6724dea8-2c13-4643-a876-014a41a22b89" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3705-c01e-012f-0896-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "9ca4f986-d54a-4983-bfbd-67dbab1a9ed5" + "x-ms-request-id" : "af5f495c-201e-003e-0e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:57 GMT", + "x-ms-client-request-id" : "6724dea8-2c13-4643-a876-014a41a22b89" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworktestblobdeletefails0055077e9360287", "javablobaccountsasnetworktestblobdeletefails1696382ea8f1", "2019-10-15T20:27:41.905450300Z" ] + "variables" : [ "jtcaccountsasnetworktestblobdeletefails02991420d82e028", "javablobaccountsasnetworktestblobdeletefails15240410fbbd", "2019-12-26T23:25:57.227500500Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworktestblobread.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworktestblobread.json index 9793898a8db3d..1b84414bb4ced 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworktestblobread.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasnetworktestblobread.json @@ -1,120 +1,120 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworktestblobread077447df7812c97f21?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobread02820172335a6828e5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1d4b7d4d-7aad-4135-b544-02a550621454" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "89a3d4a0-ff8c-494a-85dd-b9187de4b7d9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2101FA2A", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "ETag" : "0x8D78A5AF5826557", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074aa36-501e-002e-6696-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "1d4b7d4d-7aad-4135-b544-02a550621454" + "x-ms-request-id" : "af5f493b-201e-003e-7043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", + "x-ms-client-request-id" : "89a3d4a0-ff8c-494a-85dd-b9187de4b7d9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworktestblobread077447df7812c97f21/javablobaccountsasnetworktestblobread1037025a61b12353", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobread02820172335a6828e5/javablobaccountsasnetworktestblobread1688547694e8426b", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a69e87af-d01a-4e5e-8526-60dd29ab16de", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3138b154-d154-4ac6-9b00-62b19552ee14", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:56 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D751AE21082F93", + "ETag" : "0x8D78A5AF58EFC8D", "Content-Length" : "0", - "x-ms-request-id" : "69fa3589-c01e-012f-1f96-83f719000000", - "x-ms-client-request-id" : "a69e87af-d01a-4e5e-8526-60dd29ab16de" + "x-ms-request-id" : "af5f4940-201e-003e-7443-bc0544000000", + "x-ms-client-request-id" : "3138b154-d154-4ac6-9b00-62b19552ee14" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworktestblobread077447df7812c97f21/javablobaccountsasnetworktestblobread1037025a61b12353?sv=2019-02-02&ss=b&srt=sco&se=2019-10-16T20%3A27%3A41Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobread02820172335a6828e5/javablobaccountsasnetworktestblobread1688547694e8426b?sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A25%3A56Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fe87d3ce-5e43-4f91-9921-c91ee3a7a60b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8389376f-f8af-4746-a5de-e64be7c15d49" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D751AE21082F93", - "x-ms-creation-time" : "Tue, 15 Oct 2019 20:27:41 GMT", + "ETag" : "0x8D78A5AF58EFC8D", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:56 GMT", "Content-Length" : "4", - "x-ms-request-id" : "8074aa49-501e-002e-7696-83b0b1000000", + "x-ms-request-id" : "af5f4943-201e-003e-7743-bc0544000000", "Body" : "[116, 101, 115, 116]", - "x-ms-client-request-id" : "fe87d3ce-5e43-4f91-9921-c91ee3a7a60b", + "x-ms-client-request-id" : "8389376f-f8af-4746-a5de-e64be7c15d49", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasnetworktestblobread&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworktestblobread&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8ce6719c-8835-4b3f-b324-fa99e73aafd2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1477e788-3a55-4547-83d9-ed9a2a0f2ca6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa360b-c01e-012f-1496-83f719000000", - "Body" : "jtcaccountsasnetworktestblobreadjtcaccountsasnetworktestblobread077447df7812c97f21Tue, 15 Oct 2019 20:27:41 GMT\"0x8D751AE2101FA2A\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "8ce6719c-8835-4b3f-b324-fa99e73aafd2", + "x-ms-request-id" : "af5f4946-201e-003e-7a43-bc0544000000", + "Body" : "jtcaccountsasnetworktestblobreadjtcaccountsasnetworktestblobread02820172335a6828e5Thu, 26 Dec 2019 23:25:56 GMT\"0x8D78A5AF5826557\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", + "x-ms-client-request-id" : "1477e788-3a55-4547-83d9-ed9a2a0f2ca6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasnetworktestblobread077447df7812c97f21?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobread02820172335a6828e5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "86023e73-b506-4e27-9ed6-c2e917a20298" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d87859a5-28e4-4252-93ba-fc758d51efc4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074aa5b-501e-002e-0496-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "86023e73-b506-4e27-9ed6-c2e917a20298" + "x-ms-request-id" : "af5f494c-201e-003e-7f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", + "x-ms-client-request-id" : "d87859a5-28e4-4252-93ba-fc758d51efc4" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworktestblobread077447df7812c97f21", "javablobaccountsasnetworktestblobread1037025a61b12353", "2019-10-15T20:27:41.700052600Z" ] + "variables" : [ "jtcaccountsasnetworktestblobread02820172335a6828e5", "javablobaccountsasnetworktestblobread1688547694e8426b", "2019-12-26T23:25:56.809247900Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[0].json index cffebdaed2258..44408db58acbd 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse074152354369c324df4a?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse03129703826787dabf44?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f82d21c7-b736-41cd-815e-a46e81f4c368" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47415c9e-82db-470c-82eb-81fab5c57829" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE28132005", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:53 GMT", + "ETag" : "0x8D78A5B03F4AD5F", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074ba48-501e-002e-7e97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "f82d21c7-b736-41cd-815e-a46e81f4c368" + "x-ms-request-id" : "af5f4eda-201e-003e-7d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:20 GMT", + "x-ms-client-request-id" : "47415c9e-82db-470c-82eb-81fab5c57829" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8a86d245-7e0b-424f-9351-cf13bddca663" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5d6a0eed-8ca0-4323-90fb-c46e11b3add2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6515-c01e-012f-2c97-83f719000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse074152354369c324df4aTue, 15 Oct 2019 20:27:53 GMT\"0x8D751AE28132005\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "8a86d245-7e0b-424f-9351-cf13bddca663", + "x-ms-request-id" : "af5f4edd-201e-003e-7f43-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse03129703826787dabf44Thu, 26 Dec 2019 23:26:20 GMT\"0x8D78A5B03F4AD5F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:20 GMT", + "x-ms-client-request-id" : "5d6a0eed-8ca0-4323-90fb-c46e11b3add2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse074152354369c324df4a?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse03129703826787dabf44?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "60e04fb2-c081-4b81-b689-a6c58f373f2e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9608c569-1d50-473d-84cf-9014c8ca409b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074ba6b-501e-002e-1e97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "60e04fb2-c081-4b81-b689-a6c58f373f2e" + "x-ms-request-id" : "af5f4ede-201e-003e-8043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:20 GMT", + "x-ms-client-request-id" : "9608c569-1d50-473d-84cf-9014c8ca409b" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse074152354369c324df4a" ] + "variables" : [ "jtcaccountsaspermissionsparse03129703826787dabf44" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[1].json index 8e79a1f511362..3294f3090e56c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse04897881368813546f40?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse073585e3e6acd3a5464c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8701bd11-db02-4ce5-acc4-bcb839cf0d52" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "818344a5-1bdf-4474-8344-f62f552a7cfe" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE282593A3", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:53 GMT", + "ETag" : "0x8D78A5B0450FDC1", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6568-c01e-012f-7997-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "8701bd11-db02-4ce5-acc4-bcb839cf0d52" + "x-ms-request-id" : "af5f4ee0-201e-003e-0243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "818344a5-1bdf-4474-8344-f62f552a7cfe" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "34c3835f-f8cc-4e4a-8739-1c7c52d72977" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f4039c67-0993-4bc3-9057-f14c18cf3937" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074ba89-501e-002e-3597-83b0b1000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse04897881368813546f40Tue, 15 Oct 2019 20:27:53 GMT\"0x8D751AE282593A3\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "34c3835f-f8cc-4e4a-8739-1c7c52d72977", + "x-ms-request-id" : "af5f4ee9-201e-003e-0943-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse073585e3e6acd3a5464cThu, 26 Dec 2019 23:26:21 GMT\"0x8D78A5B0450FDC1\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "f4039c67-0993-4bc3-9057-f14c18cf3937", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse04897881368813546f40?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse073585e3e6acd3a5464c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eea15946-0341-430b-b76f-6dce92ab4299" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a85d8260-dd8c-471c-bdc3-41d0ef941710" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa65a8-c01e-012f-3297-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "eea15946-0341-430b-b76f-6dce92ab4299" + "x-ms-request-id" : "af5f4eed-201e-003e-0c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "a85d8260-dd8c-471c-bdc3-41d0ef941710" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse04897881368813546f40" ] + "variables" : [ "jtcaccountsaspermissionsparse073585e3e6acd3a5464c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[2].json index d1967d72684a1..4dcbb042d9675 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse061747dfdfd99e1a7b41?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse050573a5ca734c4f924f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6c431e38-f16c-46c6-9fe4-7b91c7158f34" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a5945346-5d8f-4a46-861d-2c87fb1e6042" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2836B667", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:53 GMT", + "ETag" : "0x8D78A5B047D8C5B", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074baa8-501e-002e-5297-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "6c431e38-f16c-46c6-9fe4-7b91c7158f34" + "x-ms-request-id" : "af5f4ef4-201e-003e-1243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "a5945346-5d8f-4a46-861d-2c87fb1e6042" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9f2c16d8-89c6-4353-bf6a-d7b4301e9a04" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "772dd821-c877-4ba1-ade5-acb871ff5aa5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa65ff-c01e-012f-0197-83f719000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse061747dfdfd99e1a7b41Tue, 15 Oct 2019 20:27:53 GMT\"0x8D751AE2836B667\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "9f2c16d8-89c6-4353-bf6a-d7b4301e9a04", + "x-ms-request-id" : "af5f4ef8-201e-003e-1543-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse050573a5ca734c4f924fThu, 26 Dec 2019 23:26:21 GMT\"0x8D78A5B047D8C5B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "772dd821-c877-4ba1-ade5-acb871ff5aa5", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse061747dfdfd99e1a7b41?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse050573a5ca734c4f924f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b48f5149-614b-43dc-915f-1b56970f2ae9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b8d66047-6105-49ec-94c5-f2db504b5b79" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bac6-501e-002e-6a97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "b48f5149-614b-43dc-915f-1b56970f2ae9" + "x-ms-request-id" : "af5f4ef9-201e-003e-1643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "b8d66047-6105-49ec-94c5-f2db504b5b79" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse061747dfdfd99e1a7b41" ] + "variables" : [ "jtcaccountsaspermissionsparse050573a5ca734c4f924f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[3].json index db7799147fcbd..079753e90492b 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse0192478f5b42eb1edd4b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse026030626c4c18a1ca40?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "11095281-80e5-4558-847f-8b683160df00" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "acaaed01-a437-4a4d-92ec-65fd99bb7f12" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE285F9DCE", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:53 GMT", + "ETag" : "0x8D78A5B04B4A024", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa66ad-c01e-012f-2697-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "11095281-80e5-4558-847f-8b683160df00" + "x-ms-request-id" : "af5f4efe-201e-003e-1a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "acaaed01-a437-4a4d-92ec-65fd99bb7f12" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87b40fe4-f74e-4d07-9dc5-b8fac7b25d63" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3cba4a45-cd68-4b29-8de8-e38bbcfebda4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074bafe-501e-002e-1b97-83b0b1000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse0192478f5b42eb1edd4bTue, 15 Oct 2019 20:27:53 GMT\"0x8D751AE285F9DCE\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "87b40fe4-f74e-4d07-9dc5-b8fac7b25d63", + "x-ms-request-id" : "af5f4f04-201e-003e-1f43-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse026030626c4c18a1ca40Thu, 26 Dec 2019 23:26:22 GMT\"0x8D78A5B04B4A024\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "3cba4a45-cd68-4b29-8de8-e38bbcfebda4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse0192478f5b42eb1edd4b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse026030626c4c18a1ca40?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bd65a1ca-3ac7-4fa6-aea2-7f4817197c47" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c9fb65f-202a-417f-b46c-7a9c57afd7a3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa6701-c01e-012f-7297-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "bd65a1ca-3ac7-4fa6-aea2-7f4817197c47" + "x-ms-request-id" : "af5f4f07-201e-003e-2243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "7c9fb65f-202a-417f-b46c-7a9c57afd7a3" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse0192478f5b42eb1edd4b" ] + "variables" : [ "jtcaccountsaspermissionsparse026030626c4c18a1ca40" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[4].json index 7f2757ada6459..89b7c00c5316b 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[4].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse08940634f695e474884c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse091353f071e06a61fa47?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a293e0ef-4a24-4bd7-b2ba-8087977c5b8b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "94ac7a24-2ea2-48fe-8be7-6e023fe4a65a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE28779FDF", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:54 GMT", + "ETag" : "0x8D78A5B04D967BB", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074bb1a-501e-002e-3097-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "a293e0ef-4a24-4bd7-b2ba-8087977c5b8b" + "x-ms-request-id" : "af5f4f0b-201e-003e-2643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:21 GMT", + "x-ms-client-request-id" : "94ac7a24-2ea2-48fe-8be7-6e023fe4a65a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5f6f740a-b48a-4633-af76-47f010405e63" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a44f7e60-fd47-4599-ad39-b03df1de499c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6770-c01e-012f-5897-83f719000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse08940634f695e474884cTue, 15 Oct 2019 20:27:54 GMT\"0x8D751AE28779FDF\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "5f6f740a-b48a-4633-af76-47f010405e63", + "x-ms-request-id" : "af5f4f10-201e-003e-2a43-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse091353f071e06a61fa47Thu, 26 Dec 2019 23:26:22 GMT\"0x8D78A5B04D967BB\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "a44f7e60-fd47-4599-ad39-b03df1de499c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse08940634f695e474884c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse091353f071e06a61fa47?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2340f4dc-8695-4694-b0d5-ec4b515242bf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e84864d9-07b7-4114-8932-08d6b29a2ede" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bb2d-501e-002e-3e97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "2340f4dc-8695-4694-b0d5-ec4b515242bf" + "x-ms-request-id" : "af5f4f11-201e-003e-2b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "e84864d9-07b7-4114-8932-08d6b29a2ede" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse08940634f695e474884c" ] + "variables" : [ "jtcaccountsaspermissionsparse091353f071e06a61fa47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[5].json index 74c4ab15d6366..22cba3e2ae33c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[5].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse040997c91882986b0446?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse00056599c5e1ec975f40?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "01498a01-437b-4311-9e49-767b9e7b01b7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9dd829e7-b0e9-4aa4-98c8-0261b04406c2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE289DA09B", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:54 GMT", + "ETag" : "0x8D78A5B05002824", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa685a-c01e-012f-2597-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "01498a01-437b-4311-9e49-767b9e7b01b7" + "x-ms-request-id" : "af5f4f12-201e-003e-2c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "9dd829e7-b0e9-4aa4-98c8-0261b04406c2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fc857782-670c-40bb-87f3-6b81fcb8cbc4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e527eeb4-fc4f-43cd-93f1-183873d0d268" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074bb88-501e-002e-0697-83b0b1000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse040997c91882986b0446Tue, 15 Oct 2019 20:27:54 GMT\"0x8D751AE289DA09B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "fc857782-670c-40bb-87f3-6b81fcb8cbc4", + "x-ms-request-id" : "af5f4f17-201e-003e-3043-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse00056599c5e1ec975f40Thu, 26 Dec 2019 23:26:22 GMT\"0x8D78A5B05002824\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "e527eeb4-fc4f-43cd-93f1-183873d0d268", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse040997c91882986b0446?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse00056599c5e1ec975f40?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ecd1ee0d-47cf-41b3-b593-1bc0b3b4c9d2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22d3512d-aa17-4385-90ad-6266e3a62797" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa68b7-c01e-012f-7a97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "ecd1ee0d-47cf-41b3-b593-1bc0b3b4c9d2" + "x-ms-request-id" : "af5f4f1a-201e-003e-3343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "22d3512d-aa17-4385-90ad-6266e3a62797" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse040997c91882986b0446" ] + "variables" : [ "jtcaccountsaspermissionsparse00056599c5e1ec975f40" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[6].json index 688693be60389..02a440f1e7a78 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[6].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse084672a01142732fcb49?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse08078874f2f73c547b49?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "349a4ae3-9d50-485b-b479-6501aca96623" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "55ef62f8-c0d9-45b1-bc9a-d8bafdc530d7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE28AE2693", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:54 GMT", + "ETag" : "0x8D78A5B0525D8B0", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074bb9f-501e-002e-1b97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "349a4ae3-9d50-485b-b479-6501aca96623" + "x-ms-request-id" : "af5f4f20-201e-003e-3943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "55ef62f8-c0d9-45b1-bc9a-d8bafdc530d7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "befc70fb-fe71-4ed1-baa5-6130cb4e7a91" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b5c2391-c672-464f-9ba8-2923695312ac" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa68f3-c01e-012f-3197-83f719000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse084672a01142732fcb49Tue, 15 Oct 2019 20:27:54 GMT\"0x8D751AE28AE2693\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "befc70fb-fe71-4ed1-baa5-6130cb4e7a91", + "x-ms-request-id" : "af5f4f27-201e-003e-3f43-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse08078874f2f73c547b49Thu, 26 Dec 2019 23:26:22 GMT\"0x8D78A5B0525D8B0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "6b5c2391-c672-464f-9ba8-2923695312ac", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse084672a01142732fcb49?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse08078874f2f73c547b49?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0f98c4d6-9131-46e4-87db-7b6e15545234" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef6fff57-db0c-4a42-bf5e-03a43db099d7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bbbb-501e-002e-3297-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "0f98c4d6-9131-46e4-87db-7b6e15545234" + "x-ms-request-id" : "af5f4f2e-201e-003e-4643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "ef6fff57-db0c-4a42-bf5e-03a43db099d7" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse084672a01142732fcb49" ] + "variables" : [ "jtcaccountsaspermissionsparse08078874f2f73c547b49" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[7].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[7].json index 6b17a0cfa4a65..76d76a1758409 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[7].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[7].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse07348751421e0614ed4f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse040826b0585add6baa47?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bececf46-4cb0-4060-aff6-f4d8341b7890" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a3ef5c51-6375-460b-85af-01402796cdfe" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE28BF88DE", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:54 GMT", + "ETag" : "0x8D78A5B054A777B", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6940-c01e-012f-7497-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "bececf46-4cb0-4060-aff6-f4d8341b7890" + "x-ms-request-id" : "af5f4f36-201e-003e-4e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "a3ef5c51-6375-460b-85af-01402796cdfe" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0cc1e2a-bb19-41cc-849b-692758a96551" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f1765df2-0af2-4161-8058-b891396eb3d2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074bbd7-501e-002e-4c97-83b0b1000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse07348751421e0614ed4fTue, 15 Oct 2019 20:27:54 GMT\"0x8D751AE28BF88DE\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "c0cc1e2a-bb19-41cc-849b-692758a96551", + "x-ms-request-id" : "af5f4f3d-201e-003e-5443-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse040826b0585add6baa47Thu, 26 Dec 2019 23:26:23 GMT\"0x8D78A5B054A777B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "f1765df2-0af2-4161-8058-b891396eb3d2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse07348751421e0614ed4f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse040826b0585add6baa47?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e677aa79-7b34-4357-99d7-0bcef1a71c68" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a1c3b8af-25e2-4b2f-9d1f-234d11c059ea" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa698d-c01e-012f-3d97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "e677aa79-7b34-4357-99d7-0bcef1a71c68" + "x-ms-request-id" : "af5f4f41-201e-003e-5843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "a1c3b8af-25e2-4b2f-9d1f-234d11c059ea" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse07348751421e0614ed4f" ] + "variables" : [ "jtcaccountsaspermissionsparse040826b0585add6baa47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[8].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[8].json index 80272495cca88..4cb1f23ab4b2d 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[8].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[8].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse046651c125500e2c9443?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse023289a374b25e34374c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "42f861cb-58a3-4ecd-89e5-d0c4154c6f5f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "240d6bae-6a43-480f-b1eb-51510047944a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE28D14795", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:54 GMT", + "ETag" : "0x8D78A5B056F3FF9", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074bbf3-501e-002e-6397-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "42f861cb-58a3-4ecd-89e5-d0c4154c6f5f" + "x-ms-request-id" : "af5f4f48-201e-003e-5f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "240d6bae-6a43-480f-b1eb-51510047944a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7be05a89-fb94-4eca-9e6f-f0e11662c82d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0481cdb4-8e9e-42bf-a4cd-50a1fba184ec" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa69f4-c01e-012f-2197-83f719000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse046651c125500e2c9443Tue, 15 Oct 2019 20:27:54 GMT\"0x8D751AE28D14795\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "7be05a89-fb94-4eca-9e6f-f0e11662c82d", + "x-ms-request-id" : "af5f4f4d-201e-003e-6343-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse023289a374b25e34374cThu, 26 Dec 2019 23:26:23 GMT\"0x8D78A5B056F3FF9\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:22 GMT", + "x-ms-client-request-id" : "0481cdb4-8e9e-42bf-a4cd-50a1fba184ec", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse046651c125500e2c9443?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse023289a374b25e34374c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f23a638-704f-48a0-a817-3ee9df695d21" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1c8e1761-6bde-459f-a5dd-9b037c247707" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bc12-501e-002e-7c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "8f23a638-704f-48a0-a817-3ee9df695d21" + "x-ms-request-id" : "af5f4f51-201e-003e-6743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "1c8e1761-6bde-459f-a5dd-9b037c247707" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse046651c125500e2c9443" ] + "variables" : [ "jtcaccountsaspermissionsparse023289a374b25e34374c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[9].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[9].json index 8525d816d51c0..b3c11f27bd087 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[9].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparse[9].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse059753be3df72c8d704f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse05567016864299564240?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5e20fb5f-de3f-48ea-bfcc-11bfffc84608" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9735cfac-d88b-4d45-b799-f79731987429" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE28E2A9FD", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:54 GMT", + "ETag" : "0x8D78A5B0593DE33", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6a2c-c01e-012f-5797-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "5e20fb5f-de3f-48ea-bfcc-11bfffc84608" + "x-ms-request-id" : "af5f4f57-201e-003e-6d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "9735cfac-d88b-4d45-b799-f79731987429" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ba4b2561-a253-4d94-a563-b20e8c45bd09" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f9807f96-207a-44fd-aacc-ae090994f85c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074bc2b-501e-002e-1397-83b0b1000000", - "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse059753be3df72c8d704fTue, 15 Oct 2019 20:27:54 GMT\"0x8D751AE28E2A9FD\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "ba4b2561-a253-4d94-a563-b20e8c45bd09", + "x-ms-request-id" : "af5f4f60-201e-003e-7443-bc0544000000", + "Body" : "jtcaccountsaspermissionsparsejtcaccountsaspermissionsparse05567016864299564240Thu, 26 Dec 2019 23:26:23 GMT\"0x8D78A5B0593DE33\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "f9807f96-207a-44fd-aacc-ae090994f85c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparse059753be3df72c8d704f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparse05567016864299564240?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c8226038-e6c6-4440-9c83-49f723560336" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3bd4221f-8ffb-4248-943f-741bfdf40a9f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa6a69-c01e-012f-1297-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "c8226038-e6c6-4440-9c83-49f723560336" + "x-ms-request-id" : "af5f4f68-201e-003e-7b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "3bd4221f-8ffb-4248-943f-741bfdf40a9f" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparse059753be3df72c8d704f" ] + "variables" : [ "jtcaccountsaspermissionsparse05567016864299564240" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparseia.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparseia.json index 91b4686a801a3..81a0593b985aa 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparseia.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionsparseia.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparseia048322d8ba1cad5bd44?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparseia0977856699f69b82394?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1189d7f4-a998-4af5-929c-f0aea946d03d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c753d59-a4ba-4271-8803-cbe2a65cd736" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE28F32FED", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:54 GMT", + "ETag" : "0x8D78A5B05B9DD63", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074bc47-501e-002e-2c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "1189d7f4-a998-4af5-929c-f0aea946d03d" + "x-ms-request-id" : "af5f4f71-201e-003e-0443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "2c753d59-a4ba-4271-8803-cbe2a65cd736" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionsparseia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionsparseia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2f05f814-6ec5-452d-a901-c5cd722ae0fe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f6eb2415-2b13-4c62-8600-a604b8e1dc14" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6aa4-c01e-012f-4b97-83f719000000", - "Body" : "jtcaccountsaspermissionsparseiajtcaccountsaspermissionsparseia048322d8ba1cad5bd44Tue, 15 Oct 2019 20:27:54 GMT\"0x8D751AE28F32FED\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "2f05f814-6ec5-452d-a901-c5cd722ae0fe", + "x-ms-request-id" : "af5f4f79-201e-003e-0b43-bc0544000000", + "Body" : "jtcaccountsaspermissionsparseiajtcaccountsaspermissionsparseia0977856699f69b82394Thu, 26 Dec 2019 23:26:23 GMT\"0x8D78A5B05B9DD63\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "f6eb2415-2b13-4c62-8600-a604b8e1dc14", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionsparseia048322d8ba1cad5bd44?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionsparseia0977856699f69b82394?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "df1aef37-b81a-4330-a889-209b48572505" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ba194c7c-7232-4f8d-9e48-48f2994f22a1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bc6a-501e-002e-4b97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "df1aef37-b81a-4330-a889-209b48572505" + "x-ms-request-id" : "af5f4f7d-201e-003e-0f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "ba194c7c-7232-4f8d-9e48-48f2994f22a1" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionsparseia048322d8ba1cad5bd44" ] + "variables" : [ "jtcaccountsaspermissionsparseia0977856699f69b82394" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[0].json index a3de59f2b7c91..67f9426741eae 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring031024d0594cbf2b70?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring07782400c8aba319b4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f557f817-aab0-4fbb-8dc3-15b69df34da7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0218936d-f9d9-40e9-ba36-9c849addf218" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE276A2B5D", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:52 GMT", + "ETag" : "0x8D78A5B01F7C9FE", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6075-c01e-012f-0a97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "f557f817-aab0-4fbb-8dc3-15b69df34da7" + "x-ms-request-id" : "af5f4e44-201e-003e-7743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "0218936d-f9d9-40e9-ba36-9c849addf218" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "12375688-681b-4fb9-83c9-efb035c4a379" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c33e297-13bf-40ba-b8c4-db5871068cda" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b896-501e-002e-1d97-83b0b1000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring031024d0594cbf2b70Tue, 15 Oct 2019 20:27:52 GMT\"0x8D751AE276A2B5D\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "12375688-681b-4fb9-83c9-efb035c4a379", + "x-ms-request-id" : "af5f4e4b-201e-003e-7d43-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring07782400c8aba319b4Thu, 26 Dec 2019 23:26:17 GMT\"0x8D78A5B01F7C9FE\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "7c33e297-13bf-40ba-b8c4-db5871068cda", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring031024d0594cbf2b70?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring07782400c8aba319b4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d4347abf-9808-4be3-9df4-b9f65bbc45b0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e75a8cf7-8627-462d-8705-bc00e31fe48f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa60ca-c01e-012f-5897-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "d4347abf-9808-4be3-9df4-b9f65bbc45b0" + "x-ms-request-id" : "af5f4e4f-201e-003e-0143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "e75a8cf7-8627-462d-8705-bc00e31fe48f" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring031024d0594cbf2b70" ] + "variables" : [ "jtcaccountsaspermissionstostring07782400c8aba319b4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[1].json index e2b307cff70f6..8e9bf305dd25c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring049579a485c39fa84b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring025156ca3ce3dfbf84?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "853c96f7-bf25-47f1-b316-3f0a5ad4677d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dc755d9e-efc1-45e7-b749-5f3dc55fe2af" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE27827C19", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:52 GMT", + "ETag" : "0x8D78A5B021F5243", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b8c0-501e-002e-4297-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "853c96f7-bf25-47f1-b316-3f0a5ad4677d" + "x-ms-request-id" : "af5f4e56-201e-003e-0843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "dc755d9e-efc1-45e7-b749-5f3dc55fe2af" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "25750662-ab3f-477f-8c29-12d81d754090" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d2dba77a-87ba-4131-a877-766d8b8cd0ba" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6175-c01e-012f-7197-83f719000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring049579a485c39fa84bTue, 15 Oct 2019 20:27:52 GMT\"0x8D751AE27827C19\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "25750662-ab3f-477f-8c29-12d81d754090", + "x-ms-request-id" : "af5f4e60-201e-003e-1143-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring025156ca3ce3dfbf84Thu, 26 Dec 2019 23:26:17 GMT\"0x8D78A5B021F5243\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "d2dba77a-87ba-4131-a877-766d8b8cd0ba", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring049579a485c39fa84b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring025156ca3ce3dfbf84?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2c21ccfa-3607-41f9-b822-545f09695b00" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d42f379e-c793-4f64-999b-1fa3de9fe7b2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b8da-501e-002e-5997-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "2c21ccfa-3607-41f9-b822-545f09695b00" + "x-ms-request-id" : "af5f4e64-201e-003e-1543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "d42f379e-c793-4f64-999b-1fa3de9fe7b2" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring049579a485c39fa84b" ] + "variables" : [ "jtcaccountsaspermissionstostring025156ca3ce3dfbf84" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[2].json index 0fa64aeb09e68..e5291ba77fa16 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring007347fedf4c884679?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring045832401d2f543a23?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "716c39ba-4deb-4990-b782-6b3e3320a2fb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "64beae99-f709-4f2d-8d75-1d8d18fcbadd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE27938F97", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:52 GMT", + "ETag" : "0x8D78A5B02480FE6", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa61bd-c01e-012f-3297-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "716c39ba-4deb-4990-b782-6b3e3320a2fb" + "x-ms-request-id" : "af5f4e6d-201e-003e-1e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "64beae99-f709-4f2d-8d75-1d8d18fcbadd" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a9ef9b2c-d652-479a-a50f-79cec1ee1b9c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ac365233-b959-4b50-9d94-189df15267f1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b91b-501e-002e-0997-83b0b1000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring007347fedf4c884679Tue, 15 Oct 2019 20:27:52 GMT\"0x8D751AE27938F97\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "a9ef9b2c-d652-479a-a50f-79cec1ee1b9c", + "x-ms-request-id" : "af5f4e73-201e-003e-2343-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring045832401d2f543a23Thu, 26 Dec 2019 23:26:18 GMT\"0x8D78A5B02480FE6\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "ac365233-b959-4b50-9d94-189df15267f1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring007347fedf4c884679?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring045832401d2f543a23?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "77618b20-ef3a-444f-8bb0-119bcc5daf2c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d773fe9-2141-449c-8036-4502840bbab3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa622a-c01e-012f-1197-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "77618b20-ef3a-444f-8bb0-119bcc5daf2c" + "x-ms-request-id" : "af5f4e76-201e-003e-2643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "8d773fe9-2141-449c-8036-4502840bbab3" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring007347fedf4c884679" ] + "variables" : [ "jtcaccountsaspermissionstostring045832401d2f543a23" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[3].json index 6a2e25060825d..7935f5bce1eaf 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring0352546d9119534091?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring07131264785e83a1af?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "62f1a3c5-fc8d-4a04-8389-6c8c8d403f49" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77e5e9d0-8abe-4593-ae13-fd421ef2d3cc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE27AACE90", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:52 GMT", + "ETag" : "0x8D78A5B0272ED3E", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b92b-501e-002e-1797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "62f1a3c5-fc8d-4a04-8389-6c8c8d403f49" + "x-ms-request-id" : "af5f4e7a-201e-003e-2a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "77e5e9d0-8abe-4593-ae13-fd421ef2d3cc" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d77c50d7-4824-49fc-b578-f367fc3156b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "847756f6-9dfe-4b90-9fdd-273def09f3e7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6275-c01e-012f-5797-83f719000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring0352546d9119534091Tue, 15 Oct 2019 20:27:52 GMT\"0x8D751AE27AACE90\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "d77c50d7-4824-49fc-b578-f367fc3156b5", + "x-ms-request-id" : "af5f4e81-201e-003e-3043-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring07131264785e83a1afThu, 26 Dec 2019 23:26:18 GMT\"0x8D78A5B0272ED3E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:18 GMT", + "x-ms-client-request-id" : "847756f6-9dfe-4b90-9fdd-273def09f3e7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring0352546d9119534091?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring07131264785e83a1af?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "762fa450-8a47-4671-8d9b-edb766fb1e21" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3347c30e-3ba5-4c4f-a3fc-7d6cfd546f35" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b946-501e-002e-2b97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "762fa450-8a47-4671-8d9b-edb766fb1e21" + "x-ms-request-id" : "af5f4e88-201e-003e-3743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:18 GMT", + "x-ms-client-request-id" : "3347c30e-3ba5-4c4f-a3fc-7d6cfd546f35" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring0352546d9119534091" ] + "variables" : [ "jtcaccountsaspermissionstostring07131264785e83a1af" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[4].json index a7e8c1af19732..bfe47383b3fa7 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[4].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring0148139274cf29cda7?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring054482923eb492d479?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aed3d4a8-7db8-4e6c-836f-241d55c4cdea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5419ba30-93c1-4647-90e6-20ee8dbf6279" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE27BB93E9", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:52 GMT", + "ETag" : "0x8D78A5B02B1CDEE", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa62ae-c01e-012f-0d97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "aed3d4a8-7db8-4e6c-836f-241d55c4cdea" + "x-ms-request-id" : "af5f4e8b-201e-003e-3a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:18 GMT", + "x-ms-client-request-id" : "5419ba30-93c1-4647-90e6-20ee8dbf6279" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a12ae3db-ddd5-4c2e-b9a6-b3fc70d8ab9d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d22bed1-7a8d-4515-a6ad-153ec77dac15" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b958-501e-002e-3c97-83b0b1000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring0148139274cf29cda7Tue, 15 Oct 2019 20:27:52 GMT\"0x8D751AE27BB93E9\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "a12ae3db-ddd5-4c2e-b9a6-b3fc70d8ab9d", + "x-ms-request-id" : "af5f4e92-201e-003e-4043-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring054482923eb492d479Thu, 26 Dec 2019 23:26:18 GMT\"0x8D78A5B02B1CDEE\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:18 GMT", + "x-ms-client-request-id" : "2d22bed1-7a8d-4515-a6ad-153ec77dac15", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring0148139274cf29cda7?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring054482923eb492d479?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0ec146ab-027b-4af6-84b7-8dd28aa73178" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "12107b2a-bd82-405e-a4f9-4becb517c18d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa62ee-c01e-012f-4397-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "0ec146ab-027b-4af6-84b7-8dd28aa73178" + "x-ms-request-id" : "af5f4e98-201e-003e-4543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:18 GMT", + "x-ms-client-request-id" : "12107b2a-bd82-405e-a4f9-4becb517c18d" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring0148139274cf29cda7" ] + "variables" : [ "jtcaccountsaspermissionstostring054482923eb492d479" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[5].json index df07609be4be0..c6d145d346901 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[5].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring097236a001c54d6669?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring01534567068d4766d6?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fa3ddf88-d0c7-4b2d-8f41-c6b0b854637c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d33e5b4c-03c3-45a8-9279-9f7c36b3add7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE27CB56E8", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:53 GMT", + "ETag" : "0x8D78A5B02E42922", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b969-501e-002e-4797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "fa3ddf88-d0c7-4b2d-8f41-c6b0b854637c" + "x-ms-request-id" : "af5f4e9d-201e-003e-4a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:18 GMT", + "x-ms-client-request-id" : "d33e5b4c-03c3-45a8-9279-9f7c36b3add7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "78776fc5-3b4b-46ab-a7aa-cbf215abf748" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "709ad7c5-6aa5-49d5-88ca-4cad1bad0ec5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa633b-c01e-012f-0497-83f719000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring097236a001c54d6669Tue, 15 Oct 2019 20:27:53 GMT\"0x8D751AE27CB56E8\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "78776fc5-3b4b-46ab-a7aa-cbf215abf748", + "x-ms-request-id" : "af5f4ea1-201e-003e-4c43-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring01534567068d4766d6Thu, 26 Dec 2019 23:26:19 GMT\"0x8D78A5B02E42922\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:18 GMT", + "x-ms-client-request-id" : "709ad7c5-6aa5-49d5-88ca-4cad1bad0ec5", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring097236a001c54d6669?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring01534567068d4766d6?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8efe7bda-9eec-4fa1-bdfd-494fd8ebc90f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "19431b0f-fa88-44ef-bb81-eb307cb9318c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b992-501e-002e-6597-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "8efe7bda-9eec-4fa1-bdfd-494fd8ebc90f" + "x-ms-request-id" : "af5f4ea7-201e-003e-5243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:18 GMT", + "x-ms-client-request-id" : "19431b0f-fa88-44ef-bb81-eb307cb9318c" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring097236a001c54d6669" ] + "variables" : [ "jtcaccountsaspermissionstostring01534567068d4766d6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[6].json index bb99967695d69..e3cccfbd86201 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[6].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring0093969ab697451264?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring0153102086735f9266?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c544b449-f333-4f62-8c2e-8312bdc906f3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d2cca42c-d10b-4d2f-8451-41d1cec43284" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE27DDCA6D", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:53 GMT", + "ETag" : "0x8D78A5B031FF810", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa638f-c01e-012f-4a97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "c544b449-f333-4f62-8c2e-8312bdc906f3" + "x-ms-request-id" : "af5f4ead-201e-003e-5743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:19 GMT", + "x-ms-client-request-id" : "d2cca42c-d10b-4d2f-8451-41d1cec43284" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0bee1af7-5fd6-482a-97ae-b4745a43787c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b56b6e7e-2c8a-41bb-b598-31c6fa63fa65" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b9ba-501e-002e-0497-83b0b1000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring0093969ab697451264Tue, 15 Oct 2019 20:27:53 GMT\"0x8D751AE27DDCA6D\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "0bee1af7-5fd6-482a-97ae-b4745a43787c", + "x-ms-request-id" : "af5f4eb2-201e-003e-5b43-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring0153102086735f9266Thu, 26 Dec 2019 23:26:19 GMT\"0x8D78A5B031FF810\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:19 GMT", + "x-ms-client-request-id" : "b56b6e7e-2c8a-41bb-b598-31c6fa63fa65", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring0093969ab697451264?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring0153102086735f9266?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad60bc11-5d8b-48c6-a55a-1315fd3aa992" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42a271aa-222d-41e6-86b0-8786d30edffb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa63f0-c01e-012f-2797-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "ad60bc11-5d8b-48c6-a55a-1315fd3aa992" + "x-ms-request-id" : "af5f4eb5-201e-003e-5e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:19 GMT", + "x-ms-client-request-id" : "42a271aa-222d-41e6-86b0-8786d30edffb" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring0093969ab697451264" ] + "variables" : [ "jtcaccountsaspermissionstostring0153102086735f9266" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[7].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[7].json index 50419a86aa5ac..f4a8e12564ea3 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[7].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[7].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring0620383151c338bd3d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring0429605cb7e19f67ff?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4ed49946-12e1-4801-97b9-3158f1a53088" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c89d3c50-90b5-4de6-bef8-4a745c29e670" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE27F185FC", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:53 GMT", + "ETag" : "0x8D78A5B03597E74", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b9d8-501e-002e-1a97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "4ed49946-12e1-4801-97b9-3158f1a53088" + "x-ms-request-id" : "af5f4eb9-201e-003e-6243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:19 GMT", + "x-ms-client-request-id" : "c89d3c50-90b5-4de6-bef8-4a745c29e670" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a02ef9ed-4a54-4d4c-8d24-b299f55d3dc7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93b10f7a-a103-4505-bc34-6c62b99da2c0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa643d-c01e-012f-6e97-83f719000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring0620383151c338bd3dTue, 15 Oct 2019 20:27:53 GMT\"0x8D751AE27F185FC\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "a02ef9ed-4a54-4d4c-8d24-b299f55d3dc7", + "x-ms-request-id" : "af5f4ebd-201e-003e-6543-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring0429605cb7e19f67ffThu, 26 Dec 2019 23:26:19 GMT\"0x8D78A5B03597E74\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:19 GMT", + "x-ms-client-request-id" : "93b10f7a-a103-4505-bc34-6c62b99da2c0", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring0620383151c338bd3d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring0429605cb7e19f67ff?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "40f38ef8-579c-4772-941f-019bad36d7b1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "18731125-8fa9-46b7-9216-b4fe2d058229" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b9f4-501e-002e-3597-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "40f38ef8-579c-4772-941f-019bad36d7b1" + "x-ms-request-id" : "af5f4ec5-201e-003e-6d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:19 GMT", + "x-ms-client-request-id" : "18731125-8fa9-46b7-9216-b4fe2d058229" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring0620383151c338bd3d" ] + "variables" : [ "jtcaccountsaspermissionstostring0429605cb7e19f67ff" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[8].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[8].json index 57a0bf0238567..b367674d2e5c2 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[8].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsaspermissionstostring[8].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring086375b3e1613bf829?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring092521038b7ede616f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "91eabeac-dbde-4547-a812-9ac090cee923" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb2584f6-712e-4e71-ad81-a5eeb6e30663" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE280160D2", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:53 GMT", + "ETag" : "0x8D78A5B03839A26", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa647f-c01e-012f-2897-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "91eabeac-dbde-4547-a812-9ac090cee923" + "x-ms-request-id" : "af5f4ec8-201e-003e-7043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:19 GMT", + "x-ms-client-request-id" : "eb2584f6-712e-4e71-ad81-a5eeb6e30663" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a07ced67-b591-4fa1-8d78-0614acfc5d86" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "60f5552d-7ee8-4464-890e-18c86acb6b6a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074ba19-501e-002e-5397-83b0b1000000", - "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring086375b3e1613bf829Tue, 15 Oct 2019 20:27:53 GMT\"0x8D751AE280160D2\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:52 GMT", - "x-ms-client-request-id" : "a07ced67-b591-4fa1-8d78-0614acfc5d86", + "x-ms-request-id" : "af5f4ed1-201e-003e-7843-bc0544000000", + "Body" : "jtcaccountsaspermissionstostringjtcaccountsaspermissionstostring092521038b7ede616fThu, 26 Dec 2019 23:26:20 GMT\"0x8D78A5B03839A26\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:20 GMT", + "x-ms-client-request-id" : "60f5552d-7ee8-4464-890e-18c86acb6b6a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsaspermissionstostring086375b3e1613bf829?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsaspermissionstostring092521038b7ede616f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cffe898a-2f01-4a12-8fc2-6b836bd7db94" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0fa7ab36-123b-4d1e-a567-60141383b618" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa64b4-c01e-012f-5797-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:53 GMT", - "x-ms-client-request-id" : "cffe898a-2f01-4a12-8fc2-6b836bd7db94" + "x-ms-request-id" : "af5f4ed9-201e-003e-7c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:20 GMT", + "x-ms-client-request-id" : "0fa7ab36-123b-4d1e-a567-60141383b618" }, "Exception" : null } ], - "variables" : [ "jtcaccountsaspermissionstostring086375b3e1613bf829" ] + "variables" : [ "jtcaccountsaspermissionstostring092521038b7ede616f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeia.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeia.json index 87a3e9b7dfb0c..3f315c38cdfa0 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeia.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeia.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeia0670919e540b92342a4f0?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeia01089151ec107a79d041e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7d64be96-1619-4a33-9239-3416085da659" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7b9c60b3-64a1-428d-b357-4cd61fd08140" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE299759D3", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:56 GMT", + "ETag" : "0x8D78A5B0709B52A", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6dec-c01e-012f-3c97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "7d64be96-1619-4a33-9239-3416085da659" + "x-ms-request-id" : "af5f500e-201e-003e-0b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "7b9c60b3-64a1-428d-b357-4cd61fd08140" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypeia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypeia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c5b253b-2181-42ab-80ab-8d46f034b232" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42cab188-27eb-4643-9d73-47b6bde86ba0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074be0b-501e-002e-2c97-83b0b1000000", - "Body" : "jtcaccountsasresourcetypeiajtcaccountsasresourcetypeia0670919e540b92342a4f0Tue, 15 Oct 2019 20:27:56 GMT\"0x8D751AE299759D3\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "1c5b253b-2181-42ab-80ab-8d46f034b232", + "x-ms-request-id" : "af5f5014-201e-003e-1043-bc0544000000", + "Body" : "jtcaccountsasresourcetypeiajtcaccountsasresourcetypeia01089151ec107a79d041eThu, 26 Dec 2019 23:26:26 GMT\"0x8D78A5B0709B52A\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "42cab188-27eb-4643-9d73-47b6bde86ba0", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeia0670919e540b92342a4f0?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeia01089151ec107a79d041e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "00b8ff06-0c6b-4e56-836a-44737e660ead" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5fefd028-43db-4cbd-8ca7-ba9cf7c64aca" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa6e51-c01e-012f-0f97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "00b8ff06-0c6b-4e56-836a-44737e660ead" + "x-ms-request-id" : "af5f5018-201e-003e-1443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "5fefd028-43db-4cbd-8ca7-ba9cf7c64aca" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypeia0670919e540b92342a4f0" ] + "variables" : [ "jtcaccountsasresourcetypeia01089151ec107a79d041e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[0].json index 093b73bd5ec5b..4e7e4007b3e47 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeparse080005b695359f31e24?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeparse026231e8e5239f1fcd4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "37f0c5d1-4b5d-4a27-9379-c756180afacf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c160c408-5e64-4f66-b878-2a948c44d064" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE294CD0CA", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:55 GMT", + "ETag" : "0x8D78A5B0675D82F", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6c80-c01e-012f-7797-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "37f0c5d1-4b5d-4a27-9379-c756180afacf" + "x-ms-request-id" : "af5f4fcb-201e-003e-4e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "c160c408-5e64-4f66-b878-2a948c44d064" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypeparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypeparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6aff7eac-b6f2-4e3c-9ab5-7886c319b2d7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2cb646df-8037-49fd-a153-2ae2fd16610f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074bd5e-501e-002e-2397-83b0b1000000", - "Body" : "jtcaccountsasresourcetypeparsejtcaccountsasresourcetypeparse080005b695359f31e24Tue, 15 Oct 2019 20:27:55 GMT\"0x8D751AE294CD0CA\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "6aff7eac-b6f2-4e3c-9ab5-7886c319b2d7", + "x-ms-request-id" : "af5f4fd2-201e-003e-5443-bc0544000000", + "Body" : "jtcaccountsasresourcetypeparsejtcaccountsasresourcetypeparse026231e8e5239f1fcd4Thu, 26 Dec 2019 23:26:25 GMT\"0x8D78A5B0675D82F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "2cb646df-8037-49fd-a153-2ae2fd16610f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeparse080005b695359f31e24?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeparse026231e8e5239f1fcd4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d7e842be-4207-4bf5-bb84-59663b6e32db" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7ed35221-1928-4ec4-bfcc-143ed6aeda62" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa6cbe-c01e-012f-2d97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "d7e842be-4207-4bf5-bb84-59663b6e32db" + "x-ms-request-id" : "af5f4fd8-201e-003e-5a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "7ed35221-1928-4ec4-bfcc-143ed6aeda62" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypeparse080005b695359f31e24" ] + "variables" : [ "jtcaccountsasresourcetypeparse026231e8e5239f1fcd4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[1].json index 723810b08f29e..be46b59cd5a59 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeparse028056de48411ce21a4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeparse095633ff60b84158464?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1382a400-590c-493e-850a-739b11b5fd43" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c0f3c83-a13b-4649-bf01-289ed0811bd4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2961C473", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:55 GMT", + "ETag" : "0x8D78A5B069AC71E", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074bd79-501e-002e-3497-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "1382a400-590c-493e-850a-739b11b5fd43" + "x-ms-request-id" : "af5f4fdf-201e-003e-6143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "7c0f3c83-a13b-4649-bf01-289ed0811bd4" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypeparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypeparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6493020a-ac4a-49fb-a3f5-7d9decb29bab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dce962aa-67b7-4504-ae41-639eeae669f7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6cfc-c01e-012f-6397-83f719000000", - "Body" : "jtcaccountsasresourcetypeparsejtcaccountsasresourcetypeparse028056de48411ce21a4Tue, 15 Oct 2019 20:27:55 GMT\"0x8D751AE2961C473\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "6493020a-ac4a-49fb-a3f5-7d9decb29bab", + "x-ms-request-id" : "af5f4fea-201e-003e-6943-bc0544000000", + "Body" : "jtcaccountsasresourcetypeparsejtcaccountsasresourcetypeparse095633ff60b84158464Thu, 26 Dec 2019 23:26:25 GMT\"0x8D78A5B069AC71E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "dce962aa-67b7-4504-ae41-639eeae669f7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeparse028056de48411ce21a4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeparse095633ff60b84158464?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1a5b15cc-7f27-49d0-a618-ef93c3a38dbd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9273357d-8427-4f1e-b843-2be22b3d4ee8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bd90-501e-002e-4997-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "1a5b15cc-7f27-49d0-a618-ef93c3a38dbd" + "x-ms-request-id" : "af5f4fed-201e-003e-6c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "9273357d-8427-4f1e-b843-2be22b3d4ee8" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypeparse028056de48411ce21a4" ] + "variables" : [ "jtcaccountsasresourcetypeparse095633ff60b84158464" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[2].json index 7100bd40c4aea..181abb11264c4 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeparse076040778715e9388c4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeparse0615967b39cd7b96794?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "54dfcdaa-21cd-46e6-9895-092cedaa4e67" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a04ebc3-6290-41fb-97d2-9496111c9331" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE29737536", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:55 GMT", + "ETag" : "0x8D78A5B06C07774", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6d4c-c01e-012f-2b97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "54dfcdaa-21cd-46e6-9895-092cedaa4e67" + "x-ms-request-id" : "af5f4ff0-201e-003e-6f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "6a04ebc3-6290-41fb-97d2-9496111c9331" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypeparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypeparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "765b5b07-958c-44ac-9ba0-aa943d685b63" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0217d53-d60f-4a7a-b052-88d69f3ca59a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074bdb6-501e-002e-6697-83b0b1000000", - "Body" : "jtcaccountsasresourcetypeparsejtcaccountsasresourcetypeparse076040778715e9388c4Tue, 15 Oct 2019 20:27:55 GMT\"0x8D751AE29737536\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "765b5b07-958c-44ac-9ba0-aa943d685b63", + "x-ms-request-id" : "af5f4ff8-201e-003e-7643-bc0544000000", + "Body" : "jtcaccountsasresourcetypeparsejtcaccountsasresourcetypeparse0615967b39cd7b96794Thu, 26 Dec 2019 23:26:25 GMT\"0x8D78A5B06C07774\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "c0217d53-d60f-4a7a-b052-88d69f3ca59a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeparse076040778715e9388c4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeparse0615967b39cd7b96794?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1ed2ec8f-80d8-40e6-a0cd-48d724ba52d1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fe875abb-72d8-4d6c-8995-fc27e9e35e33" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa6d7d-c01e-012f-5597-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "1ed2ec8f-80d8-40e6-a0cd-48d724ba52d1" + "x-ms-request-id" : "af5f4ffc-201e-003e-7a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "fe875abb-72d8-4d6c-8995-fc27e9e35e33" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypeparse076040778715e9388c4" ] + "variables" : [ "jtcaccountsasresourcetypeparse0615967b39cd7b96794" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[3].json index 0a365e9bf6e06..35f3c6e5a2bd2 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypeparse[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeparse05784821de998438584?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeparse0317726fc0f33d042b4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "645f0767-f09f-460b-960a-1d83c017c10f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b97a252-0ed2-473d-9fb6-3d331ab6a78a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2984974E", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:55 GMT", + "ETag" : "0x8D78A5B06E517C0", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074bdd5-501e-002e-0197-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "645f0767-f09f-460b-960a-1d83c017c10f" + "x-ms-request-id" : "af5f5002-201e-003e-8043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "6b97a252-0ed2-473d-9fb6-3d331ab6a78a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypeparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypeparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1d648955-fa0f-4959-b781-7f9fda050554" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5a08bbf1-86b0-4b05-951d-f21ecd7d3c34" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6db3-c01e-012f-0697-83f719000000", - "Body" : "jtcaccountsasresourcetypeparsejtcaccountsasresourcetypeparse05784821de998438584Tue, 15 Oct 2019 20:27:55 GMT\"0x8D751AE2984974E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "1d648955-fa0f-4959-b781-7f9fda050554", + "x-ms-request-id" : "af5f5007-201e-003e-0443-bc0544000000", + "Body" : "jtcaccountsasresourcetypeparsejtcaccountsasresourcetypeparse0317726fc0f33d042b4Thu, 26 Dec 2019 23:26:25 GMT\"0x8D78A5B06E517C0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "5a08bbf1-86b0-4b05-951d-f21ecd7d3c34", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypeparse05784821de998438584?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypeparse0317726fc0f33d042b4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "56d1ab33-3a2e-4c0b-baac-5f85e984f122" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b64d9620-4e5e-4d7b-a110-79d8b5c2296c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bdec-501e-002e-1597-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "56d1ab33-3a2e-4c0b-baac-5f85e984f122" + "x-ms-request-id" : "af5f500a-201e-003e-0743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:25 GMT", + "x-ms-client-request-id" : "b64d9620-4e5e-4d7b-a110-79d8b5c2296c" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypeparse05784821de998438584" ] + "variables" : [ "jtcaccountsasresourcetypeparse0317726fc0f33d042b4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[0].json index 7c99327032980..c1fd314be90de 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypetostring046553f076f65e30cf?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypetostring0896999b4c45e2444f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b60d9fcd-110a-4f25-9f70-2fc1ede3c089" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1ef87648-5cc7-47c1-8955-45e5af81eb98" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2906B5B1", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:55 GMT", + "ETag" : "0x8D78A5B05E16031", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6adb-c01e-012f-7c97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "b60d9fcd-110a-4f25-9f70-2fc1ede3c089" + "x-ms-request-id" : "af5f4f82-201e-003e-1443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "1ef87648-5cc7-47c1-8955-45e5af81eb98" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypetostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypetostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a68f2e94-d5cb-4d02-8f71-ef883f6787eb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "179effbd-5073-430d-a4a5-fd6b31b22810" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074bca9-501e-002e-8097-83b0b1000000", - "Body" : "jtcaccountsasresourcetypetostringjtcaccountsasresourcetypetostring046553f076f65e30cfTue, 15 Oct 2019 20:27:55 GMT\"0x8D751AE2906B5B1\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "a68f2e94-d5cb-4d02-8f71-ef883f6787eb", + "x-ms-request-id" : "af5f4f86-201e-003e-1743-bc0544000000", + "Body" : "jtcaccountsasresourcetypetostringjtcaccountsasresourcetypetostring0896999b4c45e2444fThu, 26 Dec 2019 23:26:24 GMT\"0x8D78A5B05E16031\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "179effbd-5073-430d-a4a5-fd6b31b22810", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypetostring046553f076f65e30cf?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypetostring0896999b4c45e2444f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20ad53c1-2279-455b-9dcc-b27797566072" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9d4bf5a8-3694-4237-8c9a-7d6ae0eebd21" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa6b23-c01e-012f-3c97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "20ad53c1-2279-455b-9dcc-b27797566072" + "x-ms-request-id" : "af5f4f8c-201e-003e-1c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "9d4bf5a8-3694-4237-8c9a-7d6ae0eebd21" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypetostring046553f076f65e30cf" ] + "variables" : [ "jtcaccountsasresourcetypetostring0896999b4c45e2444f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[1].json index 7bedf6f897fcd..a0d4624c9a169 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypetostring0985322334a70c7a46?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypetostring0670941e403483ccad?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9f29baf8-e661-41c9-a09b-43d8b6cbc63e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42902e22-5517-42c5-9a26-8d6e4da4ecc5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE291B0D07", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:55 GMT", + "ETag" : "0x8D78A5B06064D76", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074bcda-501e-002e-2c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "9f29baf8-e661-41c9-a09b-43d8b6cbc63e" + "x-ms-request-id" : "af5f4f8f-201e-003e-1f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "42902e22-5517-42c5-9a26-8d6e4da4ecc5" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypetostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypetostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c5c43cf-176d-455f-921c-88a77ee845ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "55530596-4764-4484-9d02-80924cc29f57" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6b87-c01e-012f-1397-83f719000000", - "Body" : "jtcaccountsasresourcetypetostringjtcaccountsasresourcetypetostring0985322334a70c7a46Tue, 15 Oct 2019 20:27:55 GMT\"0x8D751AE291B0D07\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "0c5c43cf-176d-455f-921c-88a77ee845ed", + "x-ms-request-id" : "af5f4f97-201e-003e-2643-bc0544000000", + "Body" : "jtcaccountsasresourcetypetostringjtcaccountsasresourcetypetostring0670941e403483ccadThu, 26 Dec 2019 23:26:24 GMT\"0x8D78A5B06064D76\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:23 GMT", + "x-ms-client-request-id" : "55530596-4764-4484-9d02-80924cc29f57", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypetostring0985322334a70c7a46?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypetostring0670941e403483ccad?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "73653c24-74e5-422d-888c-5e701c3d5d43" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2554bcdd-ead1-49bc-a799-e50d30df9309" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bcfe-501e-002e-4e97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "73653c24-74e5-422d-888c-5e701c3d5d43" + "x-ms-request-id" : "af5f4f9f-201e-003e-2d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "2554bcdd-ead1-49bc-a799-e50d30df9309" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypetostring0985322334a70c7a46" ] + "variables" : [ "jtcaccountsasresourcetypetostring0670941e403483ccad" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[2].json index 66d98b5895366..5633f7d0f08cb 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypetostring054513771436b32f21?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypetostring030680e84ea4e5fea5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aa8639f1-6b87-4be7-bb57-b0da02952c0e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e82b04a7-7f1f-4239-8d08-e1ac8330981a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE292BFA38", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:55 GMT", + "ETag" : "0x8D78A5B062B6466", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa6bc8-c01e-012f-5097-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "aa8639f1-6b87-4be7-bb57-b0da02952c0e" + "x-ms-request-id" : "af5f4fa5-201e-003e-3343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "e82b04a7-7f1f-4239-8d08-e1ac8330981a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypetostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypetostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fbd97060-0a6e-4abb-a4aa-11d8f49e504b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e0c49676-8433-4122-a874-fe045231b8eb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074bd24-501e-002e-7197-83b0b1000000", - "Body" : "jtcaccountsasresourcetypetostringjtcaccountsasresourcetypetostring054513771436b32f21Tue, 15 Oct 2019 20:27:55 GMT\"0x8D751AE292BFA38\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "fbd97060-0a6e-4abb-a4aa-11d8f49e504b", + "x-ms-request-id" : "af5f4fb1-201e-003e-3743-bc0544000000", + "Body" : "jtcaccountsasresourcetypetostringjtcaccountsasresourcetypetostring030680e84ea4e5fea5Thu, 26 Dec 2019 23:26:24 GMT\"0x8D78A5B062B6466\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "e0c49676-8433-4122-a874-fe045231b8eb", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypetostring054513771436b32f21?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypetostring030680e84ea4e5fea5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f82e3908-5dfe-40de-bfb7-750a7036042d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "de7b23dd-8473-4e1e-827c-4137541f5b62" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa6c07-c01e-012f-0797-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "f82e3908-5dfe-40de-bfb7-750a7036042d" + "x-ms-request-id" : "af5f4fb4-201e-003e-3a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "de7b23dd-8473-4e1e-827c-4137541f5b62" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypetostring054513771436b32f21" ] + "variables" : [ "jtcaccountsasresourcetypetostring030680e84ea4e5fea5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[3].json index 899b741a1da54..b03d77dab4df9 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsasresourcetypetostring[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypetostring091339312c4506a9a1?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypetostring020089449bcd74a352?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "56f19c88-e883-4412-bd77-460eaf33a9bf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "59a440c6-336d-4bb5-ad08-baead7874935" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE293C7FF9", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:55 GMT", + "ETag" : "0x8D78A5B064F8B50", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074bd3e-501e-002e-0997-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "56f19c88-e883-4412-bd77-460eaf33a9bf" + "x-ms-request-id" : "af5f4fbe-201e-003e-4243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "59a440c6-336d-4bb5-ad08-baead7874935" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsasresourcetypetostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasresourcetypetostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "953365e6-157c-4353-a8c8-6b8bf45d7d2a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "08cfa298-6a4a-474c-84b6-2a1b87e79e54" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6c4b-c01e-012f-4497-83f719000000", - "Body" : "jtcaccountsasresourcetypetostringjtcaccountsasresourcetypetostring091339312c4506a9a1Tue, 15 Oct 2019 20:27:55 GMT\"0x8D751AE293C7FF9\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "953365e6-157c-4353-a8c8-6b8bf45d7d2a", + "x-ms-request-id" : "af5f4fc3-201e-003e-4643-bc0544000000", + "Body" : "jtcaccountsasresourcetypetostringjtcaccountsasresourcetypetostring020089449bcd74a352Thu, 26 Dec 2019 23:26:24 GMT\"0x8D78A5B064F8B50\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "08cfa298-6a4a-474c-84b6-2a1b87e79e54", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsasresourcetypetostring091339312c4506a9a1?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasresourcetypetostring020089449bcd74a352?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "67bc916d-97cc-450e-962d-8739a605e3d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93ab8f5d-a699-4d6d-a750-bed3e521e177" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074bd4f-501e-002e-1597-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:54 GMT", - "x-ms-client-request-id" : "67bc916d-97cc-450e-962d-8739a605e3d8" + "x-ms-request-id" : "af5f4fc6-201e-003e-4943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:24 GMT", + "x-ms-client-request-id" : "93ab8f5d-a699-4d6d-a750-bed3e521e177" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasresourcetypetostring091339312c4506a9a1" ] + "variables" : [ "jtcaccountsasresourcetypetostring020089449bcd74a352" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[0].json index 70a47c608158f..532c4f4c635e5 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturesstringtosign074440945b894aa61?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturesstringtosign045632e6e238d1689?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "21052a16-4ac9-4b1c-86ea-8c805bdd78cd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77f76902-1b8a-4610-96b1-c9cc43d9604e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE26A52BDA", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:51 GMT", + "ETag" : "0x8D78A5B009CF7C2", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b670-501e-002e-6397-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "21052a16-4ac9-4b1c-86ea-8c805bdd78cd" + "x-ms-request-id" : "af5f4db3-201e-003e-7643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "77f76902-1b8a-4610-96b1-c9cc43d9604e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2433e4e2-b034-479e-9c8d-69d1bf06ff03" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c093e78-9faa-4bf0-95fd-f35ff90ff65e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa5ae0-c01e-012f-1697-83f719000000", - "Body" : "jtcaccountsassignaturesstringtosignjtcaccountsassignaturesstringtosign074440945b894aa61Tue, 15 Oct 2019 20:27:51 GMT\"0x8D751AE26A52BDA\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "2433e4e2-b034-479e-9c8d-69d1bf06ff03", + "x-ms-request-id" : "af5f4db9-201e-003e-7b43-bc0544000000", + "Body" : "jtcaccountsassignaturesstringtosignjtcaccountsassignaturesstringtosign045632e6e238d1689Thu, 26 Dec 2019 23:26:15 GMT\"0x8D78A5B009CF7C2\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "7c093e78-9faa-4bf0-95fd-f35ff90ff65e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturesstringtosign074440945b894aa61?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturesstringtosign045632e6e238d1689?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c669e16b-16c2-4f1b-bb4a-d9dac45defa3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a4865ce5-c612-4174-845b-0a15e9b063df" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b6af-501e-002e-0697-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "c669e16b-16c2-4f1b-bb4a-d9dac45defa3" + "x-ms-request-id" : "af5f4dbe-201e-003e-7f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "a4865ce5-c612-4174-845b-0a15e9b063df" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturesstringtosign074440945b894aa61" ] + "variables" : [ "jtcaccountsassignaturesstringtosign045632e6e238d1689" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[1].json index 43ba0749578d2..b834910b5329f 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturesstringtosign0273104da39983ee5?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturesstringtosign056953a2b7fbebf6a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "380a3745-d737-4cfd-92c3-e9a5c095c530" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "861b5774-0fab-4bc0-90da-c0b80bf21b0d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE26BAACFA", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:51 GMT", + "ETag" : "0x8D78A5B00C89B5E", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5b4d-c01e-012f-6997-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "380a3745-d737-4cfd-92c3-e9a5c095c530" + "x-ms-request-id" : "af5f4dc9-201e-003e-0743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "861b5774-0fab-4bc0-90da-c0b80bf21b0d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "805bf1e6-8470-4d25-bf51-f715ee799a48" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "52410816-86a2-45bc-a81d-b325b3e3107a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b6c2-501e-002e-1797-83b0b1000000", - "Body" : "jtcaccountsassignaturesstringtosignjtcaccountsassignaturesstringtosign0273104da39983ee5Tue, 15 Oct 2019 20:27:51 GMT\"0x8D751AE26BAACFA\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "805bf1e6-8470-4d25-bf51-f715ee799a48", + "x-ms-request-id" : "af5f4dcf-201e-003e-0c43-bc0544000000", + "Body" : "jtcaccountsassignaturesstringtosignjtcaccountsassignaturesstringtosign056953a2b7fbebf6aThu, 26 Dec 2019 23:26:15 GMT\"0x8D78A5B00C89B5E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "52410816-86a2-45bc-a81d-b325b3e3107a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturesstringtosign0273104da39983ee5?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturesstringtosign056953a2b7fbebf6a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b14dd6ae-e9b9-48e3-bb14-ca4fe6fb4693" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc5dad43-7ef2-480f-848e-af2640f46aa3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa5bc5-c01e-012f-4b97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "b14dd6ae-e9b9-48e3-bb14-ca4fe6fb4693" + "x-ms-request-id" : "af5f4dd7-201e-003e-1243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "bc5dad43-7ef2-480f-848e-af2640f46aa3" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturesstringtosign0273104da39983ee5" ] + "variables" : [ "jtcaccountsassignaturesstringtosign056953a2b7fbebf6a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[2].json index 4d774e0d68b84..c6f4105c7758d 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturesstringtosign[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturesstringtosign090911c12ff630c59?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturesstringtosign008430e46d9744794?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b97856e-a646-4f33-84da-ebdcf8f24ca1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "81d7604a-5afd-402c-9993-bbc4cd86caf1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE26D1C52D", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:51 GMT", + "ETag" : "0x8D78A5B00EEC10D", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b6d0-501e-002e-2297-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "2b97856e-a646-4f33-84da-ebdcf8f24ca1" + "x-ms-request-id" : "af5f4ddd-201e-003e-1843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "81d7604a-5afd-402c-9993-bbc4cd86caf1" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "088554a6-c469-4e8f-9d95-6b3201978361" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "543d1faf-81e3-40d5-83e1-96969839f73c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa5c1a-c01e-012f-1697-83f719000000", - "Body" : "jtcaccountsassignaturesstringtosignjtcaccountsassignaturesstringtosign090911c12ff630c59Tue, 15 Oct 2019 20:27:51 GMT\"0x8D751AE26D1C52D\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "088554a6-c469-4e8f-9d95-6b3201978361", + "x-ms-request-id" : "af5f4de3-201e-003e-1d43-bc0544000000", + "Body" : "jtcaccountsassignaturesstringtosignjtcaccountsassignaturesstringtosign008430e46d9744794Thu, 26 Dec 2019 23:26:15 GMT\"0x8D78A5B00EEC10D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "543d1faf-81e3-40d5-83e1-96969839f73c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturesstringtosign090911c12ff630c59?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturesstringtosign008430e46d9744794?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "83f01938-ef33-41bb-91e6-d3a5c8266b1d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6eaff8a9-a51e-405a-9182-98849f2d4f54" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b6ec-501e-002e-3797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "83f01938-ef33-41bb-91e6-d3a5c8266b1d" + "x-ms-request-id" : "af5f4de6-201e-003e-2043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "6eaff8a9-a51e-405a-9182-98849f2d4f54" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturesstringtosign090911c12ff630c59" ] + "variables" : [ "jtcaccountsassignaturesstringtosign008430e46d9744794" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[0].json index f06fb5249e94a..e00208e071f5a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesia057486898a4dc19f5d4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesia0065822d9be2eae6064?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a379180e-10c6-40ce-9b14-5cc6d5ff057e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0c70573e-4958-4b98-8a3f-7c1eb9313f24" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE26E3C2FD", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:51 GMT", + "ETag" : "0x8D78A5B011498AE", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5c66-c01e-012f-5697-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "a379180e-10c6-40ce-9b14-5cc6d5ff057e" + "x-ms-request-id" : "af5f4deb-201e-003e-2543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "0c70573e-4958-4b98-8a3f-7c1eb9313f24" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c11193eb-4b2f-4d7e-be4e-7f186ab5aae6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d797e30-b445-4dc3-9e0c-6267bfc48b4b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b714-501e-002e-5a97-83b0b1000000", - "Body" : "jtcaccountsassignaturevaluesiajtcaccountsassignaturevaluesia057486898a4dc19f5d4Tue, 15 Oct 2019 20:27:51 GMT\"0x8D751AE26E3C2FD\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "c11193eb-4b2f-4d7e-be4e-7f186ab5aae6", + "x-ms-request-id" : "af5f4def-201e-003e-2843-bc0544000000", + "Body" : "jtcaccountsassignaturevaluesiajtcaccountsassignaturevaluesia0065822d9be2eae6064Thu, 26 Dec 2019 23:26:16 GMT\"0x8D78A5B011498AE\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "3d797e30-b445-4dc3-9e0c-6267bfc48b4b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesia057486898a4dc19f5d4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesia0065822d9be2eae6064?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eb39b01f-f8a9-408a-aea0-31b17a21928e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dd2a13ad-5259-4392-8c6f-1572c95c2417" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa5cb8-c01e-012f-1c97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "eb39b01f-f8a9-408a-aea0-31b17a21928e" + "x-ms-request-id" : "af5f4df4-201e-003e-2d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "dd2a13ad-5259-4392-8c6f-1572c95c2417" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturevaluesia057486898a4dc19f5d4" ] + "variables" : [ "jtcaccountsassignaturevaluesia0065822d9be2eae6064" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[1].json index 15065ff632688..29903079a5601 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesia079508b733781763004?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesia050367ad3805647aa94?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "406aadcb-53a6-4f85-a21e-9e0a6d59eb51" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ed216082-1a70-4c47-b16e-23da9698038c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE26F3D486", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:51 GMT", + "ETag" : "0x8D78A5B013ABD44", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b734-501e-002e-7897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "406aadcb-53a6-4f85-a21e-9e0a6d59eb51" + "x-ms-request-id" : "af5f4dfa-201e-003e-3343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:15 GMT", + "x-ms-client-request-id" : "ed216082-1a70-4c47-b16e-23da9698038c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "526a4d71-8750-4f5d-a7cb-db5c33b09950" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c1b370ca-1584-4282-88e1-b735216b9536" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa5d06-c01e-012f-6197-83f719000000", - "Body" : "jtcaccountsassignaturevaluesiajtcaccountsassignaturevaluesia079508b733781763004Tue, 15 Oct 2019 20:27:51 GMT\"0x8D751AE26F3D486\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "526a4d71-8750-4f5d-a7cb-db5c33b09950", + "x-ms-request-id" : "af5f4e00-201e-003e-3843-bc0544000000", + "Body" : "jtcaccountsassignaturevaluesiajtcaccountsassignaturevaluesia050367ad3805647aa94Thu, 26 Dec 2019 23:26:16 GMT\"0x8D78A5B013ABD44\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "c1b370ca-1584-4282-88e1-b735216b9536", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesia079508b733781763004?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesia050367ad3805647aa94?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fb4a67f2-8f37-41cd-aa4e-819589c94ba6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9a50a0c6-10d8-4396-b530-4512b3b5774a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b75c-501e-002e-1897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "fb4a67f2-8f37-41cd-aa4e-819589c94ba6" + "x-ms-request-id" : "af5f4e05-201e-003e-3d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "9a50a0c6-10d8-4396-b530-4512b3b5774a" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturevaluesia079508b733781763004" ] + "variables" : [ "jtcaccountsassignaturevaluesia050367ad3805647aa94" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[2].json index 81dda03c1d780..9fea7fa58bd2e 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesia0298839760a0f86c6e4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesia0168397602e51ffe754?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c3fdc225-2516-46e8-8c45-ab3ccf102089" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d9354a1f-ca0f-4e88-b5cc-7258fde6fa13" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2708B94C", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:51 GMT", + "ETag" : "0x8D78A5B01606EF2", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5d40-c01e-012f-1b97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "c3fdc225-2516-46e8-8c45-ab3ccf102089" + "x-ms-request-id" : "af5f4e08-201e-003e-4043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "d9354a1f-ca0f-4e88-b5cc-7258fde6fa13" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e23a76ba-8098-46e8-a120-494e7c78e8a0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e57f87b4-8659-475f-91fb-5c27cc9b0b8b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b7a2-501e-002e-5597-83b0b1000000", - "Body" : "jtcaccountsassignaturevaluesiajtcaccountsassignaturevaluesia0298839760a0f86c6e4Tue, 15 Oct 2019 20:27:51 GMT\"0x8D751AE2708B94C\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "e23a76ba-8098-46e8-a120-494e7c78e8a0", + "x-ms-request-id" : "af5f4e0d-201e-003e-4443-bc0544000000", + "Body" : "jtcaccountsassignaturevaluesiajtcaccountsassignaturevaluesia0168397602e51ffe754Thu, 26 Dec 2019 23:26:16 GMT\"0x8D78A5B01606EF2\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "e57f87b4-8659-475f-91fb-5c27cc9b0b8b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesia0298839760a0f86c6e4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesia0168397602e51ffe754?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8be7cd53-eda4-4e17-bc50-355bc3807597" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1efc78ec-edd9-441c-9ad0-adc3f85d4834" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa5db4-c01e-012f-7d97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "8be7cd53-eda4-4e17-bc50-355bc3807597" + "x-ms-request-id" : "af5f4e12-201e-003e-4943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "1efc78ec-edd9-441c-9ad0-adc3f85d4834" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturevaluesia0298839760a0f86c6e4" ] + "variables" : [ "jtcaccountsassignaturevaluesia0168397602e51ffe754" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[3].json index 2c6d7373ec18f..cdb39eda31046 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesia[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesia0200907ef16acd74c74?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesia012252a3987ccdba934?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0f9cdd99-d607-433c-8ba0-202e1d32434a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "64ca2cdd-971c-43a8-a7ba-8448c73c0e38" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE271C4E19", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:51 GMT", + "ETag" : "0x8D78A5B018643B5", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b7c4-501e-002e-6e97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "0f9cdd99-d607-433c-8ba0-202e1d32434a" + "x-ms-request-id" : "af5f4e13-201e-003e-4a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "64ca2cdd-971c-43a8-a7ba-8448c73c0e38" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a9804c13-07aa-4907-9274-cc3863f2d5b8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5dfac3c0-5f16-4080-9bdc-93154b89396d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa5e13-c01e-012f-5297-83f719000000", - "Body" : "jtcaccountsassignaturevaluesiajtcaccountsassignaturevaluesia0200907ef16acd74c74Tue, 15 Oct 2019 20:27:51 GMT\"0x8D751AE271C4E19\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "a9804c13-07aa-4907-9274-cc3863f2d5b8", + "x-ms-request-id" : "af5f4e17-201e-003e-4d43-bc0544000000", + "Body" : "jtcaccountsassignaturevaluesiajtcaccountsassignaturevaluesia012252a3987ccdba934Thu, 26 Dec 2019 23:26:16 GMT\"0x8D78A5B018643B5\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "5dfac3c0-5f16-4080-9bdc-93154b89396d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesia0200907ef16acd74c74?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesia012252a3987ccdba934?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20025661-9412-4139-9845-b065b7e53103" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4ae1da86-5247-4c53-bedb-efec3da0224d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b7d3-501e-002e-7a97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:51 GMT", - "x-ms-client-request-id" : "20025661-9412-4139-9845-b065b7e53103" + "x-ms-request-id" : "af5f4e1d-201e-003e-5343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "4ae1da86-5247-4c53-bedb-efec3da0224d" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturevaluesia0200907ef16acd74c74" ] + "variables" : [ "jtcaccountsassignaturevaluesia012252a3987ccdba934" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesnull.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesnull.json index e6f326ad3d48b..384935d643d6b 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesnull.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesnull.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesnull004710e2364ec39556?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesnull088091f938152e9bcd?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "fb6d82db-fc89-4514-894b-18b10122f077" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2fa4c090-c219-449d-a68d-6ded3f97fc06" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D75444432792E8", - "Last-Modified" : "Sat, 19 Oct 2019 03:27:25 GMT", + "ETag" : "0x8D78A5B01AB7F51", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2c9fc439-a01e-0056-092d-86d806000000", - "Date" : "Sat, 19 Oct 2019 03:27:25 GMT", - "x-ms-client-request-id" : "fb6d82db-fc89-4514-894b-18b10122f077" + "x-ms-request-id" : "af5f4e24-201e-003e-5943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "2fa4c090-c219-449d-a68d-6ded3f97fc06" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesnull&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesnull&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "99016b14-6fb5-46be-95d0-47c59f1704f1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b29a0fcc-9b28-4a72-be82-49aeb9a7fc01" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2c9fc488-a01e-0056-442d-86d806000000", - "Body" : "jtcaccountsassignaturevaluesnulljtcaccountsassignaturevaluesnull004710e2364ec39556Sat, 19 Oct 2019 03:27:25 GMT\"0x8D75444432792E8\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Sat, 19 Oct 2019 03:27:25 GMT", - "x-ms-client-request-id" : "99016b14-6fb5-46be-95d0-47c59f1704f1", + "x-ms-request-id" : "af5f4e2c-201e-003e-6043-bc0544000000", + "Body" : "jtcaccountsassignaturevaluesnulljtcaccountsassignaturevaluesnull088091f938152e9bcdThu, 26 Dec 2019 23:26:17 GMT\"0x8D78A5B01AB7F51\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "b29a0fcc-9b28-4a72-be82-49aeb9a7fc01", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesnull004710e2364ec39556?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesnull088091f938152e9bcd?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "96ecb0de-5530-4b63-a7b4-837947cb3212" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7e09988-4868-45d8-ba6c-af70bbc0b8d2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "2c9fc4e3-a01e-0056-0f2d-86d806000000", - "Date" : "Sat, 19 Oct 2019 03:27:25 GMT", - "x-ms-client-request-id" : "96ecb0de-5530-4b63-a7b4-837947cb3212" + "x-ms-request-id" : "af5f4e2f-201e-003e-6343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "b7e09988-4868-45d8-ba6c-af70bbc0b8d2" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturevaluesnull004710e2364ec39556" ] + "variables" : [ "jtcaccountsassignaturevaluesnull088091f938152e9bcd" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesnullpermission.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesnullpermission.json index 458a39e13dbb2..8f29e786a9eda 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesnullpermission.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestaccountsassignaturevaluesnullpermission.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesnullpermission083915d0c142c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesnullpermission02258058511eb?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "d2b1ff82-e0e4-41e5-b091-7660bac4e7a2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3df539c3-e75e-44b6-8ce5-f4918943a881" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D75444686C06F2", - "Last-Modified" : "Sat, 19 Oct 2019 03:28:28 GMT", + "ETag" : "0x8D78A5B01D24100", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d453b11b-401e-0031-352d-866ba1000000", - "Date" : "Sat, 19 Oct 2019 03:28:28 GMT", - "x-ms-client-request-id" : "d2b1ff82-e0e4-41e5-b091-7660bac4e7a2" + "x-ms-request-id" : "af5f4e33-201e-003e-6743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:16 GMT", + "x-ms-client-request-id" : "3df539c3-e75e-44b6-8ce5-f4918943a881" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesnullpermission&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsassignaturevaluesnullpermission&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "901c4f42-65cf-4f23-b459-967d2a2af06b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0864b7f-ba8c-42f3-9e49-ebabeff6abc7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d453b16b-401e-0031-7d2d-866ba1000000", - "Body" : "jtcaccountsassignaturevaluesnullpermissionjtcaccountsassignaturevaluesnullpermission083915d0c142cSat, 19 Oct 2019 03:28:28 GMT\"0x8D75444686C06F2\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Sat, 19 Oct 2019 03:28:28 GMT", - "x-ms-client-request-id" : "901c4f42-65cf-4f23-b459-967d2a2af06b", + "x-ms-request-id" : "af5f4e39-201e-003e-6c43-bc0544000000", + "Body" : "jtcaccountsassignaturevaluesnullpermissionjtcaccountsassignaturevaluesnullpermission02258058511ebThu, 26 Dec 2019 23:26:17 GMT\"0x8D78A5B01D24100\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "c0864b7f-ba8c-42f3-9e49-ebabeff6abc7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcaccountsassignaturevaluesnullpermission083915d0c142c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsassignaturevaluesnullpermission02258058511eb?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "f80fa3ad-6b9f-4485-8c3c-8d7770fc4325" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "891a1db1-a2d5-4aff-9c9f-9f82a7290595" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d453b1a1-401e-0031-2c2d-866ba1000000", - "Date" : "Sat, 19 Oct 2019 03:28:28 GMT", - "x-ms-client-request-id" : "f80fa3ad-6b9f-4485-8c3c-8d7770fc4325" + "x-ms-request-id" : "af5f4e40-201e-003e-7343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:17 GMT", + "x-ms-client-request-id" : "891a1db1-a2d5-4aff-9c9f-9f82a7290595" }, "Exception" : null } ], - "variables" : [ "jtcaccountsassignaturevaluesnullpermission083915d0c142c" ] + "variables" : [ "jtcaccountsassignaturevaluesnullpermission02258058511eb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobclientgetsnapshot.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobclientgetsnapshot.json index fd56fb55d97a2..08b924a8cf96c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobclientgetsnapshot.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobclientgetsnapshot.json @@ -1,113 +1,113 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobclientgetsnapshot0sastestblobclientgetsnapshot93286286d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientgetsnapshot0sastestblobclientgetsnapshotecb756532?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7121ce55-b7cc-477a-865b-3fd560afbd69" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7cc5531-cbdf-4be9-94e9-b08a91975c99" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE1FF34975", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:39 GMT", + "ETag" : "0x8D78A5AF1E6C7D7", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa2e98-c01e-012f-2996-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "7121ce55-b7cc-477a-865b-3fd560afbd69" + "x-ms-request-id" : "af5f4810-201e-003e-6743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "b7cc5531-cbdf-4be9-94e9-b08a91975c99" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobclientgetsnapshot0sastestblobclientgetsnapshot93286286d/javablobblobclientgetsnapshot181834d5ff308a3b224c", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientgetsnapshot0sastestblobclientgetsnapshotecb756532/javablobblobclientgetsnapshot192601bdc9f3c79c9541", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7c61795c-d4d0-4351-92fe-90ad930e7614", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1159a671-b36b-4c25-bba8-c3445410d93b", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:39 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:50 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D751AE1FF962DE", + "ETag" : "0x8D78A5AF1F386A0", "Content-Length" : "0", - "x-ms-request-id" : "8074a7d3-501e-002e-6a96-83b0b1000000", - "x-ms-client-request-id" : "7c61795c-d4d0-4351-92fe-90ad930e7614" + "x-ms-request-id" : "af5f4816-201e-003e-6a43-bc0544000000", + "x-ms-client-request-id" : "1159a671-b36b-4c25-bba8-c3445410d93b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobclientgetsnapshot0sastestblobclientgetsnapshot93286286d/javablobblobclientgetsnapshot181834d5ff308a3b224c?comp=snapshot", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientgetsnapshot0sastestblobclientgetsnapshotecb756532/javablobblobclientgetsnapshot192601bdc9f3c79c9541?comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "70722eb3-e5c4-49f9-b349-eccb22fae47f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "61c5800a-4819-495e-8a60-3b9178b1ef6e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T20:27:39.9261776Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-26T23:25:50.8002514Z", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE1FF962DE", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:39 GMT", + "ETag" : "0x8D78A5AF1F386A0", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa2ef2-c01e-012f-7c96-83f719000000", + "x-ms-request-id" : "af5f481b-201e-003e-6e43-bc0544000000", "x-ms-request-server-encrypted" : "false", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "70722eb3-e5c4-49f9-b349-eccb22fae47f" + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "61c5800a-4819-495e-8a60-3b9178b1ef6e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobclientgetsnapshot&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobclientgetsnapshot&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f7d538c9-cc5f-4a8b-bffb-49753dfc5d37" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5e2c17b5-49eb-451c-a940-b8b7d1b1be10" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074a7f0-501e-002e-7c96-83b0b1000000", - "Body" : "jtcblobclientgetsnapshotjtcblobclientgetsnapshot0sastestblobclientgetsnapshot93286286dTue, 15 Oct 2019 20:27:39 GMT\"0x8D751AE1FF34975\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "f7d538c9-cc5f-4a8b-bffb-49753dfc5d37", + "x-ms-request-id" : "af5f481e-201e-003e-7143-bc0544000000", + "Body" : "jtcblobclientgetsnapshotjtcblobclientgetsnapshot0sastestblobclientgetsnapshotecb756532Thu, 26 Dec 2019 23:25:50 GMT\"0x8D78A5AF1E6C7D7\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "5e2c17b5-49eb-451c-a940-b8b7d1b1be10", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobclientgetsnapshot0sastestblobclientgetsnapshot93286286d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientgetsnapshot0sastestblobclientgetsnapshotecb756532?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4ec572ba-ee4e-451f-b13e-5569c096c2da" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a4b6267e-16fe-49e2-817c-337d7d450c71" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa2f4a-c01e-012f-5096-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "4ec572ba-ee4e-451f-b13e-5569c096c2da" + "x-ms-request-id" : "af5f4822-201e-003e-7543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "a4b6267e-16fe-49e2-817c-337d7d450c71" }, "Exception" : null } ], - "variables" : [ "jtcblobclientgetsnapshot0sastestblobclientgetsnapshot93286286d", "javablobblobclientgetsnapshot181834d5ff308a3b224c" ] + "variables" : [ "jtcblobclientgetsnapshot0sastestblobclientgetsnapshotecb756532", "javablobblobclientgetsnapshot192601bdc9f3c79c9541" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobclientissnapshot.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobclientissnapshot.json index d25b4308a3d15..56c44dc6e853b 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobclientissnapshot.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobclientissnapshot.json @@ -1,113 +1,113 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobclientissnapshot0sastestblobclientissnapshot7e237288e5?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientissnapshot0sastestblobclientissnapshot60e945432e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "db570ade-afb1-41b4-acbe-4bb18ab26558" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0976f69a-61be-452d-bfee-c150b9c9900a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE20131958", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "ETag" : "0x8D78A5AF22692F0", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074a80a-501e-002e-1596-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "db570ade-afb1-41b4-acbe-4bb18ab26558" + "x-ms-request-id" : "af5f4826-201e-003e-7943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "0976f69a-61be-452d-bfee-c150b9c9900a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobclientissnapshot0sastestblobclientissnapshot7e237288e5/javablobblobclientissnapshot172991d2209d4978f049", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientissnapshot0sastestblobclientissnapshot60e945432e/javablobblobclientissnapshot12570099b4eba6674647", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "36456aba-fa89-46b3-8f97-3cbebea2d800", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c156695b-59c8-4832-a235-fb99321629f4", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:51 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D751AE2019EB27", + "ETag" : "0x8D78A5AF2334DBC", "Content-Length" : "0", - "x-ms-request-id" : "69fa2fa8-c01e-012f-2996-83f719000000", - "x-ms-client-request-id" : "36456aba-fa89-46b3-8f97-3cbebea2d800" + "x-ms-request-id" : "af5f482a-201e-003e-7c43-bc0544000000", + "x-ms-client-request-id" : "c156695b-59c8-4832-a235-fb99321629f4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobclientissnapshot0sastestblobclientissnapshot7e237288e5/javablobblobclientissnapshot172991d2209d4978f049?comp=snapshot", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientissnapshot0sastestblobclientissnapshot60e945432e/javablobblobclientissnapshot12570099b4eba6674647?comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d1055355-35b6-4674-ae07-1b4e4aee895b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "61ff9542-dada-4f18-a9ff-1e75d2b90388" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T20:27:40.1453895Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-26T23:25:51.2182732Z", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2019EB27", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "ETag" : "0x8D78A5AF2334DBC", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074a827-501e-002e-2f96-83b0b1000000", + "x-ms-request-id" : "af5f482f-201e-003e-8043-bc0544000000", "x-ms-request-server-encrypted" : "false", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "d1055355-35b6-4674-ae07-1b4e4aee895b" + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", + "x-ms-client-request-id" : "61ff9542-dada-4f18-a9ff-1e75d2b90388" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobclientissnapshot&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobclientissnapshot&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b7fb3d8c-071b-4415-89e2-89dded9a227f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "732a47ec-f111-431e-95cd-185be8a71aae" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3001-c01e-012f-7c96-83f719000000", - "Body" : "jtcblobclientissnapshotjtcblobclientissnapshot0sastestblobclientissnapshot7e237288e5Tue, 15 Oct 2019 20:27:40 GMT\"0x8D751AE20131958\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "b7fb3d8c-071b-4415-89e2-89dded9a227f", + "x-ms-request-id" : "af5f4832-201e-003e-0343-bc0544000000", + "Body" : "jtcblobclientissnapshotjtcblobclientissnapshot0sastestblobclientissnapshot60e945432eThu, 26 Dec 2019 23:25:51 GMT\"0x8D78A5AF22692F0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", + "x-ms-client-request-id" : "732a47ec-f111-431e-95cd-185be8a71aae", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobclientissnapshot0sastestblobclientissnapshot7e237288e5?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobclientissnapshot0sastestblobclientissnapshot60e945432e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "18072d0a-971b-4f37-9870-0afc5490ebfc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1dd4af26-db9b-4c4a-a70e-2a53e830b2f0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074a84b-501e-002e-4e96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "18072d0a-971b-4f37-9870-0afc5490ebfc" + "x-ms-request-id" : "af5f4834-201e-003e-0543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", + "x-ms-client-request-id" : "1dd4af26-db9b-4c4a-a70e-2a53e830b2f0" }, "Exception" : null } ], - "variables" : [ "jtcblobclientissnapshot0sastestblobclientissnapshot7e237288e5", "javablobblobclientissnapshot172991d2209d4978f049" ] + "variables" : [ "jtcblobclientissnapshot0sastestblobclientissnapshot60e945432e", "javablobblobclientissnapshot12570099b4eba6674647" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[0].json index 8e811feabf995..c5c8d306e4088 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrange0sastestblobrangea3b0907625cc8056a8544?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrange0sastestblobrange05494768f648874cc09e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "897bfffb-007d-4099-833d-88d2d69f56c5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82e16e58-2380-4d4f-b12f-56ee7ac6bff8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE1F7D9232", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:39 GMT", + "ETag" : "0x8D78A5AF1252574", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074a6a4-501e-002e-7096-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:38 GMT", - "x-ms-client-request-id" : "897bfffb-007d-4099-833d-88d2d69f56c5" + "x-ms-request-id" : "af5f47cd-201e-003e-2d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "82e16e58-2380-4d4f-b12f-56ee7ac6bff8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobrange&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobrange&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7497378a-4919-4bd9-8d88-93f492334b7a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5c6b745-d74b-4b55-a11d-b1bb4fc47406" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa2b89-c01e-012f-5496-83f719000000", - "Body" : "jtcblobrangejtcblobrange0sastestblobrangea3b0907625cc8056a8544Tue, 15 Oct 2019 20:27:39 GMT\"0x8D751AE1F7D9232\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:38 GMT", - "x-ms-client-request-id" : "7497378a-4919-4bd9-8d88-93f492334b7a", + "x-ms-request-id" : "af5f47d5-201e-003e-3343-bc0544000000", + "Body" : "jtcblobrangejtcblobrange0sastestblobrange05494768f648874cc09e4Thu, 26 Dec 2019 23:25:49 GMT\"0x8D78A5AF1252574\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "f5c6b745-d74b-4b55-a11d-b1bb4fc47406", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrange0sastestblobrangea3b0907625cc8056a8544?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrange0sastestblobrange05494768f648874cc09e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2057c3fe-3e86-4f8d-b776-ac905d325337" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4616f4d7-d59d-4392-b64d-7c5d829be492" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074a6c1-501e-002e-0896-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:38 GMT", - "x-ms-client-request-id" : "2057c3fe-3e86-4f8d-b776-ac905d325337" + "x-ms-request-id" : "af5f47dd-201e-003e-3943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "4616f4d7-d59d-4392-b64d-7c5d829be492" }, "Exception" : null } ], - "variables" : [ "jtcblobrange0sastestblobrangea3b0907625cc8056a8544" ] + "variables" : [ "jtcblobrange0sastestblobrange05494768f648874cc09e4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[1].json index a89f78279c5c6..7a1ab2b0f49ba 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrange0sastestblobrange0ad73682668751ff0f694?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrange0sastestblobrange77d47026b5023ba307294?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f9957f5d-6a53-4e7e-9c7b-3c54bdd9ec1a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1098aae2-e7ec-4a1e-9330-d2ff8164700d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE1F8E7B2E", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:39 GMT", + "ETag" : "0x8D78A5AF14A12CC", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa2be7-c01e-012f-2496-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "f9957f5d-6a53-4e7e-9c7b-3c54bdd9ec1a" + "x-ms-request-id" : "af5f47e1-201e-003e-3d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "1098aae2-e7ec-4a1e-9330-d2ff8164700d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobrange&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobrange&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3607ac85-b9db-43fc-a66b-638eed461625" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "70025993-d3f5-4e04-b850-5fd057cf2a86" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074a703-501e-002e-4196-83b0b1000000", - "Body" : "jtcblobrangejtcblobrange0sastestblobrange0ad73682668751ff0f694Tue, 15 Oct 2019 20:27:39 GMT\"0x8D751AE1F8E7B2E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:38 GMT", - "x-ms-client-request-id" : "3607ac85-b9db-43fc-a66b-638eed461625", + "x-ms-request-id" : "af5f47e5-201e-003e-4043-bc0544000000", + "Body" : "jtcblobrangejtcblobrange0sastestblobrange77d47026b5023ba307294Thu, 26 Dec 2019 23:25:49 GMT\"0x8D78A5AF14A12CC\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "70025993-d3f5-4e04-b850-5fd057cf2a86", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrange0sastestblobrange0ad73682668751ff0f694?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrange0sastestblobrange77d47026b5023ba307294?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "89804716-54a5-40f2-bb53-06fdcb87e713" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b5872dc-ff72-42f0-8127-ea9462fe1cec" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa2c78-c01e-012f-2f96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "89804716-54a5-40f2-bb53-06fdcb87e713" + "x-ms-request-id" : "af5f47e7-201e-003e-4243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "6b5872dc-ff72-42f0-8127-ea9462fe1cec" }, "Exception" : null } ], - "variables" : [ "jtcblobrange0sastestblobrange0ad73682668751ff0f694" ] + "variables" : [ "jtcblobrange0sastestblobrange77d47026b5023ba307294" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[2].json index d520478250644..9866b27f4a348 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrange[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrange0sastestblobrange67491331685bc86ab3354?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrange0sastestblobrange39239349adbb38fecca74?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f358c48d-6828-473f-8daa-1d6b19c4fc1f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d51b1539-91aa-42b2-9ab4-3b40fd3d6712" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE1FA8A477", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:39 GMT", + "ETag" : "0x8D78A5AF1717367", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074a71b-501e-002e-5796-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:38 GMT", - "x-ms-client-request-id" : "f358c48d-6828-473f-8daa-1d6b19c4fc1f" + "x-ms-request-id" : "af5f47eb-201e-003e-4643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "d51b1539-91aa-42b2-9ab4-3b40fd3d6712" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobrange&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobrange&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b7814831-4ccf-4ec4-82b1-c647992e6d6a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "56fea95e-71a7-404d-ba38-ce41f604456c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa2ce1-c01e-012f-1496-83f719000000", - "Body" : "jtcblobrangejtcblobrange0sastestblobrange67491331685bc86ab3354Tue, 15 Oct 2019 20:27:39 GMT\"0x8D751AE1FA8A477\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "b7814831-4ccf-4ec4-82b1-c647992e6d6a", + "x-ms-request-id" : "af5f47ef-201e-003e-4943-bc0544000000", + "Body" : "jtcblobrangejtcblobrange0sastestblobrange39239349adbb38fecca74Thu, 26 Dec 2019 23:25:49 GMT\"0x8D78A5AF1717367\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "56fea95e-71a7-404d-ba38-ce41f604456c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrange0sastestblobrange67491331685bc86ab3354?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrange0sastestblobrange39239349adbb38fecca74?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "391eef29-c9c7-491a-b675-874cfc9f11c9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f2551539-5296-4495-99a5-0473a45eed28" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074a74a-501e-002e-7a96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:38 GMT", - "x-ms-client-request-id" : "391eef29-c9c7-491a-b675-874cfc9f11c9" + "x-ms-request-id" : "af5f47f2-201e-003e-4c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "f2551539-5296-4495-99a5-0473a45eed28" }, "Exception" : null } ], - "variables" : [ "jtcblobrange0sastestblobrange67491331685bc86ab3354" ] + "variables" : [ "jtcblobrange0sastestblobrange39239349adbb38fecca74" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrangeia[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrangeia[0].json index f634bceb0e40e..c2cfbb014472a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrangeia[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrangeia[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrangeia0sastestblobrangeia0f804487fb46cbc087b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrangeia0sastestblobrangeia51d8891187327e09486?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "75d06361-c8bf-4d57-b855-f68e3d7d4bbe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5d39662e-7dcb-4a31-ac0e-12e3a8c5da94" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE1FB98D7D", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:39 GMT", + "ETag" : "0x8D78A5AF1991D1B", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa2d2a-c01e-012f-5696-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "75d06361-c8bf-4d57-b855-f68e3d7d4bbe" + "x-ms-request-id" : "af5f47f6-201e-003e-5043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "5d39662e-7dcb-4a31-ac0e-12e3a8c5da94" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobrangeia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobrangeia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8b873f2f-2e3d-4006-8ece-655b0b59f979" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e671fc7-89ed-4338-8423-9e712c76b6fb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074a766-501e-002e-1096-83b0b1000000", - "Body" : "jtcblobrangeiajtcblobrangeia0sastestblobrangeia0f804487fb46cbc087bTue, 15 Oct 2019 20:27:39 GMT\"0x8D751AE1FB98D7D\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:38 GMT", - "x-ms-client-request-id" : "8b873f2f-2e3d-4006-8ece-655b0b59f979", + "x-ms-request-id" : "af5f47fa-201e-003e-5343-bc0544000000", + "Body" : "jtcblobrangeiajtcblobrangeia0sastestblobrangeia51d8891187327e09486Thu, 26 Dec 2019 23:25:50 GMT\"0x8D78A5AF1991D1B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "4e671fc7-89ed-4338-8423-9e712c76b6fb", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrangeia0sastestblobrangeia0f804487fb46cbc087b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrangeia0sastestblobrangeia51d8891187327e09486?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a00d39a2-91d1-4aa4-8566-ceac33938225" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7b45486d-f16a-429d-b190-c934ba43b7a8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa2d7d-c01e-012f-2496-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "a00d39a2-91d1-4aa4-8566-ceac33938225" + "x-ms-request-id" : "af5f47fd-201e-003e-5643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "7b45486d-f16a-429d-b190-c934ba43b7a8" }, "Exception" : null } ], - "variables" : [ "jtcblobrangeia0sastestblobrangeia0f804487fb46cbc087b" ] + "variables" : [ "jtcblobrangeia0sastestblobrangeia51d8891187327e09486" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrangeia[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrangeia[1].json index 09df7a930ae30..7430363155184 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrangeia[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobrangeia[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrangeia0sastestblobrangeiad542080050c8bde8322?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrangeia0sastestblobrangeia0de00355aeb1253fd5a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "51b51a58-99d9-4f56-8779-d2d517247dea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4521a58e-c554-46d8-8a37-0111419a3137" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE1FCA65A1", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:39 GMT", + "ETag" : "0x8D78A5AF1BF937B", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074a788-501e-002e-2896-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:38 GMT", - "x-ms-client-request-id" : "51b51a58-99d9-4f56-8779-d2d517247dea" + "x-ms-request-id" : "af5f4804-201e-003e-5c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "4521a58e-c554-46d8-8a37-0111419a3137" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobrangeia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobrangeia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0a3c9a9e-d565-4afa-b75e-b521d6405e93" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ae8317e0-50e9-440f-823c-876954455a32" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa2dcf-c01e-012f-7096-83f719000000", - "Body" : "jtcblobrangeiajtcblobrangeia0sastestblobrangeiad542080050c8bde8322Tue, 15 Oct 2019 20:27:39 GMT\"0x8D751AE1FCA65A1\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "0a3c9a9e-d565-4afa-b75e-b521d6405e93", + "x-ms-request-id" : "af5f4809-201e-003e-6043-bc0544000000", + "Body" : "jtcblobrangeiajtcblobrangeia0sastestblobrangeia0de00355aeb1253fd5aThu, 26 Dec 2019 23:25:50 GMT\"0x8D78A5AF1BF937B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "ae8317e0-50e9-440f-823c-876954455a32", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobrangeia0sastestblobrangeiad542080050c8bde8322?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobrangeia0sastestblobrangeia0de00355aeb1253fd5a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9cf170f5-273a-4a71-956e-a835d0ac525b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "40f5df73-d680-4e70-827b-585ce6f2c787" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074a7a9-501e-002e-4396-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "9cf170f5-273a-4a71-956e-a835d0ac525b" + "x-ms-request-id" : "af5f480d-201e-003e-6443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:50 GMT", + "x-ms-client-request-id" : "40f5df73-d680-4e70-827b-585ce6f2c787" }, "Exception" : null } ], - "variables" : [ "jtcblobrangeia0sastestblobrangeiad542080050c8bde8322" ] + "variables" : [ "jtcblobrangeia0sastestblobrangeia0de00355aeb1253fd5a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[0].json index 5e7a9b543c956..a8c25609735b6 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse086423239056a2bdb046f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse075591165e5047433a45c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "11d75c5b-762f-425f-b419-8e10a0ae64cf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "da4e3a94-5499-4383-8bf6-d066ebf65b71" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE23DCD08F", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFB9B88EF", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b085-501e-002e-4f97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "11d75c5b-762f-425f-b419-8e10a0ae64cf" + "x-ms-request-id" : "af5f4b8d-201e-003e-0643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "da4e3a94-5499-4383-8bf6-d066ebf65b71" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2d5a19a2-3aa6-4aa9-b4b6-b66aef966300" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9a40f77a-1376-4416-a3d8-7f84ee9b2590" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa47f8-c01e-012f-2097-83f719000000", - "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse086423239056a2bdb046fTue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE23DCD08F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "2d5a19a2-3aa6-4aa9-b4b6-b66aef966300", + "x-ms-request-id" : "af5f4b92-201e-003e-0943-bc0544000000", + "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse075591165e5047433a45cThu, 26 Dec 2019 23:26:06 GMT\"0x8D78A5AFB9B88EF\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "9a40f77a-1376-4416-a3d8-7f84ee9b2590", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse086423239056a2bdb046f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse075591165e5047433a45c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a7b65587-3a9e-4841-a9ed-eb279914a7ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4ae7e364-8cec-4a28-8119-5b991ce143e9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b097-501e-002e-5c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "a7b65587-3a9e-4841-a9ed-eb279914a7ed" + "x-ms-request-id" : "af5f4b94-201e-003e-0b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "4ae7e364-8cec-4a28-8119-5b991ce143e9" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionsparse086423239056a2bdb046f" ] + "variables" : [ "jtcblobsaspermissionsparse075591165e5047433a45c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[1].json index 9d4bd9683cc2f..c50f29e4930fa 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse0199100fda603131324a8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse084420e7047253ca244eb?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ba6dea8d-a5b8-4395-88cc-980746dff958" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "95c4f5c6-00b9-4fda-853e-d51d005a3df2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE23EF1B20", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFBC1F9E0", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4842-c01e-012f-6997-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "ba6dea8d-a5b8-4395-88cc-980746dff958" + "x-ms-request-id" : "af5f4b98-201e-003e-0f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "95c4f5c6-00b9-4fda-853e-d51d005a3df2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2433e573-65a9-4cea-a416-ce56cfbc8eb4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a5cbfe02-9d54-4c3e-9c1d-cea56b375bc1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b0ad-501e-002e-6f97-83b0b1000000", - "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse0199100fda603131324a8Tue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE23EF1B20\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "2433e573-65a9-4cea-a416-ce56cfbc8eb4", + "x-ms-request-id" : "af5f4b9d-201e-003e-1343-bc0544000000", + "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse084420e7047253ca244ebThu, 26 Dec 2019 23:26:07 GMT\"0x8D78A5AFBC1F9E0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "a5cbfe02-9d54-4c3e-9c1d-cea56b375bc1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse0199100fda603131324a8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse084420e7047253ca244eb?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "edf2d98f-090e-426a-836d-31bbabad1fd9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e192941d-0f27-410c-a6bc-68a658ecb770" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa488a-c01e-012f-2b97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "edf2d98f-090e-426a-836d-31bbabad1fd9" + "x-ms-request-id" : "af5f4ba1-201e-003e-1743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "e192941d-0f27-410c-a6bc-68a658ecb770" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionsparse0199100fda603131324a8" ] + "variables" : [ "jtcblobsaspermissionsparse084420e7047253ca244eb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[2].json index ec8806a83de02..0de6941060424 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse034233cc1ed307734c4f9?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse05492436479754d780429?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a0d7f8ca-b566-41ee-b93e-e64fb537b01d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5d81c402-7e80-44c3-9517-1b031277b753" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE24012A79", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFBE6E96E", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b0b8-501e-002e-7897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "a0d7f8ca-b566-41ee-b93e-e64fb537b01d" + "x-ms-request-id" : "af5f4ba5-201e-003e-1b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "5d81c402-7e80-44c3-9517-1b031277b753" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a6a0790b-7d93-44f4-8617-d80cb90d1b36" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb8b8b07-af7a-424e-9e23-d345a3efd878" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa48df-c01e-012f-7897-83f719000000", - "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse034233cc1ed307734c4f9Tue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE24012A79\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "a6a0790b-7d93-44f4-8617-d80cb90d1b36", + "x-ms-request-id" : "af5f4bae-201e-003e-2243-bc0544000000", + "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse05492436479754d780429Thu, 26 Dec 2019 23:26:07 GMT\"0x8D78A5AFBE6E96E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "fb8b8b07-af7a-424e-9e23-d345a3efd878", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse034233cc1ed307734c4f9?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse05492436479754d780429?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "13f35622-9f2c-4c32-a94b-1b86b6da0c3c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "38d95380-1723-44d1-a97e-7178b3cb6d53" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b0c7-501e-002e-0497-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "13f35622-9f2c-4c32-a94b-1b86b6da0c3c" + "x-ms-request-id" : "af5f4bb1-201e-003e-2543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "38d95380-1723-44d1-a97e-7178b3cb6d53" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionsparse034233cc1ed307734c4f9" ] + "variables" : [ "jtcblobsaspermissionsparse05492436479754d780429" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[3].json index 9b4df802ed786..779d2b749dbe2 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse01027861522192251e402?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse06809083f9d92f30104d5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9ab1cfaf-f2fd-4609-bf24-185a65e31198" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "373df32b-a5e6-4082-9a08-83d799ca62d0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE24121522", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFC0BD442", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa492f-c01e-012f-4497-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "9ab1cfaf-f2fd-4609-bf24-185a65e31198" + "x-ms-request-id" : "af5f4bb4-201e-003e-2843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "373df32b-a5e6-4082-9a08-83d799ca62d0" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ac604b69-9957-4b0f-88b5-ec634e89c190" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b8b59385-7ca2-457c-a924-1b7469d0439a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b0d7-501e-002e-1097-83b0b1000000", - "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse01027861522192251e402Tue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE24121522\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "ac604b69-9957-4b0f-88b5-ec634e89c190", + "x-ms-request-id" : "af5f4bbb-201e-003e-2e43-bc0544000000", + "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse06809083f9d92f30104d5Thu, 26 Dec 2019 23:26:07 GMT\"0x8D78A5AFC0BD442\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "b8b59385-7ca2-457c-a924-1b7469d0439a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse01027861522192251e402?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse06809083f9d92f30104d5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3ff020a9-391a-4336-ad84-0b88bc68a33a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "23fa149b-2723-4158-a103-0866c172819c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4981-c01e-012f-1197-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "3ff020a9-391a-4336-ad84-0b88bc68a33a" + "x-ms-request-id" : "af5f4bc2-201e-003e-3543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "23fa149b-2723-4158-a103-0866c172819c" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionsparse01027861522192251e402" ] + "variables" : [ "jtcblobsaspermissionsparse06809083f9d92f30104d5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[4].json index 30bdc765aaf13..99bd9837f411f 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[4].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse067207367d3e567f62419?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse0384930950f9df4c1943a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b9555f80-996a-4437-aa7c-582311316cbb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8095f39d-9511-4b90-a19b-bf7aa0cd68a8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE242360F2", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFC309C7C", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b0e8-501e-002e-1b97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "b9555f80-996a-4437-aa7c-582311316cbb" + "x-ms-request-id" : "af5f4bd0-201e-003e-4043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "8095f39d-9511-4b90-a19b-bf7aa0cd68a8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0b4fedb0-d4a5-4a3f-9250-cc2b8d91035f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "05efd783-1643-4730-b674-3358e90b139e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa49c3-c01e-012f-4e97-83f719000000", - "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse067207367d3e567f62419Tue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE242360F2\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "0b4fedb0-d4a5-4a3f-9250-cc2b8d91035f", + "x-ms-request-id" : "af5f4bd6-201e-003e-4543-bc0544000000", + "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse0384930950f9df4c1943aThu, 26 Dec 2019 23:26:07 GMT\"0x8D78A5AFC309C7C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "05efd783-1643-4730-b674-3358e90b139e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse067207367d3e567f62419?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse0384930950f9df4c1943a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eb37177a-4137-464c-b504-c325af8cbc8b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc227578-0d8a-4c0f-9e54-f37c3943ad87" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b0fa-501e-002e-2897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "eb37177a-4137-464c-b504-c325af8cbc8b" + "x-ms-request-id" : "af5f4bda-201e-003e-4943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "bc227578-0d8a-4c0f-9e54-f37c3943ad87" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionsparse067207367d3e567f62419" ] + "variables" : [ "jtcblobsaspermissionsparse0384930950f9df4c1943a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[5].json index cd41bc907377d..1762a4da7414a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[5].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse01419007f970a6995c489?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse015754dfdd6f1c08ba429?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5c64066b-69eb-4dc3-bb0d-41411f5bc9dd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "57da1e13-a383-4879-a56b-732589375b3a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE24366F0A", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFC56717F", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4a0d-c01e-012f-1497-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "5c64066b-69eb-4dc3-bb0d-41411f5bc9dd" + "x-ms-request-id" : "af5f4be1-201e-003e-5043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "57da1e13-a383-4879-a56b-732589375b3a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0982f43a-662b-4318-88a3-7716988b8e1b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dc28959b-a732-44fd-88e9-40899f7e98cb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b10c-501e-002e-3697-83b0b1000000", - "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse01419007f970a6995c489Tue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE24366F0A\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "0982f43a-662b-4318-88a3-7716988b8e1b", + "x-ms-request-id" : "af5f4be9-201e-003e-5743-bc0544000000", + "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse015754dfdd6f1c08ba429Thu, 26 Dec 2019 23:26:08 GMT\"0x8D78A5AFC56717F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "dc28959b-a732-44fd-88e9-40899f7e98cb", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse01419007f970a6995c489?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse015754dfdd6f1c08ba429?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d6d7f294-4a84-4c62-aa06-997461d5679d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93547a2a-1016-440a-9c0e-e476bd7f2e9d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4a5e-c01e-012f-5b97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "d6d7f294-4a84-4c62-aa06-997461d5679d" + "x-ms-request-id" : "af5f4bed-201e-003e-5b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:07 GMT", + "x-ms-client-request-id" : "93547a2a-1016-440a-9c0e-e476bd7f2e9d" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionsparse01419007f970a6995c489" ] + "variables" : [ "jtcblobsaspermissionsparse015754dfdd6f1c08ba429" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[6].json index 23d6c465ef7d4..799dd5d3614e1 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparse[6].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse08389772fa1b78332a45b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse098695466851bbce984ac?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fd347116-3110-4193-bd54-6408a4fa2e6e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9c5e6e66-88ff-44bb-8271-e85b1b94b982" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE244A053F", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:47 GMT", + "ETag" : "0x8D78A5AFC7C4AC0", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b132-501e-002e-5697-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "fd347116-3110-4193-bd54-6408a4fa2e6e" + "x-ms-request-id" : "af5f4bf1-201e-003e-5f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "9c5e6e66-88ff-44bb-8271-e85b1b94b982" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "88b16c5e-0763-4f47-90dd-306eb8ff6d59" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63d18547-00d8-472a-93bd-5acd2bc61e5d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa4ae1-c01e-012f-4e97-83f719000000", - "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse08389772fa1b78332a45bTue, 15 Oct 2019 20:27:47 GMT\"0x8D751AE244A053F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "88b16c5e-0763-4f47-90dd-306eb8ff6d59", + "x-ms-request-id" : "af5f4bf7-201e-003e-6443-bc0544000000", + "Body" : "jtcblobsaspermissionsparsejtcblobsaspermissionsparse098695466851bbce984acThu, 26 Dec 2019 23:26:08 GMT\"0x8D78A5AFC7C4AC0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "63d18547-00d8-472a-93bd-5acd2bc61e5d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparse08389772fa1b78332a45b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparse098695466851bbce984ac?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "98812c38-b4d9-4ced-874e-605039f63a7c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "33f48eb1-b33f-4750-a90b-c8c629aa59f0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b13f-501e-002e-6097-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "98812c38-b4d9-4ced-874e-605039f63a7c" + "x-ms-request-id" : "af5f4bfc-201e-003e-6943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "33f48eb1-b33f-4750-a90b-c8c629aa59f0" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionsparse08389772fa1b78332a45b" ] + "variables" : [ "jtcblobsaspermissionsparse098695466851bbce984ac" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparseia.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparseia.json index d922b6005299a..7d82ace3458f2 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparseia.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionsparseia.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparseia031256c9a6ee2f692749?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparseia054549f0331fa4c07143?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0003b6e8-077b-45b6-9f9a-e3511a8d1e87" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5dbe5c10-69f9-43d6-a509-c7b4f0012dc3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE245C4FFB", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:47 GMT", + "ETag" : "0x8D78A5AFCA137D9", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4b3f-c01e-012f-2497-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "0003b6e8-077b-45b6-9f9a-e3511a8d1e87" + "x-ms-request-id" : "af5f4c03-201e-003e-7043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "5dbe5c10-69f9-43d6-a509-c7b4f0012dc3" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionsparseia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionsparseia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "62786327-541c-4bf9-9c06-5143c015a739" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5a110ff5-f44f-423b-835e-0df20f4bd263" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b14b-501e-002e-6897-83b0b1000000", - "Body" : "jtcblobsaspermissionsparseiajtcblobsaspermissionsparseia031256c9a6ee2f692749Tue, 15 Oct 2019 20:27:47 GMT\"0x8D751AE245C4FFB\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "62786327-541c-4bf9-9c06-5143c015a739", + "x-ms-request-id" : "af5f4c07-201e-003e-7343-bc0544000000", + "Body" : "jtcblobsaspermissionsparseiajtcblobsaspermissionsparseia054549f0331fa4c07143Thu, 26 Dec 2019 23:26:08 GMT\"0x8D78A5AFCA137D9\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "5a110ff5-f44f-423b-835e-0df20f4bd263", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionsparseia031256c9a6ee2f692749?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionsparseia054549f0331fa4c07143?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1bba419a-e1e3-4dc2-962d-f6d1d175b340" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "17e3f4aa-c47b-45fd-83cf-df503f45a2cb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4b8a-c01e-012f-6b97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "1bba419a-e1e3-4dc2-962d-f6d1d175b340" + "x-ms-request-id" : "af5f4c0a-201e-003e-7643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "17e3f4aa-c47b-45fd-83cf-df503f45a2cb" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionsparseia031256c9a6ee2f692749" ] + "variables" : [ "jtcblobsaspermissionsparseia054549f0331fa4c07143" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[0].json index 8290300a7579e..bec61c394a3aa 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring023457a311b0a7396842?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring025893bf31623b0bf84f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "158a9f9a-f55f-4f70-86af-e895e0b05aa0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f009129a-3df1-4164-8026-5e0037cef579" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE237430E6", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:45 GMT", + "ETag" : "0x8D78A5AFAB7DE46", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074afc9-501e-002e-3697-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "158a9f9a-f55f-4f70-86af-e895e0b05aa0" + "x-ms-request-id" : "af5f4b43-201e-003e-4643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "f009129a-3df1-4164-8026-5e0037cef579" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6c9506c7-2dc1-4d51-8432-3be3f9d060ee" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a1c79b24-7ee6-4a23-b6c7-ed4be016442e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa4544-c01e-012f-2497-83f719000000", - "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring023457a311b0a7396842Tue, 15 Oct 2019 20:27:45 GMT\"0x8D751AE237430E6\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "6c9506c7-2dc1-4d51-8432-3be3f9d060ee", + "x-ms-request-id" : "af5f4b47-201e-003e-4943-bc0544000000", + "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring025893bf31623b0bf84fThu, 26 Dec 2019 23:26:05 GMT\"0x8D78A5AFAB7DE46\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "a1c79b24-7ee6-4a23-b6c7-ed4be016442e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring023457a311b0a7396842?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring025893bf31623b0bf84f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a2d9e02f-f98e-4295-ac0e-5943a50a46ec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "019d0d4c-401f-4e97-ba98-9ffa415d4af8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074afe2-501e-002e-4897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "a2d9e02f-f98e-4295-ac0e-5943a50a46ec" + "x-ms-request-id" : "af5f4b49-201e-003e-4b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "019d0d4c-401f-4e97-ba98-9ffa415d4af8" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionstostring023457a311b0a7396842" ] + "variables" : [ "jtcblobsaspermissionstostring025893bf31623b0bf84f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[1].json index ed632414777c5..8a78fa5edfa6f 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring00252678a5755c05174c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring06086926c5ca7948fe4e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "80f038fb-3fba-4ec2-b77a-6ae236d988da" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d4f19c0-3c9e-4ca0-b3d6-69b5222bd125" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE238717BB", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:45 GMT", + "ETag" : "0x8D78A5AFADCF37E", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4588-c01e-012f-5f97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "80f038fb-3fba-4ec2-b77a-6ae236d988da" + "x-ms-request-id" : "af5f4b4e-201e-003e-4f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "0d4f19c0-3c9e-4ca0-b3d6-69b5222bd125" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4eae4efd-40da-435f-8498-51dec1f9c181" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3bdfec01-2168-420d-98f4-fda5f68791d4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074aff3-501e-002e-5697-83b0b1000000", - "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring00252678a5755c05174cTue, 15 Oct 2019 20:27:45 GMT\"0x8D751AE238717BB\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "4eae4efd-40da-435f-8498-51dec1f9c181", + "x-ms-request-id" : "af5f4b53-201e-003e-5343-bc0544000000", + "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring06086926c5ca7948fe4eThu, 26 Dec 2019 23:26:05 GMT\"0x8D78A5AFADCF37E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "3bdfec01-2168-420d-98f4-fda5f68791d4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring00252678a5755c05174c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring06086926c5ca7948fe4e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bb4cf17c-0705-4a8d-8262-fd720bbe09a2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d3440e9-10be-4589-9959-109b9cebb2f6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa45d5-c01e-012f-2597-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "bb4cf17c-0705-4a8d-8262-fd720bbe09a2" + "x-ms-request-id" : "af5f4b5d-201e-003e-5a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "8d3440e9-10be-4589-9959-109b9cebb2f6" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionstostring00252678a5755c05174c" ] + "variables" : [ "jtcblobsaspermissionstostring06086926c5ca7948fe4e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[2].json index 4447c637ab9fe..1cf0edb72d3e3 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring03250044db18f237764c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring013201f466c95137ff4b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "76365284-a01d-42e0-9c95-db621eda603a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "efa4d560-bd46-4b14-93e3-8c30661f7586" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE239863A6", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:45 GMT", + "ETag" : "0x8D78A5AFB0563C0", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b00a-501e-002e-6997-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "76365284-a01d-42e0-9c95-db621eda603a" + "x-ms-request-id" : "af5f4b60-201e-003e-5d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "efa4d560-bd46-4b14-93e3-8c30661f7586" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a798ec3d-4c84-4dce-bcaf-7f5a94a1478a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e8ca2b1f-5023-4987-ae64-74cd319e69f0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa461b-c01e-012f-6797-83f719000000", - "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring03250044db18f237764cTue, 15 Oct 2019 20:27:45 GMT\"0x8D751AE239863A6\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "a798ec3d-4c84-4dce-bcaf-7f5a94a1478a", + "x-ms-request-id" : "af5f4b63-201e-003e-5f43-bc0544000000", + "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring013201f466c95137ff4bThu, 26 Dec 2019 23:26:05 GMT\"0x8D78A5AFB0563C0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "e8ca2b1f-5023-4987-ae64-74cd319e69f0", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring03250044db18f237764c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring013201f466c95137ff4b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "098b0a0c-c769-4ff3-b9c7-5af8580c7020" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8bdb5e6b-9566-4f8b-b259-96796a9d563a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b018-501e-002e-7597-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "098b0a0c-c769-4ff3-b9c7-5af8580c7020" + "x-ms-request-id" : "af5f4b67-201e-003e-6343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "8bdb5e6b-9566-4f8b-b259-96796a9d563a" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionstostring03250044db18f237764c" ] + "variables" : [ "jtcblobsaspermissionstostring013201f466c95137ff4b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[3].json index 3d6dcb233ab74..9cb40e08f5242 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring027448e76f2770d62047?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring050164c146cd2155aa4e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3c126209-5ab8-44a9-b7ef-64c5aee27058" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "97b8a8e1-6989-44c4-8bcd-74501fd88f74" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE23A8D8F4", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFB2A7667", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4667-c01e-012f-2f97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "3c126209-5ab8-44a9-b7ef-64c5aee27058" + "x-ms-request-id" : "af5f4b6a-201e-003e-6643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "97b8a8e1-6989-44c4-8bcd-74501fd88f74" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1b872e68-75ef-4129-8321-fae0e1148682" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6bbf0c1-eecf-42d6-a038-3cd3f31ab94e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b03d-501e-002e-1197-83b0b1000000", - "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring027448e76f2770d62047Tue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE23A8D8F4\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "1b872e68-75ef-4129-8321-fae0e1148682", + "x-ms-request-id" : "af5f4b6d-201e-003e-6843-bc0544000000", + "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring050164c146cd2155aa4eThu, 26 Dec 2019 23:26:06 GMT\"0x8D78A5AFB2A7667\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "d6bbf0c1-eecf-42d6-a038-3cd3f31ab94e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring027448e76f2770d62047?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring050164c146cd2155aa4e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "45a1d95d-3ada-4389-9e2a-124a5c6b2a12" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1dcd7823-7934-4a08-b0d8-d42ff95bdfb8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa46c3-c01e-012f-0197-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "45a1d95d-3ada-4389-9e2a-124a5c6b2a12" + "x-ms-request-id" : "af5f4b72-201e-003e-6d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "1dcd7823-7934-4a08-b0d8-d42ff95bdfb8" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionstostring027448e76f2770d62047" ] + "variables" : [ "jtcblobsaspermissionstostring050164c146cd2155aa4e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[4].json index 8425681b859dc..adc0b26fbc6db 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[4].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring0760036aa2ad0966a444?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring09142129f1d66d34af4d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "25106d77-5f2c-4323-a08e-01f98b5466fc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "62955ae3-6535-4225-9acd-d0bfbfeaf32f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE23BB367D", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFB4FB189", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b050-501e-002e-2397-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "25106d77-5f2c-4323-a08e-01f98b5466fc" + "x-ms-request-id" : "af5f4b76-201e-003e-7143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "62955ae3-6535-4225-9acd-d0bfbfeaf32f" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "49cd2ac3-4c4d-4c75-b3d8-81354bb851b7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47ebaeb8-6cf0-425e-a19a-69f9a3a45fef" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa4715-c01e-012f-4e97-83f719000000", - "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring0760036aa2ad0966a444Tue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE23BB367D\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "49cd2ac3-4c4d-4c75-b3d8-81354bb851b7", + "x-ms-request-id" : "af5f4b7b-201e-003e-7543-bc0544000000", + "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring09142129f1d66d34af4dThu, 26 Dec 2019 23:26:06 GMT\"0x8D78A5AFB4FB189\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "47ebaeb8-6cf0-425e-a19a-69f9a3a45fef", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring0760036aa2ad0966a444?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring09142129f1d66d34af4d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a3360407-d085-4673-9c06-d4add4d0395e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c51c805d-3756-47e4-b130-e89f78e01988" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b065-501e-002e-3497-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "a3360407-d085-4673-9c06-d4add4d0395e" + "x-ms-request-id" : "af5f4b7f-201e-003e-7943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "c51c805d-3756-47e4-b130-e89f78e01988" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionstostring0760036aa2ad0966a444" ] + "variables" : [ "jtcblobsaspermissionstostring09142129f1d66d34af4d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[5].json index 0d590239dd514..dc1e377ce7316 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobsaspermissionstostring[5].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring0574068ae299f0008a4e?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring095523d447df3cc1d64d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "07314227-4740-4011-90fe-7a53b4aed794" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "27a02f86-a593-40a8-8f79-0a3eb37d7b2f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE23CD0BC0", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:46 GMT", + "ETag" : "0x8D78A5AFB74C41E", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa475d-c01e-012f-0f97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "07314227-4740-4011-90fe-7a53b4aed794" + "x-ms-request-id" : "af5f4b83-201e-003e-7d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "27a02f86-a593-40a8-8f79-0a3eb37d7b2f" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "188b6267-6f05-486f-884a-7bf686407e07" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df41b099-3730-4ba1-912a-4a3c636f3957" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b077-501e-002e-4397-83b0b1000000", - "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring0574068ae299f0008a4eTue, 15 Oct 2019 20:27:46 GMT\"0x8D751AE23CD0BC0\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "188b6267-6f05-486f-884a-7bf686407e07", + "x-ms-request-id" : "af5f4b87-201e-003e-8043-bc0544000000", + "Body" : "jtcblobsaspermissionstostringjtcblobsaspermissionstostring095523d447df3cc1d64dThu, 26 Dec 2019 23:26:06 GMT\"0x8D78A5AFB74C41E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "df41b099-3730-4ba1-912a-4a3c636f3957", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobsaspermissionstostring0574068ae299f0008a4e?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsaspermissionstostring095523d447df3cc1d64d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "078bde3d-4dd1-4a1c-99da-34d5401c29dd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0b958871-72d1-4ded-9d77-1dab77171480" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa47a6-c01e-012f-5397-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "078bde3d-4dd1-4a1c-99da-34d5401c29dd" + "x-ms-request-id" : "af5f4b8a-201e-003e-0343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:06 GMT", + "x-ms-client-request-id" : "0b958871-72d1-4ded-9d77-1dab77171480" }, "Exception" : null } ], - "variables" : [ "jtcblobsaspermissionstostring0574068ae299f0008a4e" ] + "variables" : [ "jtcblobsaspermissionstostring095523d447df3cc1d64d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobservicesasnetworktestblobsnapshot.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobservicesasnetworktestblobsnapshot.json index be387c64a615c..1e19b94dc836a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobservicesasnetworktestblobsnapshot.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestblobservicesasnetworktestblobsnapshot.json @@ -1,101 +1,101 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot02567014d7ec7f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot0837715b68852e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "421b7efa-70ca-4fa4-b2e0-61ec4671d08e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d61fb408-f245-47cf-a9f2-2326fbdd9f93" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE20BE50BF", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "ETag" : "0x8D78A5AF400CEB2", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074a9a7-501e-002e-6d96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "421b7efa-70ca-4fa4-b2e0-61ec4671d08e" + "x-ms-request-id" : "af5f48bc-201e-003e-7e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", + "x-ms-client-request-id" : "d61fb408-f245-47cf-a9f2-2326fbdd9f93" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot1880168ae19a89?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot187328d7ee939a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0e3dddda-4e7a-4377-9bfb-bf71954fe7e9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3c1f511a-bb69-49e8-96b3-14083fad1015" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE20C3ECAA", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "ETag" : "0x8D78A5AF40DA151", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3397-c01e-012f-4c96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "0e3dddda-4e7a-4377-9bfb-bf71954fe7e9" + "x-ms-request-id" : "af5f48c1-201e-003e-0143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", + "x-ms-client-request-id" : "3c1f511a-bb69-49e8-96b3-14083fad1015" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot1880168ae19a89/javablobblobservicesasnetworktestblobsnapshot29432804c7ab", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot187328d7ee939a/javablobblobservicesasnetworktestblobsnapshot247452c478e5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "96c0f7fa-b993-480c-8d42-e1c219c1a50f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f88aa33e-475c-4fc5-939a-a08352bd20cc", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:54 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D751AE20CA53EE", + "ETag" : "0x8D78A5AF41A5FDE", "Content-Length" : "0", - "x-ms-request-id" : "8074a9c7-501e-002e-0996-83b0b1000000", - "x-ms-client-request-id" : "96c0f7fa-b993-480c-8d42-e1c219c1a50f" + "x-ms-request-id" : "af5f48c6-201e-003e-0543-bc0544000000", + "x-ms-client-request-id" : "f88aa33e-475c-4fc5-939a-a08352bd20cc" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot1880168ae19a89/javablobblobservicesasnetworktestblobsnapshot29432804c7ab?comp=snapshot", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot187328d7ee939a/javablobblobservicesasnetworktestblobsnapshot247452c478e5?comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "720642a9-3fb7-462d-98d2-943de12c6f8e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef8fde28-135a-4f31-8803-1ff0995c5aa8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T20:27:41.2904944Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-26T23:25:54.4103401Z", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE20CA53EE", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "ETag" : "0x8D78A5AF41A5FDE", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa33e7-c01e-012f-1896-83f719000000", + "x-ms-request-id" : "af5f48c9-201e-003e-0843-bc0544000000", "x-ms-request-server-encrypted" : "false", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "720642a9-3fb7-462d-98d2-943de12c6f8e" + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", + "x-ms-client-request-id" : "ef8fde28-135a-4f31-8803-1ff0995c5aa8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot1880168ae19a89/javablobblobservicesasnetworktestblobsnapshot29432804c7ab?sv=2019-02-02&spr=https%2Chttp&st=2019-10-14T20%3A27%3A41Z&se=2019-10-16T20%3A27%3A41Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot187328d7ee939a/javablobblobservicesasnetworktestblobsnapshot247452c478e5?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A54Z&se=2019-12-27T23%3A25%3A54Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d34d0172-1b74-4cae-ac91-92a6aef88fb9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "44e20f61-1982-48d6-a7e0-7788daffaa6a" }, "Response" : { "Server" : "Microsoft-HTTPAPI/2.0", @@ -103,58 +103,58 @@ "retry-after" : "0", "Content-Length" : "447", "StatusCode" : "403", - "x-ms-request-id" : "8074a9e3-501e-002e-2096-83b0b1000000", - "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:8074a9e3-501e-002e-2096-83b0b1000000\nTime:2019-10-15T20:27:41.3358892ZThe specified signed resource is not allowed for the this resource level", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", + "x-ms-request-id" : "af5f48cc-201e-003e-0a43-bc0544000000", + "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:af5f48cc-201e-003e-0a43-bc0544000000\nTime:2019-12-26T23:25:54.4888403ZThe specified signed resource is not allowed for the this resource level", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot1880168ae19a89/javablobblobservicesasnetworktestblobsnapshot29432804c7ab?snapshot=2019-10-15T20%3a27%3a41.2904944Z&sv=2019-02-02&spr=https%2Chttp&st=2019-10-14T20%3A27%3A41Z&se=2019-10-16T20%3A27%3A41Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot187328d7ee939a/javablobblobservicesasnetworktestblobsnapshot247452c478e5?snapshot=2019-12-26T23%3a25%3a54.4103401Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A54Z&se=2019-12-27T23%3A25%3A54Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1586a9b0-3f12-4ef7-9cbd-686179c10968" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "28e18436-a172-4b70-a293-e1844e5b9d2f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D751AE20CA53EE", + "ETag" : "0x8D78A5AF41A5FDE", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Tue, 15 Oct 2019 20:27:41 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:54 GMT", "Content-Length" : "7", - "x-ms-request-id" : "69fa3448-c01e-012f-7496-83f719000000", + "x-ms-request-id" : "af5f48ce-201e-003e-0c43-bc0544000000", "Body" : "default", - "x-ms-client-request-id" : "1586a9b0-3f12-4ef7-9cbd-686179c10968", + "x-ms-client-request-id" : "28e18436-a172-4b70-a293-e1844e5b9d2f", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot1880168ae19a89/javablobblobservicesasnetworktestblobsnapshot29432804c7ab?snapshot=2019-10-15T20%3a27%3a41.2904944Z&sv=2019-02-02&spr=https%2Chttp&st=2019-10-14T20%3A27%3A41Z&se=2019-10-16T20%3A27%3A41Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot187328d7ee939a/javablobblobservicesasnetworktestblobsnapshot247452c478e5?snapshot=2019-12-26T23%3a25%3a54.4103401Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A54Z&se=2019-12-27T23%3A25%3A54Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "46159090-7702-400d-a491-0efa8cf9ee99" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bbf671b5-e052-45d7-9faa-b25d2889c3b1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", @@ -162,76 +162,76 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D751AE20CA53EE", + "ETag" : "0x8D78A5AF41A5FDE", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Tue, 15 Oct 2019 20:27:41 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:54 GMT", "Content-Length" : "7", - "x-ms-request-id" : "8074aa05-501e-002e-3e96-83b0b1000000", - "x-ms-client-request-id" : "46159090-7702-400d-a491-0efa8cf9ee99", + "x-ms-request-id" : "af5f48d1-201e-003e-0f43-bc0544000000", + "x-ms-client-request-id" : "bbf671b5-e052-45d7-9faa-b25d2889c3b1", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcblobservicesasnetworktestblobsnapshot&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobservicesasnetworktestblobsnapshot&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c331271-db42-4604-8b6d-f2f82b529328" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e7c098f6-e857-436d-b0b1-f6b54161bcf1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa34a4-c01e-012f-4996-83f719000000", - "Body" : "jtcblobservicesasnetworktestblobsnapshotjtcblobservicesasnetworktestblobsnapshot02567014d7ec7fTue, 15 Oct 2019 20:27:41 GMT\"0x8D751AE20BE50BF\"unlockedavailable$account-encryption-keyfalsefalsefalsejtcblobservicesasnetworktestblobsnapshot1880168ae19a89Tue, 15 Oct 2019 20:27:41 GMT\"0x8D751AE20C3ECAA\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "0c331271-db42-4604-8b6d-f2f82b529328", + "x-ms-request-id" : "af5f48d4-201e-003e-1243-bc0544000000", + "Body" : "jtcblobservicesasnetworktestblobsnapshotjtcblobservicesasnetworktestblobsnapshot0837715b68852eThu, 26 Dec 2019 23:25:54 GMT\"0x8D78A5AF400CEB2\"unlockedavailable$account-encryption-keyfalsefalsefalsejtcblobservicesasnetworktestblobsnapshot187328d7ee939aThu, 26 Dec 2019 23:25:54 GMT\"0x8D78A5AF40DA151\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", + "x-ms-client-request-id" : "e7c098f6-e857-436d-b0b1-f6b54161bcf1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot02567014d7ec7f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot0837715b68852e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8c38f873-acd0-483a-9948-379430fe8cb2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "71791266-0699-486e-9912-1b6bec3e2a3c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074aa20-501e-002e-5696-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "8c38f873-acd0-483a-9948-379430fe8cb2" + "x-ms-request-id" : "af5f48d6-201e-003e-1443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", + "x-ms-client-request-id" : "71791266-0699-486e-9912-1b6bec3e2a3c" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot1880168ae19a89?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot187328d7ee939a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f71137cf-d5ac-43b8-a84a-7b640396f303" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "649da880-5cf7-4b5c-a317-285c87d3bb5b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3525-c01e-012f-4396-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "f71137cf-d5ac-43b8-a84a-7b640396f303" + "x-ms-request-id" : "af5f48da-201e-003e-1743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", + "x-ms-client-request-id" : "649da880-5cf7-4b5c-a317-285c87d3bb5b" }, "Exception" : null } ], - "variables" : [ "jtcblobservicesasnetworktestblobsnapshot02567014d7ec7f", "jtcblobservicesasnetworktestblobsnapshot1880168ae19a89", "javablobblobservicesasnetworktestblobsnapshot29432804c7ab", "2019-10-15T20:27:41.324174900Z", "2019-10-15T20:27:41.324174900Z" ] + "variables" : [ "jtcblobservicesasnetworktestblobsnapshot0837715b68852e", "jtcblobservicesasnetworktestblobsnapshot187328d7ee939a", "javablobblobservicesasnetworktestblobsnapshot247452c478e5", "2019-12-26T23:25:54.449337200Z", "2019-12-26T23:25:54.449337200Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestbloburlparts.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestbloburlparts.json index 34e431c90fa8d..56fcdc555a56a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestbloburlparts.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestbloburlparts.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcbloburlparts0sastestbloburlparts9db54615455b499168?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcbloburlparts0sastestbloburlparts363964339799b8d466?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dcdbf526-dd03-4126-9953-6df77b921f9a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "24f6de70-9d7e-46dc-8fbd-b2bcff113f31" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE29AA9F39", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:56 GMT", + "ETag" : "0x8D78A5B1F1429CB", + "Last-Modified" : "Thu, 26 Dec 2019 23:27:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074be38-501e-002e-5097-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "dcdbf526-dd03-4126-9953-6df77b921f9a" + "x-ms-request-id" : "3538001a-c01e-0019-0943-bc1280000000", + "Date" : "Thu, 26 Dec 2019 23:27:05 GMT", + "x-ms-client-request-id" : "24f6de70-9d7e-46dc-8fbd-b2bcff113f31" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcbloburlparts&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcbloburlparts&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b486d06-b50e-4b84-90a3-e1b43202cdac" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "316907ec-d4d0-4618-96c2-c92967b21bd2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa6ec9-c01e-012f-7f97-83f719000000", - "Body" : "jtcbloburlpartsjtcbloburlparts0sastestbloburlparts9db54615455b499168Tue, 15 Oct 2019 20:27:56 GMT\"0x8D751AE29AA9F39\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "2b486d06-b50e-4b84-90a3-e1b43202cdac", + "x-ms-request-id" : "35380021-c01e-0019-0e43-bc1280000000", + "Body" : "jtcbloburlpartsjtcbloburlparts0sastestbloburlparts363964339799b8d466Thu, 26 Dec 2019 23:27:06 GMT\"0x8D78A5B1F1429CB\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:27:06 GMT", + "x-ms-client-request-id" : "316907ec-d4d0-4618-96c2-c92967b21bd2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcbloburlparts0sastestbloburlparts9db54615455b499168?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcbloburlparts0sastestbloburlparts363964339799b8d466?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "61f7fc6e-de62-4034-bead-873dac9c92e2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "737c2723-735c-464c-b5b5-c54d5ef7a300" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074be4d-501e-002e-5f97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:55 GMT", - "x-ms-client-request-id" : "61f7fc6e-de62-4034-bead-873dac9c92e2" + "x-ms-request-id" : "35380022-c01e-0019-0f43-bc1280000000", + "Date" : "Thu, 26 Dec 2019 23:27:06 GMT", + "x-ms-client-request-id" : "737c2723-735c-464c-b5b5-c54d5ef7a300" }, "Exception" : null } ], - "variables" : [ "jtcbloburlparts0sastestbloburlparts9db54615455b499168" ] + "variables" : [ "jtcbloburlparts0sastestbloburlparts363964339799b8d466" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[0].json index 5b36859637355..c89f3a8b32681 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse071206279099b125d24?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse072143ce3fac0036564?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "729d34e1-eeae-4980-8b5f-3c38e0a8fd1a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "769d22cc-c3d5-43f4-b073-5ede531f49cf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE24FB0194", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFDD23DD6", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4f83-c01e-012f-2097-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "729d34e1-eeae-4980-8b5f-3c38e0a8fd1a" + "x-ms-request-id" : "af5f4c85-201e-003e-6643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "769d22cc-c3d5-43f4-b073-5ede531f49cf" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c146ee0-500a-48b8-a734-ffd959997fe4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f05d7f4e-a6db-454e-8a4e-e099e86ca6a4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b293-501e-002e-1597-83b0b1000000", - "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse071206279099b125d24Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE24FB0194\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "0c146ee0-500a-48b8-a734-ffd959997fe4", + "x-ms-request-id" : "af5f4c8b-201e-003e-6b43-bc0544000000", + "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse072143ce3fac0036564Thu, 26 Dec 2019 23:26:10 GMT\"0x8D78A5AFDD23DD6\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "f05d7f4e-a6db-454e-8a4e-e099e86ca6a4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse071206279099b125d24?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse072143ce3fac0036564?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5f844895-c03e-401e-a0d8-425848a05468" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d8f34db-ee75-4175-a643-0aeeffe5d289" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4fcb-c01e-012f-6397-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "5f844895-c03e-401e-a0d8-425848a05468" + "x-ms-request-id" : "af5f4c8f-201e-003e-6f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "0d8f34db-ee75-4175-a643-0aeeffe5d289" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparse071206279099b125d24" ] + "variables" : [ "jtccontainersaspermissionsparse072143ce3fac0036564" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[1].json index 05d4ae6033d83..558f0c30fa989 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse041643fa5d838700264?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse02972482b3116d135e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6d770c83-ebac-4fcf-bc5d-4ee3f4c2eef2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "53bf6e78-7749-489a-a157-c0e481bd2f39" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE250C25AF", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFDF81561", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b2bb-501e-002e-3897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "6d770c83-ebac-4fcf-bc5d-4ee3f4c2eef2" + "x-ms-request-id" : "af5f4c97-201e-003e-7643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "53bf6e78-7749-489a-a157-c0e481bd2f39" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0d3034ca-c35a-468e-aa16-266cdbc120be" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fa4185ad-1aef-409c-b402-c25ed663017e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa5011-c01e-012f-2897-83f719000000", - "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse041643fa5d838700264Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE250C25AF\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "0d3034ca-c35a-468e-aa16-266cdbc120be", + "x-ms-request-id" : "af5f4c9c-201e-003e-7a43-bc0544000000", + "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse02972482b3116d135e4Thu, 26 Dec 2019 23:26:10 GMT\"0x8D78A5AFDF81561\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "fa4185ad-1aef-409c-b402-c25ed663017e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse041643fa5d838700264?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse02972482b3116d135e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a74570fe-9120-4d97-ad04-b4bd089f0d21" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cc5b79d1-5713-47f6-a159-e00083aa518d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b2de-501e-002e-5697-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "a74570fe-9120-4d97-ad04-b4bd089f0d21" + "x-ms-request-id" : "af5f4ca0-201e-003e-7e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "cc5b79d1-5713-47f6-a159-e00083aa518d" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparse041643fa5d838700264" ] + "variables" : [ "jtccontainersaspermissionsparse02972482b3116d135e4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[2].json index f7c9b4accfe8b..c869ae8ed276b 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse009417b7038e6b39e54?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse092574e2fcdd46793d4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c833d694-82f9-4445-a190-cef82ba825d7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "270fa022-2236-48d1-a402-e3cc116df276" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE251DD476", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFE1E893D", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa505b-c01e-012f-6f97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "c833d694-82f9-4445-a190-cef82ba825d7" + "x-ms-request-id" : "af5f4ca4-201e-003e-0243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "270fa022-2236-48d1-a402-e3cc116df276" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "695fd0bc-5ebb-495c-9ac1-e0df3eb3ea3d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b3655c7e-c110-4793-aa51-b59cdd0fc038" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b30e-501e-002e-0397-83b0b1000000", - "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse009417b7038e6b39e54Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE251DD476\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "695fd0bc-5ebb-495c-9ac1-e0df3eb3ea3d", + "x-ms-request-id" : "af5f4caa-201e-003e-0743-bc0544000000", + "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse092574e2fcdd46793d4Thu, 26 Dec 2019 23:26:11 GMT\"0x8D78A5AFE1E893D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "b3655c7e-c110-4793-aa51-b59cdd0fc038", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse009417b7038e6b39e54?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse092574e2fcdd46793d4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "44998e5d-3a15-444a-afb4-78e1e49a287d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "03bb0609-2507-49c7-888b-038abd3d7d44" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa50b7-c01e-012f-4897-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "44998e5d-3a15-444a-afb4-78e1e49a287d" + "x-ms-request-id" : "af5f4caf-201e-003e-0c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "03bb0609-2507-49c7-888b-038abd3d7d44" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparse009417b7038e6b39e54" ] + "variables" : [ "jtccontainersaspermissionsparse092574e2fcdd46793d4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[3].json index bbc6718618483..77506d2e50b6a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse0552326ef0cec7b92a4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse085623968988dc6c9c4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3da6b639-5210-4ff2-8c6e-52a615d9db35" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "280e27b9-2c9f-4058-bcdc-c0c33bc7b108" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25316A20", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFE45972C", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b328-501e-002e-1797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "3da6b639-5210-4ff2-8c6e-52a615d9db35" + "x-ms-request-id" : "af5f4cb4-201e-003e-1143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "280e27b9-2c9f-4058-bcdc-c0c33bc7b108" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad8a77b0-5264-4564-97af-f47d240c9dab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "172df801-6757-4649-9014-95b83453e5b1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa512c-c01e-012f-3497-83f719000000", - "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse0552326ef0cec7b92a4Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE25316A20\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "ad8a77b0-5264-4564-97af-f47d240c9dab", + "x-ms-request-id" : "af5f4cb8-201e-003e-1443-bc0544000000", + "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse085623968988dc6c9c4Thu, 26 Dec 2019 23:26:11 GMT\"0x8D78A5AFE45972C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "172df801-6757-4649-9014-95b83453e5b1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse0552326ef0cec7b92a4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse085623968988dc6c9c4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d44dafe5-6c05-4429-84b2-4ead368d0e7c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "78930730-bc62-44e9-a00b-f016ce438017" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b344-501e-002e-2d97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "d44dafe5-6c05-4429-84b2-4ead368d0e7c" + "x-ms-request-id" : "af5f4cbd-201e-003e-1943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "78930730-bc62-44e9-a00b-f016ce438017" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparse0552326ef0cec7b92a4" ] + "variables" : [ "jtccontainersaspermissionsparse085623968988dc6c9c4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[4].json index 5181161c88cba..f4b6f791a9682 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[4].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse0342319a2631d6b8e94?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse027965e2fca5ffd5934?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ac27b178-079b-41db-ab01-26c729f3a129" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9ee51864-e7f0-4c0e-a22f-e67743232321" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25442AAF", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFE6A85E5", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5181-c01e-012f-0397-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "ac27b178-079b-41db-ab01-26c729f3a129" + "x-ms-request-id" : "af5f4cc4-201e-003e-2043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "9ee51864-e7f0-4c0e-a22f-e67743232321" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e4f8c1c3-8753-4015-a262-8c30e8f0e63c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c2dcffe7-f331-48ff-b963-167dc21782c2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b358-501e-002e-4097-83b0b1000000", - "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse0342319a2631d6b8e94Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE25442AAF\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "e4f8c1c3-8753-4015-a262-8c30e8f0e63c", + "x-ms-request-id" : "af5f4cc7-201e-003e-2243-bc0544000000", + "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse027965e2fca5ffd5934Thu, 26 Dec 2019 23:26:11 GMT\"0x8D78A5AFE6A85E5\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "c2dcffe7-f331-48ff-b963-167dc21782c2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse0342319a2631d6b8e94?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse027965e2fca5ffd5934?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ed054a1c-204c-4aa8-9855-110d381a42b3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fd4f08af-e0be-4b96-b817-eb608c83bfe2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa51cb-c01e-012f-4997-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "ed054a1c-204c-4aa8-9855-110d381a42b3" + "x-ms-request-id" : "af5f4ccc-201e-003e-2743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "fd4f08af-e0be-4b96-b817-eb608c83bfe2" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparse0342319a2631d6b8e94" ] + "variables" : [ "jtccontainersaspermissionsparse027965e2fca5ffd5934" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[5].json index 510ed69b8fe6b..d30da944e340b 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[5].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse04592729a51c2633b24?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse066175d4fc22fc34bb4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "16dad0ba-7353-4d04-b564-f3eb606ad2a3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "30dcd423-9acf-48f6-b595-9ca9c4e6e9f8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2554B235", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFE905D4B", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b36d-501e-002e-5097-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "16dad0ba-7353-4d04-b564-f3eb606ad2a3" + "x-ms-request-id" : "af5f4cd0-201e-003e-2b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "30dcd423-9acf-48f6-b595-9ca9c4e6e9f8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6b1d551c-10de-480a-be89-32f0a09bbfc7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "da8beed5-99aa-4a4a-8b1d-3ca83ce4103c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa520c-c01e-012f-0797-83f719000000", - "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse04592729a51c2633b24Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE2554B235\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "6b1d551c-10de-480a-be89-32f0a09bbfc7", + "x-ms-request-id" : "af5f4cdf-201e-003e-3743-bc0544000000", + "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse066175d4fc22fc34bb4Thu, 26 Dec 2019 23:26:11 GMT\"0x8D78A5AFE905D4B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "da8beed5-99aa-4a4a-8b1d-3ca83ce4103c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse04592729a51c2633b24?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse066175d4fc22fc34bb4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bb33e4f0-a23e-40b1-bb3c-bed8e9af84c5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bb8014ae-c55f-4c27-9aaa-318b599e7947" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b376-501e-002e-5597-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "bb33e4f0-a23e-40b1-bb3c-bed8e9af84c5" + "x-ms-request-id" : "af5f4ce7-201e-003e-3c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "bb8014ae-c55f-4c27-9aaa-318b599e7947" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparse04592729a51c2633b24" ] + "variables" : [ "jtccontainersaspermissionsparse066175d4fc22fc34bb4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[6].json index 16e3313a30d1d..9a91bd229f545 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[6].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse054950d9e812e505b74?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse0077575000d6e358cf4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b7f6c504-83df-4b4d-a018-46bf5bb60445" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d9232a81-8b08-4663-b3a4-23f9c023bbfd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2565014E", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFEB8CDE7", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5259-c01e-012f-4e97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "b7f6c504-83df-4b4d-a018-46bf5bb60445" + "x-ms-request-id" : "af5f4ceb-201e-003e-4043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "d9232a81-8b08-4663-b3a4-23f9c023bbfd" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2188ef26-e163-48a0-a9f2-a445001b127a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "20b77b3c-4011-497c-87f9-fc57c57c3cb3" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b395-501e-002e-6d97-83b0b1000000", - "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse054950d9e812e505b74Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE2565014E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "2188ef26-e163-48a0-a9f2-a445001b127a", + "x-ms-request-id" : "af5f4cf0-201e-003e-4443-bc0544000000", + "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse0077575000d6e358cf4Thu, 26 Dec 2019 23:26:12 GMT\"0x8D78A5AFEB8CDE7\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "20b77b3c-4011-497c-87f9-fc57c57c3cb3", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse054950d9e812e505b74?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse0077575000d6e358cf4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fca4a846-5027-4f13-9216-6428a0be0f47" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc58d384-65bb-466c-8254-75a2b5860118" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa52bc-c01e-012f-2897-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "fca4a846-5027-4f13-9216-6428a0be0f47" + "x-ms-request-id" : "af5f4cf3-201e-003e-4743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:11 GMT", + "x-ms-client-request-id" : "fc58d384-65bb-466c-8254-75a2b5860118" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparse054950d9e812e505b74" ] + "variables" : [ "jtccontainersaspermissionsparse0077575000d6e358cf4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[7].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[7].json index d2571d3d5d8f7..7a93a7ac7e702 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[7].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparse[7].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse031325c944339bb9a44?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse044797597e01ad4eac4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ff168224-4db0-4ce0-af1f-f9ab2351a87b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e25f1ef6-c905-43c8-97e7-ea190540d64e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25795A35", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:49 GMT", + "ETag" : "0x8D78A5AFEDD947B", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b3c2-501e-002e-1597-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "ff168224-4db0-4ce0-af1f-f9ab2351a87b" + "x-ms-request-id" : "af5f4cfa-201e-003e-4d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "e25f1ef6-c905-43c8-97e7-ea190540d64e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0bb75428-3de8-496f-b70a-f7c3a9d7cc19" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f6b6863b-8fec-4569-a929-ec62f5c7faaa" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa5340-c01e-012f-2697-83f719000000", - "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse031325c944339bb9a44Tue, 15 Oct 2019 20:27:49 GMT\"0x8D751AE25795A35\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "0bb75428-3de8-496f-b70a-f7c3a9d7cc19", + "x-ms-request-id" : "af5f4cfe-201e-003e-5043-bc0544000000", + "Body" : "jtccontainersaspermissionsparsejtccontainersaspermissionsparse044797597e01ad4eac4Thu, 26 Dec 2019 23:26:12 GMT\"0x8D78A5AFEDD947B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "f6b6863b-8fec-4569-a929-ec62f5c7faaa", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparse031325c944339bb9a44?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparse044797597e01ad4eac4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a013e921-ae16-4316-85f7-8041408b1a3f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "305956bf-b9f8-4336-92f3-cf2e7b5fe15f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b3e8-501e-002e-3897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "a013e921-ae16-4316-85f7-8041408b1a3f" + "x-ms-request-id" : "af5f4d04-201e-003e-5543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "305956bf-b9f8-4336-92f3-cf2e7b5fe15f" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparse031325c944339bb9a44" ] + "variables" : [ "jtccontainersaspermissionsparse044797597e01ad4eac4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparseia.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparseia.json index 60fdfb91047e5..5b96a5e5fdaa7 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparseia.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionsparseia.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparseia0169310429f4b64772?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparseia033082a3c10a9830ef?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "46b06cf9-0385-43f0-8b06-e0ba802d8556" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5fe2bd16-9e53-48b4-a5fb-5b3a8240db07" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE258D7AEA", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:49 GMT", + "ETag" : "0x8D78A5AFF02CF30", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5389-c01e-012f-6b97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "46b06cf9-0385-43f0-8b06-e0ba802d8556" + "x-ms-request-id" : "af5f4d09-201e-003e-5a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "5fe2bd16-9e53-48b4-a5fb-5b3a8240db07" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionsparseia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionsparseia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "53a91f68-8720-4a84-969f-c237260beb34" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d33ed4d-8a26-42c4-af13-6dad379e22db" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b41d-501e-002e-6d97-83b0b1000000", - "Body" : "jtccontainersaspermissionsparseiajtccontainersaspermissionsparseia0169310429f4b64772Tue, 15 Oct 2019 20:27:49 GMT\"0x8D751AE258D7AEA\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "53a91f68-8720-4a84-969f-c237260beb34", + "x-ms-request-id" : "af5f4d0c-201e-003e-5c43-bc0544000000", + "Body" : "jtccontainersaspermissionsparseiajtccontainersaspermissionsparseia033082a3c10a9830efThu, 26 Dec 2019 23:26:12 GMT\"0x8D78A5AFF02CF30\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "0d33ed4d-8a26-42c4-af13-6dad379e22db", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionsparseia0169310429f4b64772?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionsparseia033082a3c10a9830ef?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e51468f-401b-4732-8941-af80603cfce8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b0ddb6c-a5da-43a2-a798-b5efb93faf10" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa53d3-c01e-012f-3197-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "4e51468f-401b-4732-8941-af80603cfce8" + "x-ms-request-id" : "af5f4d11-201e-003e-6143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "8b0ddb6c-a5da-43a2-a798-b5efb93faf10" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionsparseia0169310429f4b64772" ] + "variables" : [ "jtccontainersaspermissionsparseia033082a3c10a9830ef" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[0].json index cc84ba671bb70..a3d01bbf4b40c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring069366454cca92a28?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring0580688ff9856353b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "131b620f-af14-499d-81fd-eab01d575aff" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e747b48-763c-46e1-aa65-f4a3c0b34876" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE246F2298", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:47 GMT", + "ETag" : "0x8D78A5AFCC75EF2", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b159-501e-002e-7397-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "131b620f-af14-499d-81fd-eab01d575aff" + "x-ms-request-id" : "af5f4c11-201e-003e-7d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "6e747b48-763c-46e1-aa65-f4a3c0b34876" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "05ee140c-ad69-425f-94e5-192782b1529c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "707490b9-82c8-4c9d-8e92-4fb5bf45779f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa4bd3-c01e-012f-2f97-83f719000000", - "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring069366454cca92a28Tue, 15 Oct 2019 20:27:47 GMT\"0x8D751AE246F2298\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "05ee140c-ad69-425f-94e5-192782b1529c", + "x-ms-request-id" : "af5f4c16-201e-003e-0143-bc0544000000", + "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring0580688ff9856353bThu, 26 Dec 2019 23:26:08 GMT\"0x8D78A5AFCC75EF2\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "707490b9-82c8-4c9d-8e92-4fb5bf45779f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring069366454cca92a28?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring0580688ff9856353b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e02f367-ea69-47af-8661-8dd42aee3be1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3a53d86-0a29-414e-b9be-4c7d7aab89f9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b168-501e-002e-7e97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "4e02f367-ea69-47af-8661-8dd42aee3be1" + "x-ms-request-id" : "af5f4c1a-201e-003e-0543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "c3a53d86-0a29-414e-b9be-4c7d7aab89f9" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionstostring069366454cca92a28" ] + "variables" : [ "jtccontainersaspermissionstostring0580688ff9856353b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[1].json index 0d4989da44c30..1b71a9562aaa4 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring00139086b8cf6c7d4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring07681135f2ca15827?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d1d588a8-383a-4b34-9acd-03d8f755d3a5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0cf9a5cc-ca25-45a5-a42e-ee31f91d98b5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE247F7124", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:47 GMT", + "ETag" : "0x8D78A5AFCEC9743", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4c20-c01e-012f-7597-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "d1d588a8-383a-4b34-9acd-03d8f755d3a5" + "x-ms-request-id" : "af5f4c21-201e-003e-0c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "0cf9a5cc-ca25-45a5-a42e-ee31f91d98b5" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e102b4e4-748f-40ea-8a89-1263e65e8516" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e43e463-3cac-4b8c-a930-b037505f764b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b185-501e-002e-1b97-83b0b1000000", - "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring00139086b8cf6c7d4Tue, 15 Oct 2019 20:27:47 GMT\"0x8D751AE247F7124\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "e102b4e4-748f-40ea-8a89-1263e65e8516", + "x-ms-request-id" : "af5f4c28-201e-003e-1243-bc0544000000", + "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring07681135f2ca15827Thu, 26 Dec 2019 23:26:09 GMT\"0x8D78A5AFCEC9743\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "4e43e463-3cac-4b8c-a930-b037505f764b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring00139086b8cf6c7d4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring07681135f2ca15827?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5d026b37-59c8-4837-a70d-2d33cda71bd2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "770aac51-c1a7-4457-8c93-4558124aa424" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4c78-c01e-012f-4c97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "5d026b37-59c8-4837-a70d-2d33cda71bd2" + "x-ms-request-id" : "af5f4c2d-201e-003e-1643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:08 GMT", + "x-ms-client-request-id" : "770aac51-c1a7-4457-8c93-4558124aa424" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionstostring00139086b8cf6c7d4" ] + "variables" : [ "jtccontainersaspermissionstostring07681135f2ca15827" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[2].json index 023b9e159ff45..77e9550d7e461 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring065417dfb3b3c8258?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring0384226908f46c248?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "efdaf9e7-97b5-4726-889a-d16e2289b353" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "18dfeac6-91b8-489e-8363-3127557eade9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE249243AB", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:47 GMT", + "ETag" : "0x8D78A5AFD122038", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b199-501e-002e-2f97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:46 GMT", - "x-ms-client-request-id" : "efdaf9e7-97b5-4726-889a-d16e2289b353" + "x-ms-request-id" : "af5f4c30-201e-003e-1943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "18dfeac6-91b8-489e-8363-3127557eade9" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "37b3685a-4fb2-4b8c-9c9a-33ee37df6f2a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5b3f2ab4-8f87-4e80-af5a-15324ebd2b51" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa4cce-c01e-012f-2097-83f719000000", - "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring065417dfb3b3c8258Tue, 15 Oct 2019 20:27:47 GMT\"0x8D751AE249243AB\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "37b3685a-4fb2-4b8c-9c9a-33ee37df6f2a", + "x-ms-request-id" : "af5f4c36-201e-003e-1e43-bc0544000000", + "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring0384226908f46c248Thu, 26 Dec 2019 23:26:09 GMT\"0x8D78A5AFD122038\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "5b3f2ab4-8f87-4e80-af5a-15324ebd2b51", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring065417dfb3b3c8258?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring0384226908f46c248?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "02684bbf-8318-4bfa-8409-caf10214eeb4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f83739b3-7dc5-4932-b300-18121b225414" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b1b5-501e-002e-4797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "02684bbf-8318-4bfa-8409-caf10214eeb4" + "x-ms-request-id" : "af5f4c3d-201e-003e-2443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "f83739b3-7dc5-4932-b300-18121b225414" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionstostring065417dfb3b3c8258" ] + "variables" : [ "jtccontainersaspermissionstostring0384226908f46c248" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[3].json index 5f1a79b562326..e8ab80523ff22 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring060951adc64f46b75?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring0576564fc793363ea?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bd048530-1e4e-4bcc-a464-de4660e8a36c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e025badb-6c91-41a5-b04a-00708d767d8b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE24A48E9F", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:47 GMT", + "ETag" : "0x8D78A5AFD36E6B1", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4d23-c01e-012f-7297-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "bd048530-1e4e-4bcc-a464-de4660e8a36c" + "x-ms-request-id" : "af5f4c44-201e-003e-2b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "e025badb-6c91-41a5-b04a-00708d767d8b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "28e871a7-1bf8-44f0-b079-97806cbb6563" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a4e7ba39-b031-467d-b71b-fc57060a033b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b1d9-501e-002e-6797-83b0b1000000", - "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring060951adc64f46b75Tue, 15 Oct 2019 20:27:47 GMT\"0x8D751AE24A48E9F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "28e871a7-1bf8-44f0-b079-97806cbb6563", + "x-ms-request-id" : "af5f4c48-201e-003e-2e43-bc0544000000", + "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring0576564fc793363eaThu, 26 Dec 2019 23:26:09 GMT\"0x8D78A5AFD36E6B1\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "a4e7ba39-b031-467d-b71b-fc57060a033b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring060951adc64f46b75?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring0576564fc793363ea?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e1458ade-4bca-484e-8427-58a6b88e4505" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eba03e10-423f-4b3a-bd7d-0fb5413cb04e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4d67-c01e-012f-3297-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "e1458ade-4bca-484e-8427-58a6b88e4505" + "x-ms-request-id" : "af5f4c4c-201e-003e-3243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "eba03e10-423f-4b3a-bd7d-0fb5413cb04e" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionstostring060951adc64f46b75" ] + "variables" : [ "jtccontainersaspermissionstostring0576564fc793363ea" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[4].json index fb5db366dce26..227928167ad5f 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[4].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring03397052ca52ee358?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring033136b3f33fcf557?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9e0118ca-9392-40d8-b129-67d1b96aacc1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8cab5d09-8922-4079-ad9e-474f05fcb829" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE24B76105", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:47 GMT", + "ETag" : "0x8D78A5AFD5B85AE", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b1ee-501e-002e-7b97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "9e0118ca-9392-40d8-b129-67d1b96aacc1" + "x-ms-request-id" : "af5f4c54-201e-003e-3843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "8cab5d09-8922-4079-ad9e-474f05fcb829" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7ca0f304-52b7-42cc-9284-f1463943eb2c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "661364d8-c0d5-4dc9-9293-2759007d2a14" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa4dcf-c01e-012f-0e97-83f719000000", - "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring03397052ca52ee358Tue, 15 Oct 2019 20:27:47 GMT\"0x8D751AE24B76105\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "7ca0f304-52b7-42cc-9284-f1463943eb2c", + "x-ms-request-id" : "af5f4c5e-201e-003e-4143-bc0544000000", + "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring033136b3f33fcf557Thu, 26 Dec 2019 23:26:09 GMT\"0x8D78A5AFD5B85AE\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "661364d8-c0d5-4dc9-9293-2759007d2a14", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring03397052ca52ee358?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring033136b3f33fcf557?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b3704d7a-b169-4855-b9a7-88fb5add9c04" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "926472d5-7ec5-409e-9d3e-57ff8ecb0803" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b20f-501e-002e-1997-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "b3704d7a-b169-4855-b9a7-88fb5add9c04" + "x-ms-request-id" : "af5f4c64-201e-003e-4743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "926472d5-7ec5-409e-9d3e-57ff8ecb0803" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionstostring03397052ca52ee358" ] + "variables" : [ "jtccontainersaspermissionstostring033136b3f33fcf557" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[5].json index 4c240635fda25..a291f0cf2dc55 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[5].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring076650186d6134ab9?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring086636611c7a9956a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9c82dea5-d82c-4c64-b664-fbd473ef2fe1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc2c08ad-9080-4997-9b35-f8d1664fcbfa" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE24D79241", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFD83F4ED", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4e74-c01e-012f-2597-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "9c82dea5-d82c-4c64-b664-fbd473ef2fe1" + "x-ms-request-id" : "af5f4c68-201e-003e-4b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "fc2c08ad-9080-4997-9b35-f8d1664fcbfa" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0d15611f-9801-4bd1-889f-dc68f3eeb1f5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dafd3886-e5f2-4048-aad6-2a97463dd4d2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b238-501e-002e-4197-83b0b1000000", - "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring076650186d6134ab9Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE24D79241\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "0d15611f-9801-4bd1-889f-dc68f3eeb1f5", + "x-ms-request-id" : "af5f4c6d-201e-003e-4f43-bc0544000000", + "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring086636611c7a9956aThu, 26 Dec 2019 23:26:10 GMT\"0x8D78A5AFD83F4ED\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "dafd3886-e5f2-4048-aad6-2a97463dd4d2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring076650186d6134ab9?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring086636611c7a9956a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1566c77f-267b-4f3b-9bd7-55350dca0e5f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d795417-ba46-447c-8650-aefa09ec9ffb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4edd-c01e-012f-0797-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "1566c77f-267b-4f3b-9bd7-55350dca0e5f" + "x-ms-request-id" : "af5f4c71-201e-003e-5343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:09 GMT", + "x-ms-client-request-id" : "2d795417-ba46-447c-8650-aefa09ec9ffb" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionstostring076650186d6134ab9" ] + "variables" : [ "jtccontainersaspermissionstostring086636611c7a9956a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[6].json index 957376dbb6aea..e6bdc065d5625 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestcontainersaspermissionstostring[6].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring0343004559e0e73b8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring0578204b5725cc946?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7807d283-8cc2-4073-82d0-3dbcb5939113" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a33ae88-c353-4b69-9577-ae205824f007" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE24E9C823", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:48 GMT", + "ETag" : "0x8D78A5AFDAB07CC", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b250-501e-002e-5897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "7807d283-8cc2-4073-82d0-3dbcb5939113" + "x-ms-request-id" : "af5f4c77-201e-003e-5943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "6a33ae88-c353-4b69-9577-ae205824f007" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtccontainersaspermissionstostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6f4f837e-714b-42ff-b65f-8c5d7fac2dbb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "397940f3-d400-475e-951c-82b7389d5fea" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa4f2d-c01e-012f-5097-83f719000000", - "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring0343004559e0e73b8Tue, 15 Oct 2019 20:27:48 GMT\"0x8D751AE24E9C823\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "6f4f837e-714b-42ff-b65f-8c5d7fac2dbb", + "x-ms-request-id" : "af5f4c7c-201e-003e-5d43-bc0544000000", + "Body" : "jtccontainersaspermissionstostringjtccontainersaspermissionstostring0578204b5725cc946Thu, 26 Dec 2019 23:26:10 GMT\"0x8D78A5AFDAB07CC\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "397940f3-d400-475e-951c-82b7389d5fea", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtccontainersaspermissionstostring0343004559e0e73b8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtccontainersaspermissionstostring0578204b5725cc946?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e5f0717a-1013-4850-bfd2-effda55d4c5f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "14f8dc6c-9cd1-4c60-8f42-de9aac41d2ab" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b263-501e-002e-6797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:47 GMT", - "x-ms-client-request-id" : "e5f0717a-1013-4850-bfd2-effda55d4c5f" + "x-ms-request-id" : "af5f4c80-201e-003e-6143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:10 GMT", + "x-ms-client-request-id" : "14f8dc6c-9cd1-4c60-8f42-de9aac41d2ab" }, "Exception" : null } ], - "variables" : [ "jtccontainersaspermissionstostring0343004559e0e73b8" ] + "variables" : [ "jtccontainersaspermissionstostring0578204b5725cc946" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[0].json index 40d746cf14c7d..42777f3837dec 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangeparse0sastestiprangeparsecb2560848a0294da05?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangeparse0sastestiprangeparsee3928592b81a54a9b3?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2a8b8191-ca21-4d5b-a666-2c81f80e991e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d2f8bfe9-6266-45c0-aa79-f61ccab3d9d0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25D9B203", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:49 GMT", + "ETag" : "0x8D78A5AFF98CE5B", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa55a4-c01e-012f-6197-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "2a8b8191-ca21-4d5b-a666-2c81f80e991e" + "x-ms-request-id" : "af5f4d40-201e-003e-0c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "d2f8bfe9-6266-45c0-aa79-f61ccab3d9d0" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtciprangeparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtciprangeparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "82e3b85d-a3cb-4c00-bfd6-ac7318955fb1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c219758-d4ed-46c7-8fb7-10a39abba7a9" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b4ec-501e-002e-1f97-83b0b1000000", - "Body" : "jtciprangeparsejtciprangeparse0sastestiprangeparsecb2560848a0294da05Tue, 15 Oct 2019 20:27:49 GMT\"0x8D751AE25D9B203\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "82e3b85d-a3cb-4c00-bfd6-ac7318955fb1", + "x-ms-request-id" : "af5f4d44-201e-003e-0f43-bc0544000000", + "Body" : "jtciprangeparsejtciprangeparse0sastestiprangeparsee3928592b81a54a9b3Thu, 26 Dec 2019 23:26:13 GMT\"0x8D78A5AFF98CE5B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "4c219758-d4ed-46c7-8fb7-10a39abba7a9", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangeparse0sastestiprangeparsecb2560848a0294da05?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangeparse0sastestiprangeparsee3928592b81a54a9b3?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bb95bf92-62c8-4b43-a689-d9d215bb51d0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fdc63dc4-0ddc-4639-8472-1f9f417b1d0e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa55fe-c01e-012f-2e97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "bb95bf92-62c8-4b43-a689-d9d215bb51d0" + "x-ms-request-id" : "af5f4d4b-201e-003e-1643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "fdc63dc4-0ddc-4639-8472-1f9f417b1d0e" }, "Exception" : null } ], - "variables" : [ "jtciprangeparse0sastestiprangeparsecb2560848a0294da05" ] + "variables" : [ "jtciprangeparse0sastestiprangeparsee3928592b81a54a9b3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[1].json index 7e322b09ee057..69f1ab733d990 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangeparse0sastestiprangeparse1d6197318922360b23?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangeparse0sastestiprangeparse50f68454990bd9c305?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "613f6525-c4aa-4622-b5ea-b0f5a1d16900" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "096fe1ef-78b9-4c08-be5f-27c2ae73092a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25EBC02C", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:49 GMT", + "ETag" : "0x8D78A5AFFBD93F6", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b50f-501e-002e-3997-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "613f6525-c4aa-4622-b5ea-b0f5a1d16900" + "x-ms-request-id" : "af5f4d50-201e-003e-1b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "096fe1ef-78b9-4c08-be5f-27c2ae73092a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtciprangeparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtciprangeparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d41a0a69-4292-4e2e-9424-f34a4bb52dbf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b3312932-e125-4577-a414-92f6492ea73d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa5638-c01e-012f-6697-83f719000000", - "Body" : "jtciprangeparsejtciprangeparse0sastestiprangeparse1d6197318922360b23Tue, 15 Oct 2019 20:27:49 GMT\"0x8D751AE25EBC02C\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "d41a0a69-4292-4e2e-9424-f34a4bb52dbf", + "x-ms-request-id" : "af5f4d56-201e-003e-2043-bc0544000000", + "Body" : "jtciprangeparsejtciprangeparse0sastestiprangeparse50f68454990bd9c305Thu, 26 Dec 2019 23:26:13 GMT\"0x8D78A5AFFBD93F6\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "b3312932-e125-4577-a414-92f6492ea73d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangeparse0sastestiprangeparse1d6197318922360b23?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangeparse0sastestiprangeparse50f68454990bd9c305?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3693b1f6-fff1-4b57-ba7a-0757b0055af7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "02987d13-6f87-4019-afa7-2d2e11571860" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b51c-501e-002e-4597-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "3693b1f6-fff1-4b57-ba7a-0757b0055af7" + "x-ms-request-id" : "af5f4d5b-201e-003e-2543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "02987d13-6f87-4019-afa7-2d2e11571860" }, "Exception" : null } ], - "variables" : [ "jtciprangeparse0sastestiprangeparse1d6197318922360b23" ] + "variables" : [ "jtciprangeparse0sastestiprangeparse50f68454990bd9c305" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[2].json index c415be2c14586..77fb8fe48c3b5 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangeparse[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangeparse0sastestiprangeparse5684380247e0dd60e5?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangeparse0sastestiprangeparseb0d295404a42b20b31?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "df141c13-ba3e-46aa-ac67-2ad1ec87beec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "89dffa25-5f61-42f0-ada6-6d89c18e888c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25FBE887", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:49 GMT", + "ETag" : "0x8D78A5AFFE23028", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5684-c01e-012f-2c97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "df141c13-ba3e-46aa-ac67-2ad1ec87beec" + "x-ms-request-id" : "af5f4d5f-201e-003e-2943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "89dffa25-5f61-42f0-ada6-6d89c18e888c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtciprangeparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtciprangeparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "af0fc8ef-041e-47a0-9914-638604b0a41b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7e00c54-6640-45fe-8db8-f5e45ecc153f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b52d-501e-002e-5497-83b0b1000000", - "Body" : "jtciprangeparsejtciprangeparse0sastestiprangeparse5684380247e0dd60e5Tue, 15 Oct 2019 20:27:49 GMT\"0x8D751AE25FBE887\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "af0fc8ef-041e-47a0-9914-638604b0a41b", + "x-ms-request-id" : "af5f4d67-201e-003e-3043-bc0544000000", + "Body" : "jtciprangeparsejtciprangeparse0sastestiprangeparseb0d295404a42b20b31Thu, 26 Dec 2019 23:26:14 GMT\"0x8D78A5AFFE23028\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "c7e00c54-6640-45fe-8db8-f5e45ecc153f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangeparse0sastestiprangeparse5684380247e0dd60e5?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangeparse0sastestiprangeparseb0d295404a42b20b31?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "41df764d-5a3b-42b7-9bfa-e0d57c74b532" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5a1d9cb8-b2df-40ba-8bc3-d5c651ccf9f1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa56b4-c01e-012f-5a97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "41df764d-5a3b-42b7-9bfa-e0d57c74b532" + "x-ms-request-id" : "af5f4d6e-201e-003e-3643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "5a1d9cb8-b2df-40ba-8bc3-d5c651ccf9f1" }, "Exception" : null } ], - "variables" : [ "jtciprangeparse0sastestiprangeparse5684380247e0dd60e5" ] + "variables" : [ "jtciprangeparse0sastestiprangeparseb0d295404a42b20b31" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[0].json index 7fe7cd82c5877..d2715ed77bdef 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangetostring0sastestiprangetostringecf416269fef54f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangetostring0sastestiprangetostring7ab4904007b7df8?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b64f407f-69c3-4731-a6b7-272c2b5bcd09" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b96bcb83-163b-44aa-a0b9-3f1f60ddb850" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25A15E75", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:49 GMT", + "ETag" : "0x8D78A5AFF27E27B", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b455-501e-002e-1c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "b64f407f-69c3-4731-a6b7-272c2b5bcd09" + "x-ms-request-id" : "af5f4d17-201e-003e-6743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "b96bcb83-163b-44aa-a0b9-3f1f60ddb850" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtciprangetostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtciprangetostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "97309f8f-3ba6-43cc-8ccb-a7e34eb89ad2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "64f5523a-4cd6-4a14-ab87-2956c2841717" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa544f-c01e-012f-2797-83f719000000", - "Body" : "jtciprangetostringjtciprangetostring0sastestiprangetostringecf416269fef54fTue, 15 Oct 2019 20:27:49 GMT\"0x8D751AE25A15E75\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "97309f8f-3ba6-43cc-8ccb-a7e34eb89ad2", + "x-ms-request-id" : "af5f4d1c-201e-003e-6b43-bc0544000000", + "Body" : "jtciprangetostringjtciprangetostring0sastestiprangetostring7ab4904007b7df8Thu, 26 Dec 2019 23:26:12 GMT\"0x8D78A5AFF27E27B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "64f5523a-4cd6-4a14-ab87-2956c2841717", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangetostring0sastestiprangetostringecf416269fef54f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangetostring0sastestiprangetostring7ab4904007b7df8?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f8a915f7-1a97-4932-8d55-e0b66744e05f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93efe2b5-0371-4674-85a8-c0793d5dd837" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b477-501e-002e-3797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "f8a915f7-1a97-4932-8d55-e0b66744e05f" + "x-ms-request-id" : "af5f4d20-201e-003e-6f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "93efe2b5-0371-4674-85a8-c0793d5dd837" }, "Exception" : null } ], - "variables" : [ "jtciprangetostring0sastestiprangetostringecf416269fef54f" ] + "variables" : [ "jtciprangetostring0sastestiprangetostring7ab4904007b7df8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[1].json index e85b9bcd66974..c02c8031d3a9d 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangetostring0sastestiprangetostring4fc392494563f69?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangetostring0sastestiprangetostring53e753959d97dfc?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3abc6e50-1d4c-4756-a348-ffa97a7bcb4d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "34ffce9a-a679-4191-8907-6e065ada5fe2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25B2BF71", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:49 GMT", + "ETag" : "0x8D78A5AFF4D6A44", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa54ab-c01e-012f-7c97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "3abc6e50-1d4c-4756-a348-ffa97a7bcb4d" + "x-ms-request-id" : "af5f4d24-201e-003e-7343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "34ffce9a-a679-4191-8907-6e065ada5fe2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtciprangetostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtciprangetostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2ae64a92-e6f7-4f23-929c-2b80808f83f0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a8f448a9-5c04-419d-a71f-3e00245aacae" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b4a9-501e-002e-6297-83b0b1000000", - "Body" : "jtciprangetostringjtciprangetostring0sastestiprangetostring4fc392494563f69Tue, 15 Oct 2019 20:27:49 GMT\"0x8D751AE25B2BF71\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "2ae64a92-e6f7-4f23-929c-2b80808f83f0", + "x-ms-request-id" : "af5f4d2a-201e-003e-7843-bc0544000000", + "Body" : "jtciprangetostringjtciprangetostring0sastestiprangetostring53e753959d97dfcThu, 26 Dec 2019 23:26:13 GMT\"0x8D78A5AFF4D6A44\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "a8f448a9-5c04-419d-a71f-3e00245aacae", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangetostring0sastestiprangetostring4fc392494563f69?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangetostring0sastestiprangetostring53e753959d97dfc?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b227d2b4-5c83-4e1f-9fe1-6854e1487880" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a966b7a9-67ee-4ddf-a26d-082a704e6612" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa5518-c01e-012f-6397-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "b227d2b4-5c83-4e1f-9fe1-6854e1487880" + "x-ms-request-id" : "af5f4d31-201e-003e-7e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "a966b7a9-67ee-4ddf-a26d-082a704e6612" }, "Exception" : null } ], - "variables" : [ "jtciprangetostring0sastestiprangetostring4fc392494563f69" ] + "variables" : [ "jtciprangetostring0sastestiprangetostring53e753959d97dfc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[2].json index a0667fccb1103..8fdfbda6d48b1 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestiprangetostring[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangetostring0sastestiprangetostring1c093194771781c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangetostring0sastestiprangetostringac480116b381b94?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f567a13-0bf0-42cd-a112-63bd82247f32" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "87d31240-5347-464d-9cf3-35ae892967a8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE25C802B6", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:49 GMT", + "ETag" : "0x8D78A5AFF72A7B7", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b4c3-501e-002e-7a97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:48 GMT", - "x-ms-client-request-id" : "8f567a13-0bf0-42cd-a112-63bd82247f32" + "x-ms-request-id" : "af5f4d34-201e-003e-0143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:12 GMT", + "x-ms-client-request-id" : "87d31240-5347-464d-9cf3-35ae892967a8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtciprangetostring&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtciprangetostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5cb48d7c-3904-4a9d-8e68-bd083b8049ce" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a10e25b5-de79-442c-9756-dfe986f033fe" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa5568-c01e-012f-2c97-83f719000000", - "Body" : "jtciprangetostringjtciprangetostring0sastestiprangetostring1c093194771781cTue, 15 Oct 2019 20:27:49 GMT\"0x8D751AE25C802B6\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "5cb48d7c-3904-4a9d-8e68-bd083b8049ce", + "x-ms-request-id" : "af5f4d38-201e-003e-0443-bc0544000000", + "Body" : "jtciprangetostringjtciprangetostring0sastestiprangetostringac480116b381b94Thu, 26 Dec 2019 23:26:13 GMT\"0x8D78A5AFF72A7B7\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "a10e25b5-de79-442c-9756-dfe986f033fe", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtciprangetostring0sastestiprangetostring1c093194771781c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtciprangetostring0sastestiprangetostringac480116b381b94?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "64205b61-3168-4b70-b0b9-4b87e44c61a0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "01aadaff-9c8e-4490-bdb7-732b2818a470" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b4d6-501e-002e-0a97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "64205b61-3168-4b70-b0b9-4b87e44c61a0" + "x-ms-request-id" : "af5f4d3c-201e-003e-0843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "01aadaff-9c8e-4490-bdb7-732b2818a470" }, "Exception" : null } ], - "variables" : [ "jtciprangetostring0sastestiprangetostring1c093194771781c" ] + "variables" : [ "jtciprangetostring0sastestiprangetostringac480116b381b94" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestsasprotocolparse[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestsasprotocolparse[0].json index 1d96e1e6cfbf8..ed78a6354e92c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestsasprotocolparse[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestsasprotocolparse[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcsasprotocolparse0sastestsasprotocolparse41522861d976df?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcsasprotocolparse0sastestsasprotocolparsef2a16006a769d7?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c98a325c-ff1c-440e-b1be-4a7a67b40fcb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2b98168a-aaee-4e61-97f7-597b1c9fccbc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE260DF69B", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:50 GMT", + "ETag" : "0x8D78A5B00076D17", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b549-501e-002e-6d97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "c98a325c-ff1c-440e-b1be-4a7a67b40fcb" + "x-ms-request-id" : "af5f4d76-201e-003e-3e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:13 GMT", + "x-ms-client-request-id" : "2b98168a-aaee-4e61-97f7-597b1c9fccbc" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcsasprotocolparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcsasprotocolparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cca25b65-a152-4a01-8ac6-5665b9cb8883" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "88599bf7-2e81-4753-a7f7-434738e2fbee" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa570f-c01e-012f-3397-83f719000000", - "Body" : "jtcsasprotocolparsejtcsasprotocolparse0sastestsasprotocolparse41522861d976dfTue, 15 Oct 2019 20:27:50 GMT\"0x8D751AE260DF69B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "cca25b65-a152-4a01-8ac6-5665b9cb8883", + "x-ms-request-id" : "af5f4d7f-201e-003e-4643-bc0544000000", + "Body" : "jtcsasprotocolparsejtcsasprotocolparse0sastestsasprotocolparsef2a16006a769d7Thu, 26 Dec 2019 23:26:14 GMT\"0x8D78A5B00076D17\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "88599bf7-2e81-4753-a7f7-434738e2fbee", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcsasprotocolparse0sastestsasprotocolparse41522861d976df?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcsasprotocolparse0sastestsasprotocolparsef2a16006a769d7?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5d653763-292c-407c-9dc3-a8d403030982" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cb42897c-2c45-4a6d-bc53-924ab9821505" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b55b-501e-002e-7c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "5d653763-292c-407c-9dc3-a8d403030982" + "x-ms-request-id" : "af5f4d83-201e-003e-4a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "cb42897c-2c45-4a6d-bc53-924ab9821505" }, "Exception" : null } ], - "variables" : [ "jtcsasprotocolparse0sastestsasprotocolparse41522861d976df" ] + "variables" : [ "jtcsasprotocolparse0sastestsasprotocolparsef2a16006a769d7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestsasprotocolparse[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestsasprotocolparse[1].json index 9e97a2dd1cb43..3dd553e14a3f5 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestsasprotocolparse[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestsasprotocolparse[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcsasprotocolparse0sastestsasprotocolparse57b69691f5100a?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcsasprotocolparse0sastestsasprotocolparse3f249761c2e008?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8db8928b-ff81-4b40-be29-a6b90f2f53d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0734fe76-da1c-4fd7-8118-ed96748018ce" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE261F7EEC", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:50 GMT", + "ETag" : "0x8D78A5B002CF700", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5756-c01e-012f-7597-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "8db8928b-ff81-4b40-be29-a6b90f2f53d8" + "x-ms-request-id" : "af5f4d87-201e-003e-4d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "0734fe76-da1c-4fd7-8118-ed96748018ce" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcsasprotocolparse&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcsasprotocolparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8a76ab96-1ac2-4354-b02e-16f0fe318f6d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "998bdc96-77fc-4f79-a81c-320882f17afb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b575-501e-002e-1497-83b0b1000000", - "Body" : "jtcsasprotocolparsejtcsasprotocolparse0sastestsasprotocolparse57b69691f5100aTue, 15 Oct 2019 20:27:50 GMT\"0x8D751AE261F7EEC\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "8a76ab96-1ac2-4354-b02e-16f0fe318f6d", + "x-ms-request-id" : "af5f4d8d-201e-003e-5243-bc0544000000", + "Body" : "jtcsasprotocolparsejtcsasprotocolparse0sastestsasprotocolparse3f249761c2e008Thu, 26 Dec 2019 23:26:14 GMT\"0x8D78A5B002CF700\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "998bdc96-77fc-4f79-a81c-320882f17afb", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcsasprotocolparse0sastestsasprotocolparse57b69691f5100a?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcsasprotocolparse0sastestsasprotocolparse3f249761c2e008?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7dc4f01d-de00-4811-b923-08742b38e910" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aa00d2d0-4998-4e33-826f-545306e63abb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa5784-c01e-012f-1e97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "7dc4f01d-de00-4811-b923-08742b38e910" + "x-ms-request-id" : "af5f4d91-201e-003e-5643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "aa00d2d0-4998-4e33-826f-545306e63abb" }, "Exception" : null } ], - "variables" : [ "jtcsasprotocolparse0sastestsasprotocolparse57b69691f5100a" ] + "variables" : [ "jtcsasprotocolparse0sastestsasprotocolparse3f249761c2e008" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[0].json index 4a411b851194d..8787a8edc69bf 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign0792340b5055ceae6?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign09923991d0e2a3223?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b49a433c-131e-4830-adab-8b1d40986203" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6195b6e6-405e-4461-8632-bf2123f89b44" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2172CEAF", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF6D5271B", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa38ab-c01e-012f-0796-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "b49a433c-131e-4830-adab-8b1d40986203" + "x-ms-request-id" : "af5f49a9-201e-003e-5643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "6195b6e6-405e-4461-8632-bf2123f89b44" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "699370ed-c3ec-4429-90a1-157bc8301866" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "44c7f7f7-f084-46cf-995b-a142e981cb1b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074ab3a-501e-002e-4096-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign0792340b5055ceae6Tue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE2172CEAF\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "699370ed-c3ec-4429-90a1-157bc8301866", + "x-ms-request-id" : "af5f49b1-201e-003e-5c43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign09923991d0e2a3223Thu, 26 Dec 2019 23:25:58 GMT\"0x8D78A5AF6D5271B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "44c7f7f7-f084-46cf-995b-a142e981cb1b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign0792340b5055ceae6?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign09923991d0e2a3223?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "728f7cbd-a5ce-4e54-8d54-462771674f42" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0f5ae013-a386-4739-aae5-4fc8dd8ff45b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa38f2-c01e-012f-4c96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "728f7cbd-a5ce-4e54-8d54-462771674f42" + "x-ms-request-id" : "af5f49b6-201e-003e-6143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "0f5ae013-a386-4739-aae5-4fc8dd8ff45b" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign0792340b5055ceae6" ] + "variables" : [ "jtcservicesassignaturesstringtosign09923991d0e2a3223" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[1].json index dc46a11bbad1e..c5cfa9876acaf 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign00977942c59ac0a2e?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign052134c7428bbc92a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ab0ad617-4332-46a6-a8ae-7b0af600996b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bfd4db4c-04a5-4e58-83c0-467cdb6b4bb2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2185A28B", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF6FA5F63", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074ab5f-501e-002e-6196-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "ab0ad617-4332-46a6-a8ae-7b0af600996b" + "x-ms-request-id" : "af5f49ba-201e-003e-6543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:58 GMT", + "x-ms-client-request-id" : "bfd4db4c-04a5-4e58-83c0-467cdb6b4bb2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "35805a0d-f1bb-4cae-90a1-7937c55dbd50" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0f13dbfe-c331-4284-ba83-2bf99b21d954" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3942-c01e-012f-1996-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign00977942c59ac0a2eTue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE2185A28B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "35805a0d-f1bb-4cae-90a1-7937c55dbd50", + "x-ms-request-id" : "af5f49c0-201e-003e-6943-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign052134c7428bbc92aThu, 26 Dec 2019 23:25:59 GMT\"0x8D78A5AF6FA5F63\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "0f13dbfe-c331-4284-ba83-2bf99b21d954", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign00977942c59ac0a2e?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign052134c7428bbc92a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d45116da-c2f2-48da-9ab3-ddfefff9790a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d574ccd0-d69e-4df1-9845-245477852797" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074ab84-501e-002e-0196-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:41 GMT", - "x-ms-client-request-id" : "d45116da-c2f2-48da-9ab3-ddfefff9790a" + "x-ms-request-id" : "af5f49c2-201e-003e-6b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "d574ccd0-d69e-4df1-9845-245477852797" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign00977942c59ac0a2e" ] + "variables" : [ "jtcservicesassignaturesstringtosign052134c7428bbc92a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[2].json index 9bda2f9fef145..2b8c9d8820948 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign028286ad38e0d8e5d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign018939517aec01260?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c217a63b-752d-4752-9e49-8e04d62e5dde" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54a58a7f-cd8a-4cf3-b2ca-f82ef196744e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE219A5DB5", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF7219642", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3973-c01e-012f-4796-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "c217a63b-752d-4752-9e49-8e04d62e5dde" + "x-ms-request-id" : "af5f49c7-201e-003e-7043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "54a58a7f-cd8a-4cf3-b2ca-f82ef196744e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1625a8c5-8613-42f3-a424-15852c0f0028" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e8b3aa9c-1d0b-43bc-9e6a-76d865df5ea8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074ab95-501e-002e-1196-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign028286ad38e0d8e5dTue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE219A5DB5\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "1625a8c5-8613-42f3-a424-15852c0f0028", + "x-ms-request-id" : "af5f49ce-201e-003e-7543-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign018939517aec01260Thu, 26 Dec 2019 23:25:59 GMT\"0x8D78A5AF7219642\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "e8b3aa9c-1d0b-43bc-9e6a-76d865df5ea8", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign028286ad38e0d8e5d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign018939517aec01260?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "34515e31-2467-46c0-ae85-e51d97567a1d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab6a9c6d-9e9b-489c-b191-a68e127bbf75" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa39c9-c01e-012f-1596-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "34515e31-2467-46c0-ae85-e51d97567a1d" + "x-ms-request-id" : "af5f49d4-201e-003e-7b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "ab6a9c6d-9e9b-489c-b191-a68e127bbf75" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign028286ad38e0d8e5d" ] + "variables" : [ "jtcservicesassignaturesstringtosign018939517aec01260" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[3].json index c8d7525f599fd..abe5847461842 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign040731a69958532e7?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign084519b2cedd6c5ad?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f85a18c0-2cc9-4cc3-b581-df088cd333bb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "106441a8-6922-4e54-9bfa-1c0452151791" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE21AC1FCA", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF74683A3", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074aba3-501e-002e-1f96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "f85a18c0-2cc9-4cc3-b581-df088cd333bb" + "x-ms-request-id" : "af5f49db-201e-003e-0143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "106441a8-6922-4e54-9bfa-1c0452151791" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d5268b42-21b2-4a13-8908-e4f60c1392c9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09803adb-c780-443d-8983-453c3cd39bbf" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3a26-c01e-012f-6e96-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign040731a69958532e7Tue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE21AC1FCA\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "d5268b42-21b2-4a13-8908-e4f60c1392c9", + "x-ms-request-id" : "af5f49df-201e-003e-0443-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign084519b2cedd6c5adThu, 26 Dec 2019 23:25:59 GMT\"0x8D78A5AF74683A3\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "09803adb-c780-443d-8983-453c3cd39bbf", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign040731a69958532e7?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign084519b2cedd6c5ad?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0bc9a9b0-a44b-47f1-b9da-4e2b0ca0f0a7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37218d35-970d-42c6-a010-2d54fa891377" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074abb1-501e-002e-2b96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "0bc9a9b0-a44b-47f1-b9da-4e2b0ca0f0a7" + "x-ms-request-id" : "af5f49e2-201e-003e-0743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "37218d35-970d-42c6-a010-2d54fa891377" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign040731a69958532e7" ] + "variables" : [ "jtcservicesassignaturesstringtosign084519b2cedd6c5ad" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[4].json index 7b43f2bf8f614..c6cc0a77c3bf0 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[4].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign0289237698aff2df4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign019718a289ef13c8e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d0c9e6c1-a453-4973-9293-29ec52d53e95" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "43fc9536-3366-485e-a17d-445d1ee71af8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE21BD309C", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF76CD1C3", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3a67-c01e-012f-2a96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "d0c9e6c1-a453-4973-9293-29ec52d53e95" + "x-ms-request-id" : "af5f49e6-201e-003e-0b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "43fc9536-3366-485e-a17d-445d1ee71af8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fe4377c4-8824-47e2-bbae-0dc6b25deae8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bb91d291-ebad-4ca8-9dd4-27b475245517" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074abc5-501e-002e-3e96-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign0289237698aff2df4Tue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE21BD309C\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "fe4377c4-8824-47e2-bbae-0dc6b25deae8", + "x-ms-request-id" : "af5f49ea-201e-003e-0e43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign019718a289ef13c8eThu, 26 Dec 2019 23:25:59 GMT\"0x8D78A5AF76CD1C3\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "bb91d291-ebad-4ca8-9dd4-27b475245517", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign0289237698aff2df4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign019718a289ef13c8e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0bc8002f-89b8-4216-a363-cf95e5a4eb22" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a9159853-b1eb-438b-b121-51b4a5bc094a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3a9f-c01e-012f-5a96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "0bc8002f-89b8-4216-a363-cf95e5a4eb22" + "x-ms-request-id" : "af5f49ec-201e-003e-1043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "a9159853-b1eb-438b-b121-51b4a5bc094a" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign0289237698aff2df4" ] + "variables" : [ "jtcservicesassignaturesstringtosign019718a289ef13c8e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[5].json index 7b1329c063628..9ac30169b08b2 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[5].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign020047d3d764889e9?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign0432429db3421ca70?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "49ac8448-0c5e-4238-83e8-a8b533650f80" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "710ba708-fd30-431c-85d1-73cc0e391333" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE21CD6B96", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:42 GMT", + "ETag" : "0x8D78A5AF7928286", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074abd6-501e-002e-4e96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "49ac8448-0c5e-4238-83e8-a8b533650f80" + "x-ms-request-id" : "af5f49ef-201e-003e-1343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:59 GMT", + "x-ms-client-request-id" : "710ba708-fd30-431c-85d1-73cc0e391333" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5406ac94-da28-4272-adc1-4e2d85b0fcde" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4318e058-b97a-4d14-8712-3358100f95e6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3ada-c01e-012f-0e96-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign020047d3d764889e9Tue, 15 Oct 2019 20:27:42 GMT\"0x8D751AE21CD6B96\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "5406ac94-da28-4272-adc1-4e2d85b0fcde", + "x-ms-request-id" : "af5f49f4-201e-003e-1743-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign0432429db3421ca70Thu, 26 Dec 2019 23:26:00 GMT\"0x8D78A5AF7928286\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "4318e058-b97a-4d14-8712-3358100f95e6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign020047d3d764889e9?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign0432429db3421ca70?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1e597bdd-a468-4fb5-8e75-74421dbe6677" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7177ba9b-0e0c-49d5-96e9-201e1c8a2e7c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074abe3-501e-002e-5896-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "1e597bdd-a468-4fb5-8e75-74421dbe6677" + "x-ms-request-id" : "af5f49f7-201e-003e-1a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "7177ba9b-0e0c-49d5-96e9-201e1c8a2e7c" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign020047d3d764889e9" ] + "variables" : [ "jtcservicesassignaturesstringtosign0432429db3421ca70" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[6].json index 15d8926b7cb2c..0ca9f5ffd9b9d 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[6].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign0465427800d9a5467?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign09253254c03e43fe6?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c35117dd-29d7-4049-ad34-f5f100479c6d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a02b4c05-907a-4b6c-a84d-159fae2629e3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE21DE2E4A", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:43 GMT", + "ETag" : "0x8D78A5AF7C06E5F", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3b18-c01e-012f-4a96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "c35117dd-29d7-4049-ad34-f5f100479c6d" + "x-ms-request-id" : "af5f49fb-201e-003e-1e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "a02b4c05-907a-4b6c-a84d-159fae2629e3" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a1b96fc9-5943-4907-b928-86f44e2820bb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7ff1a4a1-1f8d-48ab-81bb-1ae2dcdd6dee" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074abff-501e-002e-7196-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign0465427800d9a5467Tue, 15 Oct 2019 20:27:43 GMT\"0x8D751AE21DE2E4A\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "a1b96fc9-5943-4907-b928-86f44e2820bb", + "x-ms-request-id" : "af5f4a00-201e-003e-2243-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign09253254c03e43fe6Thu, 26 Dec 2019 23:26:00 GMT\"0x8D78A5AF7C06E5F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "7ff1a4a1-1f8d-48ab-81bb-1ae2dcdd6dee", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign0465427800d9a5467?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign09253254c03e43fe6?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "36bcd22b-46db-4368-84e7-d812f468e127" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c9a0d4b-47aa-45fe-aa0b-df04545580c8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3b70-c01e-012f-1896-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "36bcd22b-46db-4368-84e7-d812f468e127" + "x-ms-request-id" : "af5f4a03-201e-003e-2543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "5c9a0d4b-47aa-45fe-aa0b-df04545580c8" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign0465427800d9a5467" ] + "variables" : [ "jtcservicesassignaturesstringtosign09253254c03e43fe6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[7].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[7].json index c3e35432cdfe4..eb91e548f919a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[7].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[7].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign025296d824f361cba?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign081848e174dcc607e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c26fa868-353a-48cd-913b-c5ae36c93462" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "573ef4f9-ca2b-42b6-95e3-156bef65a9de" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE21F17734", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:43 GMT", + "ETag" : "0x8D78A5AF7E70B3D", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074ac19-501e-002e-0896-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "c26fa868-353a-48cd-913b-c5ae36c93462" + "x-ms-request-id" : "af5f4a08-201e-003e-2a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "573ef4f9-ca2b-42b6-95e3-156bef65a9de" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2bf91b8a-3f24-4814-a16e-76ca6cfa7710" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a31bd018-45e2-47f7-8e00-9509b26743ce" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3bd4-c01e-012f-7396-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign025296d824f361cbaTue, 15 Oct 2019 20:27:43 GMT\"0x8D751AE21F17734\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "2bf91b8a-3f24-4814-a16e-76ca6cfa7710", + "x-ms-request-id" : "af5f4a0d-201e-003e-2e43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign081848e174dcc607eThu, 26 Dec 2019 23:26:00 GMT\"0x8D78A5AF7E70B3D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "a31bd018-45e2-47f7-8e00-9509b26743ce", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign025296d824f361cba?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign081848e174dcc607e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6049d8e1-6947-4a5a-a191-156f5fe1c2be" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37d396e6-abdd-4155-b6a8-9377de1f6a20" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074ac44-501e-002e-2896-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "6049d8e1-6947-4a5a-a191-156f5fe1c2be" + "x-ms-request-id" : "af5f4a12-201e-003e-3343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "37d396e6-abdd-4155-b6a8-9377de1f6a20" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign025296d824f361cba" ] + "variables" : [ "jtcservicesassignaturesstringtosign081848e174dcc607e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[8].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[8].json index fcac4d440cda9..00510d43ff52a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[8].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[8].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign069008d799fb34e47?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign085157f801c10e95f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aa2cc8da-570c-460d-9e55-e44fb26dc10d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c705ea1-399b-4d8a-8755-cd6204ad5a45" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE220212E7", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:43 GMT", + "ETag" : "0x8D78A5AF80D3166", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3c14-c01e-012f-2d96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "aa2cc8da-570c-460d-9e55-e44fb26dc10d" + "x-ms-request-id" : "af5f4a16-201e-003e-3743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "5c705ea1-399b-4d8a-8755-cd6204ad5a45" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4b14d809-1509-4937-9d5c-3248e01fb6a1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c1b29f92-b2d7-4d95-bc4f-b240d1e4923d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074ac60-501e-002e-4196-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign069008d799fb34e47Tue, 15 Oct 2019 20:27:43 GMT\"0x8D751AE220212E7\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "4b14d809-1509-4937-9d5c-3248e01fb6a1", + "x-ms-request-id" : "af5f4a1a-201e-003e-3a43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign085157f801c10e95fThu, 26 Dec 2019 23:26:00 GMT\"0x8D78A5AF80D3166\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "c1b29f92-b2d7-4d95-bc4f-b240d1e4923d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign069008d799fb34e47?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign085157f801c10e95f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4b4419eb-8088-432c-ba5b-7fb7b2c732bc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9ae24b7-ec6a-4fc2-8164-654ef222aa82" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3c66-c01e-012f-7496-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "4b4419eb-8088-432c-ba5b-7fb7b2c732bc" + "x-ms-request-id" : "af5f4a1c-201e-003e-3c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "e9ae24b7-ec6a-4fc2-8164-654ef222aa82" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign069008d799fb34e47" ] + "variables" : [ "jtcservicesassignaturesstringtosign085157f801c10e95f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[9].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[9].json index 7d14dab2cd526..e2b33a2901c68 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[9].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosign[9].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign0877876b435c29845?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign05711739689f6753e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "48d0ee16-1f7d-4557-8a67-f2d5b4de9e03" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3fa88a04-1af6-4e54-b075-74077ccf448d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE22161F2F", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:43 GMT", + "ETag" : "0x8D78A5AF8337DC6", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074ac83-501e-002e-5e96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "48d0ee16-1f7d-4557-8a67-f2d5b4de9e03" + "x-ms-request-id" : "af5f4a20-201e-003e-4043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:00 GMT", + "x-ms-client-request-id" : "3fa88a04-1af6-4e54-b075-74077ccf448d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "03750109-4757-452a-b5a5-f27221ebbaf8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "17a4b798-3e40-4a11-905e-d00eb246fa05" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3cc1-c01e-012f-4496-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign0877876b435c29845Tue, 15 Oct 2019 20:27:43 GMT\"0x8D751AE22161F2F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "03750109-4757-452a-b5a5-f27221ebbaf8", + "x-ms-request-id" : "af5f4a26-201e-003e-4543-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignjtcservicesassignaturesstringtosign05711739689f6753eThu, 26 Dec 2019 23:26:01 GMT\"0x8D78A5AF8337DC6\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "17a4b798-3e40-4a11-905e-d00eb246fa05", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosign0877876b435c29845?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosign05711739689f6753e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ea82d773-a708-4945-9d3d-add8cb6843f3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e30d0c50-73f0-4361-8295-18192666ab0f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074ac95-501e-002e-6e96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "ea82d773-a708-4945-9d3d-add8cb6843f3" + "x-ms-request-id" : "af5f4a2b-201e-003e-4a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "e30d0c50-73f0-4361-8295-18192666ab0f" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosign0877876b435c29845" ] + "variables" : [ "jtcservicesassignaturesstringtosign05711739689f6753e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[0].json index 5295cf78f2f26..11d4d55675be9 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0703833f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey089859dd?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "65fda237-2b74-4e62-bd07-292ff1e1f094" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aa0084e9-7e87-49d0-8e6f-0368a3a49b4a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE222B5001", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:43 GMT", + "ETag" : "0x8D78A5AF85906EC", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3d20-c01e-012f-1a96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "65fda237-2b74-4e62-bd07-292ff1e1f094" + "x-ms-request-id" : "af5f4a35-201e-003e-5443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "aa0084e9-7e87-49d0-8e6f-0368a3a49b4a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2551e5cd-d15a-477b-a34d-56d0be3888e2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e548502-16c7-4a80-8a81-412887ca58b7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074acb9-501e-002e-0b96-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey0703833fTue, 15 Oct 2019 20:27:43 GMT\"0x8D751AE222B5001\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:42 GMT", - "x-ms-client-request-id" : "2551e5cd-d15a-477b-a34d-56d0be3888e2", + "x-ms-request-id" : "af5f4a3d-201e-003e-5a43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey089859ddThu, 26 Dec 2019 23:26:01 GMT\"0x8D78A5AF85906EC\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "4e548502-16c7-4a80-8a81-412887ca58b7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0703833f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey089859dd?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "625e6527-b399-4c32-a4fb-307c170c6044" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "39076f3b-b62d-43a8-93f5-c0f5cf2f95d7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3d82-c01e-012f-7896-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "625e6527-b399-4c32-a4fb-307c170c6044" + "x-ms-request-id" : "af5f4a40-201e-003e-5d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "39076f3b-b62d-43a8-93f5-c0f5cf2f95d7" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey0703833f" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey089859dd" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[10].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[10].json index fcdfca873dbfc..39e03f006aabd 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[10].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[10].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey01668515?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0487506c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b5fc73a7-74b9-4013-b38f-ada395b84861" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "36454b08-3ff4-4b63-9ec3-2dfdc27c8a74" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE22EC5EF8", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:44 GMT", + "ETag" : "0x8D78A5AF9D3BFCF", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa41db-c01e-012f-0897-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "b5fc73a7-74b9-4013-b38f-ada395b84861" + "x-ms-request-id" : "af5f4ae2-201e-003e-7343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "36454b08-3ff4-4b63-9ec3-2dfdc27c8a74" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "34b035cb-c3a7-4181-bf45-e7696ffa883c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "035ad2dc-1550-498f-8465-76da06cc32ac" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074ae9e-501e-002e-3297-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey01668515Tue, 15 Oct 2019 20:27:44 GMT\"0x8D751AE22EC5EF8\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "34b035cb-c3a7-4181-bf45-e7696ffa883c", + "x-ms-request-id" : "af5f4aeb-201e-003e-7b43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey0487506cThu, 26 Dec 2019 23:26:03 GMT\"0x8D78A5AF9D3BFCF\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "035ad2dc-1550-498f-8465-76da06cc32ac", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey01668515?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0487506c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1e754867-1c61-4152-a5a5-aebfa34bceec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c80fba13-160c-4e0c-a590-baa7745f2e8c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa421c-c01e-012f-4397-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "1e754867-1c61-4152-a5a5-aebfa34bceec" + "x-ms-request-id" : "af5f4aee-201e-003e-7e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "c80fba13-160c-4e0c-a590-baa7745f2e8c" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey01668515" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey0487506c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[11].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[11].json index d2fd7ba3f0fdd..c0822d585831c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[11].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[11].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey096029a8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey03536256?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "208f8f52-243e-4d99-84dd-0ad85d5630db" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8642d3b5-c5e4-4bc2-ba98-bc5300ea9aaf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE22FC724F", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:44 GMT", + "ETag" : "0x8D78A5AF9F8AB7E", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074aeb6-501e-002e-4797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "208f8f52-243e-4d99-84dd-0ad85d5630db" + "x-ms-request-id" : "af5f4af2-201e-003e-0243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "8642d3b5-c5e4-4bc2-ba98-bc5300ea9aaf" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "898d2f22-a27a-4b5e-81d8-dbad3fbdd5c2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f4c9a6e6-49c6-4d95-9703-aa17ed740958" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa4266-c01e-012f-0697-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey096029a8Tue, 15 Oct 2019 20:27:44 GMT\"0x8D751AE22FC724F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "898d2f22-a27a-4b5e-81d8-dbad3fbdd5c2", + "x-ms-request-id" : "af5f4af8-201e-003e-0643-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey03536256Thu, 26 Dec 2019 23:26:04 GMT\"0x8D78A5AF9F8AB7E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "f4c9a6e6-49c6-4d95-9703-aa17ed740958", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey096029a8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey03536256?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "15d3cc26-13a2-4631-8594-cb54633c108e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b5f8e585-6111-462f-9544-c01b3c0cb8d0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074aed0-501e-002e-5c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "15d3cc26-13a2-4631-8594-cb54633c108e" + "x-ms-request-id" : "af5f4afc-201e-003e-0a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "b5f8e585-6111-462f-9544-c01b3c0cb8d0" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey096029a8" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey03536256" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[12].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[12].json index 4399a9dfd282c..ebf01d45d0ea2 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[12].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[12].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey058310d5?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey011962e8?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6e97e479-5d2d-49b5-b699-64008fd29ab7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4fc2ba1a-7fe9-42ea-9e17-825e7fd02df2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE230DF911", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:45 GMT", + "ETag" : "0x8D78A5AFA1E8394", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa42ab-c01e-012f-4697-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "6e97e479-5d2d-49b5-b699-64008fd29ab7" + "x-ms-request-id" : "af5f4b00-201e-003e-0e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "4fc2ba1a-7fe9-42ea-9e17-825e7fd02df2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dd4c8eae-edb4-4156-a3fc-74552d6de489" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f01a4b76-76c1-4979-a091-3ee54123a8b7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074aeec-501e-002e-7397-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey058310d5Tue, 15 Oct 2019 20:27:45 GMT\"0x8D751AE230DF911\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "dd4c8eae-edb4-4156-a3fc-74552d6de489", + "x-ms-request-id" : "af5f4b06-201e-003e-1243-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey011962e8Thu, 26 Dec 2019 23:26:04 GMT\"0x8D78A5AFA1E8394\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "f01a4b76-76c1-4979-a091-3ee54123a8b7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey058310d5?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey011962e8?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "81efd665-66b3-4746-8a82-7eb80cf862ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e5797857-2b4f-418e-b1a6-727a6b3f1b0d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa42e0-c01e-012f-7697-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "81efd665-66b3-4746-8a82-7eb80cf862ed" + "x-ms-request-id" : "af5f4b0a-201e-003e-1643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "e5797857-2b4f-418e-b1a6-727a6b3f1b0d" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey058310d5" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey011962e8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[13].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[13].json index 09ceeb6e29a25..a4a459f552b60 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[13].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[13].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0201702c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey00589399?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7c9ba6e7-4757-4c20-be01-5bed59af6043" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "112022d6-ce5c-4f19-98b9-78ffb2a6e6cf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE232F75CA", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:45 GMT", + "ETag" : "0x8D78A5AFA439742", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074af3a-501e-002e-3d97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "7c9ba6e7-4757-4c20-be01-5bed59af6043" + "x-ms-request-id" : "af5f4b10-201e-003e-1b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "112022d6-ce5c-4f19-98b9-78ffb2a6e6cf" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2c15a61e-df29-4ef6-8bd7-9cb5ae3ecd42" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "24a22cb7-8afe-4f8e-bc00-b51536a70c1b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa438a-c01e-012f-0e97-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey0201702cTue, 15 Oct 2019 20:27:45 GMT\"0x8D751AE232F75CA\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "2c15a61e-df29-4ef6-8bd7-9cb5ae3ecd42", + "x-ms-request-id" : "af5f4b18-201e-003e-2243-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey00589399Thu, 26 Dec 2019 23:26:04 GMT\"0x8D78A5AFA439742\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "24a22cb7-8afe-4f8e-bc00-b51536a70c1b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0201702c?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey00589399?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "31b20756-68cc-459d-a372-a8b16d39b731" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4810a5ea-9707-444d-b5ce-2156350048f6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074af5c-501e-002e-5a97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "31b20756-68cc-459d-a372-a8b16d39b731" + "x-ms-request-id" : "af5f4b20-201e-003e-2a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "4810a5ea-9707-444d-b5ce-2156350048f6" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey0201702c" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey00589399" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[14].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[14].json index 8aa2edb3343a3..7820d96341755 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[14].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[14].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey03494540?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey07895552?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9eae7877-f318-4177-9a00-6bfb6d561574" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1600d583-d13e-48b5-992e-6b782f9aebc5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE23403929", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:45 GMT", + "ETag" : "0x8D78A5AFA692049", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa43d1-c01e-012f-4d97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "9eae7877-f318-4177-9a00-6bfb6d561574" + "x-ms-request-id" : "af5f4b27-201e-003e-3143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "1600d583-d13e-48b5-992e-6b782f9aebc5" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "abae3512-6407-4c27-9c2d-b2da55381b22" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a4320299-e6fc-4d17-8b7b-0955d173d8d1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074af80-501e-002e-7b97-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey03494540Tue, 15 Oct 2019 20:27:45 GMT\"0x8D751AE23403929\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "abae3512-6407-4c27-9c2d-b2da55381b22", + "x-ms-request-id" : "af5f4b2b-201e-003e-3443-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey07895552Thu, 26 Dec 2019 23:26:04 GMT\"0x8D78A5AFA692049\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "a4320299-e6fc-4d17-8b7b-0955d173d8d1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey03494540?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey07895552?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "df81a89a-0991-4f1a-94d9-299c5a36ef88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c9ab7558-1f1e-43e4-b271-ff5a0811a8a1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4418-c01e-012f-0e97-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "df81a89a-0991-4f1a-94d9-299c5a36ef88" + "x-ms-request-id" : "af5f4b32-201e-003e-3943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "c9ab7558-1f1e-43e4-b271-ff5a0811a8a1" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey03494540" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey07895552" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[1].json index 37b90b85bb590..d30fc3f612a44 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey036096f8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey04527775?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bbac5b99-8643-4d18-9b14-17945653fc02" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06f9a74d-afdc-46cc-87ec-69eb945c2623" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2241587B", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:43 GMT", + "ETag" : "0x8D78A5AF87E9166", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074acc5-501e-002e-1596-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "bbac5b99-8643-4d18-9b14-17945653fc02" + "x-ms-request-id" : "af5f4a44-201e-003e-6143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "06f9a74d-afdc-46cc-87ec-69eb945c2623" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a505e2ce-3e97-41e0-bfe8-cdd917f83a08" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b5ee135b-75ca-4aef-abd9-2ea1a27de457" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3de4-c01e-012f-4f96-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey036096f8Tue, 15 Oct 2019 20:27:43 GMT\"0x8D751AE2241587B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "a505e2ce-3e97-41e0-bfe8-cdd917f83a08", + "x-ms-request-id" : "af5f4a50-201e-003e-6b43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey04527775Thu, 26 Dec 2019 23:26:01 GMT\"0x8D78A5AF87E9166\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "b5ee135b-75ca-4aef-abd9-2ea1a27de457", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey036096f8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey04527775?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ac8dc9d9-52b2-47c9-bbe8-10a92aa222d5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5bb231bc-9e70-4059-bc45-96aecbb32085" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074acdb-501e-002e-2696-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "ac8dc9d9-52b2-47c9-bbe8-10a92aa222d5" + "x-ms-request-id" : "af5f4a58-201e-003e-7343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "5bb231bc-9e70-4059-bc45-96aecbb32085" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey036096f8" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey04527775" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[2].json index fc27a32833c70..5a5aa0385181a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[2].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey07041617?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0406444e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5b6e2de3-7902-4680-a9fe-de79df52a435" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0ccfc896-f60d-4ec2-9f81-afbf07e9c259" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2254DB53", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:43 GMT", + "ETag" : "0x8D78A5AF8A48F6B", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3e2f-c01e-012f-1996-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "5b6e2de3-7902-4680-a9fe-de79df52a435" + "x-ms-request-id" : "af5f4a5f-201e-003e-7a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "0ccfc896-f60d-4ec2-9f81-afbf07e9c259" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e7187869-1bed-426b-9cb9-f7352f31b554" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "23006d37-7548-41e6-b84b-a42b3bd5e8a2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074acf7-501e-002e-3c96-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey07041617Tue, 15 Oct 2019 20:27:43 GMT\"0x8D751AE2254DB53\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "e7187869-1bed-426b-9cb9-f7352f31b554", + "x-ms-request-id" : "af5f4a65-201e-003e-7e43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey0406444eThu, 26 Dec 2019 23:26:01 GMT\"0x8D78A5AF8A48F6B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "23006d37-7548-41e6-b84b-a42b3bd5e8a2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey07041617?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0406444e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2f660282-d9bb-4172-b299-78dc78a60ddd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3c9d0b12-d72c-4e1a-817f-0d9b351b4318" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3e83-c01e-012f-6496-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "2f660282-d9bb-4172-b299-78dc78a60ddd" + "x-ms-request-id" : "af5f4a68-201e-003e-0143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "3c9d0b12-d72c-4e1a-817f-0d9b351b4318" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey07041617" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey0406444e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[3].json index aab76c484712c..d9fccbe4d2e88 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[3].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey043572af?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey01599915?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "874abeb8-de00-48ea-8451-0fd3b3601660" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "faa8b135-ca85-4d20-b91b-ef7a210fa76a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE226CB8F8", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:43 GMT", + "ETag" : "0x8D78A5AF8CADB3E", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074ad0d-501e-002e-4b96-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "874abeb8-de00-48ea-8451-0fd3b3601660" + "x-ms-request-id" : "af5f4a6d-201e-003e-0643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:01 GMT", + "x-ms-client-request-id" : "faa8b135-ca85-4d20-b91b-ef7a210fa76a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a333f9de-f677-42a4-8e4b-c523dc8641ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "efd3f0ac-4356-47f8-8053-93e7fccd2d0e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3ee2-c01e-012f-4296-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey043572afTue, 15 Oct 2019 20:27:43 GMT\"0x8D751AE226CB8F8\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "a333f9de-f677-42a4-8e4b-c523dc8641ed", + "x-ms-request-id" : "af5f4a75-201e-003e-0d43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey01599915Thu, 26 Dec 2019 23:26:02 GMT\"0x8D78A5AF8CADB3E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "efd3f0ac-4356-47f8-8053-93e7fccd2d0e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey043572af?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey01599915?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e855f3eb-9b8d-41a3-973b-6c72a7b3f1c3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e2de61c1-5573-45d2-bfb8-217041c65d89" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074ad29-501e-002e-6397-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "e855f3eb-9b8d-41a3-973b-6c72a7b3f1c3" + "x-ms-request-id" : "af5f4a7a-201e-003e-1243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "e2de61c1-5573-45d2-bfb8-217041c65d89" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey043572af" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey01599915" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[4].json index 10a8b6344bdc9..73a8cedc8eefe 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[4].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey093747db?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey03935011?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "74e5f0df-ab0d-4e9a-83ae-2cae078c730c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fe25fca4-451c-4eb6-b9c7-09544bb97e47" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE22845B93", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:44 GMT", + "ETag" : "0x8D78A5AF8F17477", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3f4d-c01e-012f-2497-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "74e5f0df-ab0d-4e9a-83ae-2cae078c730c" + "x-ms-request-id" : "af5f4a7f-201e-003e-1743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "fe25fca4-451c-4eb6-b9c7-09544bb97e47" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "882301bd-07ee-4ee1-b5a4-86dd7cc7feed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "32260d54-931d-4b45-8f8d-80585b1c06df" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074ad59-501e-002e-0f97-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey093747dbTue, 15 Oct 2019 20:27:44 GMT\"0x8D751AE22845B93\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "882301bd-07ee-4ee1-b5a4-86dd7cc7feed", + "x-ms-request-id" : "af5f4a84-201e-003e-1b43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey03935011Thu, 26 Dec 2019 23:26:02 GMT\"0x8D78A5AF8F17477\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "32260d54-931d-4b45-8f8d-80585b1c06df", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey093747db?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey03935011?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9d96dea7-059f-46ad-99a0-f1a84b614266" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e7c1f90-d31d-4106-8bc7-86eff60edde2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3f83-c01e-012f-5597-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "9d96dea7-059f-46ad-99a0-f1a84b614266" + "x-ms-request-id" : "af5f4a87-201e-003e-1e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "6e7c1f90-d31d-4106-8bc7-86eff60edde2" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey093747db" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey03935011" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[5].json index d2b70e9f4350e..e6acd7cce050c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[5].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey09298606?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0149927b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "12c14ac3-f5b0-4a0f-8722-8f7a5d7cd7a4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "874fd311-0a27-4600-9fdf-efeb58a8da66" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2295CEED", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:44 GMT", + "ETag" : "0x8D78A5AF916D935", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074ad8a-501e-002e-3c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "12c14ac3-f5b0-4a0f-8722-8f7a5d7cd7a4" + "x-ms-request-id" : "af5f4a8c-201e-003e-2343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "874fd311-0a27-4600-9fdf-efeb58a8da66" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c89cd65a-0332-4f72-8b92-619e882ea673" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bca88f86-efe1-4659-93b6-07fff09709d2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3fd1-c01e-012f-1f97-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey09298606Tue, 15 Oct 2019 20:27:44 GMT\"0x8D751AE2295CEED\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "c89cd65a-0332-4f72-8b92-619e882ea673", + "x-ms-request-id" : "af5f4a95-201e-003e-2b43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey0149927bThu, 26 Dec 2019 23:26:02 GMT\"0x8D78A5AF916D935\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "bca88f86-efe1-4659-93b6-07fff09709d2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey09298606?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0149927b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6143c2a5-4b83-4506-92c3-a2210af5ac1c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "912b29d6-3c97-4f57-ac6a-b72759c5009c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074adab-501e-002e-5c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "6143c2a5-4b83-4506-92c3-a2210af5ac1c" + "x-ms-request-id" : "af5f4a9a-201e-003e-3043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "912b29d6-3c97-4f57-ac6a-b72759c5009c" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey09298606" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey0149927b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[6].json index 1dc1a770b48da..69dcb3f686472 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[6].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey007324c7?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey016048f1?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5b7d9a5a-1feb-43a9-8bcf-13e6c6fdd025" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "022f6e71-dc8b-4a90-8238-37e60d3100c8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE22A69213", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:44 GMT", + "ETag" : "0x8D78A5AF93CD5A2", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa4018-c01e-012f-6497-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "5b7d9a5a-1feb-43a9-8bcf-13e6c6fdd025" + "x-ms-request-id" : "af5f4aa2-201e-003e-3843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "022f6e71-dc8b-4a90-8238-37e60d3100c8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2be35b73-c668-4e81-a9a1-a19303d71695" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b2c140b7-38fc-4fcd-8d44-b61eb2b97497" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074add5-501e-002e-8097-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey007324c7Tue, 15 Oct 2019 20:27:44 GMT\"0x8D751AE22A69213\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "2be35b73-c668-4e81-a9a1-a19303d71695", + "x-ms-request-id" : "af5f4aa7-201e-003e-3c43-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey016048f1Thu, 26 Dec 2019 23:26:02 GMT\"0x8D78A5AF93CD5A2\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "b2c140b7-38fc-4fcd-8d44-b61eb2b97497", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey007324c7?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey016048f1?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c904fd4b-e92c-4ca2-939e-168a8ffbcc55" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "035251db-7d81-40d5-abbb-42843d628500" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4060-c01e-012f-2397-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "c904fd4b-e92c-4ca2-939e-168a8ffbcc55" + "x-ms-request-id" : "af5f4aa9-201e-003e-3e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "035251db-7d81-40d5-abbb-42843d628500" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey007324c7" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey016048f1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[7].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[7].json index d432ad4dd960b..295c2ed48142d 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[7].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[7].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey062881ab?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey07299791?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "52cec4a9-89ec-4cd5-9852-c7879e6befd5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "120ba986-ed32-493e-bd4a-3c688bf749b7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE22B67E61", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:44 GMT", + "ETag" : "0x8D78A5AF961E9BD", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074ae04-501e-002e-2697-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "52cec4a9-89ec-4cd5-9852-c7879e6befd5" + "x-ms-request-id" : "af5f4aad-201e-003e-4243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:02 GMT", + "x-ms-client-request-id" : "120ba986-ed32-493e-bd4a-3c688bf749b7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7aafd061-3866-46a9-8fae-8fe2295d6d67" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d18cad2d-dbcf-4e9b-9552-fc937a7a5517" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa40b5-c01e-012f-7497-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey062881abTue, 15 Oct 2019 20:27:44 GMT\"0x8D751AE22B67E61\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "7aafd061-3866-46a9-8fae-8fe2295d6d67", + "x-ms-request-id" : "af5f4ab4-201e-003e-4843-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey07299791Thu, 26 Dec 2019 23:26:03 GMT\"0x8D78A5AF961E9BD\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "d18cad2d-dbcf-4e9b-9552-fc937a7a5517", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey062881ab?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey07299791?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6f2b7b75-2f83-4fe9-a1ba-0009cca490cd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "86205d9a-24dd-42c8-95fe-401da0afa75a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074ae1b-501e-002e-3c97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "6f2b7b75-2f83-4fe9-a1ba-0009cca490cd" + "x-ms-request-id" : "af5f4ab7-201e-003e-4b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "86205d9a-24dd-42c8-95fe-401da0afa75a" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey062881ab" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey07299791" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[8].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[8].json index 1497c2e1f2eaa..7401d0f77f333 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[8].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[8].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey00360815?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0251638d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0f921713-0d86-446d-ad96-9808c7b35b7c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "762e07a4-4017-48a8-af8d-1a35e993e0c1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE22C768AE", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:44 GMT", + "ETag" : "0x8D78A5AF98772F1", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa40fe-c01e-012f-3997-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "0f921713-0d86-446d-ad96-9808c7b35b7c" + "x-ms-request-id" : "af5f4abe-201e-003e-5243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "762e07a4-4017-48a8-af8d-1a35e993e0c1" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7404e46a-df27-464e-9923-c9a34d654041" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "801ad203-488c-4975-8798-e8dfb55c42c1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074ae39-501e-002e-5a97-83b0b1000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey00360815Tue, 15 Oct 2019 20:27:44 GMT\"0x8D751AE22C768AE\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:43 GMT", - "x-ms-client-request-id" : "7404e46a-df27-464e-9923-c9a34d654041", + "x-ms-request-id" : "af5f4ac2-201e-003e-5543-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey0251638dThu, 26 Dec 2019 23:26:03 GMT\"0x8D78A5AF98772F1\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "801ad203-488c-4975-8798-e8dfb55c42c1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey00360815?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey0251638d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b39719d8-9a70-4cd1-9fe3-6aaee61f7c88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d81ebaee-bef1-41c3-bd43-8355b5b2f7f5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa4141-c01e-012f-7697-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "b39719d8-9a70-4cd1-9fe3-6aaee61f7c88" + "x-ms-request-id" : "af5f4ac8-201e-003e-5a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "d81ebaee-bef1-41c3-bd43-8355b5b2f7f5" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey00360815" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey0251638d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[9].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[9].json index dea4477a2372f..973d739cb711a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[9].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturesstringtosignuserdelegationkey[9].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey09517825?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey018039d1?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8b15dc69-3b76-4ce1-836f-bb8325fb24e1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "53abe9f0-d0f6-42dd-aa68-a695d313ddd3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE22DA14BE", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:44 GMT", + "ETag" : "0x8D78A5AF9AE8324", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074ae56-501e-002e-7797-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "8b15dc69-3b76-4ce1-836f-bb8325fb24e1" + "x-ms-request-id" : "af5f4acc-201e-003e-5e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "53abe9f0-d0f6-42dd-aa68-a695d313ddd3" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturesstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7f328424-0b5f-4ff5-ad43-bc67943daaef" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2ba37d85-2d0c-41d0-8261-0e23419569b7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa418f-c01e-012f-4297-83f719000000", - "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey09517825Tue, 15 Oct 2019 20:27:44 GMT\"0x8D751AE22DA14BE\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "7f328424-0b5f-4ff5-ad43-bc67943daaef", + "x-ms-request-id" : "af5f4ad2-201e-003e-6343-bc0544000000", + "Body" : "jtcservicesassignaturesstringtosignuserdelegationkeyjtcservicesassignaturesstringtosignuserdelegationkey018039d1Thu, 26 Dec 2019 23:26:03 GMT\"0x8D78A5AF9AE8324\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "2ba37d85-2d0c-41d0-8261-0e23419569b7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey09517825?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturesstringtosignuserdelegationkey018039d1?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7118d315-de2f-4af1-a763-90eda7271208" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5d088d8-955a-4a71-8c7c-bb882f04c79b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074ae76-501e-002e-1297-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "7118d315-de2f-4af1-a763-90eda7271208" + "x-ms-request-id" : "af5f4ad9-201e-003e-6a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:03 GMT", + "x-ms-client-request-id" : "f5d088d8-955a-4a71-8c7c-bb882f04c79b" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey09517825" ] + "variables" : [ "jtcservicesassignaturesstringtosignuserdelegationkey018039d1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesassertgenerateok[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesassertgenerateok[0].json index 20970110d4d30..7d67fb7b939eb 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesassertgenerateok[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesassertgenerateok[0].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesassertgenerateok043243b9e779?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesassertgenerateok060111238b75?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ec27ef61-0653-4afe-b6ab-6c4cc74ed2bf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7795c5ba-e5f9-4432-adc5-cc7cfda7fc44" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE262FB7C1", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:50 GMT", + "ETag" : "0x8D78A5B005195F0", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074b588-501e-002e-2697-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "ec27ef61-0653-4afe-b6ab-6c4cc74ed2bf" + "x-ms-request-id" : "af5f4d94-201e-003e-5943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "7795c5ba-e5f9-4432-adc5-cc7cfda7fc44" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturevaluesassertgenerateok&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesassertgenerateok&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "519f4b4b-9fe5-474f-aa69-ea8c5a0bd029" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df90086e-19ab-41d5-ae0d-f0e353196bd3" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa57d4-c01e-012f-6697-83f719000000", - "Body" : "jtcservicesassignaturevaluesassertgenerateokjtcservicesassignaturevaluesassertgenerateok043243b9e779Tue, 15 Oct 2019 20:27:50 GMT\"0x8D751AE262FB7C1\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "519f4b4b-9fe5-474f-aa69-ea8c5a0bd029", + "x-ms-request-id" : "af5f4d98-201e-003e-5c43-bc0544000000", + "Body" : "jtcservicesassignaturevaluesassertgenerateokjtcservicesassignaturevaluesassertgenerateok060111238b75Thu, 26 Dec 2019 23:26:14 GMT\"0x8D78A5B005195F0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "df90086e-19ab-41d5-ae0d-f0e353196bd3", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesassertgenerateok043243b9e779?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesassertgenerateok060111238b75?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dbd95173-12e0-44d0-81ea-086db19a14d1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3a8e057a-a7dd-4b81-85fd-cf310048a2b7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074b5a1-501e-002e-3d97-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "dbd95173-12e0-44d0-81ea-086db19a14d1" + "x-ms-request-id" : "af5f4d9e-201e-003e-6243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "3a8e057a-a7dd-4b81-85fd-cf310048a2b7" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesassertgenerateok043243b9e779" ] + "variables" : [ "jtcservicesassignaturevaluesassertgenerateok060111238b75" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesassertgenerateok[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesassertgenerateok[1].json index 6372d54f5bcf9..dbf56b5abff7c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesassertgenerateok[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesassertgenerateok[1].json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesassertgenerateok067094be6089?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesassertgenerateok071126b03dff?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f102b069-abde-408a-a8c6-01d126a91e39" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "39dcb68f-5b74-4025-abdf-790401e48c31" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE264251D3", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:50 GMT", + "ETag" : "0x8D78A5B00771F4C", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa5822-c01e-012f-3297-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "f102b069-abde-408a-a8c6-01d126a91e39" + "x-ms-request-id" : "af5f4da4-201e-003e-6843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "39dcb68f-5b74-4025-abdf-790401e48c31" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturevaluesassertgenerateok&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesassertgenerateok&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e2906b7f-d6ea-4905-9680-6ca1c5531b56" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5ff31c3-668d-4866-a611-1ea279effe1d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074b5bc-501e-002e-5697-83b0b1000000", - "Body" : "jtcservicesassignaturevaluesassertgenerateokjtcservicesassignaturevaluesassertgenerateok067094be6089Tue, 15 Oct 2019 20:27:50 GMT\"0x8D751AE264251D3\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:49 GMT", - "x-ms-client-request-id" : "e2906b7f-d6ea-4905-9680-6ca1c5531b56", + "x-ms-request-id" : "af5f4daa-201e-003e-6d43-bc0544000000", + "Body" : "jtcservicesassignaturevaluesassertgenerateokjtcservicesassignaturevaluesassertgenerateok071126b03dffThu, 26 Dec 2019 23:26:15 GMT\"0x8D78A5B00771F4C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "f5ff31c3-668d-4866-a611-1ea279effe1d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesassertgenerateok067094be6089?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesassertgenerateok071126b03dff?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "57a77d71-7db4-4418-b22a-9198817b3e25" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0bb1f438-2994-414f-86fd-1924c3cb543e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa585a-c01e-012f-6797-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:50 GMT", - "x-ms-client-request-id" : "57a77d71-7db4-4418-b22a-9198817b3e25" + "x-ms-request-id" : "af5f4db0-201e-003e-7343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:14 GMT", + "x-ms-client-request-id" : "0bb1f438-2994-414f-86fd-1924c3cb543e" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesassertgenerateok067094be6089" ] + "variables" : [ "jtcservicesassignaturevaluesassertgenerateok071126b03dff" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesia.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesia.json index 09bf822bd150c..b6f0033da0c9c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesia.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesia.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesia06818487979723dada4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesia069239d4fc4146d57d4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87125297-362e-459e-abb4-015be6cdca22" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0f5815e-d943-4a11-8f85-77c6e360fcbc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE2351D35B", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:45 GMT", + "ETag" : "0x8D78A5AFA9143B5", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074af90-501e-002e-0997-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "87125297-362e-459e-abb4-015be6cdca22" + "x-ms-request-id" : "af5f4b37-201e-003e-3d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "a0f5815e-d943-4a11-8f85-77c6e360fcbc" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturevaluesia&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "677822dc-3bf0-450a-ae0b-71fb6208be79" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "98367fe6-a1cd-44d5-b97d-9f9c7f4e3243" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa446a-c01e-012f-5997-83f719000000", - "Body" : "jtcservicesassignaturevaluesiajtcservicesassignaturevaluesia06818487979723dada4Tue, 15 Oct 2019 20:27:45 GMT\"0x8D751AE2351D35B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:45 GMT", - "x-ms-client-request-id" : "677822dc-3bf0-450a-ae0b-71fb6208be79", + "x-ms-request-id" : "af5f4b3a-201e-003e-3f43-bc0544000000", + "Body" : "jtcservicesassignaturevaluesiajtcservicesassignaturevaluesia069239d4fc4146d57d4Thu, 26 Dec 2019 23:26:05 GMT\"0x8D78A5AFA9143B5\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:04 GMT", + "x-ms-client-request-id" : "98367fe6-a1cd-44d5-b97d-9f9c7f4e3243", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesia06818487979723dada4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesia069239d4fc4146d57d4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4cf3f8da-5127-4b6e-af58-523ec62471fd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b357db57-8ebd-4a4a-9e87-fc4cffc11e93" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074afa3-501e-002e-1897-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:44 GMT", - "x-ms-client-request-id" : "4cf3f8da-5127-4b6e-af58-523ec62471fd" + "x-ms-request-id" : "af5f4b3d-201e-003e-4243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:05 GMT", + "x-ms-client-request-id" : "b357db57-8ebd-4a4a-9e87-fc4cffc11e93" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesia06818487979723dada4" ] + "variables" : [ "jtcservicesassignaturevaluesia069239d4fc4146d57d4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblob.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblob.json index 33ba356118730..deb5279482c63 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblob.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblob.json @@ -1,100 +1,100 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob03318290c4ebd?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob050242d494bda?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f3dd6e31-2f40-40cc-ad7c-67588f0b3f88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ceee69d0-dd97-42b6-8e2e-cb98cb872bd0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE20345A3F", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "ETag" : "0x8D78A5AF2687D36", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa3066-c01e-012f-5296-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "f3dd6e31-2f40-40cc-ad7c-67588f0b3f88" + "x-ms-request-id" : "af5f483b-201e-003e-0a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", + "x-ms-client-request-id" : "ceee69d0-dd97-42b6-8e2e-cb98cb872bd0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob03318290c4ebd/javablobservicesassignaturevaluesnetworktestblob14445928f4", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob050242d494bda/javablobservicesassignaturevaluesnetworktestblob19160930e1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2eafa53c-54f3-4db7-947a-14a7763c7339", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "39709dd0-7a17-4b6e-9fb3-171d4d78a179", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:51 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D751AE203BD369", + "ETag" : "0x8D78A5AF2753819", "Content-Length" : "0", - "x-ms-request-id" : "8074a87d-501e-002e-7996-83b0b1000000", - "x-ms-client-request-id" : "2eafa53c-54f3-4db7-947a-14a7763c7339" + "x-ms-request-id" : "af5f4847-201e-003e-1143-bc0544000000", + "x-ms-client-request-id" : "39709dd0-7a17-4b6e-9fb3-171d4d78a179" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob03318290c4ebd/javablobservicesassignaturevaluesnetworktestblob14445928f4?sv=2019-02-02&spr=https%2Chttp&st=2019-10-14T20%3A27%3A40Z&se=2019-10-16T20%3A27%3A40Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob050242d494bda/javablobservicesassignaturevaluesnetworktestblob19160930e1?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A51Z&se=2019-12-27T23%3A25%3A51Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fcbe5041-a862-4088-be2a-d0fe5236bd2c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4d016e74-6dec-48c3-8aed-13beebd58b6a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D751AE203BD369", + "ETag" : "0x8D78A5AF2753819", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Tue, 15 Oct 2019 20:27:40 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:51 GMT", "Content-Length" : "4", - "x-ms-request-id" : "69fa30c2-c01e-012f-2c96-83f719000000", + "x-ms-request-id" : "af5f484f-201e-003e-1843-bc0544000000", "Body" : "test", - "x-ms-client-request-id" : "fcbe5041-a862-4088-be2a-d0fe5236bd2c", + "x-ms-client-request-id" : "4d016e74-6dec-48c3-8aed-13beebd58b6a", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob03318290c4ebd/javablobservicesassignaturevaluesnetworktestblob14445928f4?sv=2019-02-02&spr=https%2Chttp&st=2019-10-14T20%3A27%3A40Z&se=2019-10-16T20%3A27%3A40Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob050242d494bda/javablobservicesassignaturevaluesnetworktestblob19160930e1?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A51Z&se=2019-12-27T23%3A25%3A51Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1bb79c09-6385-449f-89e3-e40d34a47f7d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af01abc9-76af-46e1-bbb1-af791d9ff3de" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", @@ -102,57 +102,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D751AE203BD369", + "ETag" : "0x8D78A5AF2753819", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Tue, 15 Oct 2019 20:27:40 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:51 GMT", "Content-Length" : "4", - "x-ms-request-id" : "8074a89e-501e-002e-1796-83b0b1000000", - "x-ms-client-request-id" : "1bb79c09-6385-449f-89e3-e40d34a47f7d", + "x-ms-request-id" : "af5f4853-201e-003e-1c43-bc0544000000", + "x-ms-client-request-id" : "af01abc9-76af-46e1-bbb1-af791d9ff3de", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestblob&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestblob&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3eaf6869-6e23-4863-b1ef-67da3e45de30" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c276fe8c-f9fb-478e-8a78-aab8146803ec" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa30f8-c01e-012f-6096-83f719000000", - "Body" : "jtcservicesassignaturevaluesnetworktestblobjtcservicesassignaturevaluesnetworktestblob03318290c4ebdTue, 15 Oct 2019 20:27:40 GMT\"0x8D751AE20345A3F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "3eaf6869-6e23-4863-b1ef-67da3e45de30", + "x-ms-request-id" : "af5f4857-201e-003e-2043-bc0544000000", + "Body" : "jtcservicesassignaturevaluesnetworktestblobjtcservicesassignaturevaluesnetworktestblob050242d494bdaThu, 26 Dec 2019 23:25:51 GMT\"0x8D78A5AF2687D36\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", + "x-ms-client-request-id" : "c276fe8c-f9fb-478e-8a78-aab8146803ec", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob03318290c4ebd?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblob050242d494bda?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8cf3c44f-0097-434d-8484-a1983bfe901d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b4c46ed0-67b8-4aa7-abf8-faa1666e6d3a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8074a8c1-501e-002e-3596-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", - "x-ms-client-request-id" : "8cf3c44f-0097-434d-8484-a1983bfe901d" + "x-ms-request-id" : "af5f4859-201e-003e-2243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", + "x-ms-client-request-id" : "b4c46ed0-67b8-4aa7-abf8-faa1666e6d3a" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesnetworktestblob03318290c4ebd", "javablobservicesassignaturevaluesnetworktestblob14445928f4", "2019-10-15T20:27:40.350602200Z", "2019-10-15T20:27:40.350602200Z" ] + "variables" : [ "jtcservicesassignaturevaluesnetworktestblob050242d494bda", "javablobservicesassignaturevaluesnetworktestblob19160930e1", "2019-12-26T23:25:51.636259200Z", "2019-12-26T23:25:51.643259Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobsnapshot.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobsnapshot.json index 59f9d0602933a..c3a9336517434 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobsnapshot.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobsnapshot.json @@ -1,119 +1,119 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot046216020?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot092616f19?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c812ac6f-4dbe-4236-808e-95e307a71b4b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a8b31516-5293-4b6d-af86-c6cc5c284235" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE20607E44", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "ETag" : "0x8D78A5AF2B90DCB", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa315b-c01e-012f-3a96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "c812ac6f-4dbe-4236-808e-95e307a71b4b" + "x-ms-request-id" : "af5f485e-201e-003e-2543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", + "x-ms-client-request-id" : "a8b31516-5293-4b6d-af86-c6cc5c284235" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot046216020/javablobservicesassignaturevaluesnetworktestblobsnapshot115579", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot092616f19/javablobservicesassignaturevaluesnetworktestblobsnapshot166280", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "baba5ff3-8e19-4de8-8285-80a7782beb1e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c4f40a90-4a15-4750-9a2f-4332e461d3d6", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:52 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 20:27:39 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:51 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D751AE20675AFD", + "ETag" : "0x8D78A5AF2C5F221", "Content-Length" : "0", - "x-ms-request-id" : "8074a8df-501e-002e-4f96-83b0b1000000", - "x-ms-client-request-id" : "baba5ff3-8e19-4de8-8285-80a7782beb1e" + "x-ms-request-id" : "af5f4863-201e-003e-2943-bc0544000000", + "x-ms-client-request-id" : "c4f40a90-4a15-4750-9a2f-4332e461d3d6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot046216020/javablobservicesassignaturevaluesnetworktestblobsnapshot115579?comp=snapshot", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot092616f19/javablobservicesassignaturevaluesnetworktestblobsnapshot166280?comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0ba398e9-5a74-4dfa-9d94-078017975906" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84434d02-9236-45c8-ba83-4e1ad2c46ce7" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T20:27:40.6839089Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-26T23:25:52.1783356Z", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE20675AFD", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "ETag" : "0x8D78A5AF2C5F221", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69fa31a8-c01e-012f-0196-83f719000000", + "x-ms-request-id" : "af5f4865-201e-003e-2b43-bc0544000000", "x-ms-request-server-encrypted" : "false", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "0ba398e9-5a74-4dfa-9d94-078017975906" + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", + "x-ms-client-request-id" : "84434d02-9236-45c8-ba83-4e1ad2c46ce7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot046216020/javablobservicesassignaturevaluesnetworktestblobsnapshot115579?snapshot=2019-10-15T20%3a27%3a40.6839089Z&sv=2019-02-02&spr=https%2Chttp&st=2019-10-14T20%3A27%3A40Z&se=2019-10-16T20%3A27%3A40Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot092616f19/javablobservicesassignaturevaluesnetworktestblobsnapshot166280?snapshot=2019-12-26T23%3a25%3a52.1783356Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A52Z&se=2019-12-27T23%3A25%3A52Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5198be46-8f7c-4b36-b106-9481fed431b6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6effb923-fd1a-4851-9e61-2d8a4fd6069c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D751AE20675AFD", + "ETag" : "0x8D78A5AF2C5F221", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Tue, 15 Oct 2019 20:27:40 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:52 GMT", "Content-Length" : "4", - "x-ms-request-id" : "8074a901-501e-002e-6b96-83b0b1000000", + "x-ms-request-id" : "af5f4867-201e-003e-2d43-bc0544000000", "Body" : "test", - "x-ms-client-request-id" : "5198be46-8f7c-4b36-b106-9481fed431b6", + "x-ms-client-request-id" : "6effb923-fd1a-4851-9e61-2d8a4fd6069c", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot046216020/javablobservicesassignaturevaluesnetworktestblobsnapshot115579?snapshot=2019-10-15T20%3a27%3a40.6839089Z&sv=2019-02-02&spr=https%2Chttp&st=2019-10-14T20%3A27%3A40Z&se=2019-10-16T20%3A27%3A40Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot092616f19/javablobservicesassignaturevaluesnetworktestblobsnapshot166280?snapshot=2019-12-26T23%3a25%3a52.1783356Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A52Z&se=2019-12-27T23%3A25%3A52Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "95ef7cef-6e48-49ad-b53d-2b4f5538ce02" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b71c5c99-6b20-4b54-9a62-65dbea7d4e27" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", @@ -121,57 +121,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D751AE20675AFD", + "ETag" : "0x8D78A5AF2C5F221", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Tue, 15 Oct 2019 20:27:40 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:52 GMT", "Content-Length" : "4", - "x-ms-request-id" : "69fa3208-c01e-012f-5796-83f719000000", - "x-ms-client-request-id" : "95ef7cef-6e48-49ad-b53d-2b4f5538ce02", + "x-ms-request-id" : "af5f486b-201e-003e-3143-bc0544000000", + "x-ms-client-request-id" : "b71c5c99-6b20-4b54-9a62-65dbea7d4e27", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestblobsnapshot&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestblobsnapshot&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ea38c061-de45-43ca-bbfe-d52653797e8a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f9685f4-2c9d-475b-b599-cc0ac6b24d57" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074a919-501e-002e-7e96-83b0b1000000", - "Body" : "jtcservicesassignaturevaluesnetworktestblobsnapshotjtcservicesassignaturevaluesnetworktestblobsnapshot046216020Tue, 15 Oct 2019 20:27:40 GMT\"0x8D751AE20607E44\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "ea38c061-de45-43ca-bbfe-d52653797e8a", + "x-ms-request-id" : "af5f486d-201e-003e-3343-bc0544000000", + "Body" : "jtcservicesassignaturevaluesnetworktestblobsnapshotjtcservicesassignaturevaluesnetworktestblobsnapshot092616f19Thu, 26 Dec 2019 23:25:52 GMT\"0x8D78A5AF2B90DCB\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", + "x-ms-client-request-id" : "4f9685f4-2c9d-475b-b599-cc0ac6b24d57", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot046216020?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshot092616f19?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1dd803df-7f4a-43de-9444-a478f20ea847" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "092ed57a-fc34-4bf5-94a2-ba76b3ac575b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3248-c01e-012f-1496-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "1dd803df-7f4a-43de-9444-a478f20ea847" + "x-ms-request-id" : "af5f486f-201e-003e-3543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", + "x-ms-client-request-id" : "092ed57a-fc34-4bf5-94a2-ba76b3ac575b" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesnetworktestblobsnapshot046216020", "javablobservicesassignaturevaluesnetworktestblobsnapshot115579", "2019-10-15T20:27:40.722642500Z", "2019-10-15T20:27:40.722642500Z" ] + "variables" : [ "jtcservicesassignaturevaluesnetworktestblobsnapshot092616f19", "javablobservicesassignaturevaluesnetworktestblobsnapshot166280", "2019-12-26T23:25:52.219447300Z", "2019-12-26T23:25:52.219447300Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobsnapshotuserdelegation.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobsnapshotuserdelegation.json index 8db9c9e6937e9..4b5250cc0b67f 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobsnapshotuserdelegation.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobsnapshotuserdelegation.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus0684695b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "da5814c3-7b30-46f1-8982-2eddcbeef53c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "379a226c-2354-4e28-add5-800de1efba25" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D754295A0C950B", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:47 GMT", + "ETag" : "0x8D78A5AF47D5130", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "834d7824-f01e-003d-2112-86e420000000", - "Date" : "Sat, 19 Oct 2019 00:14:47 GMT", - "x-ms-client-request-id" : "da5814c3-7b30-46f1-8982-2eddcbeef53c" + "x-ms-request-id" : "af5f48dd-201e-003e-1a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", + "x-ms-client-request-id" : "379a226c-2354-4e28-add5-800de1efba25" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9/35c4336a64864644893ae5a1842c68d9dc33435be73240be9c4b92cf1395c9eb", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus0684695b/42de31ef412c4a8fa239a37e30b0eaafc7ef22d3679b46f78cddd765996c1218", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "c58b4a4a-3772-4ce8-a617-4c0b7b2eddad", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f79ca74a-36b6-4514-b577-f6e64e2e505e", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:47 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:55 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Sat, 19 Oct 2019 00:14:47 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D754295A1A3FC1", + "ETag" : "0x8D78A5AF489C0E4", "Content-Length" : "0", - "x-ms-request-id" : "834d7826-f01e-003d-2212-86e420000000", - "x-ms-client-request-id" : "c58b4a4a-3772-4ce8-a617-4c0b7b2eddad" + "x-ms-request-id" : "af5f48e1-201e-003e-1d43-bc0544000000", + "x-ms-client-request-id" : "f79ca74a-36b6-4514-b577-f6e64e2e505e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9/35c4336a64864644893ae5a1842c68d9dc33435be73240be9c4b92cf1395c9eb?comp=snapshot", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus0684695b/42de31ef412c4a8fa239a37e30b0eaafc7ef22d3679b46f78cddd765996c1218?comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "f72ff319-02f5-4a82-a77d-ac2aeac77cd7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5e778964-8b63-4b35-945a-a1b0c2e6c2bc" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-19T00:14:47.9166493Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-26T23:25:55.1392780Z", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D754295A1A3FC1", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:47 GMT", + "ETag" : "0x8D78A5AF489C0E4", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "834d7827-f01e-003d-2312-86e420000000", + "x-ms-request-id" : "af5f48e3-201e-003e-1f43-bc0544000000", "x-ms-request-server-encrypted" : "false", - "Date" : "Sat, 19 Oct 2019 00:14:47 GMT", - "x-ms-client-request-id" : "f72ff319-02f5-4a82-a77d-ac2aeac77cd7" + "Date" : "Thu, 26 Dec 2019 23:25:54 GMT", + "x-ms-client-request-id" : "5e778964-8b63-4b35-945a-a1b0c2e6c2bc" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://gapradev.blob.core.windows.net?restype=service&comp=userdelegationkey", + "Uri" : "https://gaprastg71.blob.core.windows.net?restype=service&comp=userdelegationkey", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "deaa956e-c3a8-48a7-8964-57465886bc37", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8c6a6e1e-8782-4f21-b53e-5575ee2a3478", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "834d782c-f01e-003d-2812-86e420000000", - "Body" : "b32b5d89-9500-4f9e-b15c-ded1273f4cb25d6a190d-43d4-4117-8f0a-8476a366777d2019-10-18T00:14:47Z2019-10-20T00:14:47Zb2019-02-02UkVEQUNURUQ=", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", - "x-ms-client-request-id" : "deaa956e-c3a8-48a7-8964-57465886bc37", + "x-ms-request-id" : "af5f48f2-201e-003e-2d43-bc0544000000", + "Body" : "028ca24c-aaa1-4906-9a27-b145a5478a0cf7f77b9e-baa7-4b6a-9bf6-6c8ba21cb8a42019-12-25T23:25:55Z2019-12-27T23:25:55Zb2019-07-07UkVEQUNURUQ=", + "Date" : "Thu, 26 Dec 2019 23:25:55 GMT", + "x-ms-client-request-id" : "8c6a6e1e-8782-4f21-b53e-5575ee2a3478", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9/35c4336a64864644893ae5a1842c68d9dc33435be73240be9c4b92cf1395c9eb?sv=2019-02-02&spr=https%2Chttp&st=2019-10-18T00%3A14%3A47Z&se=2019-10-20T00%3A14%3A47Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-10-18T00%3A14%3A47Z&ske=2019-10-20T00%3A14%3A47Z&sks=b&skv=2019-02-02&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus0684695b/42de31ef412c4a8fa239a37e30b0eaafc7ef22d3679b46f78cddd765996c1218?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A55Z&se=2019-12-27T23%3A25%3A55Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A55Z&ske=2019-12-27T23%3A25%3A55Z&sks=b&skv=2019-07-07&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "6ad74149-3e51-4c80-a20c-ec2acbb39ce3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab398b61-96fd-4ed1-8ecf-397a2fcafe44" }, "Response" : { "Server" : "Microsoft-HTTPAPI/2.0", @@ -104,58 +104,58 @@ "retry-after" : "0", "Content-Length" : "447", "StatusCode" : "403", - "x-ms-request-id" : "834d782f-f01e-003d-2b12-86e420000000", - "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:834d782f-f01e-003d-2b12-86e420000000\nTime:2019-10-19T00:14:48.3350826ZThe specified signed resource is not allowed for the this resource level", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", + "x-ms-request-id" : "af5f48f9-201e-003e-3243-bc0544000000", + "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:af5f48f9-201e-003e-3243-bc0544000000\nTime:2019-12-26T23:25:55.6078218ZThe specified signed resource is not allowed for the this resource level", + "Date" : "Thu, 26 Dec 2019 23:25:55 GMT", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9/35c4336a64864644893ae5a1842c68d9dc33435be73240be9c4b92cf1395c9eb?snapshot=2019-10-19T00%3a14%3a47.9166493Z&sv=2019-02-02&spr=https%2Chttp&st=2019-10-18T00%3A14%3A47Z&se=2019-10-20T00%3A14%3A47Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-10-18T00%3A14%3A47Z&ske=2019-10-20T00%3A14%3A47Z&sks=b&skv=2019-02-02&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus0684695b/42de31ef412c4a8fa239a37e30b0eaafc7ef22d3679b46f78cddd765996c1218?snapshot=2019-12-26T23%3a25%3a55.1392780Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A55Z&se=2019-12-27T23%3A25%3A55Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A55Z&ske=2019-12-27T23%3A25%3A55Z&sks=b&skv=2019-07-07&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "4273e4fa-4180-499d-a2d2-27a2c54d84ba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3b05f8a-df9b-4117-a36a-d4a6090d78b6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:47 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:55 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D754295A1A3FC1", + "ETag" : "0x8D78A5AF489C0E4", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Sat, 19 Oct 2019 00:14:47 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:55 GMT", "Content-Length" : "4", - "x-ms-request-id" : "834d7830-f01e-003d-2c12-86e420000000", + "x-ms-request-id" : "af5f48fc-201e-003e-3543-bc0544000000", "Body" : "test", - "x-ms-client-request-id" : "4273e4fa-4180-499d-a2d2-27a2c54d84ba", + "x-ms-client-request-id" : "c3b05f8a-df9b-4117-a36a-d4a6090d78b6", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9/35c4336a64864644893ae5a1842c68d9dc33435be73240be9c4b92cf1395c9eb?snapshot=2019-10-19T00%3a14%3a47.9166493Z&sv=2019-02-02&spr=https%2Chttp&st=2019-10-18T00%3A14%3A47Z&se=2019-10-20T00%3A14%3A47Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-10-18T00%3A14%3A47Z&ske=2019-10-20T00%3A14%3A47Z&sks=b&skv=2019-02-02&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus0684695b/42de31ef412c4a8fa239a37e30b0eaafc7ef22d3679b46f78cddd765996c1218?snapshot=2019-12-26T23%3a25%3a55.1392780Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A55Z&se=2019-12-27T23%3A25%3A55Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A55Z&ske=2019-12-27T23%3A25%3A55Z&sks=b&skv=2019-07-07&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "fc897f83-e799-4029-b9a9-91a1d0693ee7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a59f3694-e478-49c1-9b33-877bd3216651" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:47 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:55 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", @@ -163,57 +163,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D754295A1A3FC1", + "ETag" : "0x8D78A5AF489C0E4", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Sat, 19 Oct 2019 00:14:47 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:55 GMT", "Content-Length" : "4", - "x-ms-request-id" : "834d7833-f01e-003d-2f12-86e420000000", - "x-ms-client-request-id" : "fc897f83-e799-4029-b9a9-91a1d0693ee7", + "x-ms-request-id" : "af5f4905-201e-003e-3c43-bc0544000000", + "x-ms-client-request-id" : "a59f3694-e478-49c1-9b33-877bd3216651", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestblobsnapshotus&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestblobsnapshotus&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "25e94bd1-e572-433d-9307-3e2294f0e9f8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "89500a41-4d4b-492f-b9f1-0cb30450e215" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "834d7834-f01e-003d-3012-86e420000000", - "Body" : "jtcservicesassignaturevaluesnetworktestblobsnapshotusjtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9Sat, 19 Oct 2019 00:14:47 GMT\"0x8D754295A0C950B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", - "x-ms-client-request-id" : "25e94bd1-e572-433d-9307-3e2294f0e9f8", + "x-ms-request-id" : "af5f490c-201e-003e-4243-bc0544000000", + "Body" : "jtcservicesassignaturevaluesnetworktestblobsnapshotusjtcservicesassignaturevaluesnetworktestblobsnapshotus0684695bThu, 26 Dec 2019 23:25:54 GMT\"0x8D78A5AF47D5130\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:55 GMT", + "x-ms-client-request-id" : "89500a41-4d4b-492f-b9f1-0cb30450e215", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobsnapshotus0684695b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "d9eb61d0-8bd4-4fce-8b52-7b68ee5be80b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c185931-c1e5-41c1-8510-b67001204823" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "834d7835-f01e-003d-3112-86e420000000", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", - "x-ms-client-request-id" : "d9eb61d0-8bd4-4fce-8b52-7b68ee5be80b" + "x-ms-request-id" : "af5f490f-201e-003e-4543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:55 GMT", + "x-ms-client-request-id" : "5c185931-c1e5-41c1-8510-b67001204823" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesnetworktestblobsnapshotus031072d9", "35c4336a64864644893ae5a1842c68d9dc33435be73240be9c4b92cf1395c9eb", "2019-10-19T00:14:47.957Z", "2019-10-19T00:14:47.957Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] + "variables" : [ "jtcservicesassignaturevaluesnetworktestblobsnapshotus0684695b", "42de31ef412c4a8fa239a37e30b0eaafc7ef22d3679b46f78cddd765996c1218", "2019-12-26T23:25:55.181487700Z", "2019-12-26T23:25:55.181487700Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobuserdelegation.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobuserdelegation.json index 7fbfa83cd85e3..c4a754646eec0 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobuserdelegation.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestblobuserdelegation.json @@ -1,122 +1,122 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega031953c7?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega053525e9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "82e560bb-f7b4-4626-92d2-b97400f8a647" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bf6645ab-9ba2-443b-9abf-77518d0120b4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D75429582B529E", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:44 GMT", + "ETag" : "0x8D78A5AF3766BD4", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "834d77db-f01e-003d-6112-86e420000000", - "Date" : "Sat, 19 Oct 2019 00:14:44 GMT", - "x-ms-client-request-id" : "82e560bb-f7b4-4626-92d2-b97400f8a647" + "x-ms-request-id" : "af5f4893-201e-003e-5643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:53 GMT", + "x-ms-client-request-id" : "bf6645ab-9ba2-443b-9abf-77518d0120b4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega031953c7/79eddf9b1495424eb59996ce6a5270e7d684cba65d6248019c3521bff07b3e82", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega053525e9/6326dee9dc5242bbb89e5590902b738aae80b5cd88584335bf36a346342f48d5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "1372b822-6fbb-4bf5-98f1-4abeb55199d8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "206f17c0-5ef2-4e74-88b9-d846932f59b6", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:44 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:53 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Sat, 19 Oct 2019 00:14:44 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:53 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D754295839E57D", + "ETag" : "0x8D78A5AF3839E27", "Content-Length" : "0", - "x-ms-request-id" : "834d77dd-f01e-003d-6212-86e420000000", - "x-ms-client-request-id" : "1372b822-6fbb-4bf5-98f1-4abeb55199d8" + "x-ms-request-id" : "af5f4898-201e-003e-5a43-bc0544000000", + "x-ms-client-request-id" : "206f17c0-5ef2-4e74-88b9-d846932f59b6" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://gapradev.blob.core.windows.net?restype=service&comp=userdelegationkey", + "Uri" : "https://gaprastg71.blob.core.windows.net?restype=service&comp=userdelegationkey", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "fdda6493-7280-4485-a83a-c59536afa983", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f1296c6-9c53-4029-a13a-e3431b4e9f94", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "834d77f4-f01e-003d-7912-86e420000000", - "Body" : "a5957b65-c972-4fc0-a6aa-afa2a83bee2678f00f00-993c-4fe5-9f8a-9423f46f747e2019-10-19T00:14:45Z2019-10-20T00:14:44Zb2019-02-02UkVEQUNURUQ=", - "Date" : "Sat, 19 Oct 2019 00:14:45 GMT", - "x-ms-client-request-id" : "fdda6493-7280-4485-a83a-c59536afa983", + "x-ms-request-id" : "af5f48a9-201e-003e-6b43-bc0544000000", + "Body" : "e665bcc9-ca35-4252-9edf-7fa661ad6d6f39f86343-61ca-4908-8d9b-25021d9a95f32019-12-26T23:25:53Z2019-12-27T23:25:53Zb2019-07-07UkVEQUNURUQ=", + "Date" : "Thu, 26 Dec 2019 23:25:53 GMT", + "x-ms-client-request-id" : "5f1296c6-9c53-4029-a13a-e3431b4e9f94", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega031953c7/79eddf9b1495424eb59996ce6a5270e7d684cba65d6248019c3521bff07b3e82?sv=2019-02-02&spr=https%2Chttp&st=2019-10-18T00%3A14%3A44Z&se=2019-10-20T00%3A14%3A44Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-10-19T00%3A14%3A45Z&ske=2019-10-20T00%3A14%3A44Z&sks=b&skv=2019-02-02&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega053525e9/6326dee9dc5242bbb89e5590902b738aae80b5cd88584335bf36a346342f48d5?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A53Z&se=2019-12-27T23%3A25%3A53Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-26T23%3A25%3A53Z&ske=2019-12-27T23%3A25%3A53Z&sks=b&skv=2019-07-07&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "06cfa7b4-9350-4018-aa3d-f3cf1c016151" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9622372-39a0-4aaf-9ba5-73efd8a17556" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:44 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Sat, 19 Oct 2019 00:14:46 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:53 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D754295839E57D", + "ETag" : "0x8D78A5AF3839E27", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Sat, 19 Oct 2019 00:14:44 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:53 GMT", "Content-Length" : "4", - "x-ms-request-id" : "834d77fd-f01e-003d-8012-86e420000000", + "x-ms-request-id" : "af5f48ac-201e-003e-6e43-bc0544000000", "Body" : "test", - "x-ms-client-request-id" : "06cfa7b4-9350-4018-aa3d-f3cf1c016151", + "x-ms-client-request-id" : "e9622372-39a0-4aaf-9ba5-73efd8a17556", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega031953c7/79eddf9b1495424eb59996ce6a5270e7d684cba65d6248019c3521bff07b3e82?sv=2019-02-02&spr=https%2Chttp&st=2019-10-18T00%3A14%3A44Z&se=2019-10-20T00%3A14%3A44Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-10-19T00%3A14%3A45Z&ske=2019-10-20T00%3A14%3A44Z&sks=b&skv=2019-02-02&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega053525e9/6326dee9dc5242bbb89e5590902b738aae80b5cd88584335bf36a346342f48d5?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A53Z&se=2019-12-27T23%3A25%3A53Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-26T23%3A25%3A53Z&ske=2019-12-27T23%3A25%3A53Z&sks=b&skv=2019-07-07&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "754f1dda-2b0b-4cf0-a093-88612e2c8471" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "12f5e2d8-6634-4b2a-b978-fa6fcf6585f8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:44 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Sat, 19 Oct 2019 00:14:46 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:53 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", @@ -124,57 +124,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D754295839E57D", + "ETag" : "0x8D78A5AF3839E27", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Sat, 19 Oct 2019 00:14:44 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:53 GMT", "Content-Length" : "4", - "x-ms-request-id" : "834d7807-f01e-003d-0912-86e420000000", - "x-ms-client-request-id" : "754f1dda-2b0b-4cf0-a093-88612e2c8471", + "x-ms-request-id" : "af5f48b1-201e-003e-7343-bc0544000000", + "x-ms-client-request-id" : "12f5e2d8-6634-4b2a-b978-fa6fcf6585f8", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestblobuserdelega&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestblobuserdelega&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "d80db6ca-d924-4324-8a90-908798d16c87" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0020306-feb1-4b30-b781-357e438e0556" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "834d7809-f01e-003d-0b12-86e420000000", - "Body" : "jtcservicesassignaturevaluesnetworktestblobuserdelegajtcservicesassignaturevaluesnetworktestblobuserdelega031953c7Sat, 19 Oct 2019 00:14:44 GMT\"0x8D75429582B529E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Sat, 19 Oct 2019 00:14:46 GMT", - "x-ms-client-request-id" : "d80db6ca-d924-4324-8a90-908798d16c87", + "x-ms-request-id" : "af5f48b4-201e-003e-7643-bc0544000000", + "Body" : "jtcservicesassignaturevaluesnetworktestblobuserdelegajtcservicesassignaturevaluesnetworktestblobuserdelega053525e9Thu, 26 Dec 2019 23:25:53 GMT\"0x8D78A5AF3766BD4\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:53 GMT", + "x-ms-client-request-id" : "f0020306-feb1-4b30-b781-357e438e0556", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega031953c7?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestblobuserdelega053525e9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "c6a22824-9275-4de6-ba24-91741f5356b2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eea841b0-09d4-4aca-83ae-83e586d32dcc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "834d780c-f01e-003d-0e12-86e420000000", - "Date" : "Sat, 19 Oct 2019 00:14:46 GMT", - "x-ms-client-request-id" : "c6a22824-9275-4de6-ba24-91741f5356b2" + "x-ms-request-id" : "af5f48b7-201e-003e-7943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:53 GMT", + "x-ms-client-request-id" : "eea841b0-09d4-4aca-83ae-83e586d32dcc" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesnetworktestblobuserdelega031953c7", "79eddf9b1495424eb59996ce6a5270e7d684cba65d6248019c3521bff07b3e82", "2019-10-19T00:14:44.720Z", "2019-10-19T00:14:44.720Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] + "variables" : [ "jtcservicesassignaturevaluesnetworktestblobuserdelega053525e9", "6326dee9dc5242bbb89e5590902b738aae80b5cd88584335bf36a346342f48d5", "2019-12-26T23:25:53.378506800Z", "2019-12-26T23:25:53.378506800Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestcontainer.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestcontainer.json index eba98853ef39c..9413185cb5d70 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestcontainer.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestcontainer.json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer060026303a?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0859865e2c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "39fbf53d-8160-4948-84e7-3288cd25fca6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4274cd9f-3364-4275-a2a2-70e63778c291" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE209513AA", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "ETag" : "0x8D78A5AF314E7C5", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8074a930-501e-002e-1296-83b0b1000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "39fbf53d-8160-4948-84e7-3288cd25fca6" + "x-ms-request-id" : "af5f4873-201e-003e-3943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", + "x-ms-client-request-id" : "4274cd9f-3364-4275-a2a2-70e63778c291" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer060026303a?restype=container&comp=acl", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0859865e2c?restype=container&comp=acl", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8ad47056-e6c6-4592-9497-f5de184d88f9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9c470acd-6a84-4535-b846-e85b5ef7f2e1", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751AE209AC9C5", - "Last-Modified" : "Tue, 15 Oct 2019 20:27:40 GMT", + "ETag" : "0x8D78A5AF32D4999", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa32b4-c01e-012f-7b96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "8ad47056-e6c6-4592-9497-f5de184d88f9" + "x-ms-request-id" : "af5f4877-201e-003e-3c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", + "x-ms-client-request-id" : "9c470acd-6a84-4535-b846-e85b5ef7f2e1" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer060026303a?include=&restype=container&comp=list&sv=2019-02-02&si=0000&sr=c&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0859865e2c?include=&restype=container&comp=list&sv=2019-07-07&si=0000&sr=c&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cdce9dd2-ee81-46fe-90b2-7a70df4946af" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7eb1254-596b-4127-be7a-3976b66f5490" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074a949-501e-002e-2396-83b0b1000000", - "Body" : "", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "cdce9dd2-ee81-46fe-90b2-7a70df4946af", + "x-ms-request-id" : "af5f4881-201e-003e-4443-bc0544000000", + "Body" : "", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", + "x-ms-client-request-id" : "c7eb1254-596b-4127-be7a-3976b66f5490", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer060026303a?include=&restype=container&comp=list&sv=2019-02-02&se=2019-10-16T20%3A27%3A40Z&sr=c&sp=racwdl&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0859865e2c?include=&restype=container&comp=list&sv=2019-07-07&se=2019-12-27T23%3A25%3A52Z&sr=c&sp=racwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0fc44a81-efa8-4f33-ad16-01e626389d12" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e42caa68-5fe5-433a-83f8-e11058e2c5a8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "69fa3310-c01e-012f-5096-83f719000000", - "Body" : "", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "0fc44a81-efa8-4f33-ad16-01e626389d12", + "x-ms-request-id" : "af5f4886-201e-003e-4943-bc0544000000", + "Body" : "", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", + "x-ms-client-request-id" : "e42caa68-5fe5-433a-83f8-e11058e2c5a8", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestcontainer&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestcontainer&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ff4a7369-208f-474d-b7d9-0b80720e5b3b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb786efc-5487-406c-8094-0309e1cde5f9" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8074a97f-501e-002e-4b96-83b0b1000000", - "Body" : "jtcservicesassignaturevaluesnetworktestcontainerjtcservicesassignaturevaluesnetworktestcontainer060026303aTue, 15 Oct 2019 20:27:40 GMT\"0x8D751AE209AC9C5\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "ff4a7369-208f-474d-b7d9-0b80720e5b3b", + "x-ms-request-id" : "af5f4889-201e-003e-4c43-bc0544000000", + "Body" : "jtcservicesassignaturevaluesnetworktestcontainerjtcservicesassignaturevaluesnetworktestcontainer0859865e2cThu, 26 Dec 2019 23:25:52 GMT\"0x8D78A5AF32D4999\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:52 GMT", + "x-ms-client-request-id" : "eb786efc-5487-406c-8094-0309e1cde5f9", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer060026303a?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0859865e2c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "96113811-5ad9-41b4-8da8-d9e4bf84042f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5d1caba0-ad60-4a74-944b-16b509facd3d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "69fa3352-c01e-012f-0b96-83f719000000", - "Date" : "Tue, 15 Oct 2019 20:27:40 GMT", - "x-ms-client-request-id" : "96113811-5ad9-41b4-8da8-d9e4bf84042f" + "x-ms-request-id" : "af5f488f-201e-003e-5243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:53 GMT", + "x-ms-client-request-id" : "5d1caba0-ad60-4a74-944b-16b509facd3d" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesnetworktestcontainer060026303a", "2019-10-15T20:27:40.936617100Z", "2019-10-15T20:27:40.976178800Z" ] + "variables" : [ "jtcservicesassignaturevaluesnetworktestcontainer0859865e2c", "2019-12-26T23:25:52.653016Z", "2019-12-26T23:25:52.815334600Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestcontaineruserdelegation.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestcontaineruserdelegation.json index 72a4da156e505..23b076e7dea23 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestcontaineruserdelegation.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestcontaineruserdelegation.json @@ -1,108 +1,108 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontaineruserd0509739d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontaineruserd06973165?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "3a805969-f94a-4cd8-871f-b8e15c2f2a42" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09ba310d-b8e8-4e60-b86e-f090cef1fcca" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D754295AA6D8F8", - "Last-Modified" : "Sat, 19 Oct 2019 00:14:48 GMT", + "ETag" : "0x8D78A5AF51D3D24", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "834d7837-f01e-003d-3212-86e420000000", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", - "x-ms-client-request-id" : "3a805969-f94a-4cd8-871f-b8e15c2f2a42" + "x-ms-request-id" : "af5f4916-201e-003e-4c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:55 GMT", + "x-ms-client-request-id" : "09ba310d-b8e8-4e60-b86e-f090cef1fcca" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://gapradev.blob.core.windows.net?restype=service&comp=userdelegationkey", + "Uri" : "https://gaprastg71.blob.core.windows.net?restype=service&comp=userdelegationkey", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "55b3f8c3-fadc-40bf-b03f-d75024c832c7", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "20051e8e-655d-456b-b8ae-bb4c6f7b9597", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "834d7842-f01e-003d-3b12-86e420000000", - "Body" : "1844e392-6691-4842-8cfa-7814be71711643f0ccd0-c5ee-4c2d-ba87-58d5199d65242019-10-19T00:14:49Z2019-10-20T00:14:48Zb2019-02-02UkVEQUNURUQ=", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", - "x-ms-client-request-id" : "55b3f8c3-fadc-40bf-b03f-d75024c832c7", + "x-ms-request-id" : "af5f4928-201e-003e-5d43-bc0544000000", + "Body" : "857765fe-c5d9-4794-9531-dcc68315b5fa41c3e24e-6012-4e95-ba72-040f7f582d902019-12-26T23:25:56Z2019-12-27T23:25:56Zb2019-07-07UkVEQUNURUQ=", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", + "x-ms-client-request-id" : "20051e8e-655d-456b-b8ae-bb4c6f7b9597", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontaineruserd0509739d?include=&restype=container&comp=list&sv=2019-02-02&se=2019-10-20T00%3A14%3A48Z&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-10-19T00%3A14%3A49Z&ske=2019-10-20T00%3A14%3A48Z&sks=b&skv=2019-02-02&sr=c&sp=racwdl&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontaineruserd06973165?include=&restype=container&comp=list&sv=2019-02-02&se=2019-12-27T23%3A25%3A56Z&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-26T23%3A25%3A56Z&ske=2019-12-27T23%3A25%3A56Z&sks=b&skv=2019-07-07&sr=c&sp=racwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "7992224b-3ad4-43d1-bf16-4b49ecac1cd2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "01de36b4-bf3b-4f42-9391-db2387855cdf" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "834d7843-f01e-003d-3c12-86e420000000", - "Body" : "", - "Date" : "Sat, 19 Oct 2019 00:14:48 GMT", - "x-ms-client-request-id" : "7992224b-3ad4-43d1-bf16-4b49ecac1cd2", + "x-ms-request-id" : "af5f492e-201e-003e-6343-bc0544000000", + "Body" : "", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", + "x-ms-client-request-id" : "01de36b4-bf3b-4f42-9391-db2387855cdf", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestcontaineruserd&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestcontaineruserd&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "ec608b9a-94ec-497e-a825-4100141ec412" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5065cd81-0763-4fb5-bfdb-c0fdc286cee5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "834d7844-f01e-003d-3d12-86e420000000", - "Body" : "jtcservicesassignaturevaluesnetworktestcontaineruserdjtcservicesassignaturevaluesnetworktestcontaineruserd0509739dSat, 19 Oct 2019 00:14:48 GMT\"0x8D754295AA6D8F8\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Sat, 19 Oct 2019 00:14:49 GMT", - "x-ms-client-request-id" : "ec608b9a-94ec-497e-a825-4100141ec412", + "x-ms-request-id" : "af5f4933-201e-003e-6843-bc0544000000", + "Body" : "jtcservicesassignaturevaluesnetworktestcontaineruserdjtcservicesassignaturevaluesnetworktestcontaineruserd06973165Thu, 26 Dec 2019 23:25:56 GMT\"0x8D78A5AF51D3D24\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", + "x-ms-client-request-id" : "5065cd81-0763-4fb5-bfdb-c0fdc286cee5", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontaineruserd0509739d?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontaineruserd06973165?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "050bbe39-d363-4ba7-af64-5f52b1778129" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8343b2fa-53d8-4cd1-a20a-11667fcee0b7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "834d7845-f01e-003d-3e12-86e420000000", - "Date" : "Sat, 19 Oct 2019 00:14:49 GMT", - "x-ms-client-request-id" : "050bbe39-d363-4ba7-af64-5f52b1778129" + "x-ms-request-id" : "af5f4937-201e-003e-6c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:56 GMT", + "x-ms-client-request-id" : "8343b2fa-53d8-4cd1-a20a-11667fcee0b7" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesnetworktestcontaineruserd0509739d", "2019-10-19T00:14:48.794Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] + "variables" : [ "jtcservicesassignaturevaluesnetworktestcontaineruserd06973165", "2019-12-26T23:25:56.067570400Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTesturlparser.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTesturlparser.json index 4f5d03422af34..7967acfcb94ce 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTesturlparser.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SASTesturlparser.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcurlparser0sastesturlparser089052061c2b316d8cd34?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcurlparser0sastesturlparser2e561400aa08e9e10b1d4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "ad241e8d-64a0-4e32-8c20-1e617484d677" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6f2c5d52-4989-40fa-845f-1dc610f260e0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D75793302B4707", - "Last-Modified" : "Wed, 23 Oct 2019 08:29:57 GMT", + "ETag" : "0x8D78A5B07C58A47", + "Last-Modified" : "Thu, 26 Dec 2019 23:26:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "71b318fe-d01e-0059-457c-8935f0000000", - "Date" : "Wed, 23 Oct 2019 08:29:57 GMT", - "x-ms-client-request-id" : "ad241e8d-64a0-4e32-8c20-1e617484d677" + "x-ms-request-id" : "af5f505d-201e-003e-5043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:26 GMT", + "x-ms-client-request-id" : "6f2c5d52-4989-40fa-845f-1dc610f260e0" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net?prefix=jtcurlparser&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcurlparser&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "69580b81-f805-43b2-a74a-5377be21baab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d947f33-3949-492a-a273-945e07c6da8e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "71b31918-d01e-0059-577c-8935f0000000", - "Body" : "jtcurlparserjtcurlparser0sastesturlparser089052061c2b316d8cd34Wed, 23 Oct 2019 08:29:57 GMT\"0x8D75793302B4707\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Wed, 23 Oct 2019 08:29:57 GMT", - "x-ms-client-request-id" : "69580b81-f805-43b2-a74a-5377be21baab", + "x-ms-request-id" : "af5f5060-201e-003e-5243-bc0544000000", + "Body" : "jtcurlparserjtcurlparser0sastesturlparser2e561400aa08e9e10b1d4Thu, 26 Dec 2019 23:26:27 GMT\"0x8D78A5B07C58A47\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:26:26 GMT", + "x-ms-client-request-id" : "2d947f33-3949-492a-a273-945e07c6da8e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.blob.core.windows.net/jtcurlparser0sastesturlparser089052061c2b316d8cd34?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcurlparser0sastesturlparser2e561400aa08e9e10b1d4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "1a4b0b77-4eb7-49c5-8814-9c696f40bbfd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5ff66e13-61bd-4533-9396-7f263ea33db5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "71b31933-d01e-0059-6c7c-8935f0000000", - "Date" : "Wed, 23 Oct 2019 08:29:57 GMT", - "x-ms-client-request-id" : "1a4b0b77-4eb7-49c5-8814-9c696f40bbfd" + "x-ms-request-id" : "af5f5064-201e-003e-5543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:26:26 GMT", + "x-ms-client-request-id" : "5ff66e13-61bd-4533-9396-7f263ea33db5" }, "Exception" : null } ], - "variables" : [ "jtcurlparser0sastesturlparser089052061c2b316d8cd34" ] + "variables" : [ "jtcurlparser0sastesturlparser2e561400aa08e9e10b1d4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworkcreatecontainerfails.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworkcreatecontainerfails.json index a35e56dfb3ede..1df2f1b044b42 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworkcreatecontainerfails.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworkcreatecontainerfails.json @@ -1,112 +1,112 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails076243fee1aaef?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails08673046f34fce?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dd3aee52-1d32-43b0-9137-0f79d7297a17" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1f966c69-0398-4b3f-b4e2-6d8174963b08" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3EA2B5A4", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:34 GMT", + "ETag" : "0x8D78A5AEA54C580", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d921ddbf-401e-0028-45b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "dd3aee52-1d32-43b0-9137-0f79d7297a17" + "x-ms-request-id" : "af5f454e-201e-003e-6c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", + "x-ms-client-request-id" : "1f966c69-0398-4b3f-b4e2-6d8174963b08" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails076243fee1aaef/javablobaccountsasnetworkcreatecontainerfails1002608965aa", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails08673046f34fce/javablobaccountsasnetworkcreatecontainerfails184286a07749", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cc7772d1-e7d2-49ef-9254-0371879be922", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "49aab296-8417-46e8-92cb-cf6fb4f9c58f", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:34 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:38 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3EB0D38D", + "ETag" : "0x8D78A5AEA617C8E", "Content-Length" : "0", - "x-ms-request-id" : "329a251a-a01e-0020-07b3-a3e99c000000", - "x-ms-client-request-id" : "cc7772d1-e7d2-49ef-9254-0371879be922" + "x-ms-request-id" : "af5f4554-201e-003e-7143-bc0544000000", + "x-ms-client-request-id" : "49aab296-8417-46e8-92cb-cf6fb4f9c58f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails235600aea25610?restype=container&sv=2019-02-02&ss=b&srt=sco&se=2019-11-26T17%3A09%3A34Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails260347e396c1a9?restype=container&sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A25%3A38Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3f204df6-d2f2-491b-9a41-24a66eab3fe8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d2b6f4a-6160-408a-a364-dd1cdb72881c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "d921ddc4-401e-0028-48b3-a3f393000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:d921ddc4-401e-0028-48b3-a3f393000000\nTime:2019-11-25T17:09:34.6217728Z", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "3f204df6-d2f2-491b-9a41-24a66eab3fe8", + "x-ms-request-id" : "af5f4557-201e-003e-7443-bc0544000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:af5f4557-201e-003e-7443-bc0544000000\nTime:2019-12-26T23:25:38.1338269Z", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "7d2b6f4a-6160-408a-a364-dd1cdb72881c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcaccountsasnetworkcreatecontainerfails&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworkcreatecontainerfails&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "808c8d94-4616-4c63-9898-5795bf3ddbba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5b4a60a3-ef60-4079-bdd1-39d3770b4edc" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a251d-a01e-0020-0ab3-a3e99c000000", - "Body" : "jtcaccountsasnetworkcreatecontainerfailsjtcaccountsasnetworkcreatecontainerfails076243fee1aaefMon, 25 Nov 2019 17:09:34 GMT\"0x8D771CA3EA2B5A4\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "808c8d94-4616-4c63-9898-5795bf3ddbba", + "x-ms-request-id" : "af5f455a-201e-003e-7743-bc0544000000", + "Body" : "jtcaccountsasnetworkcreatecontainerfailsjtcaccountsasnetworkcreatecontainerfails08673046f34fceThu, 26 Dec 2019 23:25:37 GMT\"0x8D78A5AEA54C580\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "5b4a60a3-ef60-4079-bdd1-39d3770b4edc", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails076243fee1aaef?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainerfails08673046f34fce?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c4e4157d-59c4-4369-aa1a-ffb637d2767d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cb021499-fd34-4cd7-a431-310bb80c5532" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921ddc7-401e-0028-4bb3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "c4e4157d-59c4-4369-aa1a-ffb637d2767d" + "x-ms-request-id" : "af5f455e-201e-003e-7b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "cb021499-fd34-4cd7-a431-310bb80c5532" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworkcreatecontainerfails076243fee1aaef", "javablobaccountsasnetworkcreatecontainerfails1002608965aa", "2019-11-25T17:09:34.510036300Z", "jtcaccountsasnetworkcreatecontainerfails235600aea25610" ] + "variables" : [ "jtcaccountsasnetworkcreatecontainerfails08673046f34fce", "javablobaccountsasnetworkcreatecontainerfails184286a07749", "2019-12-26T23:25:38.056016300Z", "jtcaccountsasnetworkcreatecontainerfails260347e396c1a9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworkcreatecontainersucceeds.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworkcreatecontainersucceeds.json index 003ce4409b933..8380a83e03649 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworkcreatecontainersucceeds.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworkcreatecontainersucceeds.json @@ -1,130 +1,130 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds08444578c06ff?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds078711d2e2601?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "77246998-6b0e-4986-85f3-f0684dbd069b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cab03d7f-a9d6-4399-b17c-e60bea5c7925" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3EE6122B", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:34 GMT", + "ETag" : "0x8D78A5AEA98D3C3", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2522-a01e-0020-0fb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "77246998-6b0e-4986-85f3-f0684dbd069b" + "x-ms-request-id" : "af5f4565-201e-003e-0243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "cab03d7f-a9d6-4399-b17c-e60bea5c7925" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds08444578c06ff/javablobaccountsasnetworkcreatecontainersucceeds16289375e8", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds078711d2e2601/javablobaccountsasnetworkcreatecontainersucceeds156588063f", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f8618e85-6c37-4b53-9a30-3ee8280a26fc", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e8b2b2b5-17e4-4167-abc5-b2300b6468e9", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:34 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:38 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3EF44547", + "ETag" : "0x8D78A5AEAA5B205", "Content-Length" : "0", - "x-ms-request-id" : "d921ddcb-401e-0028-4eb3-a3f393000000", - "x-ms-client-request-id" : "f8618e85-6c37-4b53-9a30-3ee8280a26fc" + "x-ms-request-id" : "af5f4569-201e-003e-0543-bc0544000000", + "x-ms-client-request-id" : "e8b2b2b5-17e4-4167-abc5-b2300b6468e9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds2242025117420?restype=container&sv=2019-02-02&ss=b&srt=sco&se=2019-11-26T17%3A09%3A34Z&sp=rc&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds216115b30fe8b?restype=container&sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A25%3A38Z&sp=rc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "76b73494-3c02-4ca4-bc2f-52cf4b4f9dbf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1c47a9dd-53a1-46e4-a8a3-b3fe0593ef86" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3F025210", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:35 GMT", + "ETag" : "0x8D78A5AEAB2C177", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2528-a01e-0020-14b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "76b73494-3c02-4ca4-bc2f-52cf4b4f9dbf" + "x-ms-request-id" : "af5f456d-201e-003e-0943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "1c47a9dd-53a1-46e4-a8a3-b3fe0593ef86" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcaccountsasnetworkcreatecontainersucceeds&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworkcreatecontainersucceeds&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7e3e052d-8f57-49ac-8f63-6a2d01247d3b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dcfe9601-2e98-4678-a14b-4ecaae01b7ac" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921ddd1-401e-0028-54b3-a3f393000000", - "Body" : "jtcaccountsasnetworkcreatecontainersucceedsjtcaccountsasnetworkcreatecontainersucceeds08444578c06ffMon, 25 Nov 2019 17:09:34 GMT\"0x8D771CA3EE6122B\"unlockedavailable$account-encryption-keyfalsefalsefalsejtcaccountsasnetworkcreatecontainersucceeds2242025117420Mon, 25 Nov 2019 17:09:35 GMT\"0x8D771CA3F025210\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "7e3e052d-8f57-49ac-8f63-6a2d01247d3b", + "x-ms-request-id" : "af5f4571-201e-003e-0c43-bc0544000000", + "Body" : "jtcaccountsasnetworkcreatecontainersucceedsjtcaccountsasnetworkcreatecontainersucceeds078711d2e2601Thu, 26 Dec 2019 23:25:38 GMT\"0x8D78A5AEA98D3C3\"unlockedavailable$account-encryption-keyfalsefalsefalsejtcaccountsasnetworkcreatecontainersucceeds216115b30fe8bThu, 26 Dec 2019 23:25:38 GMT\"0x8D78A5AEAB2C177\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "dcfe9601-2e98-4678-a14b-4ecaae01b7ac", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds08444578c06ff?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds078711d2e2601?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6a3d1e04-2692-41f3-85d6-04421cde12a8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "55c30908-bbad-4040-99dd-e1abe832bd33" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "329a252a-a01e-0020-15b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "6a3d1e04-2692-41f3-85d6-04421cde12a8" + "x-ms-request-id" : "af5f4576-201e-003e-1143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "55c30908-bbad-4040-99dd-e1abe832bd33" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds2242025117420?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworkcreatecontainersucceeds216115b30fe8b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "05e17388-cedb-4081-a9b9-d687fe0183de" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22c1f213-1c34-4db3-80ed-98c4abfa120b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921ddd7-401e-0028-5ab3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "05e17388-cedb-4081-a9b9-d687fe0183de" + "x-ms-request-id" : "af5f457d-201e-003e-1843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "22c1f213-1c34-4db3-80ed-98c4abfa120b" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworkcreatecontainersucceeds08444578c06ff", "javablobaccountsasnetworkcreatecontainersucceeds16289375e8", "2019-11-25T17:09:34.952438Z", "jtcaccountsasnetworkcreatecontainersucceeds2242025117420" ] + "variables" : [ "jtcaccountsasnetworkcreatecontainersucceeds078711d2e2601", "javablobaccountsasnetworkcreatecontainersucceeds156588063f", "2019-12-26T23:25:38.503785500Z", "jtcaccountsasnetworkcreatecontainersucceeds216115b30fe8b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworktestblobdeletefailsnewapi.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworktestblobdeletefailsnewapi.json index 4c4def91eaa5d..70101fd4a154c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworktestblobdeletefailsnewapi.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworktestblobdeletefailsnewapi.json @@ -1,112 +1,112 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefailsnewapi07881604ae85?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefailsnewapi0085612f52f0?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d247e5f8-80a0-4346-959d-0bf55f510aeb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c15a4b0b-dc4b-4d4c-984d-1dc3861eb0a3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3E56F596", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:33 GMT", + "ETag" : "0x8D78A5AEA0C9897", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2506-a01e-0020-7cb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", - "x-ms-client-request-id" : "d247e5f8-80a0-4346-959d-0bf55f510aeb" + "x-ms-request-id" : "af5f4538-201e-003e-5743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", + "x-ms-client-request-id" : "c15a4b0b-dc4b-4d4c-984d-1dc3861eb0a3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefailsnewapi07881604ae85/javablobaccountsasnetworktestblobdeletefailsnewapi191830c11", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefailsnewapi0085612f52f0/javablobaccountsasnetworktestblobdeletefailsnewapi129862b69", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "84d33a34-3955-43d8-bbfb-d95eed75c78f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "835871ad-e717-44aa-95d9-5e76c11ec3f1", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:34 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:37 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3E64885F", + "ETag" : "0x8D78A5AEA19500A", "Content-Length" : "0", - "x-ms-request-id" : "d921ddad-401e-0028-36b3-a3f393000000", - "x-ms-client-request-id" : "84d33a34-3955-43d8-bbfb-d95eed75c78f" + "x-ms-request-id" : "af5f453d-201e-003e-5b43-bc0544000000", + "x-ms-client-request-id" : "835871ad-e717-44aa-95d9-5e76c11ec3f1" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefailsnewapi07881604ae85/javablobaccountsasnetworktestblobdeletefailsnewapi191830c11?sv=2019-02-02&ss=b&srt=sco&se=2019-11-26T17%3A09%3A34Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefailsnewapi0085612f52f0/javablobaccountsasnetworktestblobdeletefailsnewapi129862b69?sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A25%3A37Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "60e78f3e-ae7f-4dbf-a828-dc7ada190c5c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77fade41-6df9-4c61-861f-9c0044587f32" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "329a250c-a01e-0020-80b3-a3e99c000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:329a250c-a01e-0020-80b3-a3e99c000000\nTime:2019-11-25T17:09:34.1956005Z", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "60e78f3e-ae7f-4dbf-a828-dc7ada190c5c", + "x-ms-request-id" : "af5f4543-201e-003e-6143-bc0544000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:af5f4543-201e-003e-6143-bc0544000000\nTime:2019-12-26T23:25:37.6547714Z", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", + "x-ms-client-request-id" : "77fade41-6df9-4c61-861f-9c0044587f32", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcaccountsasnetworktestblobdeletefailsnewapi&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworktestblobdeletefailsnewapi&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e3649be3-d6be-4fb4-abe3-fdb6431e3515" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "152108e1-0a47-40b5-988e-404b3337a70f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921ddb6-401e-0028-3db3-a3f393000000", - "Body" : "jtcaccountsasnetworktestblobdeletefailsnewapijtcaccountsasnetworktestblobdeletefailsnewapi07881604ae85Mon, 25 Nov 2019 17:09:33 GMT\"0x8D771CA3E56F596\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "e3649be3-d6be-4fb4-abe3-fdb6431e3515", + "x-ms-request-id" : "af5f4547-201e-003e-6543-bc0544000000", + "Body" : "jtcaccountsasnetworktestblobdeletefailsnewapijtcaccountsasnetworktestblobdeletefailsnewapi0085612f52f0Thu, 26 Dec 2019 23:25:37 GMT\"0x8D78A5AEA0C9897\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", + "x-ms-client-request-id" : "152108e1-0a47-40b5-988e-404b3337a70f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefailsnewapi07881604ae85?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobdeletefailsnewapi0085612f52f0?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f0c3d472-dd66-4feb-ac43-930418ed5eed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4807fa9e-7dca-4259-bc48-9219a0380fef" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "329a2513-a01e-0020-04b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:34 GMT", - "x-ms-client-request-id" : "f0c3d472-dd66-4feb-ac43-930418ed5eed" + "x-ms-request-id" : "af5f454a-201e-003e-6843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", + "x-ms-client-request-id" : "4807fa9e-7dca-4259-bc48-9219a0380fef" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworktestblobdeletefailsnewapi07881604ae85", "javablobaccountsasnetworktestblobdeletefailsnewapi191830c11", "2019-11-25T17:09:34.007531800Z" ] + "variables" : [ "jtcaccountsasnetworktestblobdeletefailsnewapi0085612f52f0", "javablobaccountsasnetworktestblobdeletefailsnewapi129862b69", "2019-12-26T23:25:37.581665400Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworktestblobread.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworktestblobread.json index c209702e42185..970d245a94f25 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworktestblobread.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsaccountsasnetworktestblobread.json @@ -1,120 +1,120 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworktestblobread063965c8d0e1aec29b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobread03964820f2e5b0f987?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8cfbc713-53dc-45e8-8db8-4878c76a593c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6d33a051-4f95-4a1b-be7f-6b257362d7a5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3E14CD79", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:33 GMT", + "ETag" : "0x8D78A5AE9C701B0", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d921dd90-401e-0028-1eb3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", - "x-ms-client-request-id" : "8cfbc713-53dc-45e8-8db8-4878c76a593c" + "x-ms-request-id" : "af5f451e-201e-003e-4043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", + "x-ms-client-request-id" : "6d33a051-4f95-4a1b-be7f-6b257362d7a5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworktestblobread063965c8d0e1aec29b/javablobaccountsasnetworktestblobread1912206cb7fd2946", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobread03964820f2e5b0f987/javablobaccountsasnetworktestblobread165292e1748579b6", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "798df3d4-4416-4efb-b8c0-3ab5aa60467e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "194e805f-79d5-4ad3-825f-696b6a399fc0", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:33 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:37 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3E22EB68", + "ETag" : "0x8D78A5AE9D764C7", "Content-Length" : "0", - "x-ms-request-id" : "329a2502-a01e-0020-79b3-a3e99c000000", - "x-ms-client-request-id" : "798df3d4-4416-4efb-b8c0-3ab5aa60467e" + "x-ms-request-id" : "af5f4523-201e-003e-4443-bc0544000000", + "x-ms-client-request-id" : "194e805f-79d5-4ad3-825f-696b6a399fc0" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworktestblobread063965c8d0e1aec29b/javablobaccountsasnetworktestblobread1912206cb7fd2946?sv=2019-02-02&ss=b&srt=sco&se=2019-11-26T17%3A09%3A33Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobread03964820f2e5b0f987/javablobaccountsasnetworktestblobread165292e1748579b6?sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A25%3A37Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20f4b810-052f-48f1-80e8-4531b3eb7375" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "989bf134-9f2e-4e12-81d5-9a78cc0553b6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:33 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:37 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D771CA3E22EB68", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:33 GMT", + "ETag" : "0x8D78A5AE9D764C7", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:37 GMT", "Content-Length" : "7", - "x-ms-request-id" : "d921dd9e-401e-0028-29b3-a3f393000000", + "x-ms-request-id" : "af5f452d-201e-003e-4c43-bc0544000000", "Body" : "[100, 101, 102, 97, 117, 108, 116]", - "x-ms-client-request-id" : "20f4b810-052f-48f1-80e8-4531b3eb7375", + "x-ms-client-request-id" : "989bf134-9f2e-4e12-81d5-9a78cc0553b6", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcaccountsasnetworktestblobread&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcaccountsasnetworktestblobread&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d3c129ae-3d86-4b57-b750-96981916402e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf5001f0-4a9e-4cd5-9b5a-d3e49ac6a958" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2504-a01e-0020-7bb3-a3e99c000000", - "Body" : "jtcaccountsasnetworktestblobreadjtcaccountsasnetworktestblobread063965c8d0e1aec29bMon, 25 Nov 2019 17:09:33 GMT\"0x8D771CA3E14CD79\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", - "x-ms-client-request-id" : "d3c129ae-3d86-4b57-b750-96981916402e", + "x-ms-request-id" : "af5f4531-201e-003e-5043-bc0544000000", + "Body" : "jtcaccountsasnetworktestblobreadjtcaccountsasnetworktestblobread03964820f2e5b0f987Thu, 26 Dec 2019 23:25:37 GMT\"0x8D78A5AE9C701B0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", + "x-ms-client-request-id" : "cf5001f0-4a9e-4cd5-9b5a-d3e49ac6a958", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcaccountsasnetworktestblobread063965c8d0e1aec29b?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcaccountsasnetworktestblobread03964820f2e5b0f987?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d1f2bbeb-e588-4ee8-8fd0-cc9885d72512" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "534ba4d0-4454-4e66-a8d7-3472c3fd8ee8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dda6-401e-0028-2fb3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", - "x-ms-client-request-id" : "d1f2bbeb-e588-4ee8-8fd0-cc9885d72512" + "x-ms-request-id" : "af5f4533-201e-003e-5243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:36 GMT", + "x-ms-client-request-id" : "534ba4d0-4454-4e66-a8d7-3472c3fd8ee8" }, "Exception" : null } ], - "variables" : [ "jtcaccountsasnetworktestblobread063965c8d0e1aec29b", "javablobaccountsasnetworktestblobread1912206cb7fd2946", "2019-11-25T17:09:33.582213300Z" ] + "variables" : [ "jtcaccountsasnetworktestblobread03964820f2e5b0f987", "javablobaccountsasnetworktestblobread165292e1748579b6", "2019-12-26T23:25:37.157039800Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[0].json index 9a2eaa5dba288..575732f999817 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[0].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0463058d41c166e0034?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign05717385664f65b93b4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "61dfa141-f23b-4437-ac70-5172049e4ccb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ed77949e-f427-41ab-bfee-9c91fd5a345c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA40468D53", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:37 GMT", + "ETag" : "0x8D78A5AEC1DEA7D", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a255d-a01e-0020-3bb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "61dfa141-f23b-4437-ac70-5172049e4ccb" + "x-ms-request-id" : "af5f45e5-201e-003e-7843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "ed77949e-f427-41ab-bfee-9c91fd5a345c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0463058d41c166e0034/javablobblobsasimplutilstringtosign186708b2d0527e4f0", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign05717385664f65b93b4/javablobblobsasimplutilstringtosign145454e297b66dcb6", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "901cdf90-3451-4259-9830-0ac54ca1e0d5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a16bcad-66d2-406c-88e3-87825aef1fee", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:37 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:41 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA4053D554", + "ETag" : "0x8D78A5AEC2B4114", "Content-Length" : "0", - "x-ms-request-id" : "d921de09-401e-0028-09b3-a3f393000000", - "x-ms-client-request-id" : "901cdf90-3451-4259-9830-0ac54ca1e0d5" + "x-ms-request-id" : "af5f45e8-201e-003e-7a43-bc0544000000", + "x-ms-client-request-id" : "0a16bcad-66d2-406c-88e3-87825aef1fee" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "90312fee-d521-457f-ae7d-357b439f04ea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "706739ba-c82a-4c89-8232-f8637481a6c7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2569-a01e-0020-46b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0463058d41c166e0034Mon, 25 Nov 2019 17:09:37 GMT\"0x8D771CA40468D53\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "90312fee-d521-457f-ae7d-357b439f04ea", + "x-ms-request-id" : "af5f45ee-201e-003e-8043-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign05717385664f65b93b4Thu, 26 Dec 2019 23:25:40 GMT\"0x8D78A5AEC1DEA7D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "706739ba-c82a-4c89-8232-f8637481a6c7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0463058d41c166e0034?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign05717385664f65b93b4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "006d331b-7103-4afd-842c-28ac24d46cda" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f437e9c-6124-45ba-a2b6-fbee8da9ee76" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de13-401e-0028-13b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "006d331b-7103-4afd-842c-28ac24d46cda" + "x-ms-request-id" : "af5f45f3-201e-003e-0543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "4f437e9c-6124-45ba-a2b6-fbee8da9ee76" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign0463058d41c166e0034", "javablobblobsasimplutilstringtosign186708b2d0527e4f0" ] + "variables" : [ "jtcblobsasimplutilstringtosign05717385664f65b93b4", "javablobblobsasimplutilstringtosign145454e297b66dcb6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[1].json index 2725ca07b74a6..90c402aeeee44 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[1].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign087850670b2ec7202b4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0691694554610b46374?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d4dcca0c-a0bb-4090-bf24-a72c9f65272b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a514f2d3-ae60-4363-8af2-ce43dcb89b74" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA4080965B", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:37 GMT", + "ETag" : "0x8D78A5AEC54D943", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2570-a01e-0020-4cb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "d4dcca0c-a0bb-4090-bf24-a72c9f65272b" + "x-ms-request-id" : "af5f45f9-201e-003e-0b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "a514f2d3-ae60-4363-8af2-ce43dcb89b74" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign087850670b2ec7202b4/javablobblobsasimplutilstringtosign18797451d18f06bd1", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0691694554610b46374/javablobblobsasimplutilstringtosign18180931be793c1d5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ab3a11d6-a62d-4e51-91c2-e669874c4bd5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "23a51714-2bfd-4512-ab6d-cf4c974d3ae8", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:37 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:41 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA408DD165", + "ETag" : "0x8D78A5AEC61E30D", "Content-Length" : "0", - "x-ms-request-id" : "d921de17-401e-0028-17b3-a3f393000000", - "x-ms-client-request-id" : "ab3a11d6-a62d-4e51-91c2-e669874c4bd5" + "x-ms-request-id" : "af5f45fc-201e-003e-0d43-bc0544000000", + "x-ms-client-request-id" : "23a51714-2bfd-4512-ab6d-cf4c974d3ae8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "53fda710-7497-41f6-aad9-755c537bf9a2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "87b69c5b-bf4e-46a7-92c6-f9918e6091dd" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2575-a01e-0020-4fb3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign087850670b2ec7202b4Mon, 25 Nov 2019 17:09:37 GMT\"0x8D771CA4080965B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "53fda710-7497-41f6-aad9-755c537bf9a2", + "x-ms-request-id" : "af5f4600-201e-003e-1143-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0691694554610b46374Thu, 26 Dec 2019 23:25:41 GMT\"0x8D78A5AEC54D943\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "87b69c5b-bf4e-46a7-92c6-f9918e6091dd", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign087850670b2ec7202b4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0691694554610b46374?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b1de0e8d-10ce-4a99-af9e-6432a68ea6dc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9f73c926-9268-4ea6-8fc8-8be70ee9c6ad" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de18-401e-0028-18b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "b1de0e8d-10ce-4a99-af9e-6432a68ea6dc" + "x-ms-request-id" : "af5f4603-201e-003e-1443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "9f73c926-9268-4ea6-8fc8-8be70ee9c6ad" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign087850670b2ec7202b4", "javablobblobsasimplutilstringtosign18797451d18f06bd1" ] + "variables" : [ "jtcblobsasimplutilstringtosign0691694554610b46374", "javablobblobsasimplutilstringtosign18180931be793c1d5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[2].json index a63171b0f9b8d..05940ea473998 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[2].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign090609bcb7101a2f174?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0704209da2dc70a78f4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e1939d0b-5d22-40a4-a599-7216fdd53d9d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "391ca835-143b-4576-bbef-aef7af3b4cce" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA40B59543", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:37 GMT", + "ETag" : "0x8D78A5AEC875AAE", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a257c-a01e-0020-56b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "e1939d0b-5d22-40a4-a599-7216fdd53d9d" + "x-ms-request-id" : "af5f4607-201e-003e-1743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "391ca835-143b-4576-bbef-aef7af3b4cce" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign090609bcb7101a2f174/javablobblobsasimplutilstringtosign186054183160ba113", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0704209da2dc70a78f4/javablobblobsasimplutilstringtosign14345781742c5a6bd", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fd98bf01-0f60-4d46-abff-417b8fddbdb8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9ffc7876-2b89-4b1f-92b2-a66440d79b2c", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:38 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:41 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA40C25186", + "ETag" : "0x8D78A5AEC94DA27", "Content-Length" : "0", - "x-ms-request-id" : "d921de19-401e-0028-19b3-a3f393000000", - "x-ms-client-request-id" : "fd98bf01-0f60-4d46-abff-417b8fddbdb8" + "x-ms-request-id" : "af5f460d-201e-003e-1c43-bc0544000000", + "x-ms-client-request-id" : "9ffc7876-2b89-4b1f-92b2-a66440d79b2c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "19dec871-5786-4743-aad8-d186afb2930b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "01bc7928-7b0a-49de-ac02-8b1329b5904f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a257f-a01e-0020-58b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign090609bcb7101a2f174Mon, 25 Nov 2019 17:09:37 GMT\"0x8D771CA40B59543\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "19dec871-5786-4743-aad8-d186afb2930b", + "x-ms-request-id" : "af5f4615-201e-003e-2243-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0704209da2dc70a78f4Thu, 26 Dec 2019 23:25:41 GMT\"0x8D78A5AEC875AAE\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "01bc7928-7b0a-49de-ac02-8b1329b5904f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign090609bcb7101a2f174?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0704209da2dc70a78f4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "469bab9d-867d-4b78-9216-55f0409725e2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63568a13-18be-4862-bae9-c8c531686950" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de1a-401e-0028-1ab3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "469bab9d-867d-4b78-9216-55f0409725e2" + "x-ms-request-id" : "af5f4618-201e-003e-2543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "63568a13-18be-4862-bae9-c8c531686950" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign090609bcb7101a2f174", "javablobblobsasimplutilstringtosign186054183160ba113" ] + "variables" : [ "jtcblobsasimplutilstringtosign0704209da2dc70a78f4", "javablobblobsasimplutilstringtosign14345781742c5a6bd" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[3].json index 4eee63f43ba54..fbfd3919ceee1 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[3].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0267443cd2712355c94?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign089923d1bc7485946e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "345fef6c-077f-4924-bcdc-f55ca7654777" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c30c29f6-0634-4cf6-865e-e316b90c7bcd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA40EA1F07", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:38 GMT", + "ETag" : "0x8D78A5AECBBD854", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2588-a01e-0020-61b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:37 GMT", - "x-ms-client-request-id" : "345fef6c-077f-4924-bcdc-f55ca7654777" + "x-ms-request-id" : "af5f461d-201e-003e-2943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:41 GMT", + "x-ms-client-request-id" : "c30c29f6-0634-4cf6-865e-e316b90c7bcd" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0267443cd2712355c94/javablobblobsasimplutilstringtosign111531dfa94dbd346", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign089923d1bc7485946e4/javablobblobsasimplutilstringtosign175763c5409dc8cdd", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7bcb687e-ef12-4367-badc-791e4b59ea3b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a6ce2a79-e2ea-4ef1-9a5c-68d2b4e82d01", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:38 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:42 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA40F6F2E2", + "ETag" : "0x8D78A5AECC8B9A9", "Content-Length" : "0", - "x-ms-request-id" : "d921de26-401e-0028-22b3-a3f393000000", - "x-ms-client-request-id" : "7bcb687e-ef12-4367-badc-791e4b59ea3b" + "x-ms-request-id" : "af5f4624-201e-003e-2f43-bc0544000000", + "x-ms-client-request-id" : "a6ce2a79-e2ea-4ef1-9a5c-68d2b4e82d01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e8441d22-bf5d-4bba-a736-f38a56f0fab2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "39cbaf2e-3e0c-471e-b40f-4a1abcf11c93" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25ac-a01e-0020-03b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0267443cd2712355c94Mon, 25 Nov 2019 17:09:38 GMT\"0x8D771CA40EA1F07\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", - "x-ms-client-request-id" : "e8441d22-bf5d-4bba-a736-f38a56f0fab2", + "x-ms-request-id" : "af5f462b-201e-003e-3643-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign089923d1bc7485946e4Thu, 26 Dec 2019 23:25:41 GMT\"0x8D78A5AECBBD854\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "39cbaf2e-3e0c-471e-b40f-4a1abcf11c93", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0267443cd2712355c94?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign089923d1bc7485946e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "522bde73-b604-4edc-911b-7ee53612c2c4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c5c86cdb-bb0d-45b6-8189-6cb34cd8cbdb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de2a-401e-0028-26b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", - "x-ms-client-request-id" : "522bde73-b604-4edc-911b-7ee53612c2c4" + "x-ms-request-id" : "af5f4630-201e-003e-3b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "c5c86cdb-bb0d-45b6-8189-6cb34cd8cbdb" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign0267443cd2712355c94", "javablobblobsasimplutilstringtosign111531dfa94dbd346" ] + "variables" : [ "jtcblobsasimplutilstringtosign089923d1bc7485946e4", "javablobblobsasimplutilstringtosign175763c5409dc8cdd" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[4].json index 3c9c696f45b9c..6414f3b60444a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[4].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0515273d0eef27af664?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign056516bffca2b68b794?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3379ddb5-bb2f-4a21-a7a2-ced8d9a8fff5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a6ddfb81-f043-4490-a1a5-53ba35dd2ccb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA411EA8AB", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:38 GMT", + "ETag" : "0x8D78A5AECEF1D2F", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25b3-a01e-0020-08b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", - "x-ms-client-request-id" : "3379ddb5-bb2f-4a21-a7a2-ced8d9a8fff5" + "x-ms-request-id" : "af5f4636-201e-003e-4143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "a6ddfb81-f043-4490-a1a5-53ba35dd2ccb" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0515273d0eef27af664/javablobblobsasimplutilstringtosign1762500bbee9f7129", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign056516bffca2b68b794/javablobblobsasimplutilstringtosign12878039a2e950711", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dbe1ea3e-ea54-48c7-90e4-4cf8f569dbf5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "702efd6e-1594-4aa4-9991-212155b2fc9a", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:38 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:42 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA412B4A33", + "ETag" : "0x8D78A5AECFBDB30", "Content-Length" : "0", - "x-ms-request-id" : "d921de30-401e-0028-2cb3-a3f393000000", - "x-ms-client-request-id" : "dbe1ea3e-ea54-48c7-90e4-4cf8f569dbf5" + "x-ms-request-id" : "af5f463e-201e-003e-4643-bc0544000000", + "x-ms-client-request-id" : "702efd6e-1594-4aa4-9991-212155b2fc9a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "09a59b74-9043-47d9-9dd9-155b45ff11ef" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "934fb8d8-03a2-40f0-ad6a-0b71959d49de" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25b5-a01e-0020-09b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0515273d0eef27af664Mon, 25 Nov 2019 17:09:38 GMT\"0x8D771CA411EA8AB\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", - "x-ms-client-request-id" : "09a59b74-9043-47d9-9dd9-155b45ff11ef", + "x-ms-request-id" : "af5f4641-201e-003e-4943-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign056516bffca2b68b794Thu, 26 Dec 2019 23:25:42 GMT\"0x8D78A5AECEF1D2F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "934fb8d8-03a2-40f0-ad6a-0b71959d49de", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0515273d0eef27af664?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign056516bffca2b68b794?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c39ffdf7-d6eb-47ed-b75f-f595a39e9bc2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6abac6ea-66d0-4138-8995-958993bca6d7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de34-401e-0028-30b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", - "x-ms-client-request-id" : "c39ffdf7-d6eb-47ed-b75f-f595a39e9bc2" + "x-ms-request-id" : "af5f4644-201e-003e-4c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "6abac6ea-66d0-4138-8995-958993bca6d7" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign0515273d0eef27af664", "javablobblobsasimplutilstringtosign1762500bbee9f7129" ] + "variables" : [ "jtcblobsasimplutilstringtosign056516bffca2b68b794", "javablobblobsasimplutilstringtosign12878039a2e950711" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[5].json index bb973749770d8..d58c8db95d93c 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[5].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign027365656db45c9ed74?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0801237b1ad00c4da74?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8554f3f2-052f-4270-b0e7-01673bbf6bab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fba35ce5-0ada-44b0-87b4-75606a9d1324" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA41530C84", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:38 GMT", + "ETag" : "0x8D78A5AED2151AD", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25b7-a01e-0020-0ab3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", - "x-ms-client-request-id" : "8554f3f2-052f-4270-b0e7-01673bbf6bab" + "x-ms-request-id" : "af5f4648-201e-003e-5043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "fba35ce5-0ada-44b0-87b4-75606a9d1324" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign027365656db45c9ed74/javablobblobsasimplutilstringtosign17271941f335d5f26", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0801237b1ad00c4da74/javablobblobsasimplutilstringtosign11411704d17c77297", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4c8b68be-9f0b-42f9-b400-d9ff8a6b516d", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2f98854c-ce71-4d51-a255-e8830db4c996", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:39 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:42 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA415FC6DA", + "ETag" : "0x8D78A5AED2DE600", "Content-Length" : "0", - "x-ms-request-id" : "d921de3c-401e-0028-37b3-a3f393000000", - "x-ms-client-request-id" : "4c8b68be-9f0b-42f9-b400-d9ff8a6b516d" + "x-ms-request-id" : "af5f464c-201e-003e-5343-bc0544000000", + "x-ms-client-request-id" : "2f98854c-ce71-4d51-a255-e8830db4c996" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "78033a9c-4e0d-448b-ace3-c8d355647164" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0cf7f237-7a2d-40c3-8e99-0b22d348bdd6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25ba-a01e-0020-0cb3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign027365656db45c9ed74Mon, 25 Nov 2019 17:09:38 GMT\"0x8D771CA41530C84\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", - "x-ms-client-request-id" : "78033a9c-4e0d-448b-ace3-c8d355647164", + "x-ms-request-id" : "af5f4651-201e-003e-5843-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0801237b1ad00c4da74Thu, 26 Dec 2019 23:25:42 GMT\"0x8D78A5AED2151AD\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "0cf7f237-7a2d-40c3-8e99-0b22d348bdd6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign027365656db45c9ed74?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0801237b1ad00c4da74?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4105900b-8bed-4e3f-a580-13c53bdbd73a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "818ae2c0-6135-4dd8-99db-6bde69e6470e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de43-401e-0028-3eb3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:38 GMT", - "x-ms-client-request-id" : "4105900b-8bed-4e3f-a580-13c53bdbd73a" + "x-ms-request-id" : "af5f4655-201e-003e-5c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "818ae2c0-6135-4dd8-99db-6bde69e6470e" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign027365656db45c9ed74", "javablobblobsasimplutilstringtosign17271941f335d5f26" ] + "variables" : [ "jtcblobsasimplutilstringtosign0801237b1ad00c4da74", "javablobblobsasimplutilstringtosign11411704d17c77297" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[6].json index edc3197162a69..fe65cc3471562 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[6].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign091866176b5675be3b4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign007652b870859c9efe4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "810e7fbb-cf52-4f2e-b210-193bf76e5d43" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "28db0287-e948-47b3-bb87-b85b54270b9c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA41865C1E", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:39 GMT", + "ETag" : "0x8D78A5AED530EEF", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25c1-a01e-0020-13b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "810e7fbb-cf52-4f2e-b210-193bf76e5d43" + "x-ms-request-id" : "af5f4658-201e-003e-5f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:42 GMT", + "x-ms-client-request-id" : "28db0287-e948-47b3-bb87-b85b54270b9c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign091866176b5675be3b4/javablobblobsasimplutilstringtosign137927f07f39a8200", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign007652b870859c9efe4/javablobblobsasimplutilstringtosign119939ee731ad9c3d", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "812838a6-3bbd-4a98-857f-7f69848b9d97", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c469d3a2-9e0c-49f4-844a-fe7dfde49593", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:39 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:43 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA41930C1F", + "ETag" : "0x8D78A5AED608D06", "Content-Length" : "0", - "x-ms-request-id" : "d921de53-401e-0028-49b3-a3f393000000", - "x-ms-client-request-id" : "812838a6-3bbd-4a98-857f-7f69848b9d97" + "x-ms-request-id" : "af5f465f-201e-003e-6443-bc0544000000", + "x-ms-client-request-id" : "c469d3a2-9e0c-49f4-844a-fe7dfde49593" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b2b5cce7-a364-4cee-a4cc-fea4c7a0f430" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7445d716-8f4e-402b-8991-295e0d825fb8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25c4-a01e-0020-15b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign091866176b5675be3b4Mon, 25 Nov 2019 17:09:39 GMT\"0x8D771CA41865C1E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "b2b5cce7-a364-4cee-a4cc-fea4c7a0f430", + "x-ms-request-id" : "af5f4665-201e-003e-6a43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign007652b870859c9efe4Thu, 26 Dec 2019 23:25:42 GMT\"0x8D78A5AED530EEF\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "7445d716-8f4e-402b-8991-295e0d825fb8", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign091866176b5675be3b4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign007652b870859c9efe4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9864f68d-f933-4294-bcb8-17457230ab60" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3cc5bc9c-e345-4c1a-b820-1f8f61dc204b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de5a-401e-0028-50b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "9864f68d-f933-4294-bcb8-17457230ab60" + "x-ms-request-id" : "af5f4667-201e-003e-6c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "3cc5bc9c-e345-4c1a-b820-1f8f61dc204b" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign091866176b5675be3b4", "javablobblobsasimplutilstringtosign137927f07f39a8200" ] + "variables" : [ "jtcblobsasimplutilstringtosign007652b870859c9efe4", "javablobblobsasimplutilstringtosign119939ee731ad9c3d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[7].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[7].json index 748592a5b1455..1a5d315dd86fa 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[7].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[7].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0552562cc1b1eee54b4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign001086e5a6d3ac7f424?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3568f391-2caa-4174-9e79-9ea2afb63f27" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "db245705-66e8-4266-b75c-ba5f33fafa45" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA41B95EC2", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:39 GMT", + "ETag" : "0x8D78A5AED85B7DF", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25c6-a01e-0020-17b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "3568f391-2caa-4174-9e79-9ea2afb63f27" + "x-ms-request-id" : "af5f466b-201e-003e-6f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "db245705-66e8-4266-b75c-ba5f33fafa45" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0552562cc1b1eee54b4/javablobblobsasimplutilstringtosign162570189752dce69", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign001086e5a6d3ac7f424/javablobblobsasimplutilstringtosign1978488e4078cab25", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1e4c8d4b-7cbb-4002-b192-0fdecb47bfc9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fbe1bb27-0f60-4551-971f-56476a3f640e", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:39 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:43 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA41C62A20", + "ETag" : "0x8D78A5AED924B66", "Content-Length" : "0", - "x-ms-request-id" : "d921de5b-401e-0028-51b3-a3f393000000", - "x-ms-client-request-id" : "1e4c8d4b-7cbb-4002-b192-0fdecb47bfc9" + "x-ms-request-id" : "af5f4674-201e-003e-7643-bc0544000000", + "x-ms-client-request-id" : "fbe1bb27-0f60-4551-971f-56476a3f640e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1a146747-bd35-4c5c-926c-2eb3c601cf94" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "28f82916-3edd-46ab-80a4-279f23348e19" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25ca-a01e-0020-1ab3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0552562cc1b1eee54b4Mon, 25 Nov 2019 17:09:39 GMT\"0x8D771CA41B95EC2\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "1a146747-bd35-4c5c-926c-2eb3c601cf94", + "x-ms-request-id" : "af5f467b-201e-003e-7c43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign001086e5a6d3ac7f424Thu, 26 Dec 2019 23:25:43 GMT\"0x8D78A5AED85B7DF\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "28f82916-3edd-46ab-80a4-279f23348e19", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign0552562cc1b1eee54b4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign001086e5a6d3ac7f424?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "872ffd63-00a4-419e-ac6b-d329c09e0355" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5408ddd1-afbe-444e-b590-fb095e6148b3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de63-401e-0028-59b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "872ffd63-00a4-419e-ac6b-d329c09e0355" + "x-ms-request-id" : "af5f4680-201e-003e-0143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "5408ddd1-afbe-444e-b590-fb095e6148b3" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign0552562cc1b1eee54b4", "javablobblobsasimplutilstringtosign162570189752dce69" ] + "variables" : [ "jtcblobsasimplutilstringtosign001086e5a6d3ac7f424", "javablobblobsasimplutilstringtosign1978488e4078cab25" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[8].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[8].json index 37681c6a00cb0..0bf4f1280e427 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[8].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[8].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign05318598eb9e81af1c4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0995714d674cec903e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "82ba6078-98f7-45f5-a46b-8c3707962fc9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7997d62c-8bcc-4d78-b148-94ad7cc35014" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA41ED733D", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:39 GMT", + "ETag" : "0x8D78A5AEDB887C9", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25cc-a01e-0020-1cb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "82ba6078-98f7-45f5-a46b-8c3707962fc9" + "x-ms-request-id" : "af5f4683-201e-003e-0443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "7997d62c-8bcc-4d78-b148-94ad7cc35014" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign05318598eb9e81af1c4/javablobblobsasimplutilstringtosign1314354c0b61e35df", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0995714d674cec903e4/javablobblobsasimplutilstringtosign125615a149bc7119b", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5ec46370-79a6-48b3-9b38-622b11ed921d", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af951dc4-16f6-4d9d-9593-c9ee1b2c8062", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:43 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA41FA59C1", + "ETag" : "0x8D78A5AEDC51B4A", "Content-Length" : "0", - "x-ms-request-id" : "d921de65-401e-0028-5bb3-a3f393000000", - "x-ms-client-request-id" : "5ec46370-79a6-48b3-9b38-622b11ed921d" + "x-ms-request-id" : "af5f4686-201e-003e-0643-bc0544000000", + "x-ms-client-request-id" : "af951dc4-16f6-4d9d-9593-c9ee1b2c8062" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9e7644f6-30c9-4ccd-96d2-697d64414d9e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "87397f7b-e9d2-4547-9bef-bd80db9dc16d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25cf-a01e-0020-1eb3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign05318598eb9e81af1c4Mon, 25 Nov 2019 17:09:39 GMT\"0x8D771CA41ED733D\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "9e7644f6-30c9-4ccd-96d2-697d64414d9e", + "x-ms-request-id" : "af5f4689-201e-003e-0943-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0995714d674cec903e4Thu, 26 Dec 2019 23:25:43 GMT\"0x8D78A5AEDB887C9\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "87397f7b-e9d2-4547-9bef-bd80db9dc16d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign05318598eb9e81af1c4?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0995714d674cec903e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ba06f286-0ef0-4d13-975c-fe5a1cba82fa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "35d88640-5f64-43f0-9469-1b2995d1f795" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de67-401e-0028-5db3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:39 GMT", - "x-ms-client-request-id" : "ba06f286-0ef0-4d13-975c-fe5a1cba82fa" + "x-ms-request-id" : "af5f468e-201e-003e-0c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "35d88640-5f64-43f0-9469-1b2995d1f795" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign05318598eb9e81af1c4", "javablobblobsasimplutilstringtosign1314354c0b61e35df" ] + "variables" : [ "jtcblobsasimplutilstringtosign0995714d674cec903e4", "javablobblobsasimplutilstringtosign125615a149bc7119b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[9].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[9].json index a3f2bd19d9b66..8fb7a60ce78c8 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[9].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosign[9].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign022823f54d248018564?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0504995b324b02e3dc4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2c9704ac-1b25-4866-83a5-c75ac6d9b2bc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cc6b1a84-89fd-4d1f-b043-f75e47c487b3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA4221FCB7", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:40 GMT", + "ETag" : "0x8D78A5AEDED04CD", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25d3-a01e-0020-22b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "2c9704ac-1b25-4866-83a5-c75ac6d9b2bc" + "x-ms-request-id" : "af5f4693-201e-003e-1143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:43 GMT", + "x-ms-client-request-id" : "cc6b1a84-89fd-4d1f-b043-f75e47c487b3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign022823f54d248018564/javablobblobsasimplutilstringtosign139652c1e391d21f0", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0504995b324b02e3dc4/javablobblobsasimplutilstringtosign186053525f3eeea65", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a20c7bd7-b3b5-42ea-812c-0f77e5167d5e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fca224c5-b54c-496d-9863-69e8a05ba3bd", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:44 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA422F2536", + "ETag" : "0x8D78A5AEDF9BFE4", "Content-Length" : "0", - "x-ms-request-id" : "d921de6a-401e-0028-5fb3-a3f393000000", - "x-ms-client-request-id" : "a20c7bd7-b3b5-42ea-812c-0f77e5167d5e" + "x-ms-request-id" : "af5f4699-201e-003e-1643-bc0544000000", + "x-ms-client-request-id" : "fca224c5-b54c-496d-9863-69e8a05ba3bd" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "773a9382-7948-4610-a910-31f3b0ed0b96" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77ebba5e-d6ae-49f7-95e3-4560e3725b94" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25d6-a01e-0020-24b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign022823f54d248018564Mon, 25 Nov 2019 17:09:40 GMT\"0x8D771CA4221FCB7\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "773a9382-7948-4610-a910-31f3b0ed0b96", + "x-ms-request-id" : "af5f46a0-201e-003e-1d43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignjtcblobsasimplutilstringtosign0504995b324b02e3dc4Thu, 26 Dec 2019 23:25:43 GMT\"0x8D78A5AEDED04CD\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "77ebba5e-d6ae-49f7-95e3-4560e3725b94", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosign022823f54d248018564?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosign0504995b324b02e3dc4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4ed1b3db-0752-4cb4-a766-5dbec552e9d6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "66171346-e6a0-4ec7-a0e3-191ee01c0a52" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de74-401e-0028-68b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "4ed1b3db-0752-4cb4-a766-5dbec552e9d6" + "x-ms-request-id" : "af5f46a8-201e-003e-2543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "66171346-e6a0-4ec7-a0e3-191ee01c0a52" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosign022823f54d248018564", "javablobblobsasimplutilstringtosign139652c1e391d21f0" ] + "variables" : [ "jtcblobsasimplutilstringtosign0504995b324b02e3dc4", "javablobblobsasimplutilstringtosign186053525f3eeea65" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[0].json index cdc67a31822fe..1a821a8771a6b 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[0].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey03929314ec0?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey056218491e9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "17bf3bd0-45f0-438a-8728-ead5bc8548cb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77d1f009-439f-471d-8f00-2d25c374a39b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA425770FD", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:40 GMT", + "ETag" : "0x8D78A5AEE1F612C", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25d9-a01e-0020-27b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "17bf3bd0-45f0-438a-8728-ead5bc8548cb" + "x-ms-request-id" : "af5f46ad-201e-003e-2943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "77d1f009-439f-471d-8f00-2d25c374a39b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey03929314ec0/javablobblobsasimplutilstringtosignuserdelegationkey18484377", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey056218491e9/javablobblobsasimplutilstringtosignuserdelegationkey14384613", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c1441cd8-bf6f-4300-b81a-313506e4808a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2b872abb-d678-4e56-9da8-1755f1bf08f7", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:40 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:44 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA42641802", + "ETag" : "0x8D78A5AEE2DA169", "Content-Length" : "0", - "x-ms-request-id" : "d921de7b-401e-0028-6fb3-a3f393000000", - "x-ms-client-request-id" : "c1441cd8-bf6f-4300-b81a-313506e4808a" + "x-ms-request-id" : "af5f46b1-201e-003e-2c43-bc0544000000", + "x-ms-client-request-id" : "2b872abb-d678-4e56-9da8-1755f1bf08f7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b050d2b-1012-40fd-b3b7-5ca58024b26d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3cde3d50-c1bd-4342-ba40-24b34d93dc29" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25de-a01e-0020-2bb3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey03929314ec0Mon, 25 Nov 2019 17:09:40 GMT\"0x8D771CA425770FD\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "2b050d2b-1012-40fd-b3b7-5ca58024b26d", + "x-ms-request-id" : "af5f46b5-201e-003e-2f43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey056218491e9Thu, 26 Dec 2019 23:25:44 GMT\"0x8D78A5AEE1F612C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "3cde3d50-c1bd-4342-ba40-24b34d93dc29", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey03929314ec0?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey056218491e9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c2f7048a-0f8b-4f1a-bfa9-c2e03bef9400" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "72e3c0fe-45d4-43a5-abbd-bfbf0c7bc889" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de84-401e-0028-78b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "c2f7048a-0f8b-4f1a-bfa9-c2e03bef9400" + "x-ms-request-id" : "af5f46ba-201e-003e-3343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "72e3c0fe-45d4-43a5-abbd-bfbf0c7bc889" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey03929314ec0", "javablobblobsasimplutilstringtosignuserdelegationkey18484377" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey056218491e9", "javablobblobsasimplutilstringtosignuserdelegationkey14384613" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[10].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[10].json index 4d11d89351ee2..d10686b041298 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[10].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[10].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0911422df83?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey004002577f2?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e2c7c4f3-f72d-4adf-b139-9ae403b05719" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6de69058-d04b-45a8-8261-a5199c7ef146" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA44743E15", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:44 GMT", + "ETag" : "0x8D78A5AF0260591", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2634-a01e-0020-71b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "e2c7c4f3-f72d-4adf-b139-9ae403b05719" + "x-ms-request-id" : "af5f476e-201e-003e-5743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "6de69058-d04b-45a8-8261-a5199c7ef146" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0911422df83/javablobblobsasimplutilstringtosignuserdelegationkey17029077", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey004002577f2/javablobblobsasimplutilstringtosignuserdelegationkey1092975d", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "07ff9eb9-c7f9-4de4-a409-e820600f60f7", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0519cf15-0f80-47b2-94c4-382830fd1165", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:44 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA44812BD3", + "ETag" : "0x8D78A5AF032C19D", "Content-Length" : "0", - "x-ms-request-id" : "d921deee-401e-0028-5cb3-a3f393000000", - "x-ms-client-request-id" : "07ff9eb9-c7f9-4de4-a409-e820600f60f7" + "x-ms-request-id" : "af5f4775-201e-003e-5b43-bc0544000000", + "x-ms-client-request-id" : "0519cf15-0f80-47b2-94c4-382830fd1165" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9c2ceb83-aab0-4db9-90de-04e2c0e46a24" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "390dc3df-624a-48e6-9660-fdec7839a1bd" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2636-a01e-0020-72b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey0911422df83Mon, 25 Nov 2019 17:09:44 GMT\"0x8D771CA44743E15\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "9c2ceb83-aab0-4db9-90de-04e2c0e46a24", + "x-ms-request-id" : "af5f4778-201e-003e-5e43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey004002577f2Thu, 26 Dec 2019 23:25:47 GMT\"0x8D78A5AF0260591\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "390dc3df-624a-48e6-9660-fdec7839a1bd", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0911422df83?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey004002577f2?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bc286259-1529-4755-80ee-06c9676d99cc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "637f8280-74c2-4b49-b8f3-6821cdeb5a70" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921def7-401e-0028-65b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "bc286259-1529-4755-80ee-06c9676d99cc" + "x-ms-request-id" : "af5f477e-201e-003e-6343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "637f8280-74c2-4b49-b8f3-6821cdeb5a70" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey0911422df83", "javablobblobsasimplutilstringtosignuserdelegationkey17029077" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey004002577f2", "javablobblobsasimplutilstringtosignuserdelegationkey1092975d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[11].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[11].json index 018c7281272e5..553ee1a252ffc 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[11].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[11].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey073672052c1?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey082416ae774?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c8220a33-4d9c-495c-ad95-345a44f3e149" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "15bb2281-d641-452b-a98c-5013620471d7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA44A9D96E", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:44 GMT", + "ETag" : "0x8D78A5AF057C641", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2638-a01e-0020-74b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "c8220a33-4d9c-495c-ad95-345a44f3e149" + "x-ms-request-id" : "af5f4781-201e-003e-6643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "15bb2281-d641-452b-a98c-5013620471d7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey073672052c1/javablobblobsasimplutilstringtosignuserdelegationkey14339622", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey082416ae774/javablobblobsasimplutilstringtosignuserdelegationkey11567504", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "88d7bde6-b5cc-4e41-a4f5-3e61df2ef113", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "15f39c2b-070f-4200-a6da-c6152c1e95df", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:44 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA44B66E35", + "ETag" : "0x8D78A5AF0645A03", "Content-Length" : "0", - "x-ms-request-id" : "d921defc-401e-0028-6ab3-a3f393000000", - "x-ms-client-request-id" : "88d7bde6-b5cc-4e41-a4f5-3e61df2ef113" + "x-ms-request-id" : "af5f4784-201e-003e-6843-bc0544000000", + "x-ms-client-request-id" : "15f39c2b-070f-4200-a6da-c6152c1e95df" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b4d1fcb3-c8f6-4699-96f8-ff61d4b0462e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "235371ce-8c6d-4347-8efb-92a61b2a1ab1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a263d-a01e-0020-78b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey073672052c1Mon, 25 Nov 2019 17:09:44 GMT\"0x8D771CA44A9D96E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "b4d1fcb3-c8f6-4699-96f8-ff61d4b0462e", + "x-ms-request-id" : "af5f4789-201e-003e-6d43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey082416ae774Thu, 26 Dec 2019 23:25:48 GMT\"0x8D78A5AF057C641\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "235371ce-8c6d-4347-8efb-92a61b2a1ab1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey073672052c1?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey082416ae774?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e204e9f3-d4dd-4414-8442-4d6b23c168df" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "31c3f2af-7758-4545-bd6d-7221d60f2cc5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921deff-401e-0028-6db3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "e204e9f3-d4dd-4414-8442-4d6b23c168df" + "x-ms-request-id" : "af5f478e-201e-003e-7243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "31c3f2af-7758-4545-bd6d-7221d60f2cc5" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey073672052c1", "javablobblobsasimplutilstringtosignuserdelegationkey14339622" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey082416ae774", "javablobblobsasimplutilstringtosignuserdelegationkey11567504" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[12].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[12].json index 8eef25ffad031..b508351d2ace7 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[12].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[12].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey087868008c3?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0055937ad66?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4b031ff5-ca8a-4b83-ad05-0f3eef129bd3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e3313b33-a8c9-4e66-bb89-0690d06cdac9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA44DD034A", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:44 GMT", + "ETag" : "0x8D78A5AF08A4724", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a265a-a01e-0020-13b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "4b031ff5-ca8a-4b83-ad05-0f3eef129bd3" + "x-ms-request-id" : "af5f4794-201e-003e-7843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "e3313b33-a8c9-4e66-bb89-0690d06cdac9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey087868008c3/javablobblobsasimplutilstringtosignuserdelegationkey176754ba", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0055937ad66/javablobblobsasimplutilstringtosignuserdelegationkey10708201", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f22e68f2-58c9-449c-8987-5ca6f0c11bb4", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6f25d3ea-01b3-4c2e-b30d-c072db480f8e", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:44 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA44EA2814", + "ETag" : "0x8D78A5AF096DBB1", "Content-Length" : "0", - "x-ms-request-id" : "d921df02-401e-0028-70b3-a3f393000000", - "x-ms-client-request-id" : "f22e68f2-58c9-449c-8987-5ca6f0c11bb4" + "x-ms-request-id" : "af5f479d-201e-003e-8043-bc0544000000", + "x-ms-client-request-id" : "6f25d3ea-01b3-4c2e-b30d-c072db480f8e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "870478da-c203-4391-9e16-4077783088fe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "039110e9-1837-4e1b-ab3f-7ec3e9fa81e4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a265c-a01e-0020-14b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey087868008c3Mon, 25 Nov 2019 17:09:44 GMT\"0x8D771CA44DD034A\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "870478da-c203-4391-9e16-4077783088fe", + "x-ms-request-id" : "af5f47a0-201e-003e-0343-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey0055937ad66Thu, 26 Dec 2019 23:25:48 GMT\"0x8D78A5AF08A4724\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "039110e9-1837-4e1b-ab3f-7ec3e9fa81e4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey087868008c3?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0055937ad66?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9c6ed92e-7e62-4d93-b6d9-aa786ce575bb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "994902eb-8a36-4d0a-ba23-c9e8ff43e7e4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921df08-401e-0028-73b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "9c6ed92e-7e62-4d93-b6d9-aa786ce575bb" + "x-ms-request-id" : "af5f47a4-201e-003e-0743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "994902eb-8a36-4d0a-ba23-c9e8ff43e7e4" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey087868008c3", "javablobblobsasimplutilstringtosignuserdelegationkey176754ba" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey0055937ad66", "javablobblobsasimplutilstringtosignuserdelegationkey10708201" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[13].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[13].json index ee041df063d96..9c8d6a120c24e 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[13].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[13].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey071397cb8b8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey00799772b46?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "47442d80-8cb1-41cb-99dc-6718339993d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "834d5b88-2b13-4bba-a90f-dbed8aa06519" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA4512525D", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:45 GMT", + "ETag" : "0x8D78A5AF0BF6106", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2662-a01e-0020-1ab3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "47442d80-8cb1-41cb-99dc-6718339993d8" + "x-ms-request-id" : "af5f47aa-201e-003e-0d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "834d5b88-2b13-4bba-a90f-dbed8aa06519" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey071397cb8b8/javablobblobsasimplutilstringtosignuserdelegationkey1974360c", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey00799772b46/javablobblobsasimplutilstringtosignuserdelegationkey10389174", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3f1c5377-62ae-442e-8072-74a24c9c94cb", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2806e20e-fefa-4971-a50a-ec6fed47c7e9", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:45 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA451F41EE", + "ETag" : "0x8D78A5AF0CBF6C2", "Content-Length" : "0", - "x-ms-request-id" : "d921df0c-401e-0028-77b3-a3f393000000", - "x-ms-client-request-id" : "3f1c5377-62ae-442e-8072-74a24c9c94cb" + "x-ms-request-id" : "af5f47b0-201e-003e-1243-bc0544000000", + "x-ms-client-request-id" : "2806e20e-fefa-4971-a50a-ec6fed47c7e9" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b635e35-c3c8-4186-adf1-4edc7d92488e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e54bf0d3-3fb2-4e56-8fd1-352f10d917de" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2666-a01e-0020-1db3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey071397cb8b8Mon, 25 Nov 2019 17:09:45 GMT\"0x8D771CA4512525D\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:44 GMT", - "x-ms-client-request-id" : "9b635e35-c3c8-4186-adf1-4edc7d92488e", + "x-ms-request-id" : "af5f47b5-201e-003e-1743-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey00799772b46Thu, 26 Dec 2019 23:25:48 GMT\"0x8D78A5AF0BF6106\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "e54bf0d3-3fb2-4e56-8fd1-352f10d917de", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey071397cb8b8?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey00799772b46?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1825ee2b-0841-429a-9c29-7e1b20dbb3b4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "410e08c0-6913-4606-9c46-c7e5b8a5d98c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921df13-401e-0028-7eb3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:45 GMT", - "x-ms-client-request-id" : "1825ee2b-0841-429a-9c29-7e1b20dbb3b4" + "x-ms-request-id" : "af5f47ba-201e-003e-1c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "410e08c0-6913-4606-9c46-c7e5b8a5d98c" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey071397cb8b8", "javablobblobsasimplutilstringtosignuserdelegationkey1974360c" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey00799772b46", "javablobblobsasimplutilstringtosignuserdelegationkey10389174" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[14].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[14].json index b60c90395158d..18fac5d2c98f2 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[14].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[14].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey08761697965?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey092997e032f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "46a71f5f-4b60-4f5d-8e93-f9e941f4975a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "15959c19-bbea-4080-9fb9-16479efbe3fb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA45522760", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:45 GMT", + "ETag" : "0x8D78A5AF0F1E1A5", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a266e-a01e-0020-22b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:45 GMT", - "x-ms-client-request-id" : "46a71f5f-4b60-4f5d-8e93-f9e941f4975a" + "x-ms-request-id" : "af5f47bd-201e-003e-1f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:48 GMT", + "x-ms-client-request-id" : "15959c19-bbea-4080-9fb9-16479efbe3fb" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey08761697965/javablobblobsasimplutilstringtosignuserdelegationkey18532120", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey092997e032f/javablobblobsasimplutilstringtosignuserdelegationkey1329780e", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "812aa35b-d09d-4dfe-ae57-3b37360691e8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "784f4a5b-2847-4ec5-bb30-8c97a78025b3", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:45 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:45 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA455EE171", + "ETag" : "0x8D78A5AF0FF6031", "Content-Length" : "0", - "x-ms-request-id" : "d921df17-401e-0028-02b3-a3f393000000", - "x-ms-client-request-id" : "812aa35b-d09d-4dfe-ae57-3b37360691e8" + "x-ms-request-id" : "af5f47c3-201e-003e-2443-bc0544000000", + "x-ms-client-request-id" : "784f4a5b-2847-4ec5-bb30-8c97a78025b3" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d20231f8-d8d3-4247-a81f-9e42ff4d45fb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "265d11c5-73f4-45bc-bd1e-7776b98a9af5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2678-a01e-0020-28b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey08761697965Mon, 25 Nov 2019 17:09:45 GMT\"0x8D771CA45522760\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:45 GMT", - "x-ms-client-request-id" : "d20231f8-d8d3-4247-a81f-9e42ff4d45fb", + "x-ms-request-id" : "af5f47c6-201e-003e-2743-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey092997e032fThu, 26 Dec 2019 23:25:49 GMT\"0x8D78A5AF0F1E1A5\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "265d11c5-73f4-45bc-bd1e-7776b98a9af5", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey08761697965?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey092997e032f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "04fe76a1-e261-4a62-aabb-6713f571b879" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d523f4e1-7293-4e8c-a5ac-c963ef93d518" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921df1d-401e-0028-08b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:45 GMT", - "x-ms-client-request-id" : "04fe76a1-e261-4a62-aabb-6713f571b879" + "x-ms-request-id" : "af5f47c9-201e-003e-2943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:49 GMT", + "x-ms-client-request-id" : "d523f4e1-7293-4e8c-a5ac-c963ef93d518" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey08761697965", "javablobblobsasimplutilstringtosignuserdelegationkey18532120" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey092997e032f", "javablobblobsasimplutilstringtosignuserdelegationkey1329780e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[1].json index 96d5021204a4d..51a7565be8bbb 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[1].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey076590ba3a2?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0803951a6d6?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e2e8c27c-3861-4978-9aeb-5621a9f15bb9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0eb92922-7b46-44b6-8658-f2e038032967" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA428CE51F", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:41 GMT", + "ETag" : "0x8D78A5AEE542B29", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25e2-a01e-0020-2eb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "e2e8c27c-3861-4978-9aeb-5621a9f15bb9" + "x-ms-request-id" : "af5f46bd-201e-003e-3643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "0eb92922-7b46-44b6-8658-f2e038032967" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey076590ba3a2/javablobblobsasimplutilstringtosignuserdelegationkey14828914", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0803951a6d6/javablobblobsasimplutilstringtosignuserdelegationkey12146275", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4da07904-c3da-4c0e-a30d-e07db571ea0f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8f42e58c-18f8-48d2-b080-796ea3e64765", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:44 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA4299F510", + "ETag" : "0x8D78A5AEE6182CA", "Content-Length" : "0", - "x-ms-request-id" : "d921de87-401e-0028-7bb3-a3f393000000", - "x-ms-client-request-id" : "4da07904-c3da-4c0e-a30d-e07db571ea0f" + "x-ms-request-id" : "af5f46c5-201e-003e-3d43-bc0544000000", + "x-ms-client-request-id" : "8f42e58c-18f8-48d2-b080-796ea3e64765" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cfda1de5-59f6-4938-815b-c60e35dca2e8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dac1e924-7dd8-43c3-8d38-372cb91627c7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25e6-a01e-0020-31b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey076590ba3a2Mon, 25 Nov 2019 17:09:41 GMT\"0x8D771CA428CE51F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "cfda1de5-59f6-4938-815b-c60e35dca2e8", + "x-ms-request-id" : "af5f46c9-201e-003e-4143-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey0803951a6d6Thu, 26 Dec 2019 23:25:44 GMT\"0x8D78A5AEE542B29\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "dac1e924-7dd8-43c3-8d38-372cb91627c7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey076590ba3a2?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0803951a6d6?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bd56ebd5-40ab-444a-a2ae-b76993391517" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a8403484-bc40-40b2-b4d1-4f882cc24570" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de8a-401e-0028-7eb3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:40 GMT", - "x-ms-client-request-id" : "bd56ebd5-40ab-444a-a2ae-b76993391517" + "x-ms-request-id" : "af5f46d0-201e-003e-4843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "a8403484-bc40-40b2-b4d1-4f882cc24570" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey076590ba3a2", "javablobblobsasimplutilstringtosignuserdelegationkey14828914" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey0803951a6d6", "javablobblobsasimplutilstringtosignuserdelegationkey12146275" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[2].json index c298fa0f3b807..89a938e35398f 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[2].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey025795e26ed?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey036369a8f78?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7103f67b-3a77-47a0-ab28-18ab0fef0e92" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "11c15b17-e298-4a77-b3dd-a65a6d365ab3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA42C0AB52", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:41 GMT", + "ETag" : "0x8D78A5AEE86FC94", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25e7-a01e-0020-32b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", - "x-ms-client-request-id" : "7103f67b-3a77-47a0-ab28-18ab0fef0e92" + "x-ms-request-id" : "af5f46d6-201e-003e-4e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:44 GMT", + "x-ms-client-request-id" : "11c15b17-e298-4a77-b3dd-a65a6d365ab3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey025795e26ed/javablobblobsasimplutilstringtosignuserdelegationkey13714371", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey036369a8f78/javablobblobsasimplutilstringtosignuserdelegationkey146318a7", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e71c0ff3-8ab5-4147-b8c0-9f3fbc123e14", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb8cfe24-5928-4379-bb7d-bdf1b0bb140f", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA42CD87F5", + "ETag" : "0x8D78A5AEE9452C1", "Content-Length" : "0", - "x-ms-request-id" : "d921de91-401e-0028-05b3-a3f393000000", - "x-ms-client-request-id" : "e71c0ff3-8ab5-4147-b8c0-9f3fbc123e14" + "x-ms-request-id" : "af5f46da-201e-003e-5143-bc0544000000", + "x-ms-client-request-id" : "fb8cfe24-5928-4379-bb7d-bdf1b0bb140f" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cd9d80cf-5f7d-47ac-8fc6-13a75ec2eac1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0fa32395-95de-4895-876d-63a23bd02dc9" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25eb-a01e-0020-35b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey025795e26edMon, 25 Nov 2019 17:09:41 GMT\"0x8D771CA42C0AB52\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", - "x-ms-client-request-id" : "cd9d80cf-5f7d-47ac-8fc6-13a75ec2eac1", + "x-ms-request-id" : "af5f46df-201e-003e-5643-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey036369a8f78Thu, 26 Dec 2019 23:25:44 GMT\"0x8D78A5AEE86FC94\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "0fa32395-95de-4895-876d-63a23bd02dc9", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey025795e26ed?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey036369a8f78?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "beff9c5a-99a9-4e9b-a278-216d4e98a20a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0bbbfda-f741-44c4-9327-3dabe910b401" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de92-401e-0028-06b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", - "x-ms-client-request-id" : "beff9c5a-99a9-4e9b-a278-216d4e98a20a" + "x-ms-request-id" : "af5f46e3-201e-003e-5a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "a0bbbfda-f741-44c4-9327-3dabe910b401" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey025795e26ed", "javablobblobsasimplutilstringtosignuserdelegationkey13714371" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey036369a8f78", "javablobblobsasimplutilstringtosignuserdelegationkey146318a7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[3].json index 077c257e7a6ad..4294f11052b82 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[3].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey02017629dee?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey06290424b14?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c7eafce6-9e33-419a-b024-7e3d664ef873" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "53837230-b814-4616-9a72-4cf4023ac912" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA42FCD7C1", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:41 GMT", + "ETag" : "0x8D78A5AEEBC6868", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25ef-a01e-0020-39b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", - "x-ms-client-request-id" : "c7eafce6-9e33-419a-b024-7e3d664ef873" + "x-ms-request-id" : "af5f46e7-201e-003e-5e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "53837230-b814-4616-9a72-4cf4023ac912" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey02017629dee/javablobblobsasimplutilstringtosignuserdelegationkey1487395a", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey06290424b14/javablobblobsasimplutilstringtosignuserdelegationkey125605e1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fcf0088c-bc82-4b4f-b863-7abd2ff52a22", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d2c0adb-622a-41f5-9d35-59ae37f58468", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA430A1DB3", + "ETag" : "0x8D78A5AEECC04C8", "Content-Length" : "0", - "x-ms-request-id" : "d921de99-401e-0028-0cb3-a3f393000000", - "x-ms-client-request-id" : "fcf0088c-bc82-4b4f-b863-7abd2ff52a22" + "x-ms-request-id" : "af5f46f1-201e-003e-6743-bc0544000000", + "x-ms-client-request-id" : "8d2c0adb-622a-41f5-9d35-59ae37f58468" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "444e0192-6069-4832-862d-81f4f040601a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "343b1241-0b94-4e04-bf20-64bb600c40e4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25f5-a01e-0020-3eb3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey02017629deeMon, 25 Nov 2019 17:09:41 GMT\"0x8D771CA42FCD7C1\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", - "x-ms-client-request-id" : "444e0192-6069-4832-862d-81f4f040601a", + "x-ms-request-id" : "af5f46f4-201e-003e-6a43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey06290424b14Thu, 26 Dec 2019 23:25:45 GMT\"0x8D78A5AEEBC6868\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "343b1241-0b94-4e04-bf20-64bb600c40e4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey02017629dee?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey06290424b14?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "62c90758-67a0-45c4-89c4-5614d6853ec6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9d2ed6c4-a064-408c-b49a-6f148f70dd8c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dea2-401e-0028-14b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", - "x-ms-client-request-id" : "62c90758-67a0-45c4-89c4-5614d6853ec6" + "x-ms-request-id" : "af5f46f8-201e-003e-6e43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "9d2ed6c4-a064-408c-b49a-6f148f70dd8c" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey02017629dee", "javablobblobsasimplutilstringtosignuserdelegationkey1487395a" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey06290424b14", "javablobblobsasimplutilstringtosignuserdelegationkey125605e1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[4].json index 83bffc113e07e..48fd0c95d59de 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[4].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey02473993d39?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey046380be1e2?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2f7cb5d5-08f6-4a0f-a233-56b88bad837e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3eb753cc-588c-4265-b4f8-ddd550968c69" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA4332E9E3", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:42 GMT", + "ETag" : "0x8D78A5AEEF2B72E", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25f8-a01e-0020-41b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", - "x-ms-client-request-id" : "2f7cb5d5-08f6-4a0f-a233-56b88bad837e" + "x-ms-request-id" : "af5f46fc-201e-003e-7243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "3eb753cc-588c-4265-b4f8-ddd550968c69" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey02473993d39/javablobblobsasimplutilstringtosignuserdelegationkey12957369", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey046380be1e2/javablobblobsasimplutilstringtosignuserdelegationkey150812a3", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bdda2274-cc6e-4928-a0bf-8c965996888e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "11f83f00-b2a8-4640-ac03-968bbc73920b", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:42 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA434724D2", + "ETag" : "0x8D78A5AEF000D0A", "Content-Length" : "0", - "x-ms-request-id" : "d921deaa-401e-0028-1bb3-a3f393000000", - "x-ms-client-request-id" : "bdda2274-cc6e-4928-a0bf-8c965996888e" + "x-ms-request-id" : "af5f4703-201e-003e-7843-bc0544000000", + "x-ms-client-request-id" : "11f83f00-b2a8-4640-ac03-968bbc73920b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "55a8a088-e0d0-4abf-9394-a22c5335a534" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c72d5fd-6b66-499f-8af1-51ab3665616f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a25fc-a01e-0020-44b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey02473993d39Mon, 25 Nov 2019 17:09:42 GMT\"0x8D771CA4332E9E3\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:41 GMT", - "x-ms-client-request-id" : "55a8a088-e0d0-4abf-9394-a22c5335a534", + "x-ms-request-id" : "af5f4707-201e-003e-7c43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey046380be1e2Thu, 26 Dec 2019 23:25:45 GMT\"0x8D78A5AEEF2B72E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "6c72d5fd-6b66-499f-8af1-51ab3665616f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey02473993d39?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey046380be1e2?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "34cdc826-6bf8-41d6-a701-6e87c0448899" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b5c5f97a-d7c0-4d43-aa09-a0be11bd01a7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921deb1-401e-0028-22b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "34cdc826-6bf8-41d6-a701-6e87c0448899" + "x-ms-request-id" : "af5f470a-201e-003e-7f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "b5c5f97a-d7c0-4d43-aa09-a0be11bd01a7" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey02473993d39", "javablobblobsasimplutilstringtosignuserdelegationkey12957369" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey046380be1e2", "javablobblobsasimplutilstringtosignuserdelegationkey150812a3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[5].json index c608e28d7826f..58050b6202104 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[5].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey063410f139f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0898551d036?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "588641a6-3e27-46ba-91b5-f9b352b76400" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c10f7d3e-dbae-4cdb-9c85-82afd838d4ca" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA436E9FA5", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:42 GMT", + "ETag" : "0x8D78A5AEF278264", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a25ff-a01e-0020-47b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "588641a6-3e27-46ba-91b5-f9b352b76400" + "x-ms-request-id" : "af5f4711-201e-003e-0543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:45 GMT", + "x-ms-client-request-id" : "c10f7d3e-dbae-4cdb-9c85-82afd838d4ca" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey063410f139f/javablobblobsasimplutilstringtosignuserdelegationkey15231708", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0898551d036/javablobblobsasimplutilstringtosignuserdelegationkey12145037", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5e000009-d9b0-4e67-84a4-8d742f037b38", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "459b6e8b-6cc6-481a-83ef-7f40ace69b01", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:42 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA437B7B4A", + "ETag" : "0x8D78A5AEF34662F", "Content-Length" : "0", - "x-ms-request-id" : "d921deba-401e-0028-2bb3-a3f393000000", - "x-ms-client-request-id" : "5e000009-d9b0-4e67-84a4-8d742f037b38" + "x-ms-request-id" : "af5f4716-201e-003e-0943-bc0544000000", + "x-ms-client-request-id" : "459b6e8b-6cc6-481a-83ef-7f40ace69b01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7679cfa3-3008-4b68-ae82-50b611604580" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b5033126-137b-4b08-93a3-273595725cc8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2605-a01e-0020-4ab3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey063410f139fMon, 25 Nov 2019 17:09:42 GMT\"0x8D771CA436E9FA5\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "7679cfa3-3008-4b68-ae82-50b611604580", + "x-ms-request-id" : "af5f471a-201e-003e-0d43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey0898551d036Thu, 26 Dec 2019 23:25:46 GMT\"0x8D78A5AEF278264\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "b5033126-137b-4b08-93a3-273595725cc8", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey063410f139f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0898551d036?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "be4c4b26-f15b-4237-86b1-420aadd1cb2b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "50f742d0-e5e9-40a5-aded-4a657dd50d28" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dec1-401e-0028-31b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "be4c4b26-f15b-4237-86b1-420aadd1cb2b" + "x-ms-request-id" : "af5f471c-201e-003e-0f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "50f742d0-e5e9-40a5-aded-4a657dd50d28" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey063410f139f", "javablobblobsasimplutilstringtosignuserdelegationkey15231708" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey0898551d036", "javablobblobsasimplutilstringtosignuserdelegationkey12145037" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[6].json index 11e44901c188a..afee21d00a376 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[6].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey029045b1b81?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey05056562664?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "51dcda44-364e-400f-a969-120bcf6d6d7f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3fe0f756-1a6f-4464-b0f3-6afb5ae9be85" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA43A39E85", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:42 GMT", + "ETag" : "0x8D78A5AEF5B3C7C", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2607-a01e-0020-4cb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "51dcda44-364e-400f-a969-120bcf6d6d7f" + "x-ms-request-id" : "af5f4726-201e-003e-1743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "3fe0f756-1a6f-4464-b0f3-6afb5ae9be85" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey029045b1b81/javablobblobsasimplutilstringtosignuserdelegationkey19564401", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey05056562664/javablobblobsasimplutilstringtosignuserdelegationkey190637bc", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fedae4f4-3ada-4bd6-8043-0080f6587597", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7750c171-aea2-428d-b35c-4d3f8d78d4ea", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:42 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA43B13130", + "ETag" : "0x8D78A5AEF681DC2", "Content-Length" : "0", - "x-ms-request-id" : "d921dec9-401e-0028-38b3-a3f393000000", - "x-ms-client-request-id" : "fedae4f4-3ada-4bd6-8043-0080f6587597" + "x-ms-request-id" : "af5f472c-201e-003e-1c43-bc0544000000", + "x-ms-client-request-id" : "7750c171-aea2-428d-b35c-4d3f8d78d4ea" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "413f7f34-ffb9-4f4d-9c13-9d6ebea3dc44" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb164aba-c9ec-485a-8e25-394e761b97c0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a260c-a01e-0020-50b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey029045b1b81Mon, 25 Nov 2019 17:09:42 GMT\"0x8D771CA43A39E85\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "413f7f34-ffb9-4f4d-9c13-9d6ebea3dc44", + "x-ms-request-id" : "af5f472f-201e-003e-1f43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey05056562664Thu, 26 Dec 2019 23:25:46 GMT\"0x8D78A5AEF5B3C7C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "eb164aba-c9ec-485a-8e25-394e761b97c0", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey029045b1b81?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey05056562664?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f27c654c-e491-44f2-9eb1-79dd86dfaf7d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5ca7491b-e044-4863-baec-401aac58ea51" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dece-401e-0028-3db3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "f27c654c-e491-44f2-9eb1-79dd86dfaf7d" + "x-ms-request-id" : "af5f4734-201e-003e-2443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "5ca7491b-e044-4863-baec-401aac58ea51" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey029045b1b81", "javablobblobsasimplutilstringtosignuserdelegationkey19564401" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey05056562664", "javablobblobsasimplutilstringtosignuserdelegationkey190637bc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[7].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[7].json index 4cbeb8bf3e1b4..0261d77e43327 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[7].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[7].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey05135850d25?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey012614b2e43?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e9346af3-28e3-463d-a749-4f1f69bcf7df" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "76a52c79-ce10-49fb-9199-c2ac0801c924" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA43D8C749", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:43 GMT", + "ETag" : "0x8D78A5AEF8CFAF6", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2610-a01e-0020-54b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "e9346af3-28e3-463d-a749-4f1f69bcf7df" + "x-ms-request-id" : "af5f4738-201e-003e-2843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "76a52c79-ce10-49fb-9199-c2ac0801c924" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey05135850d25/javablobblobsasimplutilstringtosignuserdelegationkey1064067d", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey012614b2e43/javablobblobsasimplutilstringtosignuserdelegationkey1982978a", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4cc00dcd-2048-4bb5-89f1-cc25455ebac0", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "31f8f1e8-e2b1-468c-878a-4cc5d2aef8cc", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:43 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA43E5FCDD", + "ETag" : "0x8D78A5AEF9A51B5", "Content-Length" : "0", - "x-ms-request-id" : "d921ded2-401e-0028-41b3-a3f393000000", - "x-ms-client-request-id" : "4cc00dcd-2048-4bb5-89f1-cc25455ebac0" + "x-ms-request-id" : "af5f473c-201e-003e-2b43-bc0544000000", + "x-ms-client-request-id" : "31f8f1e8-e2b1-468c-878a-4cc5d2aef8cc" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a70d7206-8a61-44ab-be99-94e595a86415" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "35cc7c96-9cd4-44e7-ab56-2d31d0694d9d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2615-a01e-0020-58b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey05135850d25Mon, 25 Nov 2019 17:09:43 GMT\"0x8D771CA43D8C749\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:42 GMT", - "x-ms-client-request-id" : "a70d7206-8a61-44ab-be99-94e595a86415", + "x-ms-request-id" : "af5f4740-201e-003e-2f43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey012614b2e43Thu, 26 Dec 2019 23:25:46 GMT\"0x8D78A5AEF8CFAF6\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "35cc7c96-9cd4-44e7-ab56-2d31d0694d9d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey05135850d25?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey012614b2e43?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1960b173-a6a6-4b08-8369-f74dea612dd1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6a91215-e3d6-4a43-aedf-f013b5d4f995" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921ded9-401e-0028-48b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "1960b173-a6a6-4b08-8369-f74dea612dd1" + "x-ms-request-id" : "af5f4745-201e-003e-3443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "d6a91215-e3d6-4a43-aedf-f013b5d4f995" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey05135850d25", "javablobblobsasimplutilstringtosignuserdelegationkey1064067d" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey012614b2e43", "javablobblobsasimplutilstringtosignuserdelegationkey1982978a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[8].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[8].json index 8b9b91e657486..081a74f91fe21 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[8].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[8].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey062690f6788?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey04843956d69?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1b7b4e56-245a-4cef-83fd-5dafa0db0a5c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c10de3f9-73af-4b97-8343-b86daa66a6f9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA440D2856", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:43 GMT", + "ETag" : "0x8D78A5AEFC0657E", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2619-a01e-0020-5bb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "1b7b4e56-245a-4cef-83fd-5dafa0db0a5c" + "x-ms-request-id" : "af5f4749-201e-003e-3743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:46 GMT", + "x-ms-client-request-id" : "c10de3f9-73af-4b97-8343-b86daa66a6f9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey062690f6788/javablobblobsasimplutilstringtosignuserdelegationkey1301424f", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey04843956d69/javablobblobsasimplutilstringtosignuserdelegationkey1298946b", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "35067472-55ca-46f3-a672-7b65065a6465", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "323661ae-51ef-4161-a7e0-509d1c9c2f5e", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:43 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA4419DE5A", + "ETag" : "0x8D78A5AEFCD711E", "Content-Length" : "0", - "x-ms-request-id" : "d921dee0-401e-0028-4fb3-a3f393000000", - "x-ms-client-request-id" : "35067472-55ca-46f3-a672-7b65065a6465" + "x-ms-request-id" : "af5f474f-201e-003e-3b43-bc0544000000", + "x-ms-client-request-id" : "323661ae-51ef-4161-a7e0-509d1c9c2f5e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "37a8d9b4-ae37-4e62-8c68-eadec0481be6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "33970105-9e6c-44ab-b570-a36bcf34a73f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2621-a01e-0020-62b3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey062690f6788Mon, 25 Nov 2019 17:09:43 GMT\"0x8D771CA440D2856\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "37a8d9b4-ae37-4e62-8c68-eadec0481be6", + "x-ms-request-id" : "af5f4752-201e-003e-3e43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey04843956d69Thu, 26 Dec 2019 23:25:47 GMT\"0x8D78A5AEFC0657E\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "33970105-9e6c-44ab-b570-a36bcf34a73f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey062690f6788?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey04843956d69?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d52840a9-fb7e-4fe0-8d82-dcab473ff939" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b5713301-0f0d-4dda-954e-ce4f4bd50ddb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dee3-401e-0028-52b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "d52840a9-fb7e-4fe0-8d82-dcab473ff939" + "x-ms-request-id" : "af5f4759-201e-003e-4543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "b5713301-0f0d-4dda-954e-ce4f4bd50ddb" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey062690f6788", "javablobblobsasimplutilstringtosignuserdelegationkey1301424f" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey04843956d69", "javablobblobsasimplutilstringtosignuserdelegationkey1298946b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[9].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[9].json index 85080524a4f85..373aeb88ed6bd 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[9].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobsasimplutilstringtosignuserdelegationkey[9].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey08747327bcc?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0051063f88a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b6150a2b-88ba-482e-8933-2989533a206c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab27e1fc-4f29-413c-92dc-853fbf02f26e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA4440C76C", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:43 GMT", + "ETag" : "0x8D78A5AEFF35C98", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2627-a01e-0020-68b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "b6150a2b-88ba-482e-8933-2989533a206c" + "x-ms-request-id" : "af5f475e-201e-003e-4843-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "ab27e1fc-4f29-413c-92dc-853fbf02f26e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey08747327bcc/javablobblobsasimplutilstringtosignuserdelegationkey1203842b", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0051063f88a/javablobblobsasimplutilstringtosignuserdelegationkey1741348e", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4f747b0f-dd88-4121-8790-c525adb922f9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b05826cc-5131-465b-9ef7-d3de38ced893", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:43 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA444D71D3", + "ETag" : "0x8D78A5AF0003F4C", "Content-Length" : "0", - "x-ms-request-id" : "d921dee4-401e-0028-53b3-a3f393000000", - "x-ms-client-request-id" : "4f747b0f-dd88-4121-8790-c525adb922f9" + "x-ms-request-id" : "af5f4761-201e-003e-4a43-bc0544000000", + "x-ms-client-request-id" : "b05826cc-5131-465b-9ef7-d3de38ced893" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobsasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "10d5415a-9a2d-47cd-a017-05d21bc44861" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06d1f5e6-8b51-461c-bfb8-65f1fe12f3c2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2630-a01e-0020-6fb3-a3e99c000000", - "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey08747327bccMon, 25 Nov 2019 17:09:43 GMT\"0x8D771CA4440C76C\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "10d5415a-9a2d-47cd-a017-05d21bc44861", + "x-ms-request-id" : "af5f4765-201e-003e-4e43-bc0544000000", + "Body" : "jtcblobsasimplutilstringtosignuserdelegationkeyjtcblobsasimplutilstringtosignuserdelegationkey0051063f88aThu, 26 Dec 2019 23:25:47 GMT\"0x8D78A5AEFF35C98\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "06d1f5e6-8b51-461c-bfb8-65f1fe12f3c2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey08747327bcc?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobsasimplutilstringtosignuserdelegationkey0051063f88a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9eb6bb8d-5bae-457d-9368-5c6739e02ae3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "45572523-5e08-4b97-b363-16d13e9fb66b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dee8-401e-0028-57b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:43 GMT", - "x-ms-client-request-id" : "9eb6bb8d-5bae-457d-9368-5c6739e02ae3" + "x-ms-request-id" : "af5f4768-201e-003e-5143-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:47 GMT", + "x-ms-client-request-id" : "45572523-5e08-4b97-b363-16d13e9fb66b" }, "Exception" : null } ], - "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey08747327bcc", "javablobblobsasimplutilstringtosignuserdelegationkey1203842b" ] + "variables" : [ "jtcblobsasimplutilstringtosignuserdelegationkey0051063f88a", "javablobblobsasimplutilstringtosignuserdelegationkey1741348e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobservicesasnetworktestblobsnapshot.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobservicesasnetworktestblobsnapshot.json index 9ad3b844f492f..2eb9f5786defe 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobservicesasnetworktestblobsnapshot.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsblobservicesasnetworktestblobsnapshot.json @@ -1,80 +1,80 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot057825a9fde690?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot090337d0cbb8ce?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1f44cfe0-ab8a-4c8d-b597-1056ab533f7c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fcb51f3f-4e61-49e4-ac03-d0806e77526c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3C8E00AF", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:30 GMT", + "ETag" : "0x8D78A5AE8301117", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a24b1-a01e-0020-3db3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", - "x-ms-client-request-id" : "1f44cfe0-ab8a-4c8d-b597-1056ab533f7c" + "x-ms-request-id" : "af5f4492-201e-003e-4543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", + "x-ms-client-request-id" : "fcb51f3f-4e61-49e4-ac03-d0806e77526c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot057825a9fde690/javablobblobservicesasnetworktestblobsnapshot136413f6bd2f", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot090337d0cbb8ce/javablobblobservicesasnetworktestblobsnapshot1276452fb522", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4f682785-9445-4a1b-a2e8-ab520f9737d5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ed8c453a-fad1-4b3e-af03-295f579950c5", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:34 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3C9AEB92", + "ETag" : "0x8D78A5AE83D14E6", "Content-Length" : "0", - "x-ms-request-id" : "d921dd27-401e-0028-44b3-a3f393000000", - "x-ms-client-request-id" : "4f682785-9445-4a1b-a2e8-ab520f9737d5" + "x-ms-request-id" : "af5f4497-201e-003e-4843-bc0544000000", + "x-ms-client-request-id" : "ed8c453a-fad1-4b3e-af03-295f579950c5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot057825a9fde690/javablobblobservicesasnetworktestblobsnapshot136413f6bd2f?comp=snapshot", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot090337d0cbb8ce/javablobblobservicesasnetworktestblobsnapshot1276452fb522?comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c8870872-28d4-45f8-8ae0-6009013eebfb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b99fd0f-af54-48c3-99e5-e5ec9b097423" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-11-25T17:09:31.1292895Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-26T23:25:34.5111461Z", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3C9AEB92", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "ETag" : "0x8D78A5AE83D14E6", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a24bc-a01e-0020-44b3-a3e99c000000", + "x-ms-request-id" : "af5f449b-201e-003e-4c43-bc0544000000", "x-ms-request-server-encrypted" : "false", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", - "x-ms-client-request-id" : "c8870872-28d4-45f8-8ae0-6009013eebfb" + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", + "x-ms-client-request-id" : "8b99fd0f-af54-48c3-99e5-e5ec9b097423" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot057825a9fde690/javablobblobservicesasnetworktestblobsnapshot136413f6bd2f?sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A31Z&se=2019-11-26T17%3A09%3A31Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot090337d0cbb8ce/javablobblobservicesasnetworktestblobsnapshot1276452fb522?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A34Z&se=2019-12-27T23%3A25%3A34Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "171103a0-02b8-4b2b-8188-de23e67beab2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d0a9183-594a-4722-81a4-229ed051b9ec" }, "Response" : { "Server" : "Microsoft-HTTPAPI/2.0", @@ -82,58 +82,58 @@ "retry-after" : "0", "Content-Length" : "447", "StatusCode" : "403", - "x-ms-request-id" : "d921dd2f-401e-0028-4bb3-a3f393000000", - "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:d921dd2f-401e-0028-4bb3-a3f393000000\nTime:2019-11-25T17:09:31.2147725ZThe specified signed resource is not allowed for the this resource level", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", + "x-ms-request-id" : "af5f44a0-201e-003e-5143-bc0544000000", + "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:af5f44a0-201e-003e-5143-bc0544000000\nTime:2019-12-26T23:25:34.6187765ZThe specified signed resource is not allowed for the this resource level", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot057825a9fde690/javablobblobservicesasnetworktestblobsnapshot136413f6bd2f?snapshot=2019-11-25T17%3a09%3a31.1292895Z&sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A31Z&se=2019-11-26T17%3A09%3A31Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot090337d0cbb8ce/javablobblobservicesasnetworktestblobsnapshot1276452fb522?snapshot=2019-12-26T23%3a25%3a34.5111461Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A34Z&se=2019-12-27T23%3A25%3A34Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "acdff660-793e-45f4-b116-9deb5acab1d3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06d16936-8be2-4d81-9f5b-107f826f72b1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:34 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D771CA3C9AEB92", + "ETag" : "0x8D78A5AE83D14E6", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:31 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:34 GMT", "Content-Length" : "7", - "x-ms-request-id" : "329a24c3-a01e-0020-47b3-a3e99c000000", + "x-ms-request-id" : "af5f44aa-201e-003e-5443-bc0544000000", "Body" : "default", - "x-ms-client-request-id" : "acdff660-793e-45f4-b116-9deb5acab1d3", + "x-ms-client-request-id" : "06d16936-8be2-4d81-9f5b-107f826f72b1", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot057825a9fde690/javablobblobservicesasnetworktestblobsnapshot136413f6bd2f?snapshot=2019-11-25T17%3a09%3a31.1292895Z&sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A31Z&se=2019-11-26T17%3A09%3A31Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot090337d0cbb8ce/javablobblobservicesasnetworktestblobsnapshot1276452fb522?snapshot=2019-12-26T23%3a25%3a34.5111461Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A34Z&se=2019-12-27T23%3A25%3A34Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "08758b9e-a78e-42d6-9962-b47a8b017b7c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ee8c2e9d-a9ca-4349-8d29-8c5c6b75328b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:34 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", @@ -141,57 +141,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D771CA3C9AEB92", + "ETag" : "0x8D78A5AE83D14E6", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:31 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:34 GMT", "Content-Length" : "7", - "x-ms-request-id" : "d921dd37-401e-0028-53b3-a3f393000000", - "x-ms-client-request-id" : "08758b9e-a78e-42d6-9962-b47a8b017b7c", + "x-ms-request-id" : "af5f44af-201e-003e-5943-bc0544000000", + "x-ms-client-request-id" : "ee8c2e9d-a9ca-4349-8d29-8c5c6b75328b", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcblobservicesasnetworktestblobsnapshot&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcblobservicesasnetworktestblobsnapshot&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9470105e-7885-4f46-812f-51b073db267a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "28f2a14c-5c8c-4e86-84f8-e333c337629b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a24c4-a01e-0020-48b3-a3e99c000000", - "Body" : "jtcblobservicesasnetworktestblobsnapshotjtcblobservicesasnetworktestblobsnapshot057825a9fde690Mon, 25 Nov 2019 17:09:30 GMT\"0x8D771CA3C8E00AF\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", - "x-ms-client-request-id" : "9470105e-7885-4f46-812f-51b073db267a", + "x-ms-request-id" : "af5f44b5-201e-003e-5f43-bc0544000000", + "Body" : "jtcblobservicesasnetworktestblobsnapshotjtcblobservicesasnetworktestblobsnapshot090337d0cbb8ceThu, 26 Dec 2019 23:25:34 GMT\"0x8D78A5AE8301117\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", + "x-ms-client-request-id" : "28f2a14c-5c8c-4e86-84f8-e333c337629b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot057825a9fde690?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcblobservicesasnetworktestblobsnapshot090337d0cbb8ce?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "75a8ba08-34bd-4e3d-9cac-1c64ea4c3a3c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "16ed28ac-6fe5-4b0b-93da-42079f781789" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dd44-401e-0028-5db3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", - "x-ms-client-request-id" : "75a8ba08-34bd-4e3d-9cac-1c64ea4c3a3c" + "x-ms-request-id" : "af5f44b9-201e-003e-6343-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:34 GMT", + "x-ms-client-request-id" : "16ed28ac-6fe5-4b0b-93da-42079f781789" }, "Exception" : null } ], - "variables" : [ "jtcblobservicesasnetworktestblobsnapshot057825a9fde690", "javablobblobservicesasnetworktestblobsnapshot136413f6bd2f", "2019-11-25T17:09:31.104721500Z", "2019-11-25T17:09:31.104721500Z" ] + "variables" : [ "jtcblobservicesasnetworktestblobsnapshot090337d0cbb8ce", "javablobblobservicesasnetworktestblobsnapshot1276452fb522", "2019-12-26T23:25:34.556373700Z", "2019-12-26T23:25:34.556373700Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateillegalargument.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateillegalargument.json index 597a5de858bca..d4eb2449c656e 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateillegalargument.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateillegalargument.json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateillegalargument079451bb4ed7a903b84a?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateillegalargument0627122a7b1eec8db448?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c829f9c-6441-4ffe-abb5-089597b1b5f1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "10eeefc1-f2ae-4161-ac36-0b4b73ca16c7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3F6F36E1", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:35 GMT", + "ETag" : "0x8D78A5AEB30081A", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2538-a01e-0020-20b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "1c829f9c-6441-4ffe-abb5-089597b1b5f1" + "x-ms-request-id" : "af5f4594-201e-003e-2c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", + "x-ms-client-request-id" : "10eeefc1-f2ae-4161-ac36-0b4b73ca16c7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateillegalargument079451bb4ed7a903b84a/javablobensurestateillegalargument1735024ef73b455fa", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateillegalargument0627122a7b1eec8db448/javablobensurestateillegalargument1932385554c3b2118", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5966c7ad-6979-488e-9423-f464a2492962", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d21877b-9b12-4300-bccf-d9327fb2afaa", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:35 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:39 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3F7C3A0F", + "ETag" : "0x8D78A5AEB3CE936", "Content-Length" : "0", - "x-ms-request-id" : "d921dde0-401e-0028-63b3-a3f393000000", - "x-ms-client-request-id" : "5966c7ad-6979-488e-9423-f464a2492962" + "x-ms-request-id" : "af5f459a-201e-003e-3043-bc0544000000", + "x-ms-client-request-id" : "7d21877b-9b12-4300-bccf-d9327fb2afaa" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcensurestateillegalargument&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcensurestateillegalargument&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a42eedd9-5026-415a-b105-bf33f01f3d5a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93bc3949-7079-4c83-9597-08e237d90177" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a253a-a01e-0020-21b3-a3e99c000000", - "Body" : "jtcensurestateillegalargumentjtcensurestateillegalargument079451bb4ed7a903b84aMon, 25 Nov 2019 17:09:35 GMT\"0x8D771CA3F6F36E1\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "a42eedd9-5026-415a-b105-bf33f01f3d5a", + "x-ms-request-id" : "af5f459b-201e-003e-3143-bc0544000000", + "Body" : "jtcensurestateillegalargumentjtcensurestateillegalargument0627122a7b1eec8db448Thu, 26 Dec 2019 23:25:39 GMT\"0x8D78A5AEB30081A\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", + "x-ms-client-request-id" : "93bc3949-7079-4c83-9597-08e237d90177", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateillegalargument079451bb4ed7a903b84a?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateillegalargument0627122a7b1eec8db448?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a2958187-6472-4e14-9053-9992d83790dd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "61001449-bb72-4930-8da5-153c1b77c764" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dde3-401e-0028-66b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "a2958187-6472-4e14-9053-9992d83790dd" + "x-ms-request-id" : "af5f459e-201e-003e-3443-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", + "x-ms-client-request-id" : "61001449-bb72-4930-8da5-153c1b77c764" }, "Exception" : null } ], - "variables" : [ "jtcensurestateillegalargument079451bb4ed7a903b84a", "javablobensurestateillegalargument1735024ef73b455fa" ] + "variables" : [ "jtcensurestateillegalargument0627122a7b1eec8db448", "javablobensurestateillegalargument1932385554c3b2118" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[0].json index 4be15ef722537..9a00f6bddde30 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[0].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission044225f9396c21d36?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission081701b73b1111d0a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "841416d0-62a4-4995-bc4f-d0b429e8525b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2fb04901-fcc2-416d-aef9-634fa1f31a44" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3FA56F75", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:36 GMT", + "ETag" : "0x8D78A5AEB73062A", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2546-a01e-0020-2ab3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "841416d0-62a4-4995-bc4f-d0b429e8525b" + "x-ms-request-id" : "af5f45a5-201e-003e-3b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", + "x-ms-client-request-id" : "2fb04901-fcc2-416d-aef9-634fa1f31a44" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission044225f9396c21d36/javablobensurestateresourceandpermission19187238b020bb", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission081701b73b1111d0a/javablobensurestateresourceandpermission1849849c1a19d7", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1df17c3d-27b1-4e78-bf4b-9d688c900d95", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c483e83-e7c1-4fd0-b8a1-58a1fb72436c", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:36 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:39 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3FB23DF3", + "ETag" : "0x8D78A5AEB811DD9", "Content-Length" : "0", - "x-ms-request-id" : "d921dde9-401e-0028-6cb3-a3f393000000", - "x-ms-client-request-id" : "1df17c3d-27b1-4e78-bf4b-9d688c900d95" + "x-ms-request-id" : "af5f45aa-201e-003e-3f43-bc0544000000", + "x-ms-client-request-id" : "7c483e83-e7c1-4fd0-b8a1-58a1fb72436c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcensurestateresourceandpermission&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcensurestateresourceandpermission&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e4b1464c-d4f6-4ab7-918b-2f3a28da8ced" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d61f904-bc28-496d-a360-c07bc753157a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2549-a01e-0020-2cb3-a3e99c000000", - "Body" : "jtcensurestateresourceandpermissionjtcensurestateresourceandpermission044225f9396c21d36Mon, 25 Nov 2019 17:09:36 GMT\"0x8D771CA3FA56F75\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "e4b1464c-d4f6-4ab7-918b-2f3a28da8ced", + "x-ms-request-id" : "af5f45b3-201e-003e-4843-bc0544000000", + "Body" : "jtcensurestateresourceandpermissionjtcensurestateresourceandpermission081701b73b1111d0aThu, 26 Dec 2019 23:25:39 GMT\"0x8D78A5AEB73062A\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "3d61f904-bc28-496d-a360-c07bc753157a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission044225f9396c21d36?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission081701b73b1111d0a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2828ab16-2b9f-44ce-8dd9-a96b66ee39ff" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b2ade96-ced0-4f48-b69b-bee5c7a3f860" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921ddeb-401e-0028-6eb3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "2828ab16-2b9f-44ce-8dd9-a96b66ee39ff" + "x-ms-request-id" : "af5f45b7-201e-003e-4c43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "8b2ade96-ced0-4f48-b69b-bee5c7a3f860" }, "Exception" : null } ], - "variables" : [ "jtcensurestateresourceandpermission044225f9396c21d36", "javablobensurestateresourceandpermission19187238b020bb" ] + "variables" : [ "jtcensurestateresourceandpermission081701b73b1111d0a", "javablobensurestateresourceandpermission1849849c1a19d7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[1].json index dc1fa056ca50b..bc6e5380a6198 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[1].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission067424a73973c26da?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission0682526ec08673bbf?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1f73436c-0907-4d87-b210-c7a49431fe85" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "25bc3e00-81cc-41e2-be08-4071fb17ae53" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3FD90C4B", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:36 GMT", + "ETag" : "0x8D78A5AEBB16D1F", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2550-a01e-0020-31b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "1f73436c-0907-4d87-b210-c7a49431fe85" + "x-ms-request-id" : "af5f45bd-201e-003e-5243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "25bc3e00-81cc-41e2-be08-4071fb17ae53" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission067424a73973c26da/javablobensurestateresourceandpermission162311a8707d07", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission0682526ec08673bbf/javablobensurestateresourceandpermission19660869f7ca85", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c3c3191d-b7e1-47db-95d8-5452fadf39f6", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0175e76d-9827-4ed8-83dc-1642beb16e1c", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:36 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:40 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3FE5F812", + "ETag" : "0x8D78A5AEBBE5052", "Content-Length" : "0", - "x-ms-request-id" : "d921ddef-401e-0028-72b3-a3f393000000", - "x-ms-client-request-id" : "c3c3191d-b7e1-47db-95d8-5452fadf39f6" + "x-ms-request-id" : "af5f45c3-201e-003e-5743-bc0544000000", + "x-ms-client-request-id" : "0175e76d-9827-4ed8-83dc-1642beb16e1c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcensurestateresourceandpermission&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcensurestateresourceandpermission&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1126774b-1c92-4126-934e-1c03315d7c6c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f04d9690-9d67-438d-8a5b-a476e1b8fb49" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2554-a01e-0020-34b3-a3e99c000000", - "Body" : "jtcensurestateresourceandpermissionjtcensurestateresourceandpermission067424a73973c26daMon, 25 Nov 2019 17:09:36 GMT\"0x8D771CA3FD90C4B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "1126774b-1c92-4126-934e-1c03315d7c6c", + "x-ms-request-id" : "af5f45cb-201e-003e-5f43-bc0544000000", + "Body" : "jtcensurestateresourceandpermissionjtcensurestateresourceandpermission0682526ec08673bbfThu, 26 Dec 2019 23:25:40 GMT\"0x8D78A5AEBB16D1F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "f04d9690-9d67-438d-8a5b-a476e1b8fb49", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission067424a73973c26da?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission0682526ec08673bbf?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ac57f5c2-423d-4eb2-97d8-4ec29758137d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "894b43c6-76f8-4ba5-9826-9f0b845826e6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921ddf4-401e-0028-76b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "ac57f5c2-423d-4eb2-97d8-4ec29758137d" + "x-ms-request-id" : "af5f45ce-201e-003e-6243-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "894b43c6-76f8-4ba5-9826-9f0b845826e6" }, "Exception" : null } ], - "variables" : [ "jtcensurestateresourceandpermission067424a73973c26da", "javablobensurestateresourceandpermission162311a8707d07" ] + "variables" : [ "jtcensurestateresourceandpermission0682526ec08673bbf", "javablobensurestateresourceandpermission19660869f7ca85" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[2].json index 82952fb9ad4b9..5f608817ec58a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateresourceandpermission[2].json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission007063c512bf3c775?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission092160ec0cb1a58e1?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5a3fb7d4-b1f0-49d8-901e-64ecef188895" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab2797af-d7ee-4abf-8151-efc0e3d1b66f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA400D95C5", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:36 GMT", + "ETag" : "0x8D78A5AEBE810CB", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a2558-a01e-0020-37b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "5a3fb7d4-b1f0-49d8-901e-64ecef188895" + "x-ms-request-id" : "af5f45d2-201e-003e-6643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "ab2797af-d7ee-4abf-8151-efc0e3d1b66f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission007063c512bf3c775/javablobensurestateresourceandpermission186155a746a144", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission092160ec0cb1a58e1/javablobensurestateresourceandpermission137011883e12f4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c8486568-bb4c-452a-b044-8619e01d0395", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d9e240f6-1d31-4158-890f-26cb83ad6fd4", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:36 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:40 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA401AEB2B", + "ETag" : "0x8D78A5AEBF58AC2", "Content-Length" : "0", - "x-ms-request-id" : "d921ddfc-401e-0028-7db3-a3f393000000", - "x-ms-client-request-id" : "c8486568-bb4c-452a-b044-8619e01d0395" + "x-ms-request-id" : "af5f45d7-201e-003e-6a43-bc0544000000", + "x-ms-client-request-id" : "d9e240f6-1d31-4158-890f-26cb83ad6fd4" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcensurestateresourceandpermission&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcensurestateresourceandpermission&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "161e87f7-ac8e-4bf1-9dfb-404a81fc2fb9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f7d7454c-e9b7-4a4b-9fbc-d4e4349171e8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a255c-a01e-0020-3ab3-a3e99c000000", - "Body" : "jtcensurestateresourceandpermissionjtcensurestateresourceandpermission007063c512bf3c775Mon, 25 Nov 2019 17:09:36 GMT\"0x8D771CA400D95C5\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "161e87f7-ac8e-4bf1-9dfb-404a81fc2fb9", + "x-ms-request-id" : "af5f45dc-201e-003e-6f43-bc0544000000", + "Body" : "jtcensurestateresourceandpermissionjtcensurestateresourceandpermission092160ec0cb1a58e1Thu, 26 Dec 2019 23:25:40 GMT\"0x8D78A5AEBE810CB\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "f7d7454c-e9b7-4a4b-9fbc-d4e4349171e8", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateresourceandpermission007063c512bf3c775?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateresourceandpermission092160ec0cb1a58e1?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "92c86545-8830-4904-8ec1-11b3cbd93f10" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "25196968-0a6a-4903-918b-9d5d4becb344" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921de03-401e-0028-04b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:36 GMT", - "x-ms-client-request-id" : "92c86545-8830-4904-8ec1-11b3cbd93f10" + "x-ms-request-id" : "af5f45e2-201e-003e-7543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:40 GMT", + "x-ms-client-request-id" : "25196968-0a6a-4903-918b-9d5d4becb344" }, "Exception" : null } ], - "variables" : [ "jtcensurestateresourceandpermission007063c512bf3c775", "javablobensurestateresourceandpermission186155a746a144" ] + "variables" : [ "jtcensurestateresourceandpermission092160ec0cb1a58e1", "javablobensurestateresourceandpermission137011883e12f4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateversion.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateversion.json index 51405130d1922..eb6c37f86a4cb 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateversion.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsensurestateversion.json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateversion0sasclienttestsensurestateversion7ef95525?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateversion0sasclienttestsensurestateversiona9f29693?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "32b2ae0f-3b31-4b50-b3ac-b1699511af61" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "69c3c97e-c302-457b-8ff4-8f6215e93fc3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3F383C56", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:35 GMT", + "ETag" : "0x8D78A5AEAE98AA1", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a252f-a01e-0020-1ab3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "32b2ae0f-3b31-4b50-b3ac-b1699511af61" + "x-ms-request-id" : "af5f457f-201e-003e-1a43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:37 GMT", + "x-ms-client-request-id" : "69c3c97e-c302-457b-8ff4-8f6215e93fc3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateversion0sasclienttestsensurestateversion7ef95525/javablobensurestateversion1174573473b33f9153412", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateversion0sasclienttestsensurestateversiona9f29693/javablobensurestateversion15832427008812e6a1448", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "141b6a76-1c5a-4b9b-93df-653a5295b9bc", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5b7ee6e6-8180-4a88-bc12-09d2250ea529", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:35 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:39 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3F45E7E2", + "ETag" : "0x8D78A5AEAF7F0B3", "Content-Length" : "0", - "x-ms-request-id" : "d921ddd9-401e-0028-5cb3-a3f393000000", - "x-ms-client-request-id" : "141b6a76-1c5a-4b9b-93df-653a5295b9bc" + "x-ms-request-id" : "af5f4583-201e-003e-1d43-bc0544000000", + "x-ms-client-request-id" : "5b7ee6e6-8180-4a88-bc12-09d2250ea529" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcensurestateversion&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcensurestateversion&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3baba14d-bbff-4dc9-ba14-186800eb83aa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "08873950-d8a0-4bb7-96e1-534d298a3d87" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2536-a01e-0020-1eb3-a3e99c000000", - "Body" : "jtcensurestateversionjtcensurestateversion0sasclienttestsensurestateversion7ef95525Mon, 25 Nov 2019 17:09:35 GMT\"0x8D771CA3F383C56\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "3baba14d-bbff-4dc9-ba14-186800eb83aa", + "x-ms-request-id" : "af5f4588-201e-003e-2243-bc0544000000", + "Body" : "jtcensurestateversionjtcensurestateversion0sasclienttestsensurestateversiona9f29693Thu, 26 Dec 2019 23:25:38 GMT\"0x8D78A5AEAE98AA1\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", + "x-ms-client-request-id" : "08873950-d8a0-4bb7-96e1-534d298a3d87", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcensurestateversion0sasclienttestsensurestateversion7ef95525?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcensurestateversion0sasclienttestsensurestateversiona9f29693?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7a92f80f-bbbb-4883-b79f-a8d0dbba9c03" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "722309c3-2ac9-42f0-bf1f-90df860d6dc0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dddd-401e-0028-60b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:35 GMT", - "x-ms-client-request-id" : "7a92f80f-bbbb-4883-b79f-a8d0dbba9c03" + "x-ms-request-id" : "af5f458c-201e-003e-2643-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:39 GMT", + "x-ms-client-request-id" : "722309c3-2ac9-42f0-bf1f-90df860d6dc0" }, "Exception" : null } ], - "variables" : [ "jtcensurestateversion0sasclienttestsensurestateversion7ef95525", "javablobensurestateversion1174573473b33f9153412" ] + "variables" : [ "jtcensurestateversion0sasclienttestsensurestateversiona9f29693", "javablobensurestateversion15832427008812e6a1448" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsas.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsas.json index a9cd35dee6a5d..5e9d5fff565c7 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsas.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsas.json @@ -1,100 +1,100 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas20158403?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas2ad96003?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ca96f59b-6c9c-460b-a023-8c66928ca518" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9633bdf4-fafe-4fd5-9633-adcf00695107" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA39C4C7A9", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:26 GMT", + "ETag" : "0x8D78A5AE45E80BA", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a23d7-a01e-0020-74b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:25 GMT", - "x-ms-client-request-id" : "ca96f59b-6c9c-460b-a023-8c66928ca518" + "x-ms-request-id" : "9ae924b0-d01e-002a-6b43-bc4d2b000000", + "Date" : "Thu, 26 Dec 2019 23:25:27 GMT", + "x-ms-client-request-id" : "9633bdf4-fafe-4fd5-9633-adcf00695107" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas20158403/javablobnetworktestblobsas169768633e6e3cc62e49b", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas2ad96003/javablobnetworktestblobsas197118003aaad0d492466", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b6e58c52-3095-4e76-b9fe-36dff3809899", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "481a3a18-953a-41c3-bd07-7886890493f2", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:26 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:28 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:25 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:27 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA39E5B692", + "ETag" : "0x8D78A5AE481E05A", "Content-Length" : "0", - "x-ms-request-id" : "329a23dd-a01e-0020-77b3-a3e99c000000", - "x-ms-client-request-id" : "b6e58c52-3095-4e76-b9fe-36dff3809899" + "x-ms-request-id" : "9ae924be-d01e-002a-7743-bc4d2b000000", + "x-ms-client-request-id" : "481a3a18-953a-41c3-bd07-7886890493f2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas20158403/javablobnetworktestblobsas169768633e6e3cc62e49b?sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A26Z&se=2019-11-26T17%3A09%3A26Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas2ad96003/javablobnetworktestblobsas197118003aaad0d492466?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A28Z&se=2019-12-27T23%3A25%3A28Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "30576ea7-5b42-4468-80bb-7edcf0dd033d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "07036962-fe5b-4935-bdc5-7b1fc7b64833" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:26 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:28 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:25 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:27 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D771CA39E5B692", + "ETag" : "0x8D78A5AE481E05A", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:26 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:28 GMT", "Content-Length" : "7", - "x-ms-request-id" : "329a23df-a01e-0020-79b3-a3e99c000000", + "x-ms-request-id" : "9ae924c3-d01e-002a-7c43-bc4d2b000000", "Body" : "default", - "x-ms-client-request-id" : "30576ea7-5b42-4468-80bb-7edcf0dd033d", + "x-ms-client-request-id" : "07036962-fe5b-4935-bdc5-7b1fc7b64833", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas20158403/javablobnetworktestblobsas169768633e6e3cc62e49b?sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A26Z&se=2019-11-26T17%3A09%3A26Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas2ad96003/javablobnetworktestblobsas197118003aaad0d492466?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A28Z&se=2019-12-27T23%3A25%3A28Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d72f4cf4-04ef-4d3f-be30-a1984f0fc437" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dffb2317-f67f-40c4-a4fc-59b21a6c0595" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:26 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:28 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:25 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:27 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", @@ -102,57 +102,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D771CA39E5B692", + "ETag" : "0x8D78A5AE481E05A", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:26 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:28 GMT", "Content-Length" : "7", - "x-ms-request-id" : "329a23e1-a01e-0020-7bb3-a3e99c000000", - "x-ms-client-request-id" : "d72f4cf4-04ef-4d3f-be30-a1984f0fc437", + "x-ms-request-id" : "9ae924cb-d01e-002a-0343-bc4d2b000000", + "x-ms-client-request-id" : "dffb2317-f67f-40c4-a4fc-59b21a6c0595", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcnetworktestblobsas&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcnetworktestblobsas&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b506eaa-4fb3-4f28-ba44-c737a34271b2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b142ad4-988b-495f-a09c-8a87a920b31c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a23e3-a01e-0020-7db3-a3e99c000000", - "Body" : "jtcnetworktestblobsasjtcnetworktestblobsas0sasclienttestsnetworktestblobsas20158403Mon, 25 Nov 2019 17:09:26 GMT\"0x8D771CA39C4C7A9\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", - "x-ms-client-request-id" : "2b506eaa-4fb3-4f28-ba44-c737a34271b2", + "x-ms-request-id" : "9ae924d1-d01e-002a-0943-bc4d2b000000", + "Body" : "jtcnetworktestblobsasjtcnetworktestblobsas0sasclienttestsnetworktestblobsas2ad96003Thu, 26 Dec 2019 23:25:27 GMT\"0x8D78A5AE45E80BA\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:27 GMT", + "x-ms-client-request-id" : "8b142ad4-988b-495f-a09c-8a87a920b31c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas20158403?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsas0sasclienttestsnetworktestblobsas2ad96003?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6032dbfd-d5fa-4b2f-b2f6-3029aa80f231" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "adeb6f02-f5fe-4667-a547-3a6574ca464b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "329a23e4-a01e-0020-7eb3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", - "x-ms-client-request-id" : "6032dbfd-d5fa-4b2f-b2f6-3029aa80f231" + "x-ms-request-id" : "9ae924db-d01e-002a-1143-bc4d2b000000", + "Date" : "Thu, 26 Dec 2019 23:25:28 GMT", + "x-ms-client-request-id" : "adeb6f02-f5fe-4667-a547-3a6574ca464b" }, "Exception" : null } ], - "variables" : [ "jtcnetworktestblobsas0sasclienttestsnetworktestblobsas20158403", "javablobnetworktestblobsas169768633e6e3cc62e49b", "2019-11-25T17:09:26.498760400Z", "2019-11-25T17:09:26.501760400Z" ] + "variables" : [ "jtcnetworktestblobsas0sasclienttestsnetworktestblobsas2ad96003", "javablobnetworktestblobsas197118003aaad0d492466", "2019-12-26T23:25:28.230309Z", "2019-12-26T23:25:28.239275200Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsnapshot.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsnapshot.json index 6ac33e16ac1fd..59f5a1f2e06a3 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsnapshot.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsnapshot.json @@ -1,144 +1,144 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshot02540570aba2cd3d9e46f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshot02616095180d82126f432?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e09679a2-45d3-4bff-bdb6-f108d225fc1e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "484b2664-1a9c-40cb-a2e1-f3bb325513fe" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3A49A677", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:27 GMT", + "ETag" : "0x8D78A5AE4F590D9", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a23e8-a01e-0020-02b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", - "x-ms-client-request-id" : "e09679a2-45d3-4bff-bdb6-f108d225fc1e" + "x-ms-request-id" : "9ae924e0-d01e-002a-1543-bc4d2b000000", + "Date" : "Thu, 26 Dec 2019 23:25:28 GMT", + "x-ms-client-request-id" : "484b2664-1a9c-40cb-a2e1-f3bb325513fe" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshot02540570aba2cd3d9e46f/javablobnetworktestblobsnapshot102035629499e132984", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshot02616095180d82126f432/javablobnetworktestblobsnapshot183187f4294a7c9bb94", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d11846ca-8d30-4a33-a0af-104f7c7230c6", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7fc626b4-d991-4e6a-a6d7-f0c61659fc71", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:27 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:29 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:28 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3A58C3C2", + "ETag" : "0x8D78A5AE52AF1E2", "Content-Length" : "0", - "x-ms-request-id" : "329a23ec-a01e-0020-05b3-a3e99c000000", - "x-ms-client-request-id" : "d11846ca-8d30-4a33-a0af-104f7c7230c6" + "x-ms-request-id" : "af5f4380-201e-003e-4343-bc0544000000", + "x-ms-client-request-id" : "7fc626b4-d991-4e6a-a6d7-f0c61659fc71" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshot02540570aba2cd3d9e46f/javablobnetworktestblobsnapshot2668120224a37c98254", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshot02616095180d82126f432/javablobnetworktestblobsnapshot2195251344a4ef6a7a4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e101a62d-b820-4910-9d33-55239c439a9b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7e7610a4-3b28-4c0c-8bf7-f6e0b8d5ec78", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "Q7G6/s6+u/k=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:27 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:29 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:28 GMT", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", - "ETag" : "0x8D771CA3A68A2A6", + "ETag" : "0x8D78A5AE53D42EA", "Content-Length" : "0", - "x-ms-request-id" : "329a23ed-a01e-0020-06b3-a3e99c000000", - "x-ms-client-request-id" : "e101a62d-b820-4910-9d33-55239c439a9b" + "x-ms-request-id" : "af5f438c-201e-003e-4e43-bc0544000000", + "x-ms-client-request-id" : "7e7610a4-3b28-4c0c-8bf7-f6e0b8d5ec78" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshot02540570aba2cd3d9e46f/javablobnetworktestblobsnapshot2668120224a37c98254?comp=snapshot", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshot02616095180d82126f432/javablobnetworktestblobsnapshot2195251344a4ef6a7a4?comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e6e9613-eefb-49c4-a848-213edd0f8047" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6577dba2-ab72-4982-9c35-20fca99e972e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-11-25T17:09:27.4562807Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-26T23:25:29.5371657Z", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3A68A2A6", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:27 GMT", + "ETag" : "0x8D78A5AE53D42EA", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a23ef-a01e-0020-08b3-a3e99c000000", + "x-ms-request-id" : "af5f4393-201e-003e-5443-bc0544000000", "x-ms-request-server-encrypted" : "false", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", - "x-ms-client-request-id" : "4e6e9613-eefb-49c4-a848-213edd0f8047" + "Date" : "Thu, 26 Dec 2019 23:25:28 GMT", + "x-ms-client-request-id" : "6577dba2-ab72-4982-9c35-20fca99e972e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshot02540570aba2cd3d9e46f/javablobnetworktestblobsnapshot2668120224a37c98254?snapshot=2019-11-25T17%3a09%3a27.4562807Z&sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A27Z&se=2019-11-26T17%3A09%3A27Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshot02616095180d82126f432/javablobnetworktestblobsnapshot2195251344a4ef6a7a4?snapshot=2019-12-26T23%3a25%3a29.5371657Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A29Z&se=2019-12-27T23%3A25%3A29Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "de5631bd-d957-40ac-8348-a6a66856921e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "78309af2-df1b-4d1e-8d3b-95e1cdcd599f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:27 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:29 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:28 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D771CA3A68A2A6", + "ETag" : "0x8D78A5AE53D42EA", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:27 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:29 GMT", "Content-Length" : "4", - "x-ms-request-id" : "329a23f0-a01e-0020-09b3-a3e99c000000", + "x-ms-request-id" : "af5f439c-201e-003e-5d43-bc0544000000", "Body" : "test", - "x-ms-client-request-id" : "de5631bd-d957-40ac-8348-a6a66856921e", + "x-ms-client-request-id" : "78309af2-df1b-4d1e-8d3b-95e1cdcd599f", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshot02540570aba2cd3d9e46f/javablobnetworktestblobsnapshot2668120224a37c98254?snapshot=2019-11-25T17%3a09%3a27.4562807Z&sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A27Z&se=2019-11-26T17%3A09%3A27Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshot02616095180d82126f432/javablobnetworktestblobsnapshot2195251344a4ef6a7a4?snapshot=2019-12-26T23%3a25%3a29.5371657Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A29Z&se=2019-12-27T23%3A25%3A29Z&sip=0.0.0.0-255.255.255.255&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1d2832ad-763d-4623-ae69-9b6694ed8a66" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "273c7fc9-e39b-4068-85e1-28fd2817461d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:27 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:29 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:28 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==", "Accept-Ranges" : "bytes", @@ -146,57 +146,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D771CA3A68A2A6", + "ETag" : "0x8D78A5AE53D42EA", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:27 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:29 GMT", "Content-Length" : "4", - "x-ms-request-id" : "329a23f2-a01e-0020-0bb3-a3e99c000000", - "x-ms-client-request-id" : "1d2832ad-763d-4623-ae69-9b6694ed8a66", + "x-ms-request-id" : "af5f43a3-201e-003e-6343-bc0544000000", + "x-ms-client-request-id" : "273c7fc9-e39b-4068-85e1-28fd2817461d", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcnetworktestblobsnapshot&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcnetworktestblobsnapshot&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7fc65b94-64bb-4dc8-be1f-086e9d3e273b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6ee08cab-e675-4a4b-a727-7aed1afee0a3" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a23f3-a01e-0020-0cb3-a3e99c000000", - "Body" : "jtcnetworktestblobsnapshotjtcnetworktestblobsnapshot02540570aba2cd3d9e46fMon, 25 Nov 2019 17:09:27 GMT\"0x8D771CA3A49A677\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:26 GMT", - "x-ms-client-request-id" : "7fc65b94-64bb-4dc8-be1f-086e9d3e273b", + "x-ms-request-id" : "af5f43aa-201e-003e-6a43-bc0544000000", + "Body" : "jtcnetworktestblobsnapshotjtcnetworktestblobsnapshot02616095180d82126f432Thu, 26 Dec 2019 23:25:28 GMT\"0x8D78A5AE4F590D9\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:28 GMT", + "x-ms-client-request-id" : "6ee08cab-e675-4a4b-a727-7aed1afee0a3", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshot02540570aba2cd3d9e46f?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshot02616095180d82126f432?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2af744ba-b0d1-4941-9511-295d592f009e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "462c3165-9d99-4c80-872b-7c4b2f142c76" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dce2-401e-0028-0ab3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", - "x-ms-client-request-id" : "2af744ba-b0d1-4941-9511-295d592f009e" + "x-ms-request-id" : "af5f43af-201e-003e-6f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", + "x-ms-client-request-id" : "462c3165-9d99-4c80-872b-7c4b2f142c76" }, "Exception" : null } ], - "variables" : [ "jtcnetworktestblobsnapshot02540570aba2cd3d9e46f", "javablobnetworktestblobsnapshot102035629499e132984", "javablobnetworktestblobsnapshot2668120224a37c98254", "2019-11-25T17:09:27.443868800Z", "2019-11-25T17:09:27.443868800Z" ] + "variables" : [ "jtcnetworktestblobsnapshot02616095180d82126f432", "javablobnetworktestblobsnapshot183187f4294a7c9bb94", "javablobnetworktestblobsnapshot2195251344a4ef6a7a4", "2019-12-26T23:25:29.601758100Z", "2019-12-26T23:25:29.601758100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsnapshotuserdelegation.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsnapshotuserdelegation.json index d78c4cd4f8fd4..6d4a5aef74df9 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsnapshotuserdelegation.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobsnapshotuserdelegation.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation03840477362e2e?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation084874bee1d187?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b5d79c61-b4f7-4d5f-8c45-49b85715b9e4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1f7bae41-095c-43c1-a573-2f59d8dbcbef" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3CF78BD8", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "ETag" : "0x8D78A5AE8A0103D", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a24c9-a01e-0020-4db3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", - "x-ms-client-request-id" : "b5d79c61-b4f7-4d5f-8c45-49b85715b9e4" + "x-ms-request-id" : "af5f44bf-201e-003e-6943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:34 GMT", + "x-ms-client-request-id" : "1f7bae41-095c-43c1-a573-2f59d8dbcbef" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation03840477362e2e/javablobnetworktestblobsnapshotuserdelegation120014caa048", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation084874bee1d187/javablobnetworktestblobsnapshotuserdelegation1598191bed1e", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2f41707f-4757-4141-af74-0b2bd05112cb", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d67442f9-2482-4fdb-a15b-af94ed0b8c2c", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:35 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:34 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3D04AA2E", + "ETag" : "0x8D78A5AE8AD64D2", "Content-Length" : "0", - "x-ms-request-id" : "d921dd4f-401e-0028-66b3-a3f393000000", - "x-ms-client-request-id" : "2f41707f-4757-4141-af74-0b2bd05112cb" + "x-ms-request-id" : "af5f44c3-201e-003e-6c43-bc0544000000", + "x-ms-client-request-id" : "d67442f9-2482-4fdb-a15b-af94ed0b8c2c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation03840477362e2e/javablobnetworktestblobsnapshotuserdelegation120014caa048?comp=snapshot", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation084874bee1d187/javablobnetworktestblobsnapshotuserdelegation1598191bed1e?comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1d5053ed-4914-4814-9a67-22873929f97f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9ac082eb-4b36-4d51-a305-d49eb2e0b42d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-11-25T17:09:31.8122954Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-26T23:25:35.2411590Z", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3D04AA2E", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "ETag" : "0x8D78A5AE8AD64D2", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a24e4-a01e-0020-65b3-a3e99c000000", + "x-ms-request-id" : "af5f44c7-201e-003e-7043-bc0544000000", "x-ms-request-server-encrypted" : "false", - "Date" : "Mon, 25 Nov 2019 17:09:30 GMT", - "x-ms-client-request-id" : "1d5053ed-4914-4814-9a67-22873929f97f" + "Date" : "Thu, 26 Dec 2019 23:25:34 GMT", + "x-ms-client-request-id" : "9ac082eb-4b36-4d51-a305-d49eb2e0b42d" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://gapradev.blob.core.windows.net?restype=service&comp=userdelegationkey", + "Uri" : "https://gaprastg71.blob.core.windows.net?restype=service&comp=userdelegationkey", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ecc43eea-ef70-43ee-b58a-bb7fde027d34", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2763442c-4e91-4cb3-8863-121984e866ed", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921dd5f-401e-0028-73b3-a3f393000000", - "Body" : "7a56bc7f-2460-439c-8e22-cc8f44b161238ef2432d-93d8-4e9a-a756-f9a8ee5544d72019-11-24T17:09:31Z2019-11-26T17:09:31Zb2019-02-02UkVEQUNURUQ=", - "Date" : "Mon, 25 Nov 2019 17:09:32 GMT", - "x-ms-client-request-id" : "ecc43eea-ef70-43ee-b58a-bb7fde027d34", + "x-ms-request-id" : "af5f44d9-201e-003e-0143-bc0544000000", + "Body" : "437e1714-e912-44cf-a415-6d8fad707c40e7c59a1e-04b8-4c13-8f03-9c9bd438d8b92019-12-25T23:25:35Z2019-12-27T23:25:35Zb2019-07-07UkVEQUNURUQ=", + "Date" : "Thu, 26 Dec 2019 23:25:34 GMT", + "x-ms-client-request-id" : "2763442c-4e91-4cb3-8863-121984e866ed", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation03840477362e2e/javablobnetworktestblobsnapshotuserdelegation120014caa048?sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A31Z&se=2019-11-26T17%3A09%3A31Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-11-24T17%3A09%3A31Z&ske=2019-11-26T17%3A09%3A31Z&sks=b&skv=2019-02-02&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation084874bee1d187/javablobnetworktestblobsnapshotuserdelegation1598191bed1e?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A35Z&se=2019-12-27T23%3A25%3A35Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A35Z&ske=2019-12-27T23%3A25%3A35Z&sks=b&skv=2019-07-07&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f16ddfaa-ba18-4c50-b868-9cbacd3ee66f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9dea4353-e3a7-4046-a254-25cbdce29dd5" }, "Response" : { "Server" : "Microsoft-HTTPAPI/2.0", @@ -104,58 +104,58 @@ "retry-after" : "0", "Content-Length" : "447", "StatusCode" : "403", - "x-ms-request-id" : "329a24eb-a01e-0020-6ab3-a3e99c000000", - "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:329a24eb-a01e-0020-6ab3-a3e99c000000\nTime:2019-11-25T17:09:32.2487938ZThe specified signed resource is not allowed for the this resource level", - "Date" : "Mon, 25 Nov 2019 17:09:32 GMT", + "x-ms-request-id" : "af5f44e1-201e-003e-0643-bc0544000000", + "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:af5f44e1-201e-003e-0643-bc0544000000\nTime:2019-12-26T23:25:35.7498109ZThe specified signed resource is not allowed for the this resource level", + "Date" : "Thu, 26 Dec 2019 23:25:34 GMT", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation03840477362e2e/javablobnetworktestblobsnapshotuserdelegation120014caa048?snapshot=2019-11-25T17%3a09%3a31.8122954Z&sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A31Z&se=2019-11-26T17%3A09%3A31Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-11-24T17%3A09%3A31Z&ske=2019-11-26T17%3A09%3A31Z&sks=b&skv=2019-02-02&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation084874bee1d187/javablobnetworktestblobsnapshotuserdelegation1598191bed1e?snapshot=2019-12-26T23%3a25%3a35.2411590Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A35Z&se=2019-12-27T23%3A25%3A35Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A35Z&ske=2019-12-27T23%3A25%3A35Z&sks=b&skv=2019-07-07&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5671c3f6-b71e-413d-a4a4-09cb0d167615" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5d25087-884a-41b5-9039-739149390a90" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:35 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:32 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:34 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D771CA3D04AA2E", + "ETag" : "0x8D78A5AE8AD64D2", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:31 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:35 GMT", "Content-Length" : "7", - "x-ms-request-id" : "d921dd64-401e-0028-78b3-a3f393000000", + "x-ms-request-id" : "af5f44e6-201e-003e-0a43-bc0544000000", "Body" : "default", - "x-ms-client-request-id" : "5671c3f6-b71e-413d-a4a4-09cb0d167615", + "x-ms-client-request-id" : "f5d25087-884a-41b5-9039-739149390a90", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation03840477362e2e/javablobnetworktestblobsnapshotuserdelegation120014caa048?snapshot=2019-11-25T17%3a09%3a31.8122954Z&sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A31Z&se=2019-11-26T17%3A09%3A31Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-11-24T17%3A09%3A31Z&ske=2019-11-26T17%3A09%3A31Z&sks=b&skv=2019-02-02&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation084874bee1d187/javablobnetworktestblobsnapshotuserdelegation1598191bed1e?snapshot=2019-12-26T23%3a25%3a35.2411590Z&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A35Z&se=2019-12-27T23%3A25%3A35Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A35Z&ske=2019-12-27T23%3A25%3A35Z&sks=b&skv=2019-07-07&sr=bs&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b7b789f-1d56-4420-82a7-e0bc5b77894c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f21456d9-88eb-49df-b0b0-6ff47fa73694" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:31 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:35 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:32 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:34 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", @@ -163,57 +163,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D771CA3D04AA2E", + "ETag" : "0x8D78A5AE8AD64D2", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:31 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:35 GMT", "Content-Length" : "7", - "x-ms-request-id" : "329a24ef-a01e-0020-6db3-a3e99c000000", - "x-ms-client-request-id" : "9b7b789f-1d56-4420-82a7-e0bc5b77894c", + "x-ms-request-id" : "af5f44ea-201e-003e-0e43-bc0544000000", + "x-ms-client-request-id" : "f21456d9-88eb-49df-b0b0-6ff47fa73694", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcnetworktestblobsnapshotuserdelegation&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcnetworktestblobsnapshotuserdelegation&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6d37055a-8740-4595-ab9e-550797ac321c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "820c9022-bcd8-4763-a2bc-2f52ea0ba3e3" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921dd69-401e-0028-7cb3-a3f393000000", - "Body" : "jtcnetworktestblobsnapshotuserdelegationjtcnetworktestblobsnapshotuserdelegation03840477362e2eMon, 25 Nov 2019 17:09:31 GMT\"0x8D771CA3CF78BD8\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:32 GMT", - "x-ms-client-request-id" : "6d37055a-8740-4595-ab9e-550797ac321c", + "x-ms-request-id" : "af5f44ef-201e-003e-1343-bc0544000000", + "Body" : "jtcnetworktestblobsnapshotuserdelegationjtcnetworktestblobsnapshotuserdelegation084874bee1d187Thu, 26 Dec 2019 23:25:35 GMT\"0x8D78A5AE8A0103D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:35 GMT", + "x-ms-client-request-id" : "820c9022-bcd8-4763-a2bc-2f52ea0ba3e3", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation03840477362e2e?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobsnapshotuserdelegation084874bee1d187?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2ca2d15f-5d48-46bb-8a61-3aa7b451d190" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb79aa54-3f8c-41b6-a7c8-308b571158b2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "329a24f5-a01e-0020-70b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:32 GMT", - "x-ms-client-request-id" : "2ca2d15f-5d48-46bb-8a61-3aa7b451d190" + "x-ms-request-id" : "af5f44f5-201e-003e-1943-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:35 GMT", + "x-ms-client-request-id" : "eb79aa54-3f8c-41b6-a7c8-308b571158b2" }, "Exception" : null } ], - "variables" : [ "jtcnetworktestblobsnapshotuserdelegation03840477362e2e", "javablobnetworktestblobsnapshotuserdelegation120014caa048", "2019-11-25T17:09:31.787683Z", "2019-11-25T17:09:31.788682900Z", "2019-11-25T17:09:31.789653800Z", "2019-11-25T17:09:31.789653800Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] + "variables" : [ "jtcnetworktestblobsnapshotuserdelegation084874bee1d187", "javablobnetworktestblobsnapshotuserdelegation1598191bed1e", "2019-12-26T23:25:35.281737900Z", "2019-12-26T23:25:35.281737900Z", "2019-12-26T23:25:35.282704500Z", "2019-12-26T23:25:35.282704500Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobuserdelegation.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobuserdelegation.json index 15edff51784be..525b7534e6ea5 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobuserdelegation.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestblobuserdelegation.json @@ -1,122 +1,122 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobuserdelegation0458840195b4321c51?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobuserdelegation0163137bab0b2ff9fd?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ed069f9e-50c5-4566-9845-5fff88ef61ac" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2ef472dc-3827-43ff-a353-cce5fdec94d0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3B4336A9", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:28 GMT", + "ETag" : "0x8D78A5AE602D029", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d921dcfe-401e-0028-23b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", - "x-ms-client-request-id" : "ed069f9e-50c5-4566-9845-5fff88ef61ac" + "x-ms-request-id" : "af5f43e0-201e-003e-1f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", + "x-ms-client-request-id" : "2ef472dc-3827-43ff-a353-cce5fdec94d0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobuserdelegation0458840195b4321c51/javablobnetworktestblobuserdelegation180269895b752a25", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobuserdelegation0163137bab0b2ff9fd/javablobnetworktestblobuserdelegation172826eac5fe6355", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cc07b576-618a-45eb-9a32-54e5d2ba46ba", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c471912-3e37-4e20-97bb-c50f601cf139", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:28 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:30 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:28 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3B509169", + "ETag" : "0x8D78A5AE610222E", "Content-Length" : "0", - "x-ms-request-id" : "329a2417-a01e-0020-28b3-a3e99c000000", - "x-ms-client-request-id" : "cc07b576-618a-45eb-9a32-54e5d2ba46ba" + "x-ms-request-id" : "af5f43e4-201e-003e-2243-bc0544000000", + "x-ms-client-request-id" : "2c471912-3e37-4e20-97bb-c50f601cf139" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://gapradev.blob.core.windows.net?restype=service&comp=userdelegationkey", + "Uri" : "https://gaprastg71.blob.core.windows.net?restype=service&comp=userdelegationkey", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d666dfef-2455-41b2-bb8a-102b544c9fc6", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3922cfcf-14f2-49db-a31f-303dbb2bebc7", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921dd0c-401e-0028-2db3-a3f393000000", - "Body" : "f2aa5e42-6670-410b-9f46-f8b1188ec239315a5043-2e30-41b6-b0d7-aa22296ae15d2019-11-24T17:09:28Z2019-11-26T17:09:28Zb2019-02-02UkVEQUNURUQ=", - "Date" : "Mon, 25 Nov 2019 17:09:29 GMT", - "x-ms-client-request-id" : "d666dfef-2455-41b2-bb8a-102b544c9fc6", + "x-ms-request-id" : "af5f440c-201e-003e-4943-bc0544000000", + "Body" : "c4d1f8f6-8703-42bc-acfd-40f48f85f5d9eb36eca8-6c98-4e94-bf5f-9151393c768d2019-12-25T23:25:30Z2019-12-27T23:25:30Zb2019-07-07UkVEQUNURUQ=", + "Date" : "Thu, 26 Dec 2019 23:25:32 GMT", + "x-ms-client-request-id" : "3922cfcf-14f2-49db-a31f-303dbb2bebc7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobuserdelegation0458840195b4321c51/javablobnetworktestblobuserdelegation180269895b752a25?sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A28Z&se=2019-11-26T17%3A09%3A28Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-11-24T17%3A09%3A28Z&ske=2019-11-26T17%3A09%3A28Z&sks=b&skv=2019-02-02&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobuserdelegation0163137bab0b2ff9fd/javablobnetworktestblobuserdelegation172826eac5fe6355?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A30Z&se=2019-12-27T23%3A25%3A30Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A30Z&ske=2019-12-27T23%3A25%3A30Z&sks=b&skv=2019-07-07&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f8a58b97-5ac5-40c6-8324-138488a8ddb3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aff666f9-84be-418a-aa0e-0dd073e62dff" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:28 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:30 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:29 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D771CA3B509169", + "ETag" : "0x8D78A5AE610222E", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:28 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:30 GMT", "Content-Length" : "7", - "x-ms-request-id" : "329a243b-a01e-0020-48b3-a3e99c000000", + "x-ms-request-id" : "af5f4471-201e-003e-2a43-bc0544000000", "Body" : "default", - "x-ms-client-request-id" : "f8a58b97-5ac5-40c6-8324-138488a8ddb3", + "x-ms-client-request-id" : "aff666f9-84be-418a-aa0e-0dd073e62dff", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobuserdelegation0458840195b4321c51/javablobnetworktestblobuserdelegation180269895b752a25?sv=2019-02-02&spr=https%2Chttp&st=2019-11-24T17%3A09%3A28Z&se=2019-11-26T17%3A09%3A28Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-11-24T17%3A09%3A28Z&ske=2019-11-26T17%3A09%3A28Z&sks=b&skv=2019-02-02&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobuserdelegation0163137bab0b2ff9fd/javablobnetworktestblobuserdelegation172826eac5fe6355?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A25%3A30Z&se=2019-12-27T23%3A25%3A30Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A30Z&ske=2019-12-27T23%3A25%3A30Z&sks=b&skv=2019-07-07&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "72266b1d-c83c-4826-ae6c-b05b38654242" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9b92bf6d-37e5-4a0c-891c-7cc77513f350" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:28 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:30 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 25 Nov 2019 17:09:29 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", "x-ms-blob-type" : "BlockBlob", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", @@ -124,57 +124,57 @@ "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D771CA3B509169", + "ETag" : "0x8D78A5AE610222E", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Mon, 25 Nov 2019 17:09:28 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:25:30 GMT", "Content-Length" : "7", - "x-ms-request-id" : "d921dd21-401e-0028-3fb3-a3f393000000", - "x-ms-client-request-id" : "72266b1d-c83c-4826-ae6c-b05b38654242", + "x-ms-request-id" : "af5f447c-201e-003e-3343-bc0544000000", + "x-ms-client-request-id" : "9b92bf6d-37e5-4a0c-891c-7cc77513f350", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcnetworktestblobuserdelegation&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcnetworktestblobuserdelegation&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cda29162-14f6-4a3b-bbce-e3c5b70987c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6faa5375-7796-4856-95a1-e94ec442d400" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a24ae-a01e-0020-3ab3-a3e99c000000", - "Body" : "jtcnetworktestblobuserdelegationjtcnetworktestblobuserdelegation0458840195b4321c51Mon, 25 Nov 2019 17:09:28 GMT\"0x8D771CA3B4336A9\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:29 GMT", - "x-ms-client-request-id" : "cda29162-14f6-4a3b-bbce-e3c5b70987c7", + "x-ms-request-id" : "af5f4484-201e-003e-3a43-bc0544000000", + "Body" : "jtcnetworktestblobuserdelegationjtcnetworktestblobuserdelegation0163137bab0b2ff9fdThu, 26 Dec 2019 23:25:30 GMT\"0x8D78A5AE602D029\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", + "x-ms-client-request-id" : "6faa5375-7796-4856-95a1-e94ec442d400", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestblobuserdelegation0458840195b4321c51?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestblobuserdelegation0163137bab0b2ff9fd?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "882b754a-ef49-4235-a37d-d69f821976b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "096acc16-9887-47a4-af72-a5a86fd0b9ee" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d921dd23-401e-0028-40b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:29 GMT", - "x-ms-client-request-id" : "882b754a-ef49-4235-a37d-d69f821976b5" + "x-ms-request-id" : "af5f448c-201e-003e-3f43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:33 GMT", + "x-ms-client-request-id" : "096acc16-9887-47a4-af72-a5a86fd0b9ee" }, "Exception" : null } ], - "variables" : [ "jtcnetworktestblobuserdelegation0458840195b4321c51", "javablobnetworktestblobuserdelegation180269895b752a25", "2019-11-25T17:09:28.843991800Z", "2019-11-25T17:09:28.843991800Z", "2019-11-25T17:09:28.883984400Z", "2019-11-25T17:09:28.883984400Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] + "variables" : [ "jtcnetworktestblobuserdelegation0163137bab0b2ff9fd", "javablobnetworktestblobuserdelegation172826eac5fe6355", "2019-12-26T23:25:30.812768700Z", "2019-12-26T23:25:30.812768700Z", "2019-12-26T23:25:30.827772100Z", "2019-12-26T23:25:30.827772100Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestcontaineruserdelegation.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestcontaineruserdelegation.json index 51eee75a70c9b..f947aa2580441 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestcontaineruserdelegation.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsnetworktestcontaineruserdelegation.json @@ -1,133 +1,133 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestcontaineruserdelegation0715539637c65f78?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestcontaineruserdelegation091009dd2edbda69?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2faa7c3f-2353-404d-9872-fc7ff279003a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2cb77e03-83c0-42d0-ba12-afe97812e295" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3D969CD1", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:32 GMT", + "ETag" : "0x8D78A5AE9454F06", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d921dd71-401e-0028-04b3-a3f393000000", - "Date" : "Mon, 25 Nov 2019 17:09:32 GMT", - "x-ms-client-request-id" : "2faa7c3f-2353-404d-9872-fc7ff279003a" + "x-ms-request-id" : "af5f44f9-201e-003e-1d43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:35 GMT", + "x-ms-client-request-id" : "2cb77e03-83c0-42d0-ba12-afe97812e295" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestcontaineruserdelegation0715539637c65f78/javablobnetworktestcontaineruserdelegation1670526fc60bd", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestcontaineruserdelegation091009dd2edbda69/javablobnetworktestcontaineruserdelegation154485f6edada", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ce8a9607-60fb-44ea-ad46-c3424eb65e76", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1b7145d5-041e-4a30-8d39-95046a593663", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:32 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:36 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:32 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:35 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3DA4BACC", + "ETag" : "0x8D78A5AE9522EF1", "Content-Length" : "0", - "x-ms-request-id" : "329a24f6-a01e-0020-71b3-a3e99c000000", - "x-ms-client-request-id" : "ce8a9607-60fb-44ea-ad46-c3424eb65e76" + "x-ms-request-id" : "af5f44fe-201e-003e-2143-bc0544000000", + "x-ms-client-request-id" : "1b7145d5-041e-4a30-8d39-95046a593663" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://gapradev.blob.core.windows.net?restype=service&comp=userdelegationkey", + "Uri" : "https://gaprastg71.blob.core.windows.net?restype=service&comp=userdelegationkey", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "756cdd31-d044-4410-95f5-03d770ce4703", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "86eb15c5-e219-4026-b0c1-89fe3139bd65", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921dd82-401e-0028-11b3-a3f393000000", - "Body" : "c08759dd-0fce-4f53-969f-3ed0c1a66f2806bd9169-60ce-4847-a2a3-30749ad2b8382019-11-24T17:09:32Z2019-11-26T17:09:32Zb2019-02-02UkVEQUNURUQ=", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", - "x-ms-client-request-id" : "756cdd31-d044-4410-95f5-03d770ce4703", + "x-ms-request-id" : "af5f4510-201e-003e-3343-bc0544000000", + "Body" : "c1174714-a9a1-4379-851e-fe37008e33b19a34760a-050e-40b6-816d-3db12bcea0fc2019-12-25T23:25:36Z2019-12-27T23:25:36Zb2019-07-07UkVEQUNURUQ=", + "Date" : "Thu, 26 Dec 2019 23:25:35 GMT", + "x-ms-client-request-id" : "86eb15c5-e219-4026-b0c1-89fe3139bd65", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestcontaineruserdelegation0715539637c65f78?include=&restype=container&comp=list&sv=2019-02-02&se=2019-11-26T17%3A09%3A32Z&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-11-24T17%3A09%3A32Z&ske=2019-11-26T17%3A09%3A32Z&sks=b&skv=2019-02-02&sr=c&sp=racwdl&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestcontaineruserdelegation091009dd2edbda69?include=&restype=container&comp=list&sv=2019-07-07&se=2019-12-27T23%3A25%3A36Z&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A25%3A36Z&ske=2019-12-27T23%3A25%3A36Z&sks=b&skv=2019-07-07&sr=c&sp=racwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9d5e9ed0-76a8-4f49-9fa6-50e168a93d11" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "477a4a81-7ff7-4377-b590-6152146f9b38" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a24fd-a01e-0020-76b3-a3e99c000000", - "Body" : "javablobnetworktestcontaineruserdelegation1670526fc60bdMon, 25 Nov 2019 17:09:32 GMTMon, 25 Nov 2019 17:09:32 GMT0x8D771CA3DA4BACC7application/octet-streamwh+Wm18D0z1D4E+PE252gg==BlockBlobHottrueunlockedavailabletrue", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", - "x-ms-client-request-id" : "9d5e9ed0-76a8-4f49-9fa6-50e168a93d11", + "x-ms-request-id" : "af5f4514-201e-003e-3743-bc0544000000", + "Body" : "javablobnetworktestcontaineruserdelegation154485f6edadaThu, 26 Dec 2019 23:25:36 GMTThu, 26 Dec 2019 23:25:36 GMT0x8D78A5AE9522EF17application/octet-streamwh+Wm18D0z1D4E+PE252gg==BlockBlobHottrueunlockedavailabletrue", + "Date" : "Thu, 26 Dec 2019 23:25:35 GMT", + "x-ms-client-request-id" : "477a4a81-7ff7-4377-b590-6152146f9b38", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcnetworktestcontaineruserdelegation&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcnetworktestcontaineruserdelegation&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cc6b24df-eae3-457d-a128-d044b2d0dcc0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "35525b77-fafe-4f4f-a7bf-7f0f0e2d85b9" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921dd8c-401e-0028-1ab3-a3f393000000", - "Body" : "jtcnetworktestcontaineruserdelegationjtcnetworktestcontaineruserdelegation0715539637c65f78Mon, 25 Nov 2019 17:09:32 GMT\"0x8D771CA3D969CD1\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", - "x-ms-client-request-id" : "cc6b24df-eae3-457d-a128-d044b2d0dcc0", + "x-ms-request-id" : "af5f4516-201e-003e-3943-bc0544000000", + "Body" : "jtcnetworktestcontaineruserdelegationjtcnetworktestcontaineruserdelegation091009dd2edbda69Thu, 26 Dec 2019 23:25:36 GMT\"0x8D78A5AE9454F06\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:35 GMT", + "x-ms-client-request-id" : "35525b77-fafe-4f4f-a7bf-7f0f0e2d85b9", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcnetworktestcontaineruserdelegation0715539637c65f78?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcnetworktestcontaineruserdelegation091009dd2edbda69?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6f3c150e-1e30-4347-bb7c-de8cb5807760" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9cc209a0-1b6a-4d24-bef2-4fd668d3fcd5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "329a24ff-a01e-0020-77b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:33 GMT", - "x-ms-client-request-id" : "6f3c150e-1e30-4347-bb7c-de8cb5807760" + "x-ms-request-id" : "af5f4518-201e-003e-3b43-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:35 GMT", + "x-ms-client-request-id" : "9cc209a0-1b6a-4d24-bef2-4fd668d3fcd5" }, "Exception" : null } ], - "variables" : [ "jtcnetworktestcontaineruserdelegation0715539637c65f78", "javablobnetworktestcontaineruserdelegation1670526fc60bd", "2019-11-25T17:09:32.746616Z", "2019-11-25T17:09:32.747615500Z", "2019-11-25T17:09:32.747615500Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] + "variables" : [ "jtcnetworktestcontaineruserdelegation091009dd2edbda69", "javablobnetworktestcontaineruserdelegation154485f6edada", "2019-12-26T23:25:36.277965300Z", "2019-12-26T23:25:36.277965300Z", "2019-12-26T23:25:36.277965300Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsservicesassignaturevaluesnetworktestcontainer.json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsservicesassignaturevaluesnetworktestcontainer.json index 7f79fea04c1f8..0398efce07c43 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsservicesassignaturevaluesnetworktestcontainer.json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/SasClientTestsservicesassignaturevaluesnetworktestcontainer.json @@ -1,154 +1,154 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0249587958?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0399458248?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f6512891-e5f8-47d1-9485-8fcf7c48fa5e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8eb61aa4-7465-4b37-9311-a489b3507935" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3AE1C274", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:28 GMT", + "ETag" : "0x8D78A5AE59C6B02", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "329a23fd-a01e-0020-13b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", - "x-ms-client-request-id" : "f6512891-e5f8-47d1-9485-8fcf7c48fa5e" + "x-ms-request-id" : "af5f43b5-201e-003e-7543-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", + "x-ms-client-request-id" : "8eb61aa4-7465-4b37-9311-a489b3507935" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0249587958/javablobservicesassignaturevaluesnetworktestcontainer113162b5", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0399458248/javablobservicesassignaturevaluesnetworktestcontainer196996a9", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "611f938d-968f-4a91-864a-fc9bb862e9a7", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f91c207e-2deb-4b85-a79d-80a860d5cc43", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-crc64" : "6RYQPwaVsyQ=", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:28 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:30 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", - "ETag" : "0x8D771CA3AEF5E57", + "ETag" : "0x8D78A5AE5A8FD49", "Content-Length" : "0", - "x-ms-request-id" : "d921dced-401e-0028-14b3-a3f393000000", - "x-ms-client-request-id" : "611f938d-968f-4a91-864a-fc9bb862e9a7" + "x-ms-request-id" : "af5f43bc-201e-003e-7b43-bc0544000000", + "x-ms-client-request-id" : "f91c207e-2deb-4b85-a79d-80a860d5cc43" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0249587958?restype=container&comp=acl", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0399458248?restype=container&comp=acl", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "22080f30-20b6-4858-9d77-545a366c2404", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "576b36a0-5bf5-44b4-a8c6-d2d4e0359e70", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D771CA3B001454", - "Last-Modified" : "Mon, 25 Nov 2019 17:09:28 GMT", + "ETag" : "0x8D78A5AE5BC0A76", + "Last-Modified" : "Thu, 26 Dec 2019 23:25:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a2402-a01e-0020-17b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", - "x-ms-client-request-id" : "22080f30-20b6-4858-9d77-545a366c2404" + "x-ms-request-id" : "af5f43c1-201e-003e-8043-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", + "x-ms-client-request-id" : "576b36a0-5bf5-44b4-a8c6-d2d4e0359e70" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0249587958?include=&restype=container&comp=list&sv=2019-02-02&si=0000&sr=c&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0399458248?include=&restype=container&comp=list&sv=2019-07-07&si=0000&sr=c&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3d64c283-d111-457b-8969-6214cae106f3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f150dea-36e6-49a7-a0c3-62ac6f554bdf" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921dcf0-401e-0028-17b3-a3f393000000", - "Body" : "javablobservicesassignaturevaluesnetworktestcontainer113162b5Mon, 25 Nov 2019 17:09:28 GMTMon, 25 Nov 2019 17:09:28 GMT0x8D771CA3AEF5E577application/octet-streamwh+Wm18D0z1D4E+PE252gg==BlockBlobHottrueunlockedavailabletrue", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", - "x-ms-client-request-id" : "3d64c283-d111-457b-8969-6214cae106f3", + "x-ms-request-id" : "af5f43c6-201e-003e-0543-bc0544000000", + "Body" : "javablobservicesassignaturevaluesnetworktestcontainer196996a9Thu, 26 Dec 2019 23:25:30 GMTThu, 26 Dec 2019 23:25:30 GMT0x8D78A5AE5A8FD497application/octet-streamwh+Wm18D0z1D4E+PE252gg==BlockBlobHottrueunlockedavailabletrue", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", + "x-ms-client-request-id" : "7f150dea-36e6-49a7-a0c3-62ac6f554bdf", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0249587958?include=&restype=container&comp=list&sv=2019-02-02&se=2019-11-26T17%3A09%3A28Z&sr=c&sp=racwdl&sig=REDACTED", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0399458248?include=&restype=container&comp=list&sv=2019-07-07&se=2019-12-27T23%3A25%3A30Z&sr=c&sp=racwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1275df9c-6fe2-4bf2-b5ce-5da41aaf40da" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cb10ff40-cb59-4cc6-9216-4995208ce9e8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "329a240b-a01e-0020-1eb3-a3e99c000000", - "Body" : "javablobservicesassignaturevaluesnetworktestcontainer113162b5Mon, 25 Nov 2019 17:09:28 GMTMon, 25 Nov 2019 17:09:28 GMT0x8D771CA3AEF5E577application/octet-streamwh+Wm18D0z1D4E+PE252gg==BlockBlobHottrueunlockedavailabletrue", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", - "x-ms-client-request-id" : "1275df9c-6fe2-4bf2-b5ce-5da41aaf40da", + "x-ms-request-id" : "af5f43cd-201e-003e-0c43-bc0544000000", + "Body" : "javablobservicesassignaturevaluesnetworktestcontainer196996a9Thu, 26 Dec 2019 23:25:30 GMTThu, 26 Dec 2019 23:25:30 GMT0x8D78A5AE5A8FD497application/octet-streamwh+Wm18D0z1D4E+PE252gg==BlockBlobHottrueunlockedavailabletrue", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", + "x-ms-client-request-id" : "cb10ff40-cb59-4cc6-9216-4995208ce9e8", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gapradev.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestcontainer&comp=list", + "Uri" : "https://gaprastg71.blob.core.windows.net?prefix=jtcservicesassignaturevaluesnetworktestcontainer&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8cd3bd90-4d5c-467b-8fca-74f903153378" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "100d72e4-7ded-4e50-a799-948c9b1b2685" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "d921dcf8-401e-0028-1db3-a3f393000000", - "Body" : "jtcservicesassignaturevaluesnetworktestcontainerjtcservicesassignaturevaluesnetworktestcontainer0249587958Mon, 25 Nov 2019 17:09:28 GMT\"0x8D771CA3B001454\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", - "x-ms-client-request-id" : "8cd3bd90-4d5c-467b-8fca-74f903153378", + "x-ms-request-id" : "af5f43d1-201e-003e-1043-bc0544000000", + "Body" : "jtcservicesassignaturevaluesnetworktestcontainerjtcservicesassignaturevaluesnetworktestcontainer0399458248Thu, 26 Dec 2019 23:25:30 GMT\"0x8D78A5AE5BC0A76\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", + "x-ms-client-request-id" : "100d72e4-7ded-4e50-a799-948c9b1b2685", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gapradev.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0249587958?restype=container", + "Uri" : "https://gaprastg71.blob.core.windows.net/jtcservicesassignaturevaluesnetworktestcontainer0399458248?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "71a3b729-6bef-4c5a-bf74-aefe7470d858" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9ea78180-98da-4d46-b0fe-1e4b5c3697c3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "329a240f-a01e-0020-22b3-a3e99c000000", - "Date" : "Mon, 25 Nov 2019 17:09:27 GMT", - "x-ms-client-request-id" : "71a3b729-6bef-4c5a-bf74-aefe7470d858" + "x-ms-request-id" : "af5f43d8-201e-003e-1743-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:25:29 GMT", + "x-ms-client-request-id" : "9ea78180-98da-4d46-b0fe-1e4b5c3697c3" }, "Exception" : null } ], - "variables" : [ "jtcservicesassignaturevaluesnetworktestcontainer0249587958", "javablobservicesassignaturevaluesnetworktestcontainer113162b5", "2019-11-25T17:09:28.210051100Z", "2019-11-25T17:09:28.315019800Z" ] + "variables" : [ "jtcservicesassignaturevaluesnetworktestcontainer0399458248", "javablobservicesassignaturevaluesnetworktestcontainer196996a9", "2019-12-26T23:25:30.140249800Z", "2019-12-26T23:25:30.269488Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/swagger/README.md b/sdk/storage/azure-storage-blob/swagger/README.md index 7c605afb50022..24b4521d96e87 100644 --- a/sdk/storage/azure-storage-blob/swagger/README.md +++ b/sdk/storage/azure-storage-blob/swagger/README.md @@ -24,7 +24,7 @@ autorest --use=C:/work/autorest.java --use=C:/work/autorest.modeler --version=2. ### Code generation settings ``` yaml -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-02-02/blob.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-07-07/blob.json java: true output-folder: ../ namespace: com.azure.storage.blob @@ -34,7 +34,7 @@ sync-methods: none license-header: MICROSOFT_MIT_SMALL add-context-parameter: true models-subpackage: implementation.models -custom-types: BlobAccessPolicy,AccessTier,AccountKind,ArchiveStatus,BlobDownloadHeaders,BlobHttpHeaders,BlobContainerItem,BlobItem,BlobContainerItemProperties,BlobItemProperties,BlobServiceProperties,BlobType,Block,BlockList,BlockListType,BlockLookupList,BlobPrefix,ClearRange,CopyStatusType,BlobCorsRule,CpkInfo,CustomerProvidedKeyInfo,DeleteSnapshotsOptionType,EncryptionAlgorithmType,FilterBlobsItem,GeoReplication,GeoReplicationStatusType,KeyInfo,LeaseDurationType,LeaseStateType,LeaseStatusType,ListBlobContainersIncludeType,ListBlobsIncludeItem,BlobAnalyticsLogging,BlobMetrics,PageList,PageRange,PathRenameMode,PublicAccessType,RehydratePriority,BlobRetentionPolicy,SequenceNumberActionType,BlobSignedIdentifier,SkuName,StaticWebsite,BlobErrorCode,BlobServiceStatistics,SyncCopyStatusType,UserDelegationKey +custom-types: BlobAccessPolicy,AccessTier,AccountKind,ArchiveStatus,BlobDownloadHeaders,BlobHttpHeaders,BlobContainerItem,BlobItem,BlobContainerItemProperties,BlobContainerEncryptionScope,BlobItemProperties,BlobServiceProperties,BlobType,Block,BlockList,BlockListType,BlockLookupList,BlobPrefix,ClearRange,CopyStatusType,BlobCorsRule,CpkInfo,CustomerProvidedKeyInfo,DeleteSnapshotsOptionType,EncryptionAlgorithmType,FilterBlobsItem,GeoReplication,GeoReplicationStatusType,KeyInfo,LeaseDurationType,LeaseStateType,LeaseStatusType,ListBlobContainersIncludeType,ListBlobsIncludeItem,BlobAnalyticsLogging,BlobMetrics,PageList,PageRange,PathRenameMode,PublicAccessType,RehydratePriority,BlobRetentionPolicy,SequenceNumberActionType,BlobSignedIdentifier,SkuName,StaticWebsite,BlobErrorCode,BlobServiceStatistics,SyncCopyStatusType,UserDelegationKey custom-types-subpackage: models ``` @@ -694,6 +694,7 @@ directive: etag["x-ms-client-name"] = "eTag"; $.BlobContainerItemProperties.properties.Etag = etag; } + $.BlobContainerItemProperties.properties.DenyEncryptionScopeOverride["x-ms-client-name"] = "EncryptionScopeOverridePrevented"; } if (!$.BlobContainerItem) { $.BlobContainerItem = $.ContainerItem; @@ -1265,5 +1266,55 @@ directive: delete $.LeaseIdOptional["x-ms-parameter-grouping"]; ``` +### Rename container-cpk-scope-info to blob-container-encryption-scope +``` yaml +directive: +- from: swagger-document + where: $.parameters + transform: > + $.DenyEncryptionScopeOverride["x-ms-client-name"] = "EncryptionScopeOverridePrevented"; + $.DefaultEncryptionScope["x-ms-parameter-grouping"]["name"] = "blob-container-encryption-scope"; + $.DenyEncryptionScopeOverride["x-ms-parameter-grouping"]["name"] = "blob-container-encryption-scope"; +``` + +### Rename cpk-scope-info to encryption-scope +``` yaml +directive: +- from: swagger-document + where: $.parameters + transform: > + $.EncryptionScope["x-ms-parameter-grouping"]["name"] = "encryption-scope"; +``` + +### BlobContainerEncryptionScope Boolean Fix +``` yaml +directive: +- from: BlobContainerEncryptionScope.java + where: $ + transform: > + return $.replace('private Boolean encryptionScopeOverridePrevented;', 'private boolean encryptionScopeOverridePrevented;'). + replace('public Boolean isEncryptionScopeOverridePrevented() {', 'public boolean isEncryptionScopeOverridePrevented() {'). + replace('public BlobContainerEncryptionScope setEncryptionScopeOverridePrevented(Boolean preventEncryptionScopeOverride) {', 'public BlobContainerEncryptionScope setEncryptionScopeOverridePrevented(boolean preventEncryptionScopeOverride) {'); +``` + +### ContainersImpl Boolean Fix +``` yaml +directive: +- from: ContainersImpl.java + where: $ + transform: > + return $.replace('preventEncryptionScopeOverride = blobContainerEncryptionScope.isPreventEncryptionScopeOverride();', 'preventEncryptionScopeOverride = blobContainerEncryptionScope.preventEncryptionScopeOverride();'); +``` + +### BlobContainerItemProperties Boolean Fix +``` yaml +directive: +- from: BlobContainerItemProperties.java + where: $ + transform: > + return $.replace('private Boolean encryptionScopeOverridePrevented;', 'private boolean encryptionScopeOverridePrevented;'). + replace('public Boolean isEncryptionScopeOverridePrevented() {', 'public boolean isEncryptionScopeOverridePrevented() {'). + replace('public BlobContainerItemProperties setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented) {', 'public BlobContainerItemProperties setEncryptionScopeOverridePrevented(boolean encryptionScopeOverridePrevented) {'); +``` ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fstorage%2Fazure-storage-blob%2Fswagger%2FREADME.png) diff --git a/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/Constants.java b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/Constants.java index 7671591da5483..2e49f38c73340 100644 --- a/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/Constants.java +++ b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/Constants.java @@ -186,7 +186,7 @@ public static final class HeaderConstants { /** * The current storage version header value. */ - public static final String TARGET_STORAGE_VERSION = "2019-02-02"; + public static final String TARGET_STORAGE_VERSION = "2019-07-07"; /** * Error code returned from the service. diff --git a/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/StorageImplUtils.java b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/StorageImplUtils.java index 46e4be6efc5b8..86b46678d915b 100644 --- a/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/StorageImplUtils.java +++ b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/StorageImplUtils.java @@ -256,8 +256,7 @@ public static String getAccountName(URL url) { return accountName; } - /** - * Returns an empty string if value is {@code null}, otherwise returns value + /** Returns an empty string if value is {@code null}, otherwise returns value * @param value The value to check and return. * @return The value or empty string. */ diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileSystemClientBuilder.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileSystemClientBuilder.java index b545557e8cc88..6f96eeee0b110 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileSystemClientBuilder.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileSystemClientBuilder.java @@ -19,6 +19,7 @@ import com.azure.storage.common.policy.RequestRetryOptions; import com.azure.storage.file.datalake.implementation.util.BuilderHelper; import com.azure.storage.file.datalake.implementation.util.DataLakeImplUtils; +import com.azure.storage.file.datalake.implementation.util.TransformUtils; import java.net.MalformedURLException; import java.net.URL; @@ -313,7 +314,6 @@ public DataLakeFileSystemClientBuilder pipeline(HttpPipeline httpPipeline) { return this; } - // TODO (gapra) : Determine how to set the blob service version here /** * Sets the {@link DataLakeServiceVersion} that is used when making API requests. *

@@ -327,6 +327,7 @@ public DataLakeFileSystemClientBuilder pipeline(HttpPipeline httpPipeline) { * @return the updated DataLakeFileSystemClientBuilder object */ public DataLakeFileSystemClientBuilder serviceVersion(DataLakeServiceVersion version) { + blobContainerClientBuilder.serviceVersion(TransformUtils.toBlobServiceVersion(version)); this.version = version; return this; } diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathAsyncClient.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathAsyncClient.java index a47850d9f9eac..cb6a152d94f71 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathAsyncClient.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathAsyncClient.java @@ -11,7 +11,6 @@ import com.azure.core.util.FluxUtil; import com.azure.core.util.logging.ClientLogger; import com.azure.storage.blob.BlobContainerAsyncClient; -import com.azure.storage.blob.BlobServiceVersion; import com.azure.storage.blob.BlobUrlParts; import com.azure.storage.blob.specialized.BlockBlobAsyncClient; import com.azure.storage.blob.specialized.SpecializedBlobClientBuilder; @@ -27,6 +26,7 @@ import com.azure.storage.file.datalake.implementation.models.PathResourceType; import com.azure.storage.file.datalake.implementation.models.SourceModifiedAccessConditions; import com.azure.storage.file.datalake.implementation.util.DataLakeImplUtils; +import com.azure.storage.file.datalake.implementation.util.TransformUtils; import com.azure.storage.file.datalake.models.DataLakeRequestConditions; import com.azure.storage.file.datalake.models.PathAccessControl; import com.azure.storage.file.datalake.models.PathAccessControlEntry; @@ -756,11 +756,10 @@ SpecializedBlobClientBuilder prepareBuilderReplacePath(String destinationFileSys String newBlobEndpoint = BlobUrlParts.parse(DataLakeImplUtils.endpointToDesiredEndpoint(getPathUrl(), "blob", "dfs")).setBlobName(destinationPath).setContainerName(destinationFileSystem).toUrl().toString(); - // TODO (gapra) : Investigate how to convert from datalake service version to blob service version return new SpecializedBlobClientBuilder() .pipeline(getHttpPipeline()) .endpoint(newBlobEndpoint) - .serviceVersion(BlobServiceVersion.getLatest()); + .serviceVersion(TransformUtils.toBlobServiceVersion(getServiceVersion())); } BlockBlobAsyncClient getBlockBlobAsyncClient() { diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathClientBuilder.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathClientBuilder.java index 4bf0da859a065..b453f646fecd7 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathClientBuilder.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathClientBuilder.java @@ -20,6 +20,7 @@ import com.azure.storage.common.policy.RequestRetryOptions; import com.azure.storage.file.datalake.implementation.util.BuilderHelper; import com.azure.storage.file.datalake.implementation.util.DataLakeImplUtils; +import com.azure.storage.file.datalake.implementation.util.TransformUtils; import java.net.MalformedURLException; import java.net.URL; @@ -396,7 +397,6 @@ public DataLakePathClientBuilder pipeline(HttpPipeline httpPipeline) { return this; } - // TODO (gapra) : Determine how to set blob version as well /** * Sets the {@link DataLakeServiceVersion} that is used when making API requests. *

@@ -410,6 +410,7 @@ public DataLakePathClientBuilder pipeline(HttpPipeline httpPipeline) { * @return the updated DataLakePathClientBuilder object */ public DataLakePathClientBuilder serviceVersion(DataLakeServiceVersion version) { + blobClientBuilder.serviceVersion(TransformUtils.toBlobServiceVersion(version)); this.version = version; return this; } diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceClientBuilder.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceClientBuilder.java index 0168eb78d5da9..bbb686a2d1da6 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceClientBuilder.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceClientBuilder.java @@ -19,6 +19,7 @@ import com.azure.storage.common.policy.RequestRetryOptions; import com.azure.storage.file.datalake.implementation.util.BuilderHelper; import com.azure.storage.file.datalake.implementation.util.DataLakeImplUtils; +import com.azure.storage.file.datalake.implementation.util.TransformUtils; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; @@ -266,7 +267,6 @@ public DataLakeServiceClientBuilder pipeline(HttpPipeline httpPipeline) { return this; } - // TODO (gapra) : Determine how to set the service version of blobs too /** * Sets the {@link DataLakeServiceVersion} that is used when making API requests. *

@@ -280,6 +280,7 @@ public DataLakeServiceClientBuilder pipeline(HttpPipeline httpPipeline) { * @return the updated DataLakeServiceClientBuilder object */ public DataLakeServiceClientBuilder serviceVersion(DataLakeServiceVersion version) { + blobServiceClientBuilder.serviceVersion(TransformUtils.toBlobServiceVersion(version)); this.version = version; return this; } diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceVersion.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceVersion.java index 771f8ce5b01da..a96abbce6da00 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceVersion.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceVersion.java @@ -9,7 +9,8 @@ * The versions of Azure Storage Data Lake supported by this client library. */ public enum DataLakeServiceVersion implements ServiceVersion { - V2019_02_02("2019-02-02"); + V2019_02_02("2019-02-02"), + V2019_07_07("2019-07-07"); private final String version; @@ -31,6 +32,6 @@ public String getVersion() { * @return the latest {@link DataLakeServiceVersion} */ public static DataLakeServiceVersion getLatest() { - return V2019_02_02; + return V2019_07_07; } } diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/TransformUtils.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/TransformUtils.java new file mode 100644 index 0000000000000..ebcc30c32cfb5 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/TransformUtils.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.datalake.implementation.util; + +import com.azure.storage.blob.BlobServiceVersion; +import com.azure.storage.file.datalake.DataLakeServiceVersion; + +public class TransformUtils { + + public static BlobServiceVersion toBlobServiceVersion(DataLakeServiceVersion version) { + if (version == null) { + return null; + } + if (DataLakeServiceVersion.V2019_07_07.ordinal() == version.ordinal()) { + return BlobServiceVersion.V2019_07_07; + } else if (DataLakeServiceVersion.V2019_02_02.ordinal() == version.ordinal()) { + return BlobServiceVersion.V2019_02_02; + } + return null; + } +} diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/specialized/DataLakeLeaseClientBuilder.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/specialized/DataLakeLeaseClientBuilder.java index 790a14b9d9cc5..d618dbf9674af 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/specialized/DataLakeLeaseClientBuilder.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/specialized/DataLakeLeaseClientBuilder.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.ServiceClientBuilder; import com.azure.core.http.HttpPipeline; import com.azure.storage.blob.BlobContainerClientBuilder; -import com.azure.storage.blob.BlobServiceVersion; import com.azure.storage.blob.specialized.BlobLeaseClientBuilder; import com.azure.storage.blob.specialized.SpecializedBlobClientBuilder; import com.azure.storage.file.datalake.DataLakeDirectoryAsyncClient; @@ -15,7 +14,9 @@ import com.azure.storage.file.datalake.DataLakeFileClient; import com.azure.storage.file.datalake.DataLakeFileSystemAsyncClient; import com.azure.storage.file.datalake.DataLakeFileSystemClient; +import com.azure.storage.file.datalake.DataLakeServiceVersion; import com.azure.storage.file.datalake.implementation.util.DataLakeImplUtils; +import com.azure.storage.file.datalake.implementation.util.TransformUtils; import java.net.URL; import java.util.Objects; @@ -92,7 +93,8 @@ public DataLakeLeaseClientBuilder fileClient(DataLakeFileClient dataLakeFileClie Objects.requireNonNull(dataLakeFileClient); blobLeaseClientBuilder.blobClient( getSpecializedBlobClientBuilder(dataLakeFileClient.getFileUrl(), - dataLakeFileClient.getHttpPipeline()).buildBlockBlobClient()); + dataLakeFileClient.getHttpPipeline(), dataLakeFileClient.getServiceVersion()) + .buildBlockBlobClient()); return this; } @@ -108,7 +110,8 @@ public DataLakeLeaseClientBuilder fileAsyncClient(DataLakeFileAsyncClient dataLa Objects.requireNonNull(dataLakeFileAsyncClient); blobLeaseClientBuilder.blobAsyncClient( getSpecializedBlobClientBuilder(dataLakeFileAsyncClient.getFileUrl(), - dataLakeFileAsyncClient.getHttpPipeline()).buildBlockBlobAsyncClient()); + dataLakeFileAsyncClient.getHttpPipeline(), dataLakeFileAsyncClient.getServiceVersion()) + .buildBlockBlobAsyncClient()); return this; } @@ -124,7 +127,8 @@ public DataLakeLeaseClientBuilder directoryClient(DataLakeDirectoryClient dataLa Objects.requireNonNull(dataLakeDirectoryClient); blobLeaseClientBuilder.blobClient( getSpecializedBlobClientBuilder(dataLakeDirectoryClient.getDirectoryUrl(), - dataLakeDirectoryClient.getHttpPipeline()).buildBlockBlobClient()); + dataLakeDirectoryClient.getHttpPipeline(), dataLakeDirectoryClient.getServiceVersion()) + .buildBlockBlobClient()); return this; } @@ -140,7 +144,8 @@ public DataLakeLeaseClientBuilder directoryAsyncClient(DataLakeDirectoryAsyncCli Objects.requireNonNull(dataLakeDirectoryAsyncClient); blobLeaseClientBuilder.blobAsyncClient( getSpecializedBlobClientBuilder(dataLakeDirectoryAsyncClient.getDirectoryUrl(), - dataLakeDirectoryAsyncClient.getHttpPipeline()).buildBlockBlobAsyncClient()); + dataLakeDirectoryAsyncClient.getHttpPipeline(), dataLakeDirectoryAsyncClient.getServiceVersion()) + .buildBlockBlobAsyncClient()); return this; } @@ -157,7 +162,8 @@ public DataLakeLeaseClientBuilder fileSystemClient(DataLakeFileSystemClient data Objects.requireNonNull(dataLakeFileSystemClient); blobLeaseClientBuilder.containerClient( getBlobContainerClientBuilder(dataLakeFileSystemClient.getFileSystemUrl(), - dataLakeFileSystemClient.getHttpPipeline()).buildClient()); + dataLakeFileSystemClient.getHttpPipeline(), dataLakeFileSystemClient.getServiceVersion()) + .buildClient()); return this; } @@ -175,7 +181,8 @@ public DataLakeLeaseClientBuilder fileSystemAsyncClient( blobLeaseClientBuilder.containerClient( getBlobContainerClientBuilder(dataLakeFileSystemAsyncClient.getFileSystemUrl(), - dataLakeFileSystemAsyncClient.getHttpPipeline()).buildClient()); + dataLakeFileSystemAsyncClient.getHttpPipeline(), + dataLakeFileSystemAsyncClient.getServiceVersion()).buildClient()); return this; } @@ -198,12 +205,13 @@ public DataLakeLeaseClientBuilder leaseId(String leaseId) { * @param pipeline The {@link HttpPipeline} for the {@link SpecializedBlobClientBuilder} * @return the {@link SpecializedBlobClientBuilder} */ - private SpecializedBlobClientBuilder getSpecializedBlobClientBuilder(String dfsEndpoint, HttpPipeline pipeline) { + private SpecializedBlobClientBuilder getSpecializedBlobClientBuilder(String dfsEndpoint, HttpPipeline pipeline, + DataLakeServiceVersion version) { String blobEndpoint = DataLakeImplUtils.endpointToDesiredEndpoint(dfsEndpoint, "blob", "dfs"); return new SpecializedBlobClientBuilder() .pipeline(pipeline) .endpoint(blobEndpoint) - .serviceVersion(BlobServiceVersion.getLatest()); + .serviceVersion(TransformUtils.toBlobServiceVersion(version)); } /** @@ -212,11 +220,12 @@ private SpecializedBlobClientBuilder getSpecializedBlobClientBuilder(String dfsE * @param pipeline The {@link HttpPipeline} for the {@link BlobContainerClientBuilder} * @return the {@link BlobContainerClientBuilder} */ - private BlobContainerClientBuilder getBlobContainerClientBuilder(String dfsEndpoint, HttpPipeline pipeline) { + private BlobContainerClientBuilder getBlobContainerClientBuilder(String dfsEndpoint, HttpPipeline pipeline, + DataLakeServiceVersion version) { String blobEndpoint = DataLakeImplUtils.endpointToDesiredEndpoint(dfsEndpoint, "blob", "dfs"); return new BlobContainerClientBuilder() .pipeline(pipeline) .endpoint(blobEndpoint) - .serviceVersion(BlobServiceVersion.getLatest()); + .serviceVersion(TransformUtils.toBlobServiceVersion(version)); } } diff --git a/sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/SASTest.groovy b/sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/SASTest.groovy index 6e16cd439b61c..16b0ec99f58cf 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/SASTest.groovy +++ b/sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/SASTest.groovy @@ -3,6 +3,7 @@ package com.azure.storage.file.datalake +import com.azure.storage.blob.BlobServiceVersion import com.azure.storage.blob.implementation.util.BlobSasImplUtil import com.azure.storage.common.implementation.Constants import com.azure.storage.common.sas.* @@ -410,15 +411,15 @@ class SASTest extends APISpec { */ where: startTime | identifier | ipRange | protocol | cacheControl | disposition | encoding | language | type || expectedStringToSign - OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | null | null || "r\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | "id" | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\nid\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | new SasIpRange() | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\nip\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | "control" | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\ncontrol\n\n\n\n" - null | null | null | null | null | "disposition" | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\ndisposition\n\n\n" - null | null | null | null | null | null | "encoding" | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\nencoding\n\n" - null | null | null | null | null | null | null | "language" | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\nlanguage\n" - null | null | null | null | null | null | null | null | "type" || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\ntype" + OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | null | null || "r\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | "id" | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\nid\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | new SasIpRange() | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\nip\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | "control" | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\ncontrol\n\n\n\n" + null | null | null | null | null | "disposition" | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\ndisposition\n\n\n" + null | null | null | null | null | null | "encoding" | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\nencoding\n\n" + null | null | null | null | null | null | null | "language" | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\nlanguage\n" + null | null | null | null | null | null | null | null | "type" || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\ntype" } @Unroll @@ -470,20 +471,20 @@ class SASTest extends APISpec { */ where: startTime | keyOid | keyTid | keyStart | keyExpiry | keyService | keyVersion | keyValue | ipRange | protocol | snapId | cacheControl | disposition | encoding | language | type || expectedStringToSign - OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | "11111111-1111-1111-1111-111111111111" | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n11111111-1111-1111-1111-111111111111\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | "22222222-2222-2222-2222-222222222222" | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n22222222-2222-2222-2222-222222222222\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | "b" | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\nb\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | "2018-06-17" | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n2018-06-17\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | new SasIpRange() | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\nip\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | "control" | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\ncontrol\n\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | "disposition" | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\ndisposition\n\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | "encoding" | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\nencoding\n\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | "language" | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\nlanguage\n" - null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | "type" || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "\nb\n\n\n\n\n\ntype" + OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC) | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | "11111111-1111-1111-1111-111111111111" | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n11111111-1111-1111-1111-111111111111\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | "22222222-2222-2222-2222-222222222222" | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n22222222-2222-2222-2222-222222222222\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | OffsetDateTime.of(LocalDateTime.of(2018, 1, 1, 0, 0), ZoneOffset.UTC) | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n2018-01-01T00:00:00Z\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | "b" | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\nb\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | "2018-06-17" | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n2018-06-17\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | new SasIpRange() | null | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\nip\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | SasProtocol.HTTPS_ONLY | null | null | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n" + SasProtocol.HTTPS_ONLY + "\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | "control" | null | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\ncontrol\n\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | "disposition" | null | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\ndisposition\n\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | "encoding" | null | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\nencoding\n\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | "language" | null || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\nlanguage\n" + null | null | null | null | null | null | null | "3hd4LRwrARVGbeMRQRfTLIsGMkCPuZJnvxZDU7Gak8c=" | null | null | null | null | null | null | null | "type" || "r\n\n" + Constants.ISO_8601_UTC_DATE_FORMATTER.format(OffsetDateTime.of(2017, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC)) + "\n/blob/%s/fileSystemName/pathName\n\n\n\n\n\n\n\n\n" + BlobServiceVersion.getLatest().getVersion() + "\nb\n\n\n\n\n\ntype" } @Unroll diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkaccountsastokenonendpoint.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkaccountsastokenonendpoint.json index 43c5ec0069cec..98bca392b863d 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkaccountsastokenonendpoint.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkaccountsastokenonendpoint.json @@ -1,190 +1,190 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint09344544830?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint077913128ee?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "517c2ecd-676a-4f1d-b3dd-5473316b42ea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a40a62cc-02ae-4296-b0e0-41faf197d760" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CD750CFFB00", - "Last-Modified" : "Mon, 09 Dec 2019 18:40:51 GMT", + "ETag" : "0x8D78A5B682387F3", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "6c49419c-d01e-00d5-07c0-ae06a7000000", - "Date" : "Mon, 09 Dec 2019 18:40:50 GMT", - "x-ms-client-request-id" : "517c2ecd-676a-4f1d-b3dd-5473316b42ea" + "x-ms-request-id" : "fa93edb7-b01e-0003-3344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "a40a62cc-02ae-4296-b0e0-41faf197d760" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint09344544830/javapathaccountsasnetworkaccountsastokenonendpoint188049ca2?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint077913128ee/javapathaccountsasnetworkaccountsastokenonendpoint1737533af?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3ea3afa5-3541-423c-9bbf-69c6d5e8b12b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ccd1f943-6707-4b83-9120-ee649c2878c9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CD751358A95", - "Last-Modified" : "Mon, 09 Dec 2019 18:40:51 GMT", + "ETag" : "0x8D78A5B6857D97E", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "f130591e-b01f-0009-1ec0-ae54f4000000", - "Date" : "Mon, 09 Dec 2019 18:40:50 GMT", - "x-ms-client-request-id" : "3ea3afa5-3541-423c-9bbf-69c6d5e8b12b" + "x-ms-request-id" : "ed87d131-301f-000d-7a44-bc5aef000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "ccd1f943-6707-4b83-9120-ee649c2878c9" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint09344544830/javapathaccountsasnetworkaccountsastokenonendpoint188049ca2?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint077913128ee/javapathaccountsasnetworkaccountsastokenonendpoint1737533af?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "71f67702-c123-40d0-9061-3e5cca5d6a90", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a35febc5-2e31-4031-81ae-16101ce4a92e", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "f1305920-b01f-0009-20c0-ae54f4000000", - "Date" : "Mon, 09 Dec 2019 18:40:51 GMT", - "x-ms-client-request-id" : "71f67702-c123-40d0-9061-3e5cca5d6a90" + "x-ms-request-id" : "ed87d132-301f-000d-7b44-bc5aef000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "a35febc5-2e31-4031-81ae-16101ce4a92e" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint09344544830/javapathaccountsasnetworkaccountsastokenonendpoint188049ca2?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint077913128ee/javapathaccountsasnetworkaccountsastokenonendpoint1737533af?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c78a3f61-7110-467b-8058-596b6f6720d7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0cace46f-62e4-458a-ae41-1d22e4dafc0a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CD751500761", - "Last-Modified" : "Mon, 09 Dec 2019 18:40:52 GMT", + "ETag" : "0x8D78A5B6872C91F", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "f1305921-b01f-0009-21c0-ae54f4000000", - "Date" : "Mon, 09 Dec 2019 18:40:51 GMT", - "x-ms-client-request-id" : "c78a3f61-7110-467b-8058-596b6f6720d7" + "x-ms-request-id" : "ed87d133-301f-000d-7c44-bc5aef000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "0cace46f-62e4-458a-ae41-1d22e4dafc0a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint24465198d45?restype=container&sv=2019-02-02&se=2019-12-10T18%3A40%3A52Z&sp=rc&sig=REDACTED&ss=b&srt=sco", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint2317079123a?restype=container&sv=2019-07-07&se=2019-12-27T23%3A29%3A09Z&sp=rc&sig=REDACTED&ss=b&srt=sco", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5812494f-4474-4808-9c09-c3fe1c7ff34e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "178bd3e7-9853-4f06-a1f0-80a83791732e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CD7515AD6B1", - "Last-Modified" : "Mon, 09 Dec 2019 18:40:52 GMT", + "ETag" : "0x8D78A5B68809DB9", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "6c49437f-d01e-00d5-40c0-ae06a7000000", - "Date" : "Mon, 09 Dec 2019 18:40:51 GMT", - "x-ms-client-request-id" : "5812494f-4474-4808-9c09-c3fe1c7ff34e" + "x-ms-request-id" : "fa93edd9-b01e-0003-4c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:09 GMT", + "x-ms-client-request-id" : "178bd3e7-9853-4f06-a1f0-80a83791732e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint24465198d45/javapathaccountsasnetworkaccountsastokenonendpoint364863086?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint2317079123a/javapathaccountsasnetworkaccountsastokenonendpoint317052eea?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "78465d1b-e15c-4d1a-9844-026f7008d45d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2df69a57-b187-4443-badd-c452317f0986" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CD751738A69", - "Last-Modified" : "Mon, 09 Dec 2019 18:40:52 GMT", + "ETag" : "0x8D78A5B68BB9543", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "f1305923-b01f-0009-23c0-ae54f4000000", - "Date" : "Mon, 09 Dec 2019 18:40:51 GMT", - "x-ms-client-request-id" : "78465d1b-e15c-4d1a-9844-026f7008d45d" + "x-ms-request-id" : "7d9abc32-d01f-0015-0744-bc8588000000", + "Date" : "Thu, 26 Dec 2019 23:29:09 GMT", + "x-ms-client-request-id" : "2df69a57-b187-4443-badd-c452317f0986" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsaccountsasnetworkaccountsastokenonendpoint&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsaccountsasnetworkaccountsastokenonendpoint&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "97574596-2d2e-4db9-bf85-f68977c26674" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "91d2d051-dcb9-4cb7-854f-60fe8a9371a3" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "6c4943ea-d01e-00d5-1fc0-ae06a7000000", - "Body" : "jtfsaccountsasnetworkaccountsastokenonendpointjtfsaccountsasnetworkaccountsastokenonendpoint09344544830Mon, 09 Dec 2019 18:40:51 GMT\"0x8D77CD750CFFB00\"unlockedavailable$account-encryption-keyfalsefalsefalsejtfsaccountsasnetworkaccountsastokenonendpoint24465198d45Mon, 09 Dec 2019 18:40:52 GMT\"0x8D77CD7515AD6B1\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 18:40:51 GMT", - "x-ms-client-request-id" : "97574596-2d2e-4db9-bf85-f68977c26674", + "x-ms-request-id" : "fa93ede5-b01e-0003-5644-bc735f000000", + "Body" : "jtfsaccountsasnetworkaccountsastokenonendpointjtfsaccountsasnetworkaccountsastokenonendpoint077913128eeThu, 26 Dec 2019 23:29:09 GMT\"0x8D78A5B682387F3\"unlockedavailable$account-encryption-keyfalsefalsefalsejtfsaccountsasnetworkaccountsastokenonendpoint2317079123aThu, 26 Dec 2019 23:29:09 GMT\"0x8D78A5B68809DB9\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "91d2d051-dcb9-4cb7-854f-60fe8a9371a3", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint09344544830?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint077913128ee?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8d564ca1-5e1f-4068-919a-5969e1b0cba6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c52a1680-5338-45f5-9d77-720566770cbd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "6c49441d-d01e-00d5-4dc0-ae06a7000000", - "Date" : "Mon, 09 Dec 2019 18:40:51 GMT", - "x-ms-client-request-id" : "8d564ca1-5e1f-4068-919a-5969e1b0cba6" + "x-ms-request-id" : "fa93ede9-b01e-0003-5944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "c52a1680-5338-45f5-9d77-720566770cbd" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint24465198d45?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkaccountsastokenonendpoint2317079123a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2e98fb1f-3857-4d25-a4e0-c209e193e2b6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9e512a59-36e2-47c6-98b6-63bafbf101a3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "6c494440-d01e-00d5-70c0-ae06a7000000", - "Date" : "Mon, 09 Dec 2019 18:40:51 GMT", - "x-ms-client-request-id" : "2e98fb1f-3857-4d25-a4e0-c209e193e2b6" + "x-ms-request-id" : "fa93edf2-b01e-0003-6144-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "9e512a59-36e2-47c6-98b6-63bafbf101a3" }, "Exception" : null } ], - "variables" : [ "jtfsaccountsasnetworkaccountsastokenonendpoint09344544830", "javapathaccountsasnetworkaccountsastokenonendpoint188049ca2", "2019-12-09T18:40:52.023035900Z", "jtfsaccountsasnetworkaccountsastokenonendpoint24465198d45", "javapathaccountsasnetworkaccountsastokenonendpoint364863086" ] + "variables" : [ "jtfsaccountsasnetworkaccountsastokenonendpoint077913128ee", "javapathaccountsasnetworkaccountsastokenonendpoint1737533af", "2019-12-26T23:29:09.569611800Z", "jtfsaccountsasnetworkaccountsastokenonendpoint2317079123a", "javapathaccountsasnetworkaccountsastokenonendpoint317052eea" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkcreatefilesystemfails.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkcreatefilesystemfails.json index e695c60f70332..abaf5a6a489f8 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkcreatefilesystemfails.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkcreatefilesystemfails.json @@ -1,151 +1,151 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails09423009e30b1?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails047597f3490da?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7591ab30-1a05-4532-95a6-1f3a68ac490b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "52e391f0-e387-403c-b01a-7ae8e58a3a08" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826458673A5", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:26 GMT", + "ETag" : "0x8D78A5B672A3369", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a46ab-e01e-0092-270f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "7591ab30-1a05-4532-95a6-1f3a68ac490b" + "x-ms-request-id" : "fa93ed46-b01e-0003-5844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "52e391f0-e387-403c-b01a-7ae8e58a3a08" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails09423009e30b1/javapathaccountsasnetworkcreatefilesystemfails154705f81f2?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails047597f3490da/javapathaccountsasnetworkcreatefilesystemfails187759eefd5?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "64e31f4b-f0ff-46cf-bc03-75dad0fafde1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1bdbc353-59e5-467a-b885-878bb8fd2396" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264595043B", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:26 GMT", + "ETag" : "0x8D78A5B673B6FAB", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9b47-101f-004b-120f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "64e31f4b-f0ff-46cf-bc03-75dad0fafde1" + "x-ms-request-id" : "0b3ee8f2-901f-0014-1e44-bcda54000000", + "Date" : "Thu, 26 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "1bdbc353-59e5-467a-b885-878bb8fd2396" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails09423009e30b1/javapathaccountsasnetworkcreatefilesystemfails154705f81f2?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails047597f3490da/javapathaccountsasnetworkcreatefilesystemfails187759eefd5?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ae6a5b05-a81d-4b2c-9f07-cde5d53a75ea", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7924e8cb-0b13-4519-ad91-e88605a4e033", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9b51-101f-004b-1c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "ae6a5b05-a81d-4b2c-9f07-cde5d53a75ea" + "x-ms-request-id" : "0b3ee8f3-901f-0014-1f44-bcda54000000", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "7924e8cb-0b13-4519-ad91-e88605a4e033" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails09423009e30b1/javapathaccountsasnetworkcreatefilesystemfails154705f81f2?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails047597f3490da/javapathaccountsasnetworkcreatefilesystemfails187759eefd5?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b1467355-740f-4a0a-b138-ce92583be3e1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2f863bfa-5ebb-43d4-9c1a-b17e9c08599c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782645B128E4", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:26 GMT", + "ETag" : "0x8D78A5B67559A47", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9b54-101f-004b-1f0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "b1467355-740f-4a0a-b138-ce92583be3e1" + "x-ms-request-id" : "0b3ee8f4-901f-0014-2044-bcda54000000", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "2f863bfa-5ebb-43d4-9c1a-b17e9c08599c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails22183881547cb?restype=container&sv=2019-02-02&ss=b&srt=sco&se=2019-12-04T19%3A23%3A26Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails2909110bdaaae?restype=container&sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A29%3A07Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "dffde78c-909f-4801-9bfa-ab8183166603" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a23edc77-aa22-4da6-b36e-835cd6efc1ed" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "1d9a4704-e01e-0092-790f-aad9cc000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:1d9a4704-e01e-0092-790f-aad9cc000000\nTime:2019-12-03T19:23:27.0066554Z", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "dffde78c-909f-4801-9bfa-ab8183166603", + "x-ms-request-id" : "fa93ed5c-b01e-0003-6944-bc735f000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:fa93ed5c-b01e-0003-6944-bc735f000000\nTime:2019-12-26T23:29:07.7420513Z", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "a23edc77-aa22-4da6-b36e-835cd6efc1ed", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsaccountsasnetworkcreatefilesystemfails&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsaccountsasnetworkcreatefilesystemfails&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e7162f5f-546f-4951-b320-5243be27681c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5674d8b3-bddf-4207-9992-9c9e6b592b7b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a4719-e01e-0092-0a0f-aad9cc000000", - "Body" : "jtfsaccountsasnetworkcreatefilesystemfailsjtfsaccountsasnetworkcreatefilesystemfails09423009e30b1Tue, 03 Dec 2019 19:23:26 GMT\"0x8D77826458673A5\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "e7162f5f-546f-4951-b320-5243be27681c", + "x-ms-request-id" : "fa93ed65-b01e-0003-7244-bc735f000000", + "Body" : "jtfsaccountsasnetworkcreatefilesystemfailsjtfsaccountsasnetworkcreatefilesystemfails047597f3490daThu, 26 Dec 2019 23:29:07 GMT\"0x8D78A5B672A3369\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "5674d8b3-bddf-4207-9992-9c9e6b592b7b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails09423009e30b1?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemfails047597f3490da?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6fbe3671-f4b7-4942-a298-9b9e366fea44" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a193802a-ceea-4299-ab37-b830a77c1c5b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a4720-e01e-0092-110f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:27 GMT", - "x-ms-client-request-id" : "6fbe3671-f4b7-4942-a298-9b9e366fea44" + "x-ms-request-id" : "fa93ed6a-b01e-0003-7544-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "a193802a-ceea-4299-ab37-b830a77c1c5b" }, "Exception" : null } ], - "variables" : [ "jtfsaccountsasnetworkcreatefilesystemfails09423009e30b1", "javapathaccountsasnetworkcreatefilesystemfails154705f81f2", "2019-12-03T19:23:26.934572600Z", "jtfsaccountsasnetworkcreatefilesystemfails22183881547cb" ] + "variables" : [ "jtfsaccountsasnetworkcreatefilesystemfails047597f3490da", "javapathaccountsasnetworkcreatefilesystemfails187759eefd5", "2019-12-26T23:29:07.695270Z", "jtfsaccountsasnetworkcreatefilesystemfails2909110bdaaae" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkcreatefilesystemsucceeds.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkcreatefilesystemsucceeds.json index 167aed43e120a..cc4b765052018 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkcreatefilesystemsucceeds.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworkcreatefilesystemsucceeds.json @@ -1,169 +1,169 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds04922171127f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds094485833566?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0c5c2cb0-b078-4d56-8540-1e16f6554ac4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dcab9d74-c8a9-4220-9916-5d4b82bc76f5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782645D4EFCE", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:27 GMT", + "ETag" : "0x8D78A5B6788F563", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a472b-e01e-0092-1a0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:27 GMT", - "x-ms-client-request-id" : "0c5c2cb0-b078-4d56-8540-1e16f6554ac4" + "x-ms-request-id" : "fa93ed71-b01e-0003-7b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "dcab9d74-c8a9-4220-9916-5d4b82bc76f5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds04922171127f/javapathaccountsasnetworkcreatefilesystemsucceeds1197996d8d?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds094485833566/javapathaccountsasnetworkcreatefilesystemsucceeds166729d05c?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "df4e3d79-c272-432e-ac44-155979d988c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "def503d8-ce56-4593-a410-30804dba8044" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782645FA3990", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:27 GMT", + "ETag" : "0x8D78A5B67BE1986", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9b6f-101f-004b-3a0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "df4e3d79-c272-432e-ac44-155979d988c7" + "x-ms-request-id" : "e84adc7d-401f-0017-5644-bc3b30000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "def503d8-ce56-4593-a410-30804dba8044" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds04922171127f/javapathaccountsasnetworkcreatefilesystemsucceeds1197996d8d?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds094485833566/javapathaccountsasnetworkcreatefilesystemsucceeds166729d05c?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "06088601-8c43-4d3f-b9cf-def7d796cf08", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c27a99db-3881-4395-9411-d6d4a85842a6", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9b7d-101f-004b-480f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "06088601-8c43-4d3f-b9cf-def7d796cf08" + "x-ms-request-id" : "e84adc7e-401f-0017-5744-bc3b30000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "c27a99db-3881-4395-9411-d6d4a85842a6" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds04922171127f/javapathaccountsasnetworkcreatefilesystemsucceeds1197996d8d?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds094485833566/javapathaccountsasnetworkcreatefilesystemsucceeds166729d05c?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d3993ec1-5116-4e62-a4b9-a364b8333105" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "28a69e42-4a36-4ad1-8dfe-17760d1a42b3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826460B58DF", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:27 GMT", + "ETag" : "0x8D78A5B67D90156", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9b7e-101f-004b-490f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "d3993ec1-5116-4e62-a4b9-a364b8333105" + "x-ms-request-id" : "e84adc7f-401f-0017-5844-bc3b30000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "28a69e42-4a36-4ad1-8dfe-17760d1a42b3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds27281327c861?restype=container&sv=2019-02-02&ss=b&srt=sco&se=2019-12-04T19%3A23%3A27Z&sp=rc&sig=REDACTED", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds2328857f61d5?restype=container&sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A29%3A08Z&sp=rc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "35bc7a55-5eea-4088-a3cb-1a0a52630a1d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e5313901-80a4-49d0-a6df-3d60c0891665" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264613D8CF", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:27 GMT", + "ETag" : "0x8D78A5B67EBFD2C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a47a3-e01e-0092-7e0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:27 GMT", - "x-ms-client-request-id" : "35bc7a55-5eea-4088-a3cb-1a0a52630a1d" + "x-ms-request-id" : "fa93ed9d-b01e-0003-1e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "e5313901-80a4-49d0-a6df-3d60c0891665" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsaccountsasnetworkcreatefilesystemsucceeds&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsaccountsasnetworkcreatefilesystemsucceeds&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3b408eef-2105-4397-8347-0cc01e5eed07" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5a82b7c9-75d0-4fd1-b499-4b8f6a214756" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a47bf-e01e-0092-140f-aad9cc000000", - "Body" : "jtfsaccountsasnetworkcreatefilesystemsucceedsjtfsaccountsasnetworkcreatefilesystemsucceeds04922171127fTue, 03 Dec 2019 19:23:27 GMT\"0x8D7782645D4EFCE\"unlockedavailable$account-encryption-keyfalsefalsefalsejtfsaccountsasnetworkcreatefilesystemsucceeds27281327c861Tue, 03 Dec 2019 19:23:27 GMT\"0x8D778264613D8CF\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:27 GMT", - "x-ms-client-request-id" : "3b408eef-2105-4397-8347-0cc01e5eed07", + "x-ms-request-id" : "fa93eda6-b01e-0003-2544-bc735f000000", + "Body" : "jtfsaccountsasnetworkcreatefilesystemsucceedsjtfsaccountsasnetworkcreatefilesystemsucceeds094485833566Thu, 26 Dec 2019 23:29:07 GMT\"0x8D78A5B6788F563\"unlockedavailable$account-encryption-keyfalsefalsefalsejtfsaccountsasnetworkcreatefilesystemsucceeds2328857f61d5Thu, 26 Dec 2019 23:29:08 GMT\"0x8D78A5B67EBFD2C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "5a82b7c9-75d0-4fd1-b499-4b8f6a214756", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds04922171127f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds094485833566?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "587cc6b7-55b0-4d30-8d48-4d73cfbb3e5f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eab3db1a-693d-4d89-a47b-b6eb354069d3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a47d0-e01e-0092-240f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:27 GMT", - "x-ms-client-request-id" : "587cc6b7-55b0-4d30-8d48-4d73cfbb3e5f" + "x-ms-request-id" : "fa93edad-b01e-0003-2b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "eab3db1a-693d-4d89-a47b-b6eb354069d3" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds27281327c861?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworkcreatefilesystemsucceeds2328857f61d5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4a90cefa-8a09-4e0e-971e-6124dad61569" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "259d3579-855d-44b5-83d4-f8c225e66b26" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a47de-e01e-0092-320f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:27 GMT", - "x-ms-client-request-id" : "4a90cefa-8a09-4e0e-971e-6124dad61569" + "x-ms-request-id" : "fa93edaf-b01e-0003-2d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "259d3579-855d-44b5-83d4-f8c225e66b26" }, "Exception" : null } ], - "variables" : [ "jtfsaccountsasnetworkcreatefilesystemsucceeds04922171127f", "javapathaccountsasnetworkcreatefilesystemsucceeds1197996d8d", "2019-12-03T19:23:27.524779200Z", "jtfsaccountsasnetworkcreatefilesystemsucceeds27281327c861" ] + "variables" : [ "jtfsaccountsasnetworkcreatefilesystemsucceeds094485833566", "javapathaccountsasnetworkcreatefilesystemsucceeds166729d05c", "2019-12-26T23:29:08.554003200Z", "jtfsaccountsasnetworkcreatefilesystemsucceeds2328857f61d5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworktestfiledeletefails.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworktestfiledeletefails.json index 651cc04e65532..91f2c5bbc600d 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworktestfiledeletefails.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworktestfiledeletefails.json @@ -1,172 +1,172 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworktestfiledeletefails05709054b382b9?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworktestfiledeletefails0512374829e6e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "35a11943-48e3-45aa-b688-30296e4c910f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8db5654f-502d-4e6c-8b85-592f9ef60756" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264536497E", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:26 GMT", + "ETag" : "0x8D78A5B666AB44D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a462d-e01e-0092-3c0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "35a11943-48e3-45aa-b688-30296e4c910f" + "x-ms-request-id" : "fa93ed08-b01e-0003-2644-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "8db5654f-502d-4e6c-8b85-592f9ef60756" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails05709054b382b9/javapathaccountsasnetworktestfiledeletefails10336822cc25?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails0512374829e6e4/javapathaccountsasnetworktestfiledeletefails1860298337cf?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0173fa97-efa5-4668-81ea-2208d49e42e9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cec6824c-ce8a-4c4b-8157-dcd33cb74ef9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264543B0CF", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:26 GMT", + "ETag" : "0x8D78A5B66A43E04", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9b03-101f-004b-4e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "0173fa97-efa5-4668-81ea-2208d49e42e9" + "x-ms-request-id" : "57169d42-301f-0032-1044-bc924c000000", + "Date" : "Thu, 26 Dec 2019 23:29:05 GMT", + "x-ms-client-request-id" : "cec6824c-ce8a-4c4b-8157-dcd33cb74ef9" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails05709054b382b9/javapathaccountsasnetworktestfiledeletefails10336822cc25?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails0512374829e6e4/javapathaccountsasnetworktestfiledeletefails1860298337cf?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "74e23a15-6299-4974-aea9-a61eff0dc1c3", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc5a0cf2-3885-4ab8-8400-2e2a22a5870f", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9b0f-101f-004b-5a0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "74e23a15-6299-4974-aea9-a61eff0dc1c3" + "x-ms-request-id" : "57169d43-301f-0032-1144-bc924c000000", + "Date" : "Thu, 26 Dec 2019 23:29:05 GMT", + "x-ms-client-request-id" : "bc5a0cf2-3885-4ab8-8400-2e2a22a5870f" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails05709054b382b9/javapathaccountsasnetworktestfiledeletefails10336822cc25?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails0512374829e6e4/javapathaccountsasnetworktestfiledeletefails1860298337cf?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4493afe4-686f-4412-bfdb-09391d24d1ba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e486261-2344-42f8-a80e-12d06344df97" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826455815A1", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:26 GMT", + "ETag" : "0x8D78A5B66BE7BE0", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9b14-101f-004b-5f0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "4493afe4-686f-4412-bfdb-09391d24d1ba" + "x-ms-request-id" : "57169d44-301f-0032-1244-bc924c000000", + "Date" : "Thu, 26 Dec 2019 23:29:05 GMT", + "x-ms-client-request-id" : "8e486261-2344-42f8-a80e-12d06344df97" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails05709054b382b9/javapathaccountsasnetworktestfiledeletefails27227311cfef?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails0512374829e6e4/javapathaccountsasnetworktestfiledeletefails253611f1eb67?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6e174676-54ba-4260-ad48-ba73220e2af4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c5ab6f0-6b33-4712-a940-6156e77f79b6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264565F9C9", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:26 GMT", + "ETag" : "0x8D78A5B66EEB8DB", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9b21-101f-004b-6c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "6e174676-54ba-4260-ad48-ba73220e2af4" + "x-ms-request-id" : "0b3ee8f0-901f-0014-1c44-bcda54000000", + "Date" : "Thu, 26 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "6c5ab6f0-6b33-4712-a940-6156e77f79b6" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails05709054b382b9/javapathaccountsasnetworktestfiledeletefails27227311cfef?sv=2019-02-02&ss=b&srt=sco&se=2019-12-04T19%3A23%3A26Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfiledeletefails0512374829e6e4/javapathaccountsasnetworktestfiledeletefails253611f1eb67?sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A29%3A07Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7d88c36c-809d-4d09-a0e0-b2367159ff26" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "58c043cd-b221-4583-9483-237d0d9f80f1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "227", "StatusCode" : "403", - "x-ms-request-id" : "053c9b2c-101f-004b-770f-aa7fe0000000", - "Body" : "{\"error\":{\"code\":\"AuthorizationPermissionMismatch\",\"message\":\"This request is not authorized to perform this operation using this permission.\\nRequestId:053c9b2c-101f-004b-770f-aa7fe0000000\\nTime:2019-12-03T19:23:26.5161685Z\"}}", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "7d88c36c-809d-4d09-a0e0-b2367159ff26", + "x-ms-request-id" : "0b3ee8f1-901f-0014-1d44-bcda54000000", + "Body" : "{\"error\":{\"code\":\"AuthorizationPermissionMismatch\",\"message\":\"This request is not authorized to perform this operation using this permission.\\nRequestId:0b3ee8f1-901f-0014-1d44-bcda54000000\\nTime:2019-12-26T23:29:07.1176545Z\"}}", + "Date" : "Thu, 26 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "58c043cd-b221-4583-9483-237d0d9f80f1", "Content-Type" : "application/json;charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsaccountsasnetworktestfiledeletefails&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsaccountsasnetworktestfiledeletefails&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2b3b20e2-51d8-4e9e-930c-4617960ab829" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "25a32bf8-d671-4d44-a474-90225d070cd2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a468c-e01e-0092-0b0f-aad9cc000000", - "Body" : "jtfsaccountsasnetworktestfiledeletefailsjtfsaccountsasnetworktestfiledeletefails05709054b382b9Tue, 03 Dec 2019 19:23:26 GMT\"0x8D778264536497E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "2b3b20e2-51d8-4e9e-930c-4617960ab829", + "x-ms-request-id" : "fa93ed3c-b01e-0003-4e44-bc735f000000", + "Body" : "jtfsaccountsasnetworktestfiledeletefailsjtfsaccountsasnetworktestfiledeletefails0512374829e6e4Thu, 26 Dec 2019 23:29:06 GMT\"0x8D78A5B666AB44D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "25a32bf8-d671-4d44-a474-90225d070cd2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworktestfiledeletefails05709054b382b9?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworktestfiledeletefails0512374829e6e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8da4d882-31f0-4951-8b09-359dd0857272" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f26fbcc5-00ea-4b6c-807f-a72a0704f93e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a4694-e01e-0092-120f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "8da4d882-31f0-4951-8b09-359dd0857272" + "x-ms-request-id" : "fa93ed40-b01e-0003-5244-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "f26fbcc5-00ea-4b6c-807f-a72a0704f93e" }, "Exception" : null } ], - "variables" : [ "jtfsaccountsasnetworktestfiledeletefails05709054b382b9", "javapathaccountsasnetworktestfiledeletefails10336822cc25", "javapathaccountsasnetworktestfiledeletefails27227311cfef", "2019-12-03T19:23:26.440565200Z" ] + "variables" : [ "jtfsaccountsasnetworktestfiledeletefails0512374829e6e4", "javapathaccountsasnetworktestfiledeletefails1860298337cf", "javapathaccountsasnetworktestfiledeletefails253611f1eb67", "2019-12-26T23:29:07.037330100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworktestfileread.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworktestfileread.json index 09190d71f1cd7..582f68671e51b 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworktestfileread.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestaccountsasnetworktestfileread.json @@ -1,222 +1,222 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "16bc3c49-c222-420d-898e-d11000b1531d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e601be99-0e18-41ad-8426-10c74372574e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782644C8CE18", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:25 GMT", + "ETag" : "0x8D78A5B6580C8B0", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a4584-e01e-0092-2c0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "16bc3c49-c222-420d-898e-d11000b1531d" + "x-ms-request-id" : "fa93ecb9-b01e-0003-6744-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:03 GMT", + "x-ms-client-request-id" : "e601be99-0e18-41ad-8426-10c74372574e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6/javapathaccountsasnetworktestfileread15643094dcda8954?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470/javapathaccountsasnetworktestfileread118861795c6410d2?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "552725f4-1c60-49b1-84e0-491ab7d6012f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22f41bb7-7937-487e-9dce-0621bf84a59e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782644DC0234", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:25 GMT", + "ETag" : "0x8D78A5B65B550AE", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9aea-101f-004b-360f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "552725f4-1c60-49b1-84e0-491ab7d6012f" + "x-ms-request-id" : "2260eef6-701f-0041-7f44-bccadf000000", + "Date" : "Thu, 26 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "22f41bb7-7937-487e-9dce-0621bf84a59e" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6/javapathaccountsasnetworktestfileread15643094dcda8954?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470/javapathaccountsasnetworktestfileread118861795c6410d2?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "13093bef-36a3-4a36-bdd5-6891e6f67049", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "005d2311-d23e-4390-8248-fbce589b2b60", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9aeb-101f-004b-370f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "13093bef-36a3-4a36-bdd5-6891e6f67049" + "x-ms-request-id" : "2260eef7-701f-0041-8044-bccadf000000", + "Date" : "Thu, 26 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "005d2311-d23e-4390-8248-fbce589b2b60" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6/javapathaccountsasnetworktestfileread15643094dcda8954?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470/javapathaccountsasnetworktestfileread118861795c6410d2?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c3aa21a8-543d-4ca0-8adf-f20bae3cf653" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bde1d598-6bc5-4d6b-ab15-c9e3ac17d65c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782644ED10E5", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:25 GMT", + "ETag" : "0x8D78A5B65D72CCA", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9aec-101f-004b-380f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "c3aa21a8-543d-4ca0-8adf-f20bae3cf653" + "x-ms-request-id" : "2260eef8-701f-0041-0144-bccadf000000", + "Date" : "Thu, 26 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "bde1d598-6bc5-4d6b-ab15-c9e3ac17d65c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6/javapathaccountsasnetworktestfileread2692164a07695d0e?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470/javapathaccountsasnetworktestfileread2288239671c37e84?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b5fe3e2f-adf2-48b4-9548-6db7e29d53c4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6d546d85-480c-44e5-90c1-c0969944abbf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782644F855CE", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:25 GMT", + "ETag" : "0x8D78A5B660D7A52", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9aed-101f-004b-390f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "b5fe3e2f-adf2-48b4-9548-6db7e29d53c4" + "x-ms-request-id" : "80946d25-901f-0049-1744-bcd0d0000000", + "Date" : "Thu, 26 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "6d546d85-480c-44e5-90c1-c0969944abbf" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6/javapathaccountsasnetworktestfileread2692164a07695d0e?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470/javapathaccountsasnetworktestfileread2288239671c37e84?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f8814bd1-35fc-41d2-ad25-d211bffb5b5e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "667b08fc-7ade-4fbf-ac2b-0e030d32ec56", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9aef-101f-004b-3a0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "f8814bd1-35fc-41d2-ad25-d211bffb5b5e" + "x-ms-request-id" : "80946d26-901f-0049-1844-bcd0d0000000", + "Date" : "Thu, 26 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "667b08fc-7ade-4fbf-ac2b-0e030d32ec56" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6/javapathaccountsasnetworktestfileread2692164a07695d0e?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470/javapathaccountsasnetworktestfileread2288239671c37e84?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8baefd0d-b36d-4478-8ced-3c14bbd0516d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bd514105-4b3c-46bf-a697-e07ae650f092" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826450862D5", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:25 GMT", + "ETag" : "0x8D78A5B662B8A0A", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9af0-101f-004b-3b0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "8baefd0d-b36d-4478-8ced-3c14bbd0516d" + "x-ms-request-id" : "80946d27-901f-0049-1944-bcd0d0000000", + "Date" : "Thu, 26 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "bd514105-4b3c-46bf-a697-e07ae650f092" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6/javapathaccountsasnetworktestfileread2692164a07695d0e?sv=2019-02-02&ss=b&srt=sco&se=2019-12-04T19%3A23%3A25Z&sp=r&sig=REDACTED", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470/javapathaccountsasnetworktestfileread2288239671c37e84?sv=2019-07-07&ss=b&srt=sco&se=2019-12-27T23%3A29%3A05Z&sp=r&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ee7b197f-b1c9-4de7-8da1-4212d26aedf4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e37bfe6-9f45-4437-8e15-12652f07807a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:25 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:05 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", + "Date" : "Thu, 26 Dec 2019 23:29:05 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D77826450862D5", - "x-ms-creation-time" : "Tue, 03 Dec 2019 19:23:25 GMT", + "ETag" : "0x8D78A5B662B8A0A", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:29:05 GMT", "Content-Length" : "7", - "x-ms-request-id" : "1d9a45fd-e01e-0092-110f-aad9cc000000", + "x-ms-request-id" : "fa93ecf3-b01e-0003-1544-bc735f000000", "Body" : "[100, 101, 102, 97, 117, 108, 116]", - "x-ms-client-request-id" : "ee7b197f-b1c9-4de7-8da1-4212d26aedf4", + "x-ms-client-request-id" : "8e37bfe6-9f45-4437-8e15-12652f07807a", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsaccountsasnetworktestfileread&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsaccountsasnetworktestfileread&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "11403d6d-79d7-4f56-8d8c-5b7a219b301f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "878a2902-cde6-4586-acdb-d23b74e1a3da" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a460b-e01e-0092-1d0f-aad9cc000000", - "Body" : "jtfsaccountsasnetworktestfilereadjtfsaccountsasnetworktestfileread04140474000823cce6Tue, 03 Dec 2019 19:23:25 GMT\"0x8D7782644C8CE18\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "11403d6d-79d7-4f56-8d8c-5b7a219b301f", + "x-ms-request-id" : "fa93ecfb-b01e-0003-1a44-bc735f000000", + "Body" : "jtfsaccountsasnetworktestfilereadjtfsaccountsasnetworktestfileread040909d4d3a183d470Thu, 26 Dec 2019 23:29:04 GMT\"0x8D78A5B6580C8B0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:05 GMT", + "x-ms-client-request-id" : "878a2902-cde6-4586-acdb-d23b74e1a3da", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsaccountsasnetworktestfileread04140474000823cce6?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsaccountsasnetworktestfileread040909d4d3a183d470?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "cf4fa3b6-9561-44cc-a3f3-9fe30876871a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7bd1fdc-b75a-49d9-8b25-0aa85e6c9e21" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a461d-e01e-0092-2c0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:26 GMT", - "x-ms-client-request-id" : "cf4fa3b6-9561-44cc-a3f3-9fe30876871a" + "x-ms-request-id" : "fa93ed04-b01e-0003-2244-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "c7bd1fdc-b75a-49d9-8b25-0aa85e6c9e21" }, "Exception" : null } ], - "variables" : [ "jtfsaccountsasnetworktestfileread04140474000823cce6", "javapathaccountsasnetworktestfileread15643094dcda8954", "javapathaccountsasnetworktestfileread2692164a07695d0e", "2019-12-03T19:23:25.852327300Z" ] + "variables" : [ "jtfsaccountsasnetworktestfileread040909d4d3a183d470", "javapathaccountsasnetworktestfileread118861795c6410d2", "javapathaccountsasnetworktestfileread2288239671c37e84", "2019-12-26T23:29:05.749040900Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[0].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[0].json index 1f25cc3eeecb8..0825c6030e28d 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[0].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[0].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerange0sastestfilerangedb893618b7d9706e5e38?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerange0sastestfilerange60470847f3ca2dcd195d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ace0f844-c91d-4d6b-b384-4509a1986dbc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "edc6318a-8473-4fe2-b0b2-533dbd761ff1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264134F16A", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:19 GMT", + "ETag" : "0x8D78A5B4CA6E6DB", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a3f16-e01e-0092-2b0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "ace0f844-c91d-4d6b-b384-4509a1986dbc" + "x-ms-request-id" : "fa93e37f-b01e-0003-5b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:22 GMT", + "x-ms-client-request-id" : "edc6318a-8473-4fe2-b0b2-533dbd761ff1" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerangedb893618b7d9706e5e38/javapathfilerange1sastestfilerangedb809236f255142ba2?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfilerange60470847f3ca2dcd195d/javapathfilerange1sastestfilerange60449144d4d86a1f08?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "dd625247-7bc8-46df-b02f-8e0d37c76866" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b647cda9-aa65-4e26-b0d6-5d8fc9d202e4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826418020E5", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:19 GMT", + "ETag" : "0x8D78A5B4D5D7EC5", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9ac9-101f-004b-160f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:18 GMT", - "x-ms-client-request-id" : "dd625247-7bc8-46df-b02f-8e0d37c76866" + "x-ms-request-id" : "2f7dd4b1-e01f-000e-1744-bcbb8b000000", + "Date" : "Thu, 26 Dec 2019 23:28:23 GMT", + "x-ms-client-request-id" : "b647cda9-aa65-4e26-b0d6-5d8fc9d202e4" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerangedb893618b7d9706e5e38/javapathfilerange1sastestfilerangedb809236f255142ba2?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfilerange60470847f3ca2dcd195d/javapathfilerange1sastestfilerange60449144d4d86a1f08?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "00765b6c-d254-4407-a3c0-2479cabebd81", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4040aa66-3d3e-458a-890c-a82f3214c8ee", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9aca-101f-004b-170f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "00765b6c-d254-4407-a3c0-2479cabebd81" + "x-ms-request-id" : "2f7dd4b2-e01f-000e-1844-bcbb8b000000", + "Date" : "Thu, 26 Dec 2019 23:28:23 GMT", + "x-ms-client-request-id" : "4040aa66-3d3e-458a-890c-a82f3214c8ee" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerangedb893618b7d9706e5e38/javapathfilerange1sastestfilerangedb809236f255142ba2?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfilerange60470847f3ca2dcd195d/javapathfilerange1sastestfilerange60449144d4d86a1f08?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6f14ca68-090f-443a-ac72-716cfd357520" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dd7e935b-d656-4e73-b8f3-41d3393c88cf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264196E508", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:20 GMT", + "ETag" : "0x8D78A5B4D82A451", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9acb-101f-004b-180f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "6f14ca68-090f-443a-ac72-716cfd357520" + "x-ms-request-id" : "2f7dd4b3-e01f-000e-1944-bcbb8b000000", + "Date" : "Thu, 26 Dec 2019 23:28:23 GMT", + "x-ms-client-request-id" : "dd7e935b-d656-4e73-b8f3-41d3393c88cf" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilerange&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilerange&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "119891da-08d3-46f7-b2a1-a42c89672836" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d04e3fe8-fc61-4241-a998-3012dc807412" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a3fd2-e01e-0092-450f-aad9cc000000", - "Body" : "jtfsfilerangejtfsfilerange0sastestfilerangedb893618b7d9706e5e38Tue, 03 Dec 2019 19:23:19 GMT\"0x8D778264134F16A\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "119891da-08d3-46f7-b2a1-a42c89672836", + "x-ms-request-id" : "fa93e3d5-b01e-0003-1844-bc735f000000", + "Body" : "jtfsfilerangejtfsfilerange0sastestfilerange60470847f3ca2dcd195dThu, 26 Dec 2019 23:28:22 GMT\"0x8D78A5B4CA6E6DB\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:28:23 GMT", + "x-ms-client-request-id" : "d04e3fe8-fc61-4241-a998-3012dc807412", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerange0sastestfilerangedb893618b7d9706e5e38?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerange0sastestfilerange60470847f3ca2dcd195d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2972a376-2e68-4933-a8b0-d9780e9d19e1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c5076706-a668-4e19-9be4-56d00309222f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a3fed-e01e-0092-5d0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "2972a376-2e68-4933-a8b0-d9780e9d19e1" + "x-ms-request-id" : "fa93e3dd-b01e-0003-1e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:23 GMT", + "x-ms-client-request-id" : "c5076706-a668-4e19-9be4-56d00309222f" }, "Exception" : null } ], - "variables" : [ "jtfsfilerange0sastestfilerangedb893618b7d9706e5e38", "javapathfilerange1sastestfilerangedb809236f255142ba2" ] + "variables" : [ "jtfsfilerange0sastestfilerange60470847f3ca2dcd195d", "javapathfilerange1sastestfilerange60449144d4d86a1f08" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[1].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[1].json index 2c5542e303313..eb339986e29d3 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[1].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[1].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerange0sastestfilerange0e11306291a6a76e7b90?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerange0sastestfileranged7627286027c508ab13f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1b842950-55d8-4b7f-9c10-22187cffa093" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d121e32c-84d9-476f-9031-1451114b964a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782641C05A66", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:20 GMT", + "ETag" : "0x8D78A5B4DBCC418", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a400b-e01e-0092-720f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "1b842950-55d8-4b7f-9c10-22187cffa093" + "x-ms-request-id" : "fa93e3e8-b01e-0003-2844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:24 GMT", + "x-ms-client-request-id" : "d121e32c-84d9-476f-9031-1451114b964a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerange0e11306291a6a76e7b90/javapathfilerange1sastestfilerange0e182333bd487ee611?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfileranged7627286027c508ab13f/javapathfilerange1sastestfileranged762731418fd6df996?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "64addad3-5f60-4b77-bb73-6d3ac40bd32b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc0a649f-3d26-4364-881e-c3cf202b2bf3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782641D14826", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:20 GMT", + "ETag" : "0x8D78A5B4DF17D0C", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9acc-101f-004b-190f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "64addad3-5f60-4b77-bb73-6d3ac40bd32b" + "x-ms-request-id" : "965c15dd-601f-0010-3644-bc5753000000", + "Date" : "Thu, 26 Dec 2019 23:28:24 GMT", + "x-ms-client-request-id" : "bc0a649f-3d26-4364-881e-c3cf202b2bf3" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerange0e11306291a6a76e7b90/javapathfilerange1sastestfilerange0e182333bd487ee611?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfileranged7627286027c508ab13f/javapathfilerange1sastestfileranged762731418fd6df996?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "dd9ee95e-80ca-47a5-8850-7f75b8931614", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "051f29a1-002c-4ce9-a1a5-e3c9586acc27", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9acd-101f-004b-1a0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "dd9ee95e-80ca-47a5-8850-7f75b8931614" + "x-ms-request-id" : "965c15de-601f-0010-3744-bc5753000000", + "Date" : "Thu, 26 Dec 2019 23:28:24 GMT", + "x-ms-client-request-id" : "051f29a1-002c-4ce9-a1a5-e3c9586acc27" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerange0e11306291a6a76e7b90/javapathfilerange1sastestfilerange0e182333bd487ee611?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfileranged7627286027c508ab13f/javapathfilerange1sastestfileranged762731418fd6df996?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e1f32ef4-e4d3-41a2-b3be-e717a3fd8ba3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "23d102fd-8faf-4cf6-a7b4-bd81b3151438" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782641E5D4DD", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:20 GMT", + "ETag" : "0x8D78A5B4E0D4E6E", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ace-101f-004b-1b0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "e1f32ef4-e4d3-41a2-b3be-e717a3fd8ba3" + "x-ms-request-id" : "965c15df-601f-0010-3844-bc5753000000", + "Date" : "Thu, 26 Dec 2019 23:28:24 GMT", + "x-ms-client-request-id" : "23d102fd-8faf-4cf6-a7b4-bd81b3151438" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilerange&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilerange&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "681dfcbf-7c80-45c1-964c-a70e5c4367b7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3a5d8f40-8d47-4949-ac82-663e10c3b8a8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a405e-e01e-0092-3a0f-aad9cc000000", - "Body" : "jtfsfilerangejtfsfilerange0sastestfilerange0e11306291a6a76e7b90Tue, 03 Dec 2019 19:23:20 GMT\"0x8D7782641C05A66\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "681dfcbf-7c80-45c1-964c-a70e5c4367b7", + "x-ms-request-id" : "fa93e40f-b01e-0003-4a44-bc735f000000", + "Body" : "jtfsfilerangejtfsfilerange0sastestfileranged7627286027c508ab13fThu, 26 Dec 2019 23:28:24 GMT\"0x8D78A5B4DBCC418\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:28:24 GMT", + "x-ms-client-request-id" : "3a5d8f40-8d47-4949-ac82-663e10c3b8a8", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerange0sastestfilerange0e11306291a6a76e7b90?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerange0sastestfileranged7627286027c508ab13f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d282f17d-5273-4592-996f-351a51d61937" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6859b371-5868-4ae3-a045-65c0d624686a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a4069-e01e-0092-430f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "d282f17d-5273-4592-996f-351a51d61937" + "x-ms-request-id" : "fa93e415-b01e-0003-4e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:24 GMT", + "x-ms-client-request-id" : "6859b371-5868-4ae3-a045-65c0d624686a" }, "Exception" : null } ], - "variables" : [ "jtfsfilerange0sastestfilerange0e11306291a6a76e7b90", "javapathfilerange1sastestfilerange0e182333bd487ee611" ] + "variables" : [ "jtfsfilerange0sastestfileranged7627286027c508ab13f", "javapathfilerange1sastestfileranged762731418fd6df996" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[2].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[2].json index da20f47dfc16b..7237f256ae7ab 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[2].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerange[2].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerange0sastestfilerangef3e695519063e62439d9?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerange0sastestfilerangee34017333e1661ada725?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8ec42856-1183-4705-8ed9-5d2b15ffaac1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "584bdbc6-367e-41b7-997e-c885ef1af86e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264202C67C", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:20 GMT", + "ETag" : "0x8D78A5B4E3612B4", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a4082-e01e-0092-570f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "8ec42856-1183-4705-8ed9-5d2b15ffaac1" + "x-ms-request-id" : "fa93e41a-b01e-0003-5244-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:24 GMT", + "x-ms-client-request-id" : "584bdbc6-367e-41b7-997e-c885ef1af86e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerangef3e695519063e62439d9/javapathfilerange1sastestfilerangef3e368908e98932242?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfilerangee34017333e1661ada725/javapathfilerange1sastestfilerangee34047901e84a62d8d?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "37b847de-1923-4089-a162-11cc200469a5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "35850752-bac8-40c0-9b75-fcbb1d234369" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826420F73E2", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:20 GMT", + "ETag" : "0x8D78A5B4E6C7BB8", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9acf-101f-004b-1c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "37b847de-1923-4089-a162-11cc200469a5" + "x-ms-request-id" : "e06b4f5a-f01f-0002-7344-bc2c83000000", + "Date" : "Thu, 26 Dec 2019 23:28:25 GMT", + "x-ms-client-request-id" : "35850752-bac8-40c0-9b75-fcbb1d234369" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerangef3e695519063e62439d9/javapathfilerange1sastestfilerangef3e368908e98932242?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfilerangee34017333e1661ada725/javapathfilerange1sastestfilerangee34047901e84a62d8d?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "bc4eaa4f-8de9-4847-ade9-671f75a60ee3", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f23bc53-70fc-4c73-8561-1afb39d28120", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ad0-101f-004b-1d0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "bc4eaa4f-8de9-4847-ade9-671f75a60ee3" + "x-ms-request-id" : "e06b4f5b-f01f-0002-7444-bc2c83000000", + "Date" : "Thu, 26 Dec 2019 23:28:25 GMT", + "x-ms-client-request-id" : "7f23bc53-70fc-4c73-8561-1afb39d28120" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerange0sastestfilerangef3e695519063e62439d9/javapathfilerange1sastestfilerangef3e368908e98932242?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerange0sastestfilerangee34017333e1661ada725/javapathfilerange1sastestfilerangee34047901e84a62d8d?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8c3dd1cb-d432-481d-b8b8-7bca87ff7b4a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7bd09754-df13-4535-b6ad-c9ac83b8b7d2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782642208826", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:20 GMT", + "ETag" : "0x8D78A5B4E878D16", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ad1-101f-004b-1e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:19 GMT", - "x-ms-client-request-id" : "8c3dd1cb-d432-481d-b8b8-7bca87ff7b4a" + "x-ms-request-id" : "e06b4f5c-f01f-0002-7544-bc2c83000000", + "Date" : "Thu, 26 Dec 2019 23:28:25 GMT", + "x-ms-client-request-id" : "7bd09754-df13-4535-b6ad-c9ac83b8b7d2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilerange&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilerange&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "010cfd7c-ace6-4494-8f51-56d210eafbac" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c8c1b1f-e5b7-4c53-a2dc-af2361b7f42f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a40cb-e01e-0092-0f0f-aad9cc000000", - "Body" : "jtfsfilerangejtfsfilerange0sastestfilerangef3e695519063e62439d9Tue, 03 Dec 2019 19:23:20 GMT\"0x8D778264202C67C\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "010cfd7c-ace6-4494-8f51-56d210eafbac", + "x-ms-request-id" : "fa93e43a-b01e-0003-6c44-bc735f000000", + "Body" : "jtfsfilerangejtfsfilerange0sastestfilerangee34017333e1661ada725Thu, 26 Dec 2019 23:28:25 GMT\"0x8D78A5B4E3612B4\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:28:25 GMT", + "x-ms-client-request-id" : "2c8c1b1f-e5b7-4c53-a2dc-af2361b7f42f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerange0sastestfilerangef3e695519063e62439d9?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerange0sastestfilerangee34017333e1661ada725?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4d461a0b-25e1-4b67-9bd5-8d9d950f7e19" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cd93c98b-c2d9-41c7-9400-2587fe9fbec2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a40e3-e01e-0092-200f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "4d461a0b-25e1-4b67-9bd5-8d9d950f7e19" + "x-ms-request-id" : "fa93e43e-b01e-0003-7044-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:25 GMT", + "x-ms-client-request-id" : "cd93c98b-c2d9-41c7-9400-2587fe9fbec2" }, "Exception" : null } ], - "variables" : [ "jtfsfilerange0sastestfilerangef3e695519063e62439d9", "javapathfilerange1sastestfilerangef3e368908e98932242" ] + "variables" : [ "jtfsfilerange0sastestfilerangee34017333e1661ada725", "javapathfilerange1sastestfilerangee34047901e84a62d8d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerangeia[0].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerangeia[0].json index 5b70e4db90d35..f40b5033eaa3a 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerangeia[0].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerangeia[0].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerangeia0sastestfilerangeia2168924360257cb889?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerangeia0sastestfilerangeiabf0575616669671eee?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8def2d42-09df-4a51-abc0-e5c976bd7e8f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d97a27f1-d5dd-495c-8739-11b3a78f5a45" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826423997BA", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:21 GMT", + "ETag" : "0x8D78A5B4EAFD6A3", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a40fc-e01e-0092-370f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "8def2d42-09df-4a51-abc0-e5c976bd7e8f" + "x-ms-request-id" : "fa93e43f-b01e-0003-7144-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:25 GMT", + "x-ms-client-request-id" : "d97a27f1-d5dd-495c-8739-11b3a78f5a45" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeia2168924360257cb889/javapathfilerangeia1sastestfilerangeia216794501c94b80a?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeiabf0575616669671eee/javapathfilerangeia1sastestfilerangeiabf036218110dbce9?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "24ecf75a-2d0d-405a-a15b-1fa63e814e10" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5cf147e1-74f5-4260-aa3e-0374bb89d590" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264248BD30", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:21 GMT", + "ETag" : "0x8D78A5B4EE6BE4B", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9ad2-101f-004b-1f0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "24ecf75a-2d0d-405a-a15b-1fa63e814e10" + "x-ms-request-id" : "cf0af5fc-c01f-0026-6a44-bcda23000000", + "Date" : "Thu, 26 Dec 2019 23:28:26 GMT", + "x-ms-client-request-id" : "5cf147e1-74f5-4260-aa3e-0374bb89d590" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeia2168924360257cb889/javapathfilerangeia1sastestfilerangeia216794501c94b80a?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeiabf0575616669671eee/javapathfilerangeia1sastestfilerangeiabf036218110dbce9?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d6526773-8a98-4aff-b931-01a0051e1454", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8fe4c95e-a97a-4c7b-b713-04eb94642265", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ad3-101f-004b-200f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "d6526773-8a98-4aff-b931-01a0051e1454" + "x-ms-request-id" : "cf0af5fd-c01f-0026-6b44-bcda23000000", + "Date" : "Thu, 26 Dec 2019 23:28:26 GMT", + "x-ms-client-request-id" : "8fe4c95e-a97a-4c7b-b713-04eb94642265" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeia2168924360257cb889/javapathfilerangeia1sastestfilerangeia216794501c94b80a?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeiabf0575616669671eee/javapathfilerangeia1sastestfilerangeiabf036218110dbce9?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1b38b386-2746-4ddc-b2ad-90dc3c75184b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0bb8a53b-5b18-4448-b448-f0c5a829bfb3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826426E54E1", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:21 GMT", + "ETag" : "0x8D78A5B4F01462E", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ad4-101f-004b-210f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "1b38b386-2746-4ddc-b2ad-90dc3c75184b" + "x-ms-request-id" : "cf0af5fe-c01f-0026-6c44-bcda23000000", + "Date" : "Thu, 26 Dec 2019 23:28:26 GMT", + "x-ms-client-request-id" : "0bb8a53b-5b18-4448-b448-f0c5a829bfb3" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilerangeia&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilerangeia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5b57c031-0382-4b83-8a59-4d0c029dc5e9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3c1bdd55-8131-4b11-bc4b-bcd10d076592" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a4150-e01e-0092-010f-aad9cc000000", - "Body" : "jtfsfilerangeiajtfsfilerangeia0sastestfilerangeia2168924360257cb889Tue, 03 Dec 2019 19:23:21 GMT\"0x8D77826423997BA\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "5b57c031-0382-4b83-8a59-4d0c029dc5e9", + "x-ms-request-id" : "fa93e452-b01e-0003-7f44-bc735f000000", + "Body" : "jtfsfilerangeiajtfsfilerangeia0sastestfilerangeiabf0575616669671eeeThu, 26 Dec 2019 23:28:26 GMT\"0x8D78A5B4EAFD6A3\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:28:26 GMT", + "x-ms-client-request-id" : "3c1bdd55-8131-4b11-bc4b-bcd10d076592", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerangeia0sastestfilerangeia2168924360257cb889?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerangeia0sastestfilerangeiabf0575616669671eee?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4b6c0b9c-ef0c-4159-bc71-02c5e5ec7ccb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca03754e-5cfe-42f9-923e-cda6a8149933" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a415c-e01e-0092-0d0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "4b6c0b9c-ef0c-4159-bc71-02c5e5ec7ccb" + "x-ms-request-id" : "fa93e458-b01e-0003-0444-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:26 GMT", + "x-ms-client-request-id" : "ca03754e-5cfe-42f9-923e-cda6a8149933" }, "Exception" : null } ], - "variables" : [ "jtfsfilerangeia0sastestfilerangeia2168924360257cb889", "javapathfilerangeia1sastestfilerangeia216794501c94b80a" ] + "variables" : [ "jtfsfilerangeia0sastestfilerangeiabf0575616669671eee", "javapathfilerangeia1sastestfilerangeiabf036218110dbce9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerangeia[1].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerangeia[1].json index 511403d2873ea..9ef9081011b47 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerangeia[1].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilerangeia[1].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerangeia0sastestfilerangeia22221314f3cf21b11d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerangeia0sastestfilerangeiafe24789086d5dbb301?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e5951823-bbf7-48c5-9678-cd5a23570ab3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca2c7e4c-d21c-484d-9b96-bc1afb0efaf4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264288FE69", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:21 GMT", + "ETag" : "0x8D78A5B4F34223A", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a417b-e01e-0092-250f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "e5951823-bbf7-48c5-9678-cd5a23570ab3" + "x-ms-request-id" : "fa93e461-b01e-0003-0b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:26 GMT", + "x-ms-client-request-id" : "ca2c7e4c-d21c-484d-9b96-bc1afb0efaf4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeia22221314f3cf21b11d/javapathfilerangeia1sastestfilerangeia222122084e7073f3?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeiafe24789086d5dbb301/javapathfilerangeia1sastestfilerangeiafe2687209bcc5fed?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "72e1d91f-d5f5-425a-8720-953f6e362bb2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b4f40c23-96bc-4e74-ad84-516a2f7e51cf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826429605A5", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:21 GMT", + "ETag" : "0x8D78A5B4F6D374B", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9ad5-101f-004b-220f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "72e1d91f-d5f5-425a-8720-953f6e362bb2" + "x-ms-request-id" : "171b0edf-701f-0033-5944-bccd90000000", + "Date" : "Thu, 26 Dec 2019 23:28:27 GMT", + "x-ms-client-request-id" : "b4f40c23-96bc-4e74-ad84-516a2f7e51cf" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeia22221314f3cf21b11d/javapathfilerangeia1sastestfilerangeia222122084e7073f3?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeiafe24789086d5dbb301/javapathfilerangeia1sastestfilerangeiafe2687209bcc5fed?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f2286027-7b12-4974-84b2-b446a7133feb", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "11133534-e112-43be-9cd1-3ad9b0a3a819", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ad6-101f-004b-230f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "f2286027-7b12-4974-84b2-b446a7133feb" + "x-ms-request-id" : "171b0ee0-701f-0033-5a44-bccd90000000", + "Date" : "Thu, 26 Dec 2019 23:28:27 GMT", + "x-ms-client-request-id" : "11133534-e112-43be-9cd1-3ad9b0a3a819" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeia22221314f3cf21b11d/javapathfilerangeia1sastestfilerangeia222122084e7073f3?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilerangeia0sastestfilerangeiafe24789086d5dbb301/javapathfilerangeia1sastestfilerangeiafe2687209bcc5fed?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9790ef40-76c5-4bbf-bcb5-6bfd2072d304" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea33b33f-ec30-4f2b-b5a3-becfb1578dec" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782642A8C14E", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:21 GMT", + "ETag" : "0x8D78A5B4F87E33B", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ad7-101f-004b-240f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:20 GMT", - "x-ms-client-request-id" : "9790ef40-76c5-4bbf-bcb5-6bfd2072d304" + "x-ms-request-id" : "171b0ee1-701f-0033-5b44-bccd90000000", + "Date" : "Thu, 26 Dec 2019 23:28:27 GMT", + "x-ms-client-request-id" : "ea33b33f-ec30-4f2b-b5a3-becfb1578dec" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilerangeia&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilerangeia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0f854fc6-3dc5-4d98-9ba0-cf3831620cd4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c7e6157-7dbc-45ad-84d2-38e79fe3c46e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a41b4-e01e-0092-580f-aad9cc000000", - "Body" : "jtfsfilerangeiajtfsfilerangeia0sastestfilerangeia22221314f3cf21b11dTue, 03 Dec 2019 19:23:21 GMT\"0x8D778264288FE69\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "0f854fc6-3dc5-4d98-9ba0-cf3831620cd4", + "x-ms-request-id" : "fa93e475-b01e-0003-1b44-bc735f000000", + "Body" : "jtfsfilerangeiajtfsfilerangeia0sastestfilerangeiafe24789086d5dbb301Thu, 26 Dec 2019 23:28:27 GMT\"0x8D78A5B4F34223A\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:28:27 GMT", + "x-ms-client-request-id" : "5c7e6157-7dbc-45ad-84d2-38e79fe3c46e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilerangeia0sastestfilerangeia22221314f3cf21b11d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilerangeia0sastestfilerangeiafe24789086d5dbb301?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "308a0d90-527b-4dc9-a01c-17a3a10d2536" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af30e04d-0287-4e27-8aed-90b2dc7a28ee" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a41bf-e01e-0092-630f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "308a0d90-527b-4dc9-a01c-17a3a10d2536" + "x-ms-request-id" : "fa93e477-b01e-0003-1d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:27 GMT", + "x-ms-client-request-id" : "af30e04d-0287-4e27-8aed-90b2dc7a28ee" }, "Exception" : null } ], - "variables" : [ "jtfsfilerangeia0sastestfilerangeia22221314f3cf21b11d", "javapathfilerangeia1sastestfilerangeia222122084e7073f3" ] + "variables" : [ "jtfsfilerangeia0sastestfilerangeiafe24789086d5dbb301", "javapathfilerangeia1sastestfilerangeiafe2687209bcc5fed" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[0].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[0].json index e6eb67f2a02c2..2fa314fd54093 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[0].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[0].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse04864888f3cc8d3242?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse04671241c5c216be0f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "50c1aaf8-e3fa-4588-8804-29e9f2124186" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d358c9c-bf75-4125-9b1e-d96aa93137b1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826513BB1D8", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:46 GMT", + "ETag" : "0x8D78A5B7DB67B2B", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5b88-e01e-0092-0b0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "50c1aaf8-e3fa-4588-8804-29e9f2124186" + "x-ms-request-id" : "fa93f74b-b01e-0003-0f44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "3d358c9c-bf75-4125-9b1e-d96aa93137b1" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04864888f3cc8d3242/javapathfilesystemsaspermissionparse19448242cc41d9fc?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04671241c5c216be0f/javapathfilesystemsaspermissionparse155056ad8f7c7360?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1699405f-11ca-45e8-a8d5-213dea89285e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4a6feb7e-c983-4249-ab24-d923cd5957f3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826514D373E", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:46 GMT", + "ETag" : "0x8D78A5B7DE8B252", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dee-101f-004b-2d0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "1699405f-11ca-45e8-a8d5-213dea89285e" + "x-ms-request-id" : "cf582cbe-601f-003f-0244-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "4a6feb7e-c983-4249-ab24-d923cd5957f3" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04864888f3cc8d3242/javapathfilesystemsaspermissionparse19448242cc41d9fc?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04671241c5c216be0f/javapathfilesystemsaspermissionparse155056ad8f7c7360?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "282b448e-97ba-42ff-802c-e976e0d156c8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c87dd553-4b71-4be7-9152-c113949d5a64", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9def-101f-004b-2e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "282b448e-97ba-42ff-802c-e976e0d156c8" + "x-ms-request-id" : "cf582cbf-601f-003f-0344-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "c87dd553-4b71-4be7-9152-c113949d5a64" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04864888f3cc8d3242/javapathfilesystemsaspermissionparse19448242cc41d9fc?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04671241c5c216be0f/javapathfilesystemsaspermissionparse155056ad8f7c7360?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9b9ad668-df76-4bac-89b7-6bb0aaecf410" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "35d72882-2467-4ba5-be4a-d5d8b53f9ab6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826516369FE", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:46 GMT", + "ETag" : "0x8D78A5B7E054556", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9df0-101f-004b-2f0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "9b9ad668-df76-4bac-89b7-6bb0aaecf410" + "x-ms-request-id" : "cf582cc0-601f-003f-0444-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "35d72882-2467-4ba5-be4a-d5d8b53f9ab6" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ca03c496-1eab-48d1-8968-645d40444721" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8612002e-5a77-45b8-96db-e181ca1324f6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5bd1-e01e-0092-490f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse04864888f3cc8d3242Tue, 03 Dec 2019 19:23:46 GMT\"0x8D77826513BB1D8\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "ca03c496-1eab-48d1-8968-645d40444721", + "x-ms-request-id" : "fa93f75d-b01e-0003-1d44-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse04671241c5c216be0fThu, 26 Dec 2019 23:29:45 GMT\"0x8D78A5B7DB67B2B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "8612002e-5a77-45b8-96db-e181ca1324f6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse04864888f3cc8d3242?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse04671241c5c216be0f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "13c1ce4b-86a5-47bf-b24c-12e62d80c7f1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "50ba2f91-f9fa-4b2c-a867-db89b59b84ec" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5bd6-e01e-0092-4e0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "13c1ce4b-86a5-47bf-b24c-12e62d80c7f1" + "x-ms-request-id" : "fa93f760-b01e-0003-1f44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "50ba2f91-f9fa-4b2c-a867-db89b59b84ec" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparse04864888f3cc8d3242", "javapathfilesystemsaspermissionparse19448242cc41d9fc" ] + "variables" : [ "jtfsfilesystemsaspermissionparse04671241c5c216be0f", "javapathfilesystemsaspermissionparse155056ad8f7c7360" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[1].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[1].json index 45f1feb856588..b6fa11050b8a6 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[1].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[1].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse0083948444dc2f1da7?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse031944b9cada503e1d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1a48cc02-2acc-454d-9a96-e5b439ff977c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3e471160-f39d-46e3-8fce-dd65a19a68f4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826517C48D2", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:46 GMT", + "ETag" : "0x8D78A5B7E40E136", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5be9-e01e-0092-5e0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "1a48cc02-2acc-454d-9a96-e5b439ff977c" + "x-ms-request-id" : "fa93f761-b01e-0003-2044-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "3e471160-f39d-46e3-8fce-dd65a19a68f4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0083948444dc2f1da7/javapathfilesystemsaspermissionparse1057671dc9a974a4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse031944b9cada503e1d/javapathfilesystemsaspermissionparse16341579c47aff7f?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8cbe387b-d458-41e6-a331-a3b8c6575a6c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7b661985-4970-4b54-b3b2-dedc46cec85a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782651866A02", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:46 GMT", + "ETag" : "0x8D78A5B7E72495D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9df1-101f-004b-300f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "8cbe387b-d458-41e6-a331-a3b8c6575a6c" + "x-ms-request-id" : "fcf75951-c01f-0044-3e44-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "7b661985-4970-4b54-b3b2-dedc46cec85a" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0083948444dc2f1da7/javapathfilesystemsaspermissionparse1057671dc9a974a4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse031944b9cada503e1d/javapathfilesystemsaspermissionparse16341579c47aff7f?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5fe2ec2f-1a09-47f9-9086-bd09c6c5b134", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a7a634f-3fd3-4bfb-89ce-00a8ae991439", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9df5-101f-004b-340f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "5fe2ec2f-1a09-47f9-9086-bd09c6c5b134" + "x-ms-request-id" : "fcf75952-c01f-0044-3f44-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "0a7a634f-3fd3-4bfb-89ce-00a8ae991439" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0083948444dc2f1da7/javapathfilesystemsaspermissionparse1057671dc9a974a4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse031944b9cada503e1d/javapathfilesystemsaspermissionparse16341579c47aff7f?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0045784d-b50f-4cef-9586-fb0c6c875f82" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "254c1ffb-18d4-412e-84c7-292c935b38f6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782651980944", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:46 GMT", + "ETag" : "0x8D78A5B7E8C5EC6", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dfa-101f-004b-390f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "0045784d-b50f-4cef-9586-fb0c6c875f82" + "x-ms-request-id" : "fcf75953-c01f-0044-4044-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "254c1ffb-18d4-412e-84c7-292c935b38f6" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f3eb9692-a4c4-4129-9a23-a8b79327b452" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c428edd8-43e3-4a26-8472-2d43c0c77430" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5c19-e01e-0092-070f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse0083948444dc2f1da7Tue, 03 Dec 2019 19:23:46 GMT\"0x8D77826517C48D2\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "f3eb9692-a4c4-4129-9a23-a8b79327b452", + "x-ms-request-id" : "fa93f773-b01e-0003-2f44-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse031944b9cada503e1dThu, 26 Dec 2019 23:29:46 GMT\"0x8D78A5B7E40E136\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "c428edd8-43e3-4a26-8472-2d43c0c77430", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse0083948444dc2f1da7?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse031944b9cada503e1d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d18c66b4-ea78-4403-b05e-d1acfaae3d86" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9449a97b-6187-4596-bee8-818a475182f9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5c20-e01e-0092-0e0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "d18c66b4-ea78-4403-b05e-d1acfaae3d86" + "x-ms-request-id" : "fa93f77a-b01e-0003-3544-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "9449a97b-6187-4596-bee8-818a475182f9" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparse0083948444dc2f1da7", "javapathfilesystemsaspermissionparse1057671dc9a974a4" ] + "variables" : [ "jtfsfilesystemsaspermissionparse031944b9cada503e1d", "javapathfilesystemsaspermissionparse16341579c47aff7f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[2].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[2].json index bb96234cb3a8e..26d8e157112c8 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[2].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[2].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse024973e4bcb1d1cd9e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse0088468e1be044de05?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "846e1f33-7027-41d6-87f0-33e180980a31" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bf030e25-6eac-4349-b074-2bc0bc636932" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782651B2086F", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:47 GMT", + "ETag" : "0x8D78A5B7EB1F2B0", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5c40-e01e-0092-280f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "846e1f33-7027-41d6-87f0-33e180980a31" + "x-ms-request-id" : "fa93f77f-b01e-0003-3944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "bf030e25-6eac-4349-b074-2bc0bc636932" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse024973e4bcb1d1cd9e/javapathfilesystemsaspermissionparse102594aceb31d8fb?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0088468e1be044de05/javapathfilesystemsaspermissionparse12470500e95253fe?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e2ad5398-18eb-48a0-9c50-6efe1196f0ce" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "389a1db2-8197-4bc0-a997-81d74d4924ff" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782651BDAB04", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:47 GMT", + "ETag" : "0x8D78A5B7EE4021B", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9e0c-101f-004b-4b0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "e2ad5398-18eb-48a0-9c50-6efe1196f0ce" + "x-ms-request-id" : "6b8f319d-001f-0029-8044-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "389a1db2-8197-4bc0-a997-81d74d4924ff" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse024973e4bcb1d1cd9e/javapathfilesystemsaspermissionparse102594aceb31d8fb?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0088468e1be044de05/javapathfilesystemsaspermissionparse12470500e95253fe?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ec05f149-345e-4b14-bc38-096e8843a3bf", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ddd908ae-547b-4c24-a060-cb647d9a1920", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e0d-101f-004b-4c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "ec05f149-345e-4b14-bc38-096e8843a3bf" + "x-ms-request-id" : "6b8f319e-001f-0029-0144-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "ddd908ae-547b-4c24-a060-cb647d9a1920" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse024973e4bcb1d1cd9e/javapathfilesystemsaspermissionparse102594aceb31d8fb?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0088468e1be044de05/javapathfilesystemsaspermissionparse12470500e95253fe?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ae84540e-3b18-477d-9951-485788c7fef6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7078c8b8-9d02-44a0-8d91-76a32def79e5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782651CFFAFA", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:47 GMT", + "ETag" : "0x8D78A5B7EFE1F84", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e12-101f-004b-510f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "ae84540e-3b18-477d-9951-485788c7fef6" + "x-ms-request-id" : "6b8f319f-001f-0029-0244-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "7078c8b8-9d02-44a0-8d91-76a32def79e5" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "eb24cc17-d23b-4c19-a68f-1a00da66ab58" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f74a48af-4601-48dd-a5c2-55a6eb63aaac" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5c89-e01e-0092-600f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse024973e4bcb1d1cd9eTue, 03 Dec 2019 19:23:47 GMT\"0x8D7782651B2086F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "eb24cc17-d23b-4c19-a68f-1a00da66ab58", + "x-ms-request-id" : "fa93f7a3-b01e-0003-5744-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse0088468e1be044de05Thu, 26 Dec 2019 23:29:46 GMT\"0x8D78A5B7EB1F2B0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "f74a48af-4601-48dd-a5c2-55a6eb63aaac", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse024973e4bcb1d1cd9e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse0088468e1be044de05?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "03d519c0-1525-4563-85a6-7c5c46b6d7ba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "917bc150-6182-4519-b00f-5921159b2e35" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5c96-e01e-0092-6c0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "03d519c0-1525-4563-85a6-7c5c46b6d7ba" + "x-ms-request-id" : "fa93f7aa-b01e-0003-5d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "917bc150-6182-4519-b00f-5921159b2e35" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparse024973e4bcb1d1cd9e", "javapathfilesystemsaspermissionparse102594aceb31d8fb" ] + "variables" : [ "jtfsfilesystemsaspermissionparse0088468e1be044de05", "javapathfilesystemsaspermissionparse12470500e95253fe" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[3].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[3].json index 6a82551342139..9ddd48088b925 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[3].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[3].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse0163166ca6565fe728?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse035984f06eeeb1b85c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "540a9966-5fed-457d-be23-747ddca50f53" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "24e83c28-030b-4a9d-9e48-a3f8a15d0f37" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782651EBC062", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:47 GMT", + "ETag" : "0x8D78A5B7F24B3AB", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5c9e-e01e-0092-730f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "540a9966-5fed-457d-be23-747ddca50f53" + "x-ms-request-id" : "fa93f7b5-b01e-0003-6544-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "24e83c28-030b-4a9d-9e48-a3f8a15d0f37" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0163166ca6565fe728/javapathfilesystemsaspermissionparse1934721a42076c07?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse035984f06eeeb1b85c/javapathfilesystemsaspermissionparse184330539c7245f0?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ffeca8bc-4168-4a76-bdc6-1975ea84838a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1244b7a5-68f2-454f-b28a-df4ca2716e97" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782651F8D8AA", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:47 GMT", + "ETag" : "0x8D78A5B7F57470D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9e23-101f-004b-620f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "ffeca8bc-4168-4a76-bdc6-1975ea84838a" + "x-ms-request-id" : "cf582cc1-601f-003f-0544-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "1244b7a5-68f2-454f-b28a-df4ca2716e97" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0163166ca6565fe728/javapathfilesystemsaspermissionparse1934721a42076c07?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse035984f06eeeb1b85c/javapathfilesystemsaspermissionparse184330539c7245f0?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8d1e5d66-2fb4-4405-bae6-48b2f91e9745", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b3bc3e0-860b-43a9-9bec-ff10e5eabe6c", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e29-101f-004b-680f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "8d1e5d66-2fb4-4405-bae6-48b2f91e9745" + "x-ms-request-id" : "cf582cc2-601f-003f-0644-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "6b3bc3e0-860b-43a9-9bec-ff10e5eabe6c" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0163166ca6565fe728/javapathfilesystemsaspermissionparse1934721a42076c07?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse035984f06eeeb1b85c/javapathfilesystemsaspermissionparse184330539c7245f0?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "13a0841f-6d72-46c4-8a59-53b6f4f07c68" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f1e1950e-c19d-4b66-8545-35ec7007aed2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826520919C3", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:47 GMT", + "ETag" : "0x8D78A5B7F7203EA", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e2a-101f-004b-690f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "13a0841f-6d72-46c4-8a59-53b6f4f07c68" + "x-ms-request-id" : "cf582cc3-601f-003f-0744-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "f1e1950e-c19d-4b66-8545-35ec7007aed2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b06e120b-137c-4596-be2f-00819069110d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7777e12b-756c-4c42-b518-af6fcb7c07ab" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5cf1-e01e-0092-320f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse0163166ca6565fe728Tue, 03 Dec 2019 19:23:47 GMT\"0x8D7782651EBC062\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "b06e120b-137c-4596-be2f-00819069110d", + "x-ms-request-id" : "fa93f7da-b01e-0003-0244-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse035984f06eeeb1b85cThu, 26 Dec 2019 23:29:47 GMT\"0x8D78A5B7F24B3AB\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "7777e12b-756c-4c42-b518-af6fcb7c07ab", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse0163166ca6565fe728?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse035984f06eeeb1b85c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4d1903f4-3a73-4f6d-911c-2a317605c1ab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "832d7b92-82be-4d0f-8fce-57465db16e0a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5cfe-e01e-0092-3f0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "4d1903f4-3a73-4f6d-911c-2a317605c1ab" + "x-ms-request-id" : "fa93f7e0-b01e-0003-0744-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "832d7b92-82be-4d0f-8fce-57465db16e0a" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparse0163166ca6565fe728", "javapathfilesystemsaspermissionparse1934721a42076c07" ] + "variables" : [ "jtfsfilesystemsaspermissionparse035984f06eeeb1b85c", "javapathfilesystemsaspermissionparse184330539c7245f0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[4].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[4].json index debaf95fcbd54..64b92011e8889 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[4].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[4].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse091479aae9c59345a3?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse04809535889111beb0?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "189145aa-477b-458d-8410-2647cf2c8367" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b15dd5ad-df06-4047-bfd7-8efcf3f14629" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778265220E3A3", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:47 GMT", + "ETag" : "0x8D78A5B7F9797E0", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5d0f-e01e-0092-4d0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "189145aa-477b-458d-8410-2647cf2c8367" + "x-ms-request-id" : "fa93f7e7-b01e-0003-0d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:47 GMT", + "x-ms-client-request-id" : "b15dd5ad-df06-4047-bfd7-8efcf3f14629" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse091479aae9c59345a3/javapathfilesystemsaspermissionparse110660d0801ca499?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04809535889111beb0/javapathfilesystemsaspermissionparse182816d8a0260ea4?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4f55f25c-507f-41c3-88db-b80dabce1042" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "811eac0d-fbb2-4d12-9a5e-8332112866c8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826522D667F", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:47 GMT", + "ETag" : "0x8D78A5B7FCA7FAA", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9e35-101f-004b-740f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "4f55f25c-507f-41c3-88db-b80dabce1042" + "x-ms-request-id" : "f7130494-201f-0011-2144-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "811eac0d-fbb2-4d12-9a5e-8332112866c8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse091479aae9c59345a3/javapathfilesystemsaspermissionparse110660d0801ca499?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04809535889111beb0/javapathfilesystemsaspermissionparse182816d8a0260ea4?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6b11a64f-c324-42af-be25-c6ae18a934d5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2ab178a4-6e5c-4efa-8076-ea41d26da59b", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e36-101f-004b-750f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:47 GMT", - "x-ms-client-request-id" : "6b11a64f-c324-42af-be25-c6ae18a934d5" + "x-ms-request-id" : "f7130495-201f-0011-2244-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "2ab178a4-6e5c-4efa-8076-ea41d26da59b" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse091479aae9c59345a3/javapathfilesystemsaspermissionparse110660d0801ca499?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse04809535889111beb0/javapathfilesystemsaspermissionparse182816d8a0260ea4?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2525cbc0-2a2c-404d-be69-ea836c3e854a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e6202396-4d68-4677-8ea4-bdf2942452bb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826523DA405", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:48 GMT", + "ETag" : "0x8D78A5B7FE4A7A9", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e37-101f-004b-760f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "2525cbc0-2a2c-404d-be69-ea836c3e854a" + "x-ms-request-id" : "f7130496-201f-0011-2344-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "e6202396-4d68-4677-8ea4-bdf2942452bb" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3fb06803-b986-4e72-9d6a-79a7dfaadb4a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8a7a37c5-9e90-4c48-b753-6ff8c75fdb41" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5d96-e01e-0092-410f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse091479aae9c59345a3Tue, 03 Dec 2019 19:23:47 GMT\"0x8D778265220E3A3\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "3fb06803-b986-4e72-9d6a-79a7dfaadb4a", + "x-ms-request-id" : "fa93f80b-b01e-0003-2944-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse04809535889111beb0Thu, 26 Dec 2019 23:29:48 GMT\"0x8D78A5B7F9797E0\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "8a7a37c5-9e90-4c48-b753-6ff8c75fdb41", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse091479aae9c59345a3?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse04809535889111beb0?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "12e2577c-c1e2-4c54-a02c-a83643ef0a46" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9839a697-20ed-42c1-886c-b0b27702c231" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5d9b-e01e-0092-460f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "12e2577c-c1e2-4c54-a02c-a83643ef0a46" + "x-ms-request-id" : "fa93f80f-b01e-0003-2c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "9839a697-20ed-42c1-886c-b0b27702c231" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparse091479aae9c59345a3", "javapathfilesystemsaspermissionparse110660d0801ca499" ] + "variables" : [ "jtfsfilesystemsaspermissionparse04809535889111beb0", "javapathfilesystemsaspermissionparse182816d8a0260ea4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[5].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[5].json index 58e3d1dbdbd89..b7b644b2480ed 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[5].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[5].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse0064098125c5462427?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse06753789fbe389c86b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c90750cb-d153-4273-a3a9-5c6cd3c541f1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bf877b9d-7e4a-4ddc-b155-9f6778d17120" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778265283FCED", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:48 GMT", + "ETag" : "0x8D78A5B800B8FA2", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5db1-e01e-0092-5a0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "c90750cb-d153-4273-a3a9-5c6cd3c541f1" + "x-ms-request-id" : "fa93f815-b01e-0003-3144-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "bf877b9d-7e4a-4ddc-b155-9f6778d17120" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0064098125c5462427/javapathfilesystemsaspermissionparse1692743858f059ee?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse06753789fbe389c86b/javapathfilesystemsaspermissionparse10166544f128702a?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "18a1ff8f-0ab2-48c3-b26f-afb59ebc6aea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5dfbff3d-0088-431b-924a-eb0c8954d0d6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826528F8E82", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:48 GMT", + "ETag" : "0x8D78A5B8031180C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9e38-101f-004b-770f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "18a1ff8f-0ab2-48c3-b26f-afb59ebc6aea" + "x-ms-request-id" : "f7130497-201f-0011-2444-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "5dfbff3d-0088-431b-924a-eb0c8954d0d6" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0064098125c5462427/javapathfilesystemsaspermissionparse1692743858f059ee?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse06753789fbe389c86b/javapathfilesystemsaspermissionparse10166544f128702a?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e1337240-7525-4215-a0d5-3f106e6071cb", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6800f549-8cdb-4589-8473-7a58758e27b8", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e39-101f-004b-780f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "e1337240-7525-4215-a0d5-3f106e6071cb" + "x-ms-request-id" : "f7130498-201f-0011-2544-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "6800f549-8cdb-4589-8473-7a58758e27b8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0064098125c5462427/javapathfilesystemsaspermissionparse1692743858f059ee?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse06753789fbe389c86b/javapathfilesystemsaspermissionparse10166544f128702a?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "908bdfb8-cf1b-4c71-8653-d4c37bea788f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c1064ce0-8f97-4df2-a55d-75eb9dcd6329" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826529F38DC", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:48 GMT", + "ETag" : "0x8D78A5B804BA6F9", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e3a-101f-004b-790f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "908bdfb8-cf1b-4c71-8653-d4c37bea788f" + "x-ms-request-id" : "f7130499-201f-0011-2644-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:49 GMT", + "x-ms-client-request-id" : "c1064ce0-8f97-4df2-a55d-75eb9dcd6329" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6b6ae7d1-dbef-4a90-8ad6-6f9a0b49186e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22d0a868-9402-4194-bad0-c78e649e0fad" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5de4-e01e-0092-080f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse0064098125c5462427Tue, 03 Dec 2019 19:23:48 GMT\"0x8D778265283FCED\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "6b6ae7d1-dbef-4a90-8ad6-6f9a0b49186e", + "x-ms-request-id" : "fa93f831-b01e-0003-4844-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse06753789fbe389c86bThu, 26 Dec 2019 23:29:49 GMT\"0x8D78A5B800B8FA2\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:49 GMT", + "x-ms-client-request-id" : "22d0a868-9402-4194-bad0-c78e649e0fad", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse0064098125c5462427?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse06753789fbe389c86b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b47b69e4-049a-476c-abc6-e44e68fbacdd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7bcd7c54-53c2-48b3-84a9-70237ff7ab48" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5de7-e01e-0092-0b0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "b47b69e4-049a-476c-abc6-e44e68fbacdd" + "x-ms-request-id" : "fa93f833-b01e-0003-4a44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:49 GMT", + "x-ms-client-request-id" : "7bcd7c54-53c2-48b3-84a9-70237ff7ab48" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparse0064098125c5462427", "javapathfilesystemsaspermissionparse1692743858f059ee" ] + "variables" : [ "jtfsfilesystemsaspermissionparse06753789fbe389c86b", "javapathfilesystemsaspermissionparse10166544f128702a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[6].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[6].json index ce2aa432a9861..ae8c88df8bcad 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[6].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[6].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse009063380fce8ac279?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse0151875cb88ea6cd3f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "76f39263-754c-4a89-930d-353f44d54d12" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "981ce8f0-d4ac-4b59-850e-e5f28418b22c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782652BDB4E0", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:48 GMT", + "ETag" : "0x8D78A5B807EEB12", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5df0-e01e-0092-130f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "76f39263-754c-4a89-930d-353f44d54d12" + "x-ms-request-id" : "fa93f83e-b01e-0003-5344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:49 GMT", + "x-ms-client-request-id" : "981ce8f0-d4ac-4b59-850e-e5f28418b22c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse009063380fce8ac279/javapathfilesystemsaspermissionparse1857908c690f9171?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0151875cb88ea6cd3f/javapathfilesystemsaspermissionparse107092f7a1038ff3?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "444c4bc5-2304-4193-bcbb-67f9b30b5bc6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e81e5d12-922a-4783-9199-cdbc00e5f74a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782652C8F105", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:48 GMT", + "ETag" : "0x8D78A5B80B50A76", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9e4e-101f-004b-0d0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "444c4bc5-2304-4193-bcbb-67f9b30b5bc6" + "x-ms-request-id" : "b718220b-b01f-003c-2444-bcbbfc000000", + "Date" : "Thu, 26 Dec 2019 23:29:49 GMT", + "x-ms-client-request-id" : "e81e5d12-922a-4783-9199-cdbc00e5f74a" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse009063380fce8ac279/javapathfilesystemsaspermissionparse1857908c690f9171?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0151875cb88ea6cd3f/javapathfilesystemsaspermissionparse107092f7a1038ff3?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "016be6a6-f3f9-42c4-ba1f-6c8701fcd528", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "07c44830-f722-41fd-ad44-4e3e3d5953c4", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e4f-101f-004b-0e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "016be6a6-f3f9-42c4-ba1f-6c8701fcd528" + "x-ms-request-id" : "b718220c-b01f-003c-2544-bcbbfc000000", + "Date" : "Thu, 26 Dec 2019 23:29:49 GMT", + "x-ms-client-request-id" : "07c44830-f722-41fd-ad44-4e3e3d5953c4" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse009063380fce8ac279/javapathfilesystemsaspermissionparse1857908c690f9171?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0151875cb88ea6cd3f/javapathfilesystemsaspermissionparse107092f7a1038ff3?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "85f869e8-9b25-4bec-9d2c-e71177dbc02c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "afe3b1ef-e60f-4672-9361-2ee742d69273" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782652DC2274", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:49 GMT", + "ETag" : "0x8D78A5B80CF6ECE", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e57-101f-004b-160f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "85f869e8-9b25-4bec-9d2c-e71177dbc02c" + "x-ms-request-id" : "b718220e-b01f-003c-2744-bcbbfc000000", + "Date" : "Thu, 26 Dec 2019 23:29:49 GMT", + "x-ms-client-request-id" : "afe3b1ef-e60f-4672-9361-2ee742d69273" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5e3d282a-8592-4596-be99-229180f65dd3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bf962acf-217c-441a-b1c5-01d8643faa73" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5e2b-e01e-0092-480f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse009063380fce8ac279Tue, 03 Dec 2019 19:23:48 GMT\"0x8D7782652BDB4E0\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:48 GMT", - "x-ms-client-request-id" : "5e3d282a-8592-4596-be99-229180f65dd3", + "x-ms-request-id" : "fa93f87b-b01e-0003-0644-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse0151875cb88ea6cd3fThu, 26 Dec 2019 23:29:49 GMT\"0x8D78A5B807EEB12\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:49 GMT", + "x-ms-client-request-id" : "bf962acf-217c-441a-b1c5-01d8643faa73", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse009063380fce8ac279?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse0151875cb88ea6cd3f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "789c1f36-b2b0-4c28-8935-87a8328f71b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d88c9b22-3f72-4773-8591-4c1922c4efd4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5e3f-e01e-0092-570f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "789c1f36-b2b0-4c28-8935-87a8328f71b5" + "x-ms-request-id" : "fa93f881-b01e-0003-0a44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:50 GMT", + "x-ms-client-request-id" : "d88c9b22-3f72-4773-8591-4c1922c4efd4" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparse009063380fce8ac279", "javapathfilesystemsaspermissionparse1857908c690f9171" ] + "variables" : [ "jtfsfilesystemsaspermissionparse0151875cb88ea6cd3f", "javapathfilesystemsaspermissionparse107092f7a1038ff3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[7].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[7].json index bee46e3c387d8..01a1149b64f2e 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[7].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparse[7].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse052331924c07d3d83c?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse0116201411314d6bd0?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "cdf341c6-6ab5-4c4c-900e-99702a1c8bda" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2b6a49d7-26c4-4768-8b7b-50b2895770c3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782652FA055A", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:49 GMT", + "ETag" : "0x8D78A5B80F63E0C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5e5a-e01e-0092-6f0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "cdf341c6-6ab5-4c4c-900e-99702a1c8bda" + "x-ms-request-id" : "fa93f887-b01e-0003-0f44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:50 GMT", + "x-ms-client-request-id" : "2b6a49d7-26c4-4768-8b7b-50b2895770c3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse052331924c07d3d83c/javapathfilesystemsaspermissionparse196229a210512f85?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0116201411314d6bd0/javapathfilesystemsaspermissionparse1310705817c91c1d?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c8c346ab-95c8-4fca-9319-95b57851d7e2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2ce4fa06-9827-401f-a6b4-cd81eb437c1f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778265305CA69", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:49 GMT", + "ETag" : "0x8D78A5B8129AD04", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9e77-101f-004b-360f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "c8c346ab-95c8-4fca-9319-95b57851d7e2" + "x-ms-request-id" : "b855cde7-901f-003b-3744-bcd79f000000", + "Date" : "Thu, 26 Dec 2019 23:29:50 GMT", + "x-ms-client-request-id" : "2ce4fa06-9827-401f-a6b4-cd81eb437c1f" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse052331924c07d3d83c/javapathfilesystemsaspermissionparse196229a210512f85?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0116201411314d6bd0/javapathfilesystemsaspermissionparse1310705817c91c1d?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c6cc7a8b-5be4-4bfd-8dd3-20344530ceac", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d29aa987-4e5b-4a94-bd86-a2c5a9afa8d1", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e83-101f-004b-420f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "c6cc7a8b-5be4-4bfd-8dd3-20344530ceac" + "x-ms-request-id" : "b855cde8-901f-003b-3844-bcd79f000000", + "Date" : "Thu, 26 Dec 2019 23:29:50 GMT", + "x-ms-client-request-id" : "d29aa987-4e5b-4a94-bd86-a2c5a9afa8d1" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparse052331924c07d3d83c/javapathfilesystemsaspermissionparse196229a210512f85?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparse0116201411314d6bd0/javapathfilesystemsaspermissionparse1310705817c91c1d?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f8245412-3f9c-41cd-87fa-d87db4c22396" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6c5f4bb-df1b-4cec-b512-25776c1f2af7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782653252C82", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:49 GMT", + "ETag" : "0x8D78A5B814396DC", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e89-101f-004b-480f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "f8245412-3f9c-41cd-87fa-d87db4c22396" + "x-ms-request-id" : "b855cde9-901f-003b-3944-bcd79f000000", + "Date" : "Thu, 26 Dec 2019 23:29:50 GMT", + "x-ms-client-request-id" : "d6c5f4bb-df1b-4cec-b512-25776c1f2af7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3f9da2e5-abdd-4e2b-b05f-2a265c2612cd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "79e76486-ac79-41ca-af7e-5ec569a353c8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5ebd-e01e-0092-4b0f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse052331924c07d3d83cTue, 03 Dec 2019 19:23:49 GMT\"0x8D7782652FA055A\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "3f9da2e5-abdd-4e2b-b05f-2a265c2612cd", + "x-ms-request-id" : "fa93f8ba-b01e-0003-3a44-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparsejtfsfilesystemsaspermissionparse0116201411314d6bd0Thu, 26 Dec 2019 23:29:50 GMT\"0x8D78A5B80F63E0C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:50 GMT", + "x-ms-client-request-id" : "79e76486-ac79-41ca-af7e-5ec569a353c8", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparse052331924c07d3d83c?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparse0116201411314d6bd0?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "89278bd0-95e7-46bf-b43d-b4bfb704c13c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b4ef309-8d33-4bd2-ab8c-adcabc26537c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5ec8-e01e-0092-530f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "89278bd0-95e7-46bf-b43d-b4bfb704c13c" + "x-ms-request-id" : "fa93f8c7-b01e-0003-4644-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:50 GMT", + "x-ms-client-request-id" : "8b4ef309-8d33-4bd2-ab8c-adcabc26537c" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparse052331924c07d3d83c", "javapathfilesystemsaspermissionparse196229a210512f85" ] + "variables" : [ "jtfsfilesystemsaspermissionparse0116201411314d6bd0", "javapathfilesystemsaspermissionparse1310705817c91c1d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparseia.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparseia.json index ab408b687b703..926d5a30d8384 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparseia.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissionparseia.json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparseia0777005864730c72f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparseia047176a9ef7d987ae?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "61b61084-a78d-497f-864e-7b295e2c2455" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7aed70f3-7ecb-4c17-aa34-730bec818773" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826533EBBC9", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:49 GMT", + "ETag" : "0x8D78A5B8171AFEE", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5ed5-e01e-0092-600f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "61b61084-a78d-497f-864e-7b295e2c2455" + "x-ms-request-id" : "fa93f8cd-b01e-0003-4c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:50 GMT", + "x-ms-client-request-id" : "7aed70f3-7ecb-4c17-aa34-730bec818773" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparseia0777005864730c72f/javapathfilesystemsaspermissionparseia1062562d53db932?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparseia047176a9ef7d987ae/javapathfilesystemsaspermissionparseia157267ac7dbff49?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e16b11aa-fa19-4e45-aa83-e8acc5914aa3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9442b3b7-8e51-4fc3-9af1-b15f631b26b0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778265351BAFA", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:49 GMT", + "ETag" : "0x8D78A5B81A878A4", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9e91-101f-004b-500f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "e16b11aa-fa19-4e45-aa83-e8acc5914aa3" + "x-ms-request-id" : "b0b76457-c01f-0019-5a44-bc1280000000", + "Date" : "Thu, 26 Dec 2019 23:29:51 GMT", + "x-ms-client-request-id" : "9442b3b7-8e51-4fc3-9af1-b15f631b26b0" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparseia0777005864730c72f/javapathfilesystemsaspermissionparseia1062562d53db932?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparseia047176a9ef7d987ae/javapathfilesystemsaspermissionparseia157267ac7dbff49?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ed7b7ad3-c436-435b-8ad7-2a5f4bc2f771", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "762697a2-53f8-4e73-87e7-6d8221d06362", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e9a-101f-004b-590f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "ed7b7ad3-c436-435b-8ad7-2a5f4bc2f771" + "x-ms-request-id" : "b0b76458-c01f-0019-5b44-bc1280000000", + "Date" : "Thu, 26 Dec 2019 23:29:51 GMT", + "x-ms-client-request-id" : "762697a2-53f8-4e73-87e7-6d8221d06362" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissionparseia0777005864730c72f/javapathfilesystemsaspermissionparseia1062562d53db932?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissionparseia047176a9ef7d987ae/javapathfilesystemsaspermissionparseia157267ac7dbff49?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "341e4cc9-c044-4162-b81a-b4b7f75138c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a80ae279-f7e0-4fcd-af30-882412916387" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826536503C6", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:49 GMT", + "ETag" : "0x8D78A5B81CD3A5C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9e9f-101f-004b-5e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "341e4cc9-c044-4162-b81a-b4b7f75138c7" + "x-ms-request-id" : "b0b76459-c01f-0019-5c44-bc1280000000", + "Date" : "Thu, 26 Dec 2019 23:29:51 GMT", + "x-ms-client-request-id" : "a80ae279-f7e0-4fcd-af30-882412916387" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparseia&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissionparseia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "003afc94-6f95-4acb-9e54-aa2b11b6412b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e3dda7bf-aa36-4e07-bb41-fa7172ae27c5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5f0b-e01e-0092-0f0f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissionparseiajtfsfilesystemsaspermissionparseia0777005864730c72fTue, 03 Dec 2019 19:23:49 GMT\"0x8D77826533EBBC9\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "003afc94-6f95-4acb-9e54-aa2b11b6412b", + "x-ms-request-id" : "fa93f906-b01e-0003-7b44-bc735f000000", + "Body" : "jtfsfilesystemsaspermissionparseiajtfsfilesystemsaspermissionparseia047176a9ef7d987aeThu, 26 Dec 2019 23:29:51 GMT\"0x8D78A5B8171AFEE\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:51 GMT", + "x-ms-client-request-id" : "e3dda7bf-aa36-4e07-bb41-fa7172ae27c5", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissionparseia0777005864730c72f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissionparseia047176a9ef7d987ae?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8b841a05-f9cc-4e0f-87d6-3970d419b79f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e2a6c75c-c5c2-45b4-b23f-d253f41131c6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5f18-e01e-0092-1a0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:49 GMT", - "x-ms-client-request-id" : "8b841a05-f9cc-4e0f-87d6-3970d419b79f" + "x-ms-request-id" : "fa93f90d-b01e-0003-0244-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:51 GMT", + "x-ms-client-request-id" : "e2a6c75c-c5c2-45b4-b23f-d253f41131c6" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissionparseia0777005864730c72f", "javapathfilesystemsaspermissionparseia1062562d53db932" ] + "variables" : [ "jtfsfilesystemsaspermissionparseia047176a9ef7d987ae", "javapathfilesystemsaspermissionparseia157267ac7dbff49" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[0].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[0].json index ef50acaf3bfd6..89af453efb32f 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[0].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[0].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring01386059adaaa839e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0503467e92734c692?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d1459cdb-cabd-4ed4-9417-ae9fe24b8dc7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "96b928f7-da38-44cf-8c34-61034642310e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264F70157E", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:43 GMT", + "ETag" : "0x8D78A5B7A9256A1", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a57e7-e01e-0092-720f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "d1459cdb-cabd-4ed4-9417-ae9fe24b8dc7" + "x-ms-request-id" : "fa93f612-b01e-0003-0b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "96b928f7-da38-44cf-8c34-61034642310e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring01386059adaaa839e/javapathfilesystemsaspermissiontostring130676ec91be606?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0503467e92734c692/javapathfilesystemsaspermissiontostring155109b8683c1ab?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3e45b604-856c-4303-8395-f0f608eea75c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca9a4abe-05cf-4a32-83d5-ff79c820b73d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264F7FEEEA", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:43 GMT", + "ETag" : "0x8D78A5B7AC6C534", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dd1-101f-004b-100f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "3e45b604-856c-4303-8395-f0f608eea75c" + "x-ms-request-id" : "58df1733-001f-0039-1944-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "ca9a4abe-05cf-4a32-83d5-ff79c820b73d" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring01386059adaaa839e/javapathfilesystemsaspermissiontostring130676ec91be606?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0503467e92734c692/javapathfilesystemsaspermissiontostring155109b8683c1ab?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a10901a4-1e7b-4c04-affe-cd5ec2d69be4", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eae5348f-3e90-4e05-9a4c-dafb9fa5a04a", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dd2-101f-004b-110f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "a10901a4-1e7b-4c04-affe-cd5ec2d69be4" + "x-ms-request-id" : "58df1734-001f-0039-1a44-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "eae5348f-3e90-4e05-9a4c-dafb9fa5a04a" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring01386059adaaa839e/javapathfilesystemsaspermissiontostring130676ec91be606?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0503467e92734c692/javapathfilesystemsaspermissiontostring155109b8683c1ab?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e3fa80af-8c0d-4372-8b30-4e9caf0fcce1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aff0a310-5b41-463a-8143-50689d5bb21b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264F94CB58", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:43 GMT", + "ETag" : "0x8D78A5B7AE29197", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dd3-101f-004b-120f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "e3fa80af-8c0d-4372-8b30-4e9caf0fcce1" + "x-ms-request-id" : "58df1735-001f-0039-1b44-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "aff0a310-5b41-463a-8143-50689d5bb21b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "937db7f7-c487-4412-8146-dc053555d57d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "879737d7-0d99-4067-87e7-25b78e4cf72d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a582c-e01e-0092-290f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring01386059adaaa839eTue, 03 Dec 2019 19:23:43 GMT\"0x8D778264F70157E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "937db7f7-c487-4412-8146-dc053555d57d", + "x-ms-request-id" : "fa93f639-b01e-0003-2d44-bc735f000000", + "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring0503467e92734c692Thu, 26 Dec 2019 23:29:39 GMT\"0x8D78A5B7A9256A1\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "879737d7-0d99-4067-87e7-25b78e4cf72d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring01386059adaaa839e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0503467e92734c692?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "33dad7be-0de4-492e-ab5f-f3be5c4a8ffd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "26f414d6-0a3b-4233-9758-45558e28bbbb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a583a-e01e-0092-350f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "33dad7be-0de4-492e-ab5f-f3be5c4a8ffd" + "x-ms-request-id" : "fa93f63d-b01e-0003-3144-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "26f414d6-0a3b-4233-9758-45558e28bbbb" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissiontostring01386059adaaa839e", "javapathfilesystemsaspermissiontostring130676ec91be606" ] + "variables" : [ "jtfsfilesystemsaspermissiontostring0503467e92734c692", "javapathfilesystemsaspermissiontostring155109b8683c1ab" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[1].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[1].json index e5e94823088b9..61e7b9837f76c 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[1].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[1].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring02199496bf36039c1?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring045745e458ad1aa3e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "75cd9cd4-805a-4a74-8358-1f3ba498359a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f1857fcc-f238-4d76-9397-8566f48f231d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264FB5DD89", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:43 GMT", + "ETag" : "0x8D78A5B7B0CDE15", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a584e-e01e-0092-460f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "75cd9cd4-805a-4a74-8358-1f3ba498359a" + "x-ms-request-id" : "fa93f649-b01e-0003-3a44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "f1857fcc-f238-4d76-9397-8566f48f231d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring02199496bf36039c1/javapathfilesystemsaspermissiontostring194832c5e5d9037?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring045745e458ad1aa3e/javapathfilesystemsaspermissiontostring149555478629f7b?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3d5784fa-d3e7-4fd7-b5df-5a36f61a2ec8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9f104a90-c345-45ef-b1cd-4dfacc786fb6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264FC325F8", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:43 GMT", + "ETag" : "0x8D78A5B7B3FAE31", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dd4-101f-004b-130f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "3d5784fa-d3e7-4fd7-b5df-5a36f61a2ec8" + "x-ms-request-id" : "57169d50-301f-0032-1b44-bc924c000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "9f104a90-c345-45ef-b1cd-4dfacc786fb6" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring02199496bf36039c1/javapathfilesystemsaspermissiontostring194832c5e5d9037?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring045745e458ad1aa3e/javapathfilesystemsaspermissiontostring149555478629f7b?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "21226c24-a84a-4f67-a7f1-3eeca0a80caf", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "35e47f93-2e06-4e60-b000-14408761d96f", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dd7-101f-004b-160f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "21226c24-a84a-4f67-a7f1-3eeca0a80caf" + "x-ms-request-id" : "57169d51-301f-0032-1c44-bc924c000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "35e47f93-2e06-4e60-b000-14408761d96f" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring02199496bf36039c1/javapathfilesystemsaspermissiontostring194832c5e5d9037?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring045745e458ad1aa3e/javapathfilesystemsaspermissiontostring149555478629f7b?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ef824d44-fc10-4f69-9142-5e0317099b10" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4831de66-e2f4-4b36-93f2-d53670dfa5cb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264FD4D46E", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:43 GMT", + "ETag" : "0x8D78A5B7B59C800", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dd8-101f-004b-170f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "ef824d44-fc10-4f69-9142-5e0317099b10" + "x-ms-request-id" : "57169d52-301f-0032-1d44-bc924c000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "4831de66-e2f4-4b36-93f2-d53670dfa5cb" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "299681e2-1bb3-40a6-86fa-bc803b60c716" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d907d8b8-8ca8-49f7-8d18-0d67a3025d82" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a588a-e01e-0092-7b0f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring02199496bf36039c1Tue, 03 Dec 2019 19:23:43 GMT\"0x8D778264FB5DD89\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "299681e2-1bb3-40a6-86fa-bc803b60c716", + "x-ms-request-id" : "fa93f668-b01e-0003-5544-bc735f000000", + "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring045745e458ad1aa3eThu, 26 Dec 2019 23:29:40 GMT\"0x8D78A5B7B0CDE15\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "d907d8b8-8ca8-49f7-8d18-0d67a3025d82", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring02199496bf36039c1?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring045745e458ad1aa3e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0da16b61-4662-42f9-9801-e83dfa03a6cb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "75431764-b91a-4f1c-9d9a-d2de63aed6e7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a58b1-e01e-0092-200f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "0da16b61-4662-42f9-9801-e83dfa03a6cb" + "x-ms-request-id" : "fa93f66a-b01e-0003-5744-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "75431764-b91a-4f1c-9d9a-d2de63aed6e7" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissiontostring02199496bf36039c1", "javapathfilesystemsaspermissiontostring194832c5e5d9037" ] + "variables" : [ "jtfsfilesystemsaspermissiontostring045745e458ad1aa3e", "javapathfilesystemsaspermissiontostring149555478629f7b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[2].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[2].json index dee19cc4c34de..cd64b79d25d66 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[2].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[2].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring031927cdda3dadb49?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0324341d65653c7e0?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0c9d0293-a7e2-42b1-a741-e6c872a69670" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb8a3079-9e98-4332-b76a-565d45592e09" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264FEDE784", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:44 GMT", + "ETag" : "0x8D78A5B7B801267", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a58cf-e01e-0092-390f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "0c9d0293-a7e2-42b1-a741-e6c872a69670" + "x-ms-request-id" : "fa93f66c-b01e-0003-5944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "fb8a3079-9e98-4332-b76a-565d45592e09" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring031927cdda3dadb49/javapathfilesystemsaspermissiontostring145725d2cf1f9c4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0324341d65653c7e0/javapathfilesystemsaspermissiontostring1993889941bc154?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5a74adcd-d8c4-4344-b4a2-9f1821190a8c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "096a8892-dded-441e-9394-1a76b34eee8a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264FF9F5D9", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:44 GMT", + "ETag" : "0x8D78A5B7BB0EF6C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dd9-101f-004b-180f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "5a74adcd-d8c4-4344-b4a2-9f1821190a8c" + "x-ms-request-id" : "abc64918-a01f-0030-4c44-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "096a8892-dded-441e-9394-1a76b34eee8a" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring031927cdda3dadb49/javapathfilesystemsaspermissiontostring145725d2cf1f9c4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0324341d65653c7e0/javapathfilesystemsaspermissiontostring1993889941bc154?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "251f912e-6621-4658-9788-879a67539973", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "15db0f26-725a-4916-b70f-0e3758acdeda", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dda-101f-004b-190f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "251f912e-6621-4658-9788-879a67539973" + "x-ms-request-id" : "abc64919-a01f-0030-4d44-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "15db0f26-725a-4916-b70f-0e3758acdeda" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring031927cdda3dadb49/javapathfilesystemsaspermissiontostring145725d2cf1f9c4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0324341d65653c7e0/javapathfilesystemsaspermissiontostring1993889941bc154?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9d0f5f09-7221-474e-a597-16fa85264ad5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "527b9cd2-1c31-4ae5-bc5b-16302502ef74" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826500ACED9", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:44 GMT", + "ETag" : "0x8D78A5B7BCB14D7", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ddb-101f-004b-1a0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "9d0f5f09-7221-474e-a597-16fa85264ad5" + "x-ms-request-id" : "abc6491a-a01f-0030-4e44-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "527b9cd2-1c31-4ae5-bc5b-16302502ef74" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "45cabcfb-2f98-48d3-8e0a-1f0eb8bfe0b1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b43528bd-56f9-42a4-8743-f05ee459bb6c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5917-e01e-0092-750f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring031927cdda3dadb49Tue, 03 Dec 2019 19:23:44 GMT\"0x8D778264FEDE784\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "45cabcfb-2f98-48d3-8e0a-1f0eb8bfe0b1", + "x-ms-request-id" : "fa93f68b-b01e-0003-7444-bc735f000000", + "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring0324341d65653c7e0Thu, 26 Dec 2019 23:29:41 GMT\"0x8D78A5B7B801267\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "b43528bd-56f9-42a4-8743-f05ee459bb6c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring031927cdda3dadb49?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0324341d65653c7e0?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "de2b7ba3-e673-4558-bab4-3bfd545d86a2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f903b0ca-f4e2-46bf-b6e6-f2f846f0bbf2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5920-e01e-0092-7d0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "de2b7ba3-e673-4558-bab4-3bfd545d86a2" + "x-ms-request-id" : "fa93f68d-b01e-0003-7644-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "f903b0ca-f4e2-46bf-b6e6-f2f846f0bbf2" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissiontostring031927cdda3dadb49", "javapathfilesystemsaspermissiontostring145725d2cf1f9c4" ] + "variables" : [ "jtfsfilesystemsaspermissiontostring0324341d65653c7e0", "javapathfilesystemsaspermissiontostring1993889941bc154" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[3].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[3].json index 300055ba5fd12..7cbbe5b044832 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[3].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[3].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0256519610f7f5542?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring07593803b514cc42f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "15854cc6-fd49-4f66-aa42-c265358886c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "108a97bb-5208-415a-b135-80cfce66a410" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826503472FE", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:44 GMT", + "ETag" : "0x8D78A5B7BF1722F", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a594a-e01e-0092-230f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "15854cc6-fd49-4f66-aa42-c265358886c6" + "x-ms-request-id" : "fa93f695-b01e-0003-7d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "108a97bb-5208-415a-b135-80cfce66a410" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0256519610f7f5542/javapathfilesystemsaspermissiontostring1070868d68a64c5?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring07593803b514cc42f/javapathfilesystemsaspermissiontostring1476046017d9b4f?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "40e346c7-22b4-49a1-a25b-70480d5ad750" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "78a666d1-1bef-4802-be35-b0a09d21695e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826503F0FD2", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:44 GMT", + "ETag" : "0x8D78A5B7C25EF23", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9ddd-101f-004b-1c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "40e346c7-22b4-49a1-a25b-70480d5ad750" + "x-ms-request-id" : "fcf75936-c01f-0044-2444-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "78a666d1-1bef-4802-be35-b0a09d21695e" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0256519610f7f5542/javapathfilesystemsaspermissiontostring1070868d68a64c5?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring07593803b514cc42f/javapathfilesystemsaspermissiontostring1476046017d9b4f?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5ce717df-c48f-4757-9435-248454c58ad2", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22c72324-2dd0-4d32-92af-7d757f178d9d", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dde-101f-004b-1d0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "5ce717df-c48f-4757-9435-248454c58ad2" + "x-ms-request-id" : "fcf75937-c01f-0044-2544-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "22c72324-2dd0-4d32-92af-7d757f178d9d" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0256519610f7f5542/javapathfilesystemsaspermissiontostring1070868d68a64c5?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring07593803b514cc42f/javapathfilesystemsaspermissiontostring1476046017d9b4f?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "aa2f719f-6617-417c-aef0-226d9c5f2b7e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb08c74e-449e-411d-8159-3b6a9106b0df" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826504E8436", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:44 GMT", + "ETag" : "0x8D78A5B7C411DCC", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9de0-101f-004b-1f0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "aa2f719f-6617-417c-aef0-226d9c5f2b7e" + "x-ms-request-id" : "fcf75938-c01f-0044-2644-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "eb08c74e-449e-411d-8159-3b6a9106b0df" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ccdf5952-ad5a-41c7-8578-2a96b20bb916" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dfa5c48d-542c-437c-8f27-e692191a01c0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a596c-e01e-0092-410f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring0256519610f7f5542Tue, 03 Dec 2019 19:23:44 GMT\"0x8D77826503472FE\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "ccdf5952-ad5a-41c7-8578-2a96b20bb916", + "x-ms-request-id" : "fa93f6ba-b01e-0003-1a44-bc735f000000", + "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring07593803b514cc42fThu, 26 Dec 2019 23:29:42 GMT\"0x8D78A5B7BF1722F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:42 GMT", + "x-ms-client-request-id" : "dfa5c48d-542c-437c-8f27-e692191a01c0", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0256519610f7f5542?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring07593803b514cc42f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "377bc9db-540e-497f-a5c2-c55b1b93bf54" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e4077600-ca0d-4d39-ad1f-8bb08fa0397a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5973-e01e-0092-470f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "377bc9db-540e-497f-a5c2-c55b1b93bf54" + "x-ms-request-id" : "fa93f6bf-b01e-0003-1f44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:42 GMT", + "x-ms-client-request-id" : "e4077600-ca0d-4d39-ad1f-8bb08fa0397a" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissiontostring0256519610f7f5542", "javapathfilesystemsaspermissiontostring1070868d68a64c5" ] + "variables" : [ "jtfsfilesystemsaspermissiontostring07593803b514cc42f", "javapathfilesystemsaspermissiontostring1476046017d9b4f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[4].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[4].json index 64a9a5a2dbcb3..b551bd7f50425 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[4].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[4].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring04767791918a6d00d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring043876ff122e8fd44?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0eca37bc-da31-4058-8fa6-be106da1d02e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "53b8af98-7dfc-467f-bf63-44c0040318d8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826507186EB", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:44 GMT", + "ETag" : "0x8D78A5B7C678C9D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a599c-e01e-0092-680f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:44 GMT", - "x-ms-client-request-id" : "0eca37bc-da31-4058-8fa6-be106da1d02e" + "x-ms-request-id" : "fa93f6cd-b01e-0003-2b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:42 GMT", + "x-ms-client-request-id" : "53b8af98-7dfc-467f-bf63-44c0040318d8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring04767791918a6d00d/javapathfilesystemsaspermissiontostring178217f42460348?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring043876ff122e8fd44/javapathfilesystemsaspermissiontostring124271a84c3be27?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "749d8752-3a21-42dc-a2e9-82371b9f3df9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d9ba8da-30f2-4d57-ba8c-00adda67c3a1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826507B772D", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:45 GMT", + "ETag" : "0x8D78A5B7C998C5D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9de3-101f-004b-220f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "749d8752-3a21-42dc-a2e9-82371b9f3df9" + "x-ms-request-id" : "9683d03a-f01f-003d-0c44-bce420000000", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "8d9ba8da-30f2-4d57-ba8c-00adda67c3a1" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring04767791918a6d00d/javapathfilesystemsaspermissiontostring178217f42460348?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring043876ff122e8fd44/javapathfilesystemsaspermissiontostring124271a84c3be27?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f27ed7ad-714e-41f1-8584-12a2486a4f5a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0060e98-a716-4de1-a77e-c02f5cad142f", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9de4-101f-004b-230f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "f27ed7ad-714e-41f1-8584-12a2486a4f5a" + "x-ms-request-id" : "9683d03b-f01f-003d-0d44-bce420000000", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "f0060e98-a716-4de1-a77e-c02f5cad142f" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring04767791918a6d00d/javapathfilesystemsaspermissiontostring178217f42460348?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring043876ff122e8fd44/javapathfilesystemsaspermissiontostring124271a84c3be27?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "22c5c7cc-9b82-40b6-8f9c-4c49ea93e32c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "36ca8bc0-68a6-44b9-a09e-85fedecab27d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826508BAEB8", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:45 GMT", + "ETag" : "0x8D78A5B7CB55297", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9de5-101f-004b-240f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "22c5c7cc-9b82-40b6-8f9c-4c49ea93e32c" + "x-ms-request-id" : "9683d03c-f01f-003d-0e44-bce420000000", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "36ca8bc0-68a6-44b9-a09e-85fedecab27d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4487894b-75e7-4001-abf1-71dd920b9094" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "267959e6-d6b1-440d-ba84-57ac9a2019e5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5a13-e01e-0092-530f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring04767791918a6d00dTue, 03 Dec 2019 19:23:44 GMT\"0x8D77826507186EB\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "4487894b-75e7-4001-abf1-71dd920b9094", + "x-ms-request-id" : "fa93f6f1-b01e-0003-4544-bc735f000000", + "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring043876ff122e8fd44Thu, 26 Dec 2019 23:29:43 GMT\"0x8D78A5B7C678C9D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "267959e6-d6b1-440d-ba84-57ac9a2019e5", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring04767791918a6d00d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring043876ff122e8fd44?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3e2099c2-b166-457e-8695-456f8f9f5db7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "72d7c613-12b8-40f1-8a90-29583cd88208" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5a21-e01e-0092-600f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "3e2099c2-b166-457e-8695-456f8f9f5db7" + "x-ms-request-id" : "fa93f6f4-b01e-0003-4844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "72d7c613-12b8-40f1-8a90-29583cd88208" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissiontostring04767791918a6d00d", "javapathfilesystemsaspermissiontostring178217f42460348" ] + "variables" : [ "jtfsfilesystemsaspermissiontostring043876ff122e8fd44", "javapathfilesystemsaspermissiontostring124271a84c3be27" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[5].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[5].json index 1b9492b9e5ff0..98061731f6695 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[5].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[5].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring013384278db941a64?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring053898362634b03a5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b628d3ed-107f-4c39-913b-44b9d307c424" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d59eeac2-624d-4875-af0d-84df8cd2957f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782650A4FC33", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:45 GMT", + "ETag" : "0x8D78A5B7CDD31D4", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5a35-e01e-0092-6c0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "b628d3ed-107f-4c39-913b-44b9d307c424" + "x-ms-request-id" : "fa93f6f8-b01e-0003-4c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "d59eeac2-624d-4875-af0d-84df8cd2957f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring013384278db941a64/javapathfilesystemsaspermissiontostring109252497eeb485?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring053898362634b03a5/javapathfilesystemsaspermissiontostring19458425a4f1921?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f95eb42e-1b8e-4b26-8ad5-e9bd60f9fa62" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2643415d-206a-4065-886e-b1fa0caa26b5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782650CFE52A", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:45 GMT", + "ETag" : "0x8D78A5B7D10A448", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9de7-101f-004b-260f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "f95eb42e-1b8e-4b26-8ad5-e9bd60f9fa62" + "x-ms-request-id" : "32546226-401f-0007-8044-bcfe58000000", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "2643415d-206a-4065-886e-b1fa0caa26b5" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring013384278db941a64/javapathfilesystemsaspermissiontostring109252497eeb485?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring053898362634b03a5/javapathfilesystemsaspermissiontostring19458425a4f1921?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ebd37136-395b-4f12-b151-bb13c7ac297e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1f9ff6c9-13d0-4f47-b54b-a3f9a996aa64", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9de8-101f-004b-270f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "ebd37136-395b-4f12-b151-bb13c7ac297e" + "x-ms-request-id" : "32546227-401f-0007-0144-bcfe58000000", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "1f9ff6c9-13d0-4f47-b54b-a3f9a996aa64" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring013384278db941a64/javapathfilesystemsaspermissiontostring109252497eeb485?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring053898362634b03a5/javapathfilesystemsaspermissiontostring19458425a4f1921?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "dd87601c-ca02-4c9b-8f43-f808393d51e5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3880a37d-9a60-4015-b705-50954912beec" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782650E11051", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:45 GMT", + "ETag" : "0x8D78A5B7D2B0B62", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9de9-101f-004b-280f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "dd87601c-ca02-4c9b-8f43-f808393d51e5" + "x-ms-request-id" : "32546228-401f-0007-0244-bcfe58000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "3880a37d-9a60-4015-b705-50954912beec" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9c79f355-1af6-4027-9eae-403dc7cc6df3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c6bea91e-d6c2-4d72-a202-38515b47b5a1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5aef-e01e-0092-0f0f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring013384278db941a64Tue, 03 Dec 2019 19:23:45 GMT\"0x8D7782650A4FC33\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "9c79f355-1af6-4027-9eae-403dc7cc6df3", + "x-ms-request-id" : "fa93f711-b01e-0003-6144-bc735f000000", + "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring053898362634b03a5Thu, 26 Dec 2019 23:29:43 GMT\"0x8D78A5B7CDD31D4\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "c6bea91e-d6c2-4d72-a202-38515b47b5a1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring013384278db941a64?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring053898362634b03a5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "48c42b59-2de1-4c2d-89d7-3fdd5aee1f0b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9cfc0e23-2cc0-4665-9892-9704ea5f2870" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5b02-e01e-0092-1f0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "48c42b59-2de1-4c2d-89d7-3fdd5aee1f0b" + "x-ms-request-id" : "fa93f715-b01e-0003-6544-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "9cfc0e23-2cc0-4665-9892-9704ea5f2870" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissiontostring013384278db941a64", "javapathfilesystemsaspermissiontostring109252497eeb485" ] + "variables" : [ "jtfsfilesystemsaspermissiontostring053898362634b03a5", "javapathfilesystemsaspermissiontostring19458425a4f1921" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[6].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[6].json index 2119d9c49c0dc..c9216a8d719f6 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[6].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestfilesystemsaspermissiontostring[6].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0887338943a986ac4?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0846203790fbabc97?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "bec89994-4f12-4b90-8aac-4290ad4e1c88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b3d54538-60b2-42bd-99a1-0ba35f5333d9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782650FAF3BF", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:45 GMT", + "ETag" : "0x8D78A5B7D508D48", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5b14-e01e-0092-2f0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "bec89994-4f12-4b90-8aac-4290ad4e1c88" + "x-ms-request-id" : "fa93f71c-b01e-0003-6b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "b3d54538-60b2-42bd-99a1-0ba35f5333d9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0887338943a986ac4/javapathfilesystemsaspermissiontostring109036294177a35?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0846203790fbabc97/javapathfilesystemsaspermissiontostring184833d0c68aa4e?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "070b20c1-205b-4bc9-8538-3c23e6e24544" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "049ce77e-0a55-40d0-9305-44390147780f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826510AD3DB", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:45 GMT", + "ETag" : "0x8D78A5B7D76286D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9deb-101f-004b-2a0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:45 GMT", - "x-ms-client-request-id" : "070b20c1-205b-4bc9-8538-3c23e6e24544" + "x-ms-request-id" : "32546229-401f-0007-0344-bcfe58000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "049ce77e-0a55-40d0-9305-44390147780f" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0887338943a986ac4/javapathfilesystemsaspermissiontostring109036294177a35?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0846203790fbabc97/javapathfilesystemsaspermissiontostring184833d0c68aa4e?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "508204a0-9644-4158-9e88-6d4c8c0c8c73", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "78777ed1-5080-478c-8e14-3541d0b9d1c8", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dec-101f-004b-2b0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "508204a0-9644-4158-9e88-6d4c8c0c8c73" + "x-ms-request-id" : "3254622a-401f-0007-0444-bcfe58000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "78777ed1-5080-478c-8e14-3541d0b9d1c8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0887338943a986ac4/javapathfilesystemsaspermissiontostring109036294177a35?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsfilesystemsaspermissiontostring0846203790fbabc97/javapathfilesystemsaspermissiontostring184833d0c68aa4e?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9086ef9b-1083-4647-a257-43dbd9d5265c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2559163f-641e-432f-bd73-5a0cdca9e54c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826511D7172", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:46 GMT", + "ETag" : "0x8D78A5B7D900EFD", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ded-101f-004b-2c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "9086ef9b-1083-4647-a257-43dbd9d5265c" + "x-ms-request-id" : "3254622b-401f-0007-0544-bcfe58000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "2559163f-641e-432f-bd73-5a0cdca9e54c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsfilesystemsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d3b49a70-4210-4792-a2ef-8ac9fba9ad49" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b0aac97a-7bd2-45b1-9111-184cc106a423" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5b73-e01e-0092-770f-aad9cc000000", - "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring0887338943a986ac4Tue, 03 Dec 2019 19:23:45 GMT\"0x8D7782650FAF3BF\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "d3b49a70-4210-4792-a2ef-8ac9fba9ad49", + "x-ms-request-id" : "fa93f740-b01e-0003-0644-bc735f000000", + "Body" : "jtfsfilesystemsaspermissiontostringjtfsfilesystemsaspermissiontostring0846203790fbabc97Thu, 26 Dec 2019 23:29:44 GMT\"0x8D78A5B7D508D48\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "b0aac97a-7bd2-45b1-9111-184cc106a423", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0887338943a986ac4?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsfilesystemsaspermissiontostring0846203790fbabc97?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4e892e03-fe0a-4fb0-9758-dbfd28061448" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1cf34be6-ec25-46f9-8f24-d150af0f65ba" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5b7e-e01e-0092-020f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:46 GMT", - "x-ms-client-request-id" : "4e892e03-fe0a-4fb0-9758-dbfd28061448" + "x-ms-request-id" : "fa93f745-b01e-0003-0a44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "1cf34be6-ec25-46f9-8f24-d150af0f65ba" }, "Exception" : null } ], - "variables" : [ "jtfsfilesystemsaspermissiontostring0887338943a986ac4", "javapathfilesystemsaspermissiontostring109036294177a35" ] + "variables" : [ "jtfsfilesystemsaspermissiontostring0846203790fbabc97", "javapathfilesystemsaspermissiontostring184833d0c68aa4e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[0].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[0].json index 2a69579571b35..c85099df77d4b 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[0].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[0].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse0948052ddef0e51dbd4f0?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse073735c2ee58d54a7047e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "70eb5014-f1d5-432f-b610-5402aa6105c3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1cf996e8-58d3-47af-b1c7-03cb0b097026" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264D8E2E0F", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:40 GMT", + "ETag" : "0x8D78A5B76D79756", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5455-e01e-0092-660f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "70eb5014-f1d5-432f-b610-5402aa6105c3" + "x-ms-request-id" : "fa93f453-b01e-0003-2344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "1cf996e8-58d3-47af-b1c7-03cb0b097026" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0948052ddef0e51dbd4f0/javapathpathsaspermissionparse184843adf87d26bb5d4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse073735c2ee58d54a7047e/javapathpathsaspermissionparse178339b2c4624cec304?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c19a6de3-b753-4d1b-8916-2e71fe9d287e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09aef41a-d6fe-4fc3-a0ad-721e4ce7dbe0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264DB2FDA8", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:40 GMT", + "ETag" : "0x8D78A5B770011FF", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9db6-101f-004b-760f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "c19a6de3-b753-4d1b-8916-2e71fe9d287e" + "x-ms-request-id" : "cf582caf-601f-003f-7a44-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "09aef41a-d6fe-4fc3-a0ad-721e4ce7dbe0" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0948052ddef0e51dbd4f0/javapathpathsaspermissionparse184843adf87d26bb5d4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse073735c2ee58d54a7047e/javapathpathsaspermissionparse178339b2c4624cec304?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3b8fa8b3-c095-4ef7-876f-06b608114ce7", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5a9fdea6-2c7f-40c3-ad1e-416f76d6dadf", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9db8-101f-004b-770f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "3b8fa8b3-c095-4ef7-876f-06b608114ce7" + "x-ms-request-id" : "cf582cb0-601f-003f-7b44-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "5a9fdea6-2c7f-40c3-ad1e-416f76d6dadf" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0948052ddef0e51dbd4f0/javapathpathsaspermissionparse184843adf87d26bb5d4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse073735c2ee58d54a7047e/javapathpathsaspermissionparse178339b2c4624cec304?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1efee66b-5db7-4283-a89a-df013c7c7f59" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e0323264-ca3b-450c-a1e6-5e904c482d4b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264DC36B93", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:40 GMT", + "ETag" : "0x8D78A5B7719E13F", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9db9-101f-004b-780f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "1efee66b-5db7-4283-a89a-df013c7c7f59" + "x-ms-request-id" : "cf582cb1-601f-003f-7c44-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "e0323264-ca3b-450c-a1e6-5e904c482d4b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d9becd21-2413-4f88-aeaa-62ae0a725861" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d781c837-b6ad-4e3f-aebf-8594ffe1dd8b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a54c2-e01e-0092-410f-aad9cc000000", - "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse0948052ddef0e51dbd4f0Tue, 03 Dec 2019 19:23:40 GMT\"0x8D778264D8E2E0F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "d9becd21-2413-4f88-aeaa-62ae0a725861", + "x-ms-request-id" : "fa93f466-b01e-0003-3244-bc735f000000", + "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse073735c2ee58d54a7047eThu, 26 Dec 2019 23:29:33 GMT\"0x8D78A5B76D79756\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "d781c837-b6ad-4e3f-aebf-8594ffe1dd8b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse0948052ddef0e51dbd4f0?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse073735c2ee58d54a7047e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "59f7f521-88ed-4f05-8125-ff3326d42554" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "26ea3e8f-e8e2-49d2-8cd5-8a19bbbe1572" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a54cb-e01e-0092-4a0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "59f7f521-88ed-4f05-8125-ff3326d42554" + "x-ms-request-id" : "fa93f46d-b01e-0003-3844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "26ea3e8f-e8e2-49d2-8cd5-8a19bbbe1572" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissionparse0948052ddef0e51dbd4f0", "javapathpathsaspermissionparse184843adf87d26bb5d4" ] + "variables" : [ "jtfspathsaspermissionparse073735c2ee58d54a7047e", "javapathpathsaspermissionparse178339b2c4624cec304" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[1].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[1].json index cda517db24301..733c1e53d9766 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[1].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[1].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse08613386d4b431ad934e5?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse042275396038bc41724d9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8eb0c727-50d0-4a2d-a282-5ad83dda4e5a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f9906b6c-d12d-4d76-8eca-83c7a4e39de7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264DDCAA35", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:40 GMT", + "ETag" : "0x8D78A5B7740E0AC", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a54de-e01e-0092-5d0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "8eb0c727-50d0-4a2d-a282-5ad83dda4e5a" + "x-ms-request-id" : "fa93f475-b01e-0003-3f44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "f9906b6c-d12d-4d76-8eca-83c7a4e39de7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse08613386d4b431ad934e5/javapathpathsaspermissionparse10930213890d8ca7d24?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse042275396038bc41724d9/javapathpathsaspermissionparse134081b33a3ea02c324?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8680611a-cf70-447e-817f-4654443efd37" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4b64e618-c393-4a6b-8d15-b99bb3beb94e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264DE70E55", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:40 GMT", + "ETag" : "0x8D78A5B77736903", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dba-101f-004b-790f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "8680611a-cf70-447e-817f-4654443efd37" + "x-ms-request-id" : "e0c9c488-e01f-001e-5e44-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "4b64e618-c393-4a6b-8d15-b99bb3beb94e" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse08613386d4b431ad934e5/javapathpathsaspermissionparse10930213890d8ca7d24?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse042275396038bc41724d9/javapathpathsaspermissionparse134081b33a3ea02c324?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a3a74110-0d54-4df7-a0a8-af7b214646ed", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a328e99-f996-4f96-ab66-a7c0e8e221ae", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dbb-101f-004b-7a0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "a3a74110-0d54-4df7-a0a8-af7b214646ed" + "x-ms-request-id" : "e0c9c489-e01f-001e-5f44-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "0a328e99-f996-4f96-ab66-a7c0e8e221ae" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse08613386d4b431ad934e5/javapathpathsaspermissionparse10930213890d8ca7d24?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse042275396038bc41724d9/javapathpathsaspermissionparse134081b33a3ea02c324?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "058b9b78-0770-4e2b-a461-b93910ef4a74" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9b4d388f-4ed4-4d8c-bc26-ff6fc278672b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264DF961C5", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:40 GMT", + "ETag" : "0x8D78A5B778D0C8E", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dbc-101f-004b-7b0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "058b9b78-0770-4e2b-a461-b93910ef4a74" + "x-ms-request-id" : "e0c9c48a-e01f-001e-6044-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "9b4d388f-4ed4-4d8c-bc26-ff6fc278672b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b38c05f8-0006-4e32-a62e-9453b48806ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e70932fd-1cfb-4576-b402-4d57da4b8309" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5523-e01e-0092-170f-aad9cc000000", - "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse08613386d4b431ad934e5Tue, 03 Dec 2019 19:23:40 GMT\"0x8D778264DDCAA35\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "b38c05f8-0006-4e32-a62e-9453b48806ed", + "x-ms-request-id" : "fa93f495-b01e-0003-5844-bc735f000000", + "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse042275396038bc41724d9Thu, 26 Dec 2019 23:29:34 GMT\"0x8D78A5B7740E0AC\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "e70932fd-1cfb-4576-b402-4d57da4b8309", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse08613386d4b431ad934e5?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse042275396038bc41724d9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "19635448-47c6-4880-9c64-a88bd7fa2509" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5d3844e6-e704-401e-b30a-01b2351f68c6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a552d-e01e-0092-1f0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "19635448-47c6-4880-9c64-a88bd7fa2509" + "x-ms-request-id" : "fa93f49e-b01e-0003-6044-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "5d3844e6-e704-401e-b30a-01b2351f68c6" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissionparse08613386d4b431ad934e5", "javapathpathsaspermissionparse10930213890d8ca7d24" ] + "variables" : [ "jtfspathsaspermissionparse042275396038bc41724d9", "javapathpathsaspermissionparse134081b33a3ea02c324" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[2].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[2].json index c2672c33db996..0b9518300c2a3 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[2].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[2].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse01616093780a7df5214ec?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse0499560cb73c2ba9e54ba?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "02c14f9c-360e-4dcf-beb1-92ceff05c48c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "78e95f3b-9918-4306-a61e-b145a21bd02a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264E117F4C", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:41 GMT", + "ETag" : "0x8D78A5B77B32A71", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a553c-e01e-0092-2a0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "02c14f9c-360e-4dcf-beb1-92ceff05c48c" + "x-ms-request-id" : "fa93f4a6-b01e-0003-6444-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "78e95f3b-9918-4306-a61e-b145a21bd02a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse01616093780a7df5214ec/javapathpathsaspermissionparse1937386be8e1be3f3d4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse0499560cb73c2ba9e54ba/javapathpathsaspermissionparse1934226c82d5d004334?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "bfa7f12a-53ee-4c44-9000-1218714786eb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e953618-45fc-4d62-9a89-415303a8d522" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264E1EBD69", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:41 GMT", + "ETag" : "0x8D78A5B77E712F7", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dbd-101f-004b-7c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "bfa7f12a-53ee-4c44-9000-1218714786eb" + "x-ms-request-id" : "1f346ed5-301f-0022-0f44-bc5724000000", + "Date" : "Thu, 26 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "8e953618-45fc-4d62-9a89-415303a8d522" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse01616093780a7df5214ec/javapathpathsaspermissionparse1937386be8e1be3f3d4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse0499560cb73c2ba9e54ba/javapathpathsaspermissionparse1934226c82d5d004334?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "033b70e6-85ae-4cd4-9878-0d9a8569cf1d", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca2f7bca-3872-47a7-97d9-493d9b1db278", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dbe-101f-004b-7d0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "033b70e6-85ae-4cd4-9878-0d9a8569cf1d" + "x-ms-request-id" : "1f346ed8-301f-0022-1244-bc5724000000", + "Date" : "Thu, 26 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "ca2f7bca-3872-47a7-97d9-493d9b1db278" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse01616093780a7df5214ec/javapathpathsaspermissionparse1937386be8e1be3f3d4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse0499560cb73c2ba9e54ba/javapathpathsaspermissionparse1934226c82d5d004334?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "29f5fd54-f903-42e5-970c-64d55533f450" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f10dfdea-118c-4b48-b855-1334b66fb379" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264E2EB660", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:41 GMT", + "ETag" : "0x8D78A5B780121BA", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dbf-101f-004b-7e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "29f5fd54-f903-42e5-970c-64d55533f450" + "x-ms-request-id" : "1f346ed9-301f-0022-1344-bc5724000000", + "Date" : "Thu, 26 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "f10dfdea-118c-4b48-b855-1334b66fb379" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "71de831d-67f9-4356-82a6-dc116c0a90ea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1042c85a-c680-46b3-b957-4b49a8805dd1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a557f-e01e-0092-630f-aad9cc000000", - "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse01616093780a7df5214ecTue, 03 Dec 2019 19:23:41 GMT\"0x8D778264E117F4C\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "71de831d-67f9-4356-82a6-dc116c0a90ea", + "x-ms-request-id" : "fa93f4ca-b01e-0003-7f44-bc735f000000", + "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse0499560cb73c2ba9e54baThu, 26 Dec 2019 23:29:35 GMT\"0x8D78A5B77B32A71\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "1042c85a-c680-46b3-b957-4b49a8805dd1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse01616093780a7df5214ec?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse0499560cb73c2ba9e54ba?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2f2494af-237b-440a-9874-8d71617ceacb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9af5cc4c-997a-418c-94c4-18d0ec705195" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a558f-e01e-0092-6f0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "2f2494af-237b-440a-9874-8d71617ceacb" + "x-ms-request-id" : "fa93f4d0-b01e-0003-0344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "9af5cc4c-997a-418c-94c4-18d0ec705195" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissionparse01616093780a7df5214ec", "javapathpathsaspermissionparse1937386be8e1be3f3d4" ] + "variables" : [ "jtfspathsaspermissionparse0499560cb73c2ba9e54ba", "javapathpathsaspermissionparse1934226c82d5d004334" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[3].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[3].json index d084bb1932f99..331c85b01a37c 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[3].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[3].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse050912cc38f435711d49f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse0107040f9a4654ab6b4ed?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6f6cf649-1dd9-4476-9760-7a371e1dc881" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "38dc1c67-d101-4028-af5e-47c9f288908c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264E49622B", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:41 GMT", + "ETag" : "0x8D78A5B7827BE81", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a559a-e01e-0092-7a0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "6f6cf649-1dd9-4476-9760-7a371e1dc881" + "x-ms-request-id" : "fa93f4de-b01e-0003-0c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "38dc1c67-d101-4028-af5e-47c9f288908c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse050912cc38f435711d49f/javapathpathsaspermissionparse133519cce000aef9a34?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse0107040f9a4654ab6b4ed/javapathpathsaspermissionparse155319e1f7d4e3d3994?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5ed85344-3ec7-48a2-879d-137fb149a4b6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "40a5864b-c1af-4bcb-9e81-767a85abd62a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264E5BA17D", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:41 GMT", + "ETag" : "0x8D78A5B785F8509", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dc0-101f-004b-7f0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "5ed85344-3ec7-48a2-879d-137fb149a4b6" + "x-ms-request-id" : "fcf75930-c01f-0044-1f44-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "40a5864b-c1af-4bcb-9e81-767a85abd62a" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse050912cc38f435711d49f/javapathpathsaspermissionparse133519cce000aef9a34?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse0107040f9a4654ab6b4ed/javapathpathsaspermissionparse155319e1f7d4e3d3994?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ff799b8f-baec-4a1c-bd0d-478d9e26bd37", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f1f05844-746e-4bad-9545-a75826763349", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dc1-101f-004b-800f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "ff799b8f-baec-4a1c-bd0d-478d9e26bd37" + "x-ms-request-id" : "fcf75931-c01f-0044-2044-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "f1f05844-746e-4bad-9545-a75826763349" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse050912cc38f435711d49f/javapathpathsaspermissionparse133519cce000aef9a34?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse0107040f9a4654ab6b4ed/javapathpathsaspermissionparse155319e1f7d4e3d3994?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e5e3f17b-2713-48ef-a69a-82c48e3e8453" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8bc3c420-49d9-496d-9d04-fe1ebe84492e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264E7088B1", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:41 GMT", + "ETag" : "0x8D78A5B787DA1C3", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dc2-101f-004b-010f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "e5e3f17b-2713-48ef-a69a-82c48e3e8453" + "x-ms-request-id" : "fcf75932-c01f-0044-2144-bc1804000000", + "Date" : "Thu, 26 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "8bc3c420-49d9-496d-9d04-fe1ebe84492e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ab4b5215-8a2a-4b10-a6d3-80d8ae705939" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2ed7bbcf-d547-495a-97b1-84641c88ff8d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a55d9-e01e-0092-330f-aad9cc000000", - "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse050912cc38f435711d49fTue, 03 Dec 2019 19:23:41 GMT\"0x8D778264E49622B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "ab4b5215-8a2a-4b10-a6d3-80d8ae705939", + "x-ms-request-id" : "fa93f4f7-b01e-0003-2244-bc735f000000", + "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse0107040f9a4654ab6b4edThu, 26 Dec 2019 23:29:35 GMT\"0x8D78A5B7827BE81\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "2ed7bbcf-d547-495a-97b1-84641c88ff8d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse050912cc38f435711d49f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse0107040f9a4654ab6b4ed?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "55172f59-84a8-4bff-9012-ee8dbfb9380b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eea2b8a9-33e0-488f-8c0b-40c7ced7cfc5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a55ef-e01e-0092-430f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "55172f59-84a8-4bff-9012-ee8dbfb9380b" + "x-ms-request-id" : "fa93f4fd-b01e-0003-2744-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "eea2b8a9-33e0-488f-8c0b-40c7ced7cfc5" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissionparse050912cc38f435711d49f", "javapathpathsaspermissionparse133519cce000aef9a34" ] + "variables" : [ "jtfspathsaspermissionparse0107040f9a4654ab6b4ed", "javapathpathsaspermissionparse155319e1f7d4e3d3994" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[4].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[4].json index b05f826ee4e3a..1591824659f7a 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[4].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[4].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse0514172c3f5e0ad48d405?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse04058966e691cbee314c2?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3524a7d1-995d-4149-8eb2-ebabd02b2e5c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3854a46d-da8f-43ab-89d9-fc021ba9718e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264E88E784", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:41 GMT", + "ETag" : "0x8D78A5B78A55328", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a55f7-e01e-0092-4a0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "3524a7d1-995d-4149-8eb2-ebabd02b2e5c" + "x-ms-request-id" : "fa93f502-b01e-0003-2b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "3854a46d-da8f-43ab-89d9-fc021ba9718e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0514172c3f5e0ad48d405/javapathpathsaspermissionparse155307eb38b937c89e4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse04058966e691cbee314c2/javapathpathsaspermissionparse101898035ebe01c79e4?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5d41976c-e2a9-4a69-97eb-552d3711248d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7eed5537-86cb-4ce9-9a66-a61efa5c268f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264E97D9F4", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:41 GMT", + "ETag" : "0x8D78A5B78DB5C04", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dc4-101f-004b-030f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "5d41976c-e2a9-4a69-97eb-552d3711248d" + "x-ms-request-id" : "e528ff10-201f-002e-5b44-bcc02c000000", + "Date" : "Thu, 26 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "7eed5537-86cb-4ce9-9a66-a61efa5c268f" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0514172c3f5e0ad48d405/javapathpathsaspermissionparse155307eb38b937c89e4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse04058966e691cbee314c2/javapathpathsaspermissionparse101898035ebe01c79e4?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "594331d5-c9be-409f-b5b4-e41f6181aebb", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e02c476-4ec2-43b8-9009-4fcdc0845c07", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dc6-101f-004b-050f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:41 GMT", - "x-ms-client-request-id" : "594331d5-c9be-409f-b5b4-e41f6181aebb" + "x-ms-request-id" : "e528ff11-201f-002e-5c44-bcc02c000000", + "Date" : "Thu, 26 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "6e02c476-4ec2-43b8-9009-4fcdc0845c07" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0514172c3f5e0ad48d405/javapathpathsaspermissionparse155307eb38b937c89e4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse04058966e691cbee314c2/javapathpathsaspermissionparse101898035ebe01c79e4?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3504362b-320f-4cb4-9107-f0c7d89370c3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf1d632a-cb2a-401a-9df6-788bec77fb07" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264EB0B5F9", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:42 GMT", + "ETag" : "0x8D78A5B78F56611", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dc7-101f-004b-060f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "3504362b-320f-4cb4-9107-f0c7d89370c3" + "x-ms-request-id" : "e528ff12-201f-002e-5d44-bcc02c000000", + "Date" : "Thu, 26 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "cf1d632a-cb2a-401a-9df6-788bec77fb07" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "875d4b95-dea4-4bf1-a863-94735da01372" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9a3fb97f-4e04-44dd-8141-4ac5ceb11e17" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5659-e01e-0092-1c0f-aad9cc000000", - "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse0514172c3f5e0ad48d405Tue, 03 Dec 2019 19:23:41 GMT\"0x8D778264E88E784\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "875d4b95-dea4-4bf1-a863-94735da01372", + "x-ms-request-id" : "fa93f532-b01e-0003-5244-bc735f000000", + "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse04058966e691cbee314c2Thu, 26 Dec 2019 23:29:36 GMT\"0x8D78A5B78A55328\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "9a3fb97f-4e04-44dd-8141-4ac5ceb11e17", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse0514172c3f5e0ad48d405?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse04058966e691cbee314c2?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5b60e62d-fd83-40dd-83a4-cc38704a2e8d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f012c91a-3f8f-4e0c-969d-8191b85ff5ea" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5674-e01e-0092-340f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "5b60e62d-fd83-40dd-83a4-cc38704a2e8d" + "x-ms-request-id" : "fa93f53a-b01e-0003-5844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "f012c91a-3f8f-4e0c-969d-8191b85ff5ea" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissionparse0514172c3f5e0ad48d405", "javapathpathsaspermissionparse155307eb38b937c89e4" ] + "variables" : [ "jtfspathsaspermissionparse04058966e691cbee314c2", "javapathpathsaspermissionparse101898035ebe01c79e4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[5].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[5].json index e777f82944986..8d89675f389c4 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[5].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[5].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse0546886831c6d780c04d5?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse061716c56e2aa4e2474d9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9c56c9ce-8d71-4e44-ae25-6f9083cd7241" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "582d74aa-fb03-4462-862a-263c358d0b56" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264EC9A599", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:42 GMT", + "ETag" : "0x8D78A5B791BBBB5", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5684-e01e-0092-440f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "9c56c9ce-8d71-4e44-ae25-6f9083cd7241" + "x-ms-request-id" : "fa93f53f-b01e-0003-5d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "582d74aa-fb03-4462-862a-263c358d0b56" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0546886831c6d780c04d5/javapathpathsaspermissionparse176095136c20e2def84?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse061716c56e2aa4e2474d9/javapathpathsaspermissionparse125503c6b463f8a5c84?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "60b86554-ff63-4879-9028-8f9d948fe32e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4754dd78-fd5b-4ba0-ab6e-45bdf339bc74" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264ED6613B", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:42 GMT", + "ETag" : "0x8D78A5B794E88F6", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dc8-101f-004b-070f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "60b86554-ff63-4879-9028-8f9d948fe32e" + "x-ms-request-id" : "257f0f10-101f-001a-2b44-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "4754dd78-fd5b-4ba0-ab6e-45bdf339bc74" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0546886831c6d780c04d5/javapathpathsaspermissionparse176095136c20e2def84?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse061716c56e2aa4e2474d9/javapathpathsaspermissionparse125503c6b463f8a5c84?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d5ca2208-f0b9-466f-9edd-32f30a3acdd7", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "19870b84-05f7-4f5b-b0b1-ccfec7708b99", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dc9-101f-004b-080f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "d5ca2208-f0b9-466f-9edd-32f30a3acdd7" + "x-ms-request-id" : "257f0f11-101f-001a-2c44-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "19870b84-05f7-4f5b-b0b1-ccfec7708b99" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse0546886831c6d780c04d5/javapathpathsaspermissionparse176095136c20e2def84?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse061716c56e2aa4e2474d9/javapathpathsaspermissionparse125503c6b463f8a5c84?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "68b164e0-f47d-4f0b-8540-12f34dd9fb83" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2fe3f84e-765f-43f8-b325-e1d9be8f9cd8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264EE64387", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:42 GMT", + "ETag" : "0x8D78A5B796857C6", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dca-101f-004b-090f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "68b164e0-f47d-4f0b-8540-12f34dd9fb83" + "x-ms-request-id" : "257f0f12-101f-001a-2d44-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "2fe3f84e-765f-43f8-b325-e1d9be8f9cd8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "07ad52b2-b2c1-4c33-9c52-6a1188816760" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "67fd3624-c6a4-426a-b1e1-06edb1796083" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a56d1-e01e-0092-070f-aad9cc000000", - "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse0546886831c6d780c04d5Tue, 03 Dec 2019 19:23:42 GMT\"0x8D778264EC9A599\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "07ad52b2-b2c1-4c33-9c52-6a1188816760", + "x-ms-request-id" : "fa93f55f-b01e-0003-7744-bc735f000000", + "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse061716c56e2aa4e2474d9Thu, 26 Dec 2019 23:29:37 GMT\"0x8D78A5B791BBBB5\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "67fd3624-c6a4-426a-b1e1-06edb1796083", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse0546886831c6d780c04d5?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse061716c56e2aa4e2474d9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8133d2ef-3913-4204-9f71-a6943f052c1a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "05e810de-cb43-4f21-a271-c89f8eb52e26" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a56d8-e01e-0092-0d0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "8133d2ef-3913-4204-9f71-a6943f052c1a" + "x-ms-request-id" : "fa93f56a-b01e-0003-0144-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "05e810de-cb43-4f21-a271-c89f8eb52e26" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissionparse0546886831c6d780c04d5", "javapathpathsaspermissionparse176095136c20e2def84" ] + "variables" : [ "jtfspathsaspermissionparse061716c56e2aa4e2474d9", "javapathpathsaspermissionparse125503c6b463f8a5c84" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[6].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[6].json index f201254f0d697..eb3ad9558aae5 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[6].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparse[6].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse034699a05d7d200f4e4fd?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse02292425ca966a2d564a5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1ec460ac-32be-440a-8baf-d23839675a82" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a67dd6cd-e7c5-4103-89e1-33e8c2ae82ee" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264EFE7AAC", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:42 GMT", + "ETag" : "0x8D78A5B798D908D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a56ea-e01e-0092-1b0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "1ec460ac-32be-440a-8baf-d23839675a82" + "x-ms-request-id" : "fa93f575-b01e-0003-0a44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "a67dd6cd-e7c5-4103-89e1-33e8c2ae82ee" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse034699a05d7d200f4e4fd/javapathpathsaspermissionparse144145abf36786b4954?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse02292425ca966a2d564a5/javapathpathsaspermissionparse189686158cbec492be4?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "35468b81-49ce-40cc-88f6-89fe8600adb1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6afb8ab7-a123-42c4-bc28-98a6be7e7f03" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264F0EDC2E", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:42 GMT", + "ETag" : "0x8D78A5B79C021F2", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dcb-101f-004b-0a0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "35468b81-49ce-40cc-88f6-89fe8600adb1" + "x-ms-request-id" : "e0c9c48d-e01f-001e-6344-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "6afb8ab7-a123-42c4-bc28-98a6be7e7f03" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse034699a05d7d200f4e4fd/javapathpathsaspermissionparse144145abf36786b4954?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse02292425ca966a2d564a5/javapathpathsaspermissionparse189686158cbec492be4?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "54a32eb5-8890-4ba6-b74b-b7b15a56a190", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2dbc9d37-6040-4aba-bd2a-2eee7944d464", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dcc-101f-004b-0b0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "54a32eb5-8890-4ba6-b74b-b7b15a56a190" + "x-ms-request-id" : "e0c9c48e-e01f-001e-6444-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "2dbc9d37-6040-4aba-bd2a-2eee7944d464" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparse034699a05d7d200f4e4fd/javapathpathsaspermissionparse144145abf36786b4954?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparse02292425ca966a2d564a5/javapathpathsaspermissionparse189686158cbec492be4?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "88e6f664-65e8-4be3-a3bc-44fff4b5263a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7c2dcd9-6eae-49c5-98a5-6599ca2cb248" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264F1F50E9", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:42 GMT", + "ETag" : "0x8D78A5B79DA032A", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dcd-101f-004b-0c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "88e6f664-65e8-4be3-a3bc-44fff4b5263a" + "x-ms-request-id" : "e0c9c48f-e01f-001e-6544-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "c7c2dcd9-6eae-49c5-98a5-6599ca2cb248" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissionparse&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "614da981-25e1-46d8-b628-fdbe1908d5de" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d7ab59d-dfe7-4fd1-ba17-9331b2b58755" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5747-e01e-0092-650f-aad9cc000000", - "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse034699a05d7d200f4e4fdTue, 03 Dec 2019 19:23:42 GMT\"0x8D778264EFE7AAC\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "614da981-25e1-46d8-b628-fdbe1908d5de", + "x-ms-request-id" : "fa93f5a4-b01e-0003-3244-bc735f000000", + "Body" : "jtfspathsaspermissionparsejtfspathsaspermissionparse02292425ca966a2d564a5Thu, 26 Dec 2019 23:29:38 GMT\"0x8D78A5B798D908D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "0d7ab59d-dfe7-4fd1-ba17-9331b2b58755", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparse034699a05d7d200f4e4fd?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparse02292425ca966a2d564a5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c2e90dcd-9eab-470e-aa7b-f11f53d86a73" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3f5db8e6-6aae-411e-9005-842dc0346671" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a575a-e01e-0092-760f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "c2e90dcd-9eab-470e-aa7b-f11f53d86a73" + "x-ms-request-id" : "fa93f5ac-b01e-0003-3944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "3f5db8e6-6aae-411e-9005-842dc0346671" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissionparse034699a05d7d200f4e4fd", "javapathpathsaspermissionparse144145abf36786b4954" ] + "variables" : [ "jtfspathsaspermissionparse02292425ca966a2d564a5", "javapathpathsaspermissionparse189686158cbec492be4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparseia.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparseia.json index 86011b13c51eb..bcdd6fa93fce7 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparseia.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissionparseia.json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparseia049059a3e1562dc6c14e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparseia04019248d89f834e7c46?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e420902e-68e4-4ea0-8299-8e732862459c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e7d30e6d-fe69-4296-b1d9-e75106d5300f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264F394440", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:42 GMT", + "ETag" : "0x8D78A5B7A00289F", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5770-e01e-0092-090f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:42 GMT", - "x-ms-client-request-id" : "e420902e-68e4-4ea0-8299-8e732862459c" + "x-ms-request-id" : "fa93f5b7-b01e-0003-4244-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "e7d30e6d-fe69-4296-b1d9-e75106d5300f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparseia049059a3e1562dc6c14e/javapathpathsaspermissionparseia167978f596a2b3e99e?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparseia04019248d89f834e7c46/javapathpathsaspermissionparseia1191095d92918c4102?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2d4da678-0c87-4b87-a2a9-4d6bd834438a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "490ab08e-1503-43ad-937f-d5ea1b2c5a24" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264F448EA9", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:43 GMT", + "ETag" : "0x8D78A5B7A4DC320", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9dce-101f-004b-0d0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "2d4da678-0c87-4b87-a2a9-4d6bd834438a" + "x-ms-request-id" : "e4fdfa93-601f-002f-5e44-bc9ff0000000", + "Date" : "Thu, 26 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "490ab08e-1503-43ad-937f-d5ea1b2c5a24" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparseia049059a3e1562dc6c14e/javapathpathsaspermissionparseia167978f596a2b3e99e?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparseia04019248d89f834e7c46/javapathpathsaspermissionparseia1191095d92918c4102?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1fc78e46-2c9d-4967-813c-10f31c512eb0", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f52918d3-e811-4d72-b921-d60bcec7ab6d", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dcf-101f-004b-0e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "1fc78e46-2c9d-4967-813c-10f31c512eb0" + "x-ms-request-id" : "e4fdfa94-601f-002f-5f44-bc9ff0000000", + "Date" : "Thu, 26 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "f52918d3-e811-4d72-b921-d60bcec7ab6d" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissionparseia049059a3e1562dc6c14e/javapathpathsaspermissionparseia167978f596a2b3e99e?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissionparseia04019248d89f834e7c46/javapathpathsaspermissionparseia1191095d92918c4102?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "22bc62b3-c0f2-489a-9d94-913c04868c93" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "72b0b4c1-6858-4d7f-8b58-28ea0775b039" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264F57E93D", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:43 GMT", + "ETag" : "0x8D78A5B7A68B807", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9dd0-101f-004b-0f0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "22bc62b3-c0f2-489a-9d94-913c04868c93" + "x-ms-request-id" : "e4fdfa95-601f-002f-6044-bc9ff0000000", + "Date" : "Thu, 26 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "72b0b4c1-6858-4d7f-8b58-28ea0775b039" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissionparseia&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissionparseia&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "81e531b1-a9cb-4177-8ec6-ef3ac86ed4b6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "26132310-20a2-4506-9065-2259ce352a24" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a57bf-e01e-0092-4e0f-aad9cc000000", - "Body" : "jtfspathsaspermissionparseiajtfspathsaspermissionparseia049059a3e1562dc6c14eTue, 03 Dec 2019 19:23:42 GMT\"0x8D778264F394440\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "81e531b1-a9cb-4177-8ec6-ef3ac86ed4b6", + "x-ms-request-id" : "fa93f5fd-b01e-0003-7844-bc735f000000", + "Body" : "jtfspathsaspermissionparseiajtfspathsaspermissionparseia04019248d89f834e7c46Thu, 26 Dec 2019 23:29:38 GMT\"0x8D78A5B7A00289F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "26132310-20a2-4506-9065-2259ce352a24", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissionparseia049059a3e1562dc6c14e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissionparseia04019248d89f834e7c46?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "75bb59e1-eec2-4ca0-a41c-f88223d1cf56" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4bde03dd-ac76-4176-934c-d78862a7fbf0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a57d3-e01e-0092-610f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:43 GMT", - "x-ms-client-request-id" : "75bb59e1-eec2-4ca0-a41c-f88223d1cf56" + "x-ms-request-id" : "fa93f60a-b01e-0003-0444-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "4bde03dd-ac76-4176-934c-d78862a7fbf0" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissionparseia049059a3e1562dc6c14e", "javapathpathsaspermissionparseia167978f596a2b3e99e" ] + "variables" : [ "jtfspathsaspermissionparseia04019248d89f834e7c46", "javapathpathsaspermissionparseia1191095d92918c4102" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[0].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[0].json index 7175b299cf751..13c09a03a7f1c 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[0].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[0].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring072024d4173173a4c44a?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring0822801b56d22fe52c40?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "31f7dab8-5336-46e4-a2b5-00ffc9c20ac6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c66d8d3d-61b7-45b3-9a19-5b5eb5cdf002" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264C2227F2", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:37 GMT", + "ETag" : "0x8D78A5B74098206", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5173-e01e-0092-620f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:37 GMT", - "x-ms-client-request-id" : "31f7dab8-5336-46e4-a2b5-00ffc9c20ac6" + "x-ms-request-id" : "fa93f301-b01e-0003-0944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "c66d8d3d-61b7-45b3-9a19-5b5eb5cdf002" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring072024d4173173a4c44a/javapathpathsaspermissiontostring143051005876fa6cfc?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring0822801b56d22fe52c40/javapathpathsaspermissiontostring182372e1c421c2ba80?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9eced2e5-7bea-4873-838d-e1a69261ce5c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a2cc4b5e-ad87-4827-ac9f-eebca9ba5137" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264C309FFF", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:37 GMT", + "ETag" : "0x8D78A5B743C5DC9", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9d27-101f-004b-680f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:37 GMT", - "x-ms-client-request-id" : "9eced2e5-7bea-4873-838d-e1a69261ce5c" + "x-ms-request-id" : "526ce11a-b01f-002c-5044-bc7e94000000", + "Date" : "Thu, 26 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "a2cc4b5e-ad87-4827-ac9f-eebca9ba5137" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring072024d4173173a4c44a/javapathpathsaspermissiontostring143051005876fa6cfc?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring0822801b56d22fe52c40/javapathpathsaspermissiontostring182372e1c421c2ba80?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b9c8cc90-3d75-4ed2-b6f9-5d9acd3c5330", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aab4d2fc-0bb8-42ab-9cd7-d48b34aa3426", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9d2d-101f-004b-6e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:37 GMT", - "x-ms-client-request-id" : "b9c8cc90-3d75-4ed2-b6f9-5d9acd3c5330" + "x-ms-request-id" : "526ce11b-b01f-002c-5144-bc7e94000000", + "Date" : "Thu, 26 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "aab4d2fc-0bb8-42ab-9cd7-d48b34aa3426" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring072024d4173173a4c44a/javapathpathsaspermissiontostring143051005876fa6cfc?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring0822801b56d22fe52c40/javapathpathsaspermissiontostring182372e1c421c2ba80?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c60c6db5-9ab5-4d6b-b5c5-90215ac386bb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb1a8d2b-1188-4b98-b990-2467f5e585f3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264C41904C", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:37 GMT", + "ETag" : "0x8D78A5B74575D70", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9d38-101f-004b-790f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:37 GMT", - "x-ms-client-request-id" : "c60c6db5-9ab5-4d6b-b5c5-90215ac386bb" + "x-ms-request-id" : "526ce11c-b01f-002c-5244-bc7e94000000", + "Date" : "Thu, 26 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "eb1a8d2b-1188-4b98-b990-2467f5e585f3" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1c7dda1c-3533-4188-9835-214e6bd54938" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d04a7dc6-07f5-4930-84bb-e2c7d62e2d09" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a51dd-e01e-0092-410f-aad9cc000000", - "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring072024d4173173a4c44aTue, 03 Dec 2019 19:23:37 GMT\"0x8D778264C2227F2\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:37 GMT", - "x-ms-client-request-id" : "1c7dda1c-3533-4188-9835-214e6bd54938", + "x-ms-request-id" : "fa93f32e-b01e-0003-2c44-bc735f000000", + "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring0822801b56d22fe52c40Thu, 26 Dec 2019 23:29:28 GMT\"0x8D78A5B74098206\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "d04a7dc6-07f5-4930-84bb-e2c7d62e2d09", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring072024d4173173a4c44a?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring0822801b56d22fe52c40?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4eeca0a9-f07a-4f8f-b63b-7f367abb4f0d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "58a6a0fe-5bc5-4bba-b3a9-f93e011ff2ed" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a51f5-e01e-0092-570f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "4eeca0a9-f07a-4f8f-b63b-7f367abb4f0d" + "x-ms-request-id" : "fa93f335-b01e-0003-3144-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "58a6a0fe-5bc5-4bba-b3a9-f93e011ff2ed" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissiontostring072024d4173173a4c44a", "javapathpathsaspermissiontostring143051005876fa6cfc" ] + "variables" : [ "jtfspathsaspermissiontostring0822801b56d22fe52c40", "javapathpathsaspermissiontostring182372e1c421c2ba80" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[1].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[1].json index 6ad0059bd4477..285c8c0ac0c6c 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[1].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[1].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring03589768f34951866a4d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring01040611a25e31d42741?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "296daa4a-c287-4f06-8a61-d83c427e0453" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9b64434e-2ab2-49de-99c1-4b102a41e422" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264C5D1899", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:38 GMT", + "ETag" : "0x8D78A5B747E8B78", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5216-e01e-0092-710f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "296daa4a-c287-4f06-8a61-d83c427e0453" + "x-ms-request-id" : "fa93f341-b01e-0003-3c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "9b64434e-2ab2-49de-99c1-4b102a41e422" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring03589768f34951866a4d/javapathpathsaspermissiontostring135218d0959f0c218c?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring01040611a25e31d42741/javapathpathsaspermissiontostring1932210a5d8049c94a?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "73c0fda5-af24-4baa-a4b6-5819330042f8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9a2e582e-4c0b-46d6-a1d2-21870b795e73" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264C7C63AD", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:38 GMT", + "ETag" : "0x8D78A5B74B693CC", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9d51-101f-004b-120f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "73c0fda5-af24-4baa-a4b6-5819330042f8" + "x-ms-request-id" : "abc64908-a01f-0030-4444-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "9a2e582e-4c0b-46d6-a1d2-21870b795e73" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring03589768f34951866a4d/javapathpathsaspermissiontostring135218d0959f0c218c?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring01040611a25e31d42741/javapathpathsaspermissiontostring1932210a5d8049c94a?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ab0a23e5-9d44-422a-91c6-5ce2edb2cb17", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "39593277-008b-4ba9-88ac-fa32bd6947c8", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9d63-101f-004b-240f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "ab0a23e5-9d44-422a-91c6-5ce2edb2cb17" + "x-ms-request-id" : "abc64909-a01f-0030-4544-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "39593277-008b-4ba9-88ac-fa32bd6947c8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring03589768f34951866a4d/javapathpathsaspermissiontostring135218d0959f0c218c?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring01040611a25e31d42741/javapathpathsaspermissiontostring1932210a5d8049c94a?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0c8587fa-84e0-449c-a737-5ee25ace2fd8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4ed351f4-05b8-452b-b0b8-0c78e02f6961" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264C8D6FED", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:38 GMT", + "ETag" : "0x8D78A5B74D03631", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9d6c-101f-004b-2d0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "0c8587fa-84e0-449c-a737-5ee25ace2fd8" + "x-ms-request-id" : "abc6490a-a01f-0030-4644-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "4ed351f4-05b8-452b-b0b8-0c78e02f6961" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f461480e-6864-45e6-b5ca-a84b651c37af" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "879c435d-46ca-4d92-a217-4caa3ec97f1c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a5269-e01e-0092-390f-aad9cc000000", - "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring03589768f34951866a4dTue, 03 Dec 2019 19:23:38 GMT\"0x8D778264C5D1899\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "f461480e-6864-45e6-b5ca-a84b651c37af", + "x-ms-request-id" : "fa93f37f-b01e-0003-7044-bc735f000000", + "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring01040611a25e31d42741Thu, 26 Dec 2019 23:29:29 GMT\"0x8D78A5B747E8B78\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "879c435d-46ca-4d92-a217-4caa3ec97f1c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring03589768f34951866a4d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring01040611a25e31d42741?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "33d8a681-4b9a-404e-be18-06e78667f634" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "841b27d5-4e9e-40fe-a9b4-fbd64a96cb96" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5274-e01e-0092-440f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "33d8a681-4b9a-404e-be18-06e78667f634" + "x-ms-request-id" : "fa93f384-b01e-0003-7444-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "841b27d5-4e9e-40fe-a9b4-fbd64a96cb96" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissiontostring03589768f34951866a4d", "javapathpathsaspermissiontostring135218d0959f0c218c" ] + "variables" : [ "jtfspathsaspermissiontostring01040611a25e31d42741", "javapathpathsaspermissiontostring1932210a5d8049c94a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[2].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[2].json index 418c6d1ee66cf..1a3fdad0e3d6c 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[2].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[2].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring036492992ee45eefbd40?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring035555418a89b200ee4a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9d1be064-deb2-4670-8223-f84e626de6a3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "24acf0da-ab78-4b09-9a7a-e2a95a01af75" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264CA79C6D", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:38 GMT", + "ETag" : "0x8D78A5B74F6A18D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a5285-e01e-0092-530f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "9d1be064-deb2-4670-8223-f84e626de6a3" + "x-ms-request-id" : "fa93f38d-b01e-0003-7c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "24acf0da-ab78-4b09-9a7a-e2a95a01af75" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring036492992ee45eefbd40/javapathpathsaspermissiontostring106498069657eecdfb?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring035555418a89b200ee4a/javapathpathsaspermissiontostring188021a5d9deb9e066?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "aabaa652-8185-4023-bd66-be58658362c0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "082bc673-93ed-443f-b59f-7ace9ac88082" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264CB1EE86", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:38 GMT", + "ETag" : "0x8D78A5B752C0EFB", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9d84-101f-004b-450f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "aabaa652-8185-4023-bd66-be58658362c0" + "x-ms-request-id" : "a41b672e-201f-003e-0144-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "082bc673-93ed-443f-b59f-7ace9ac88082" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring036492992ee45eefbd40/javapathpathsaspermissiontostring106498069657eecdfb?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring035555418a89b200ee4a/javapathpathsaspermissiontostring188021a5d9deb9e066?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3446db9f-e549-4568-9361-0c5c4f3c33fc", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c937ca5-e7ec-46e6-9c0c-0d436384bdaa", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9d85-101f-004b-460f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "3446db9f-e549-4568-9361-0c5c4f3c33fc" + "x-ms-request-id" : "a41b672f-201f-003e-0244-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "4c937ca5-e7ec-46e6-9c0c-0d436384bdaa" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring036492992ee45eefbd40/javapathpathsaspermissiontostring106498069657eecdfb?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring035555418a89b200ee4a/javapathpathsaspermissiontostring188021a5d9deb9e066?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b899671f-547e-4e27-8f08-1dc3ac672bdc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d5a49fd-af31-4f53-893d-ea0bed4b7ec1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264CC353FF", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:38 GMT", + "ETag" : "0x8D78A5B754F4181", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9d8b-101f-004b-4c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "b899671f-547e-4e27-8f08-1dc3ac672bdc" + "x-ms-request-id" : "a41b6730-201f-003e-0344-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "3d5a49fd-af31-4f53-893d-ea0bed4b7ec1" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "49cc205e-e2d9-4017-88dc-674f6ff8cadb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c5e55f0-abf2-44a6-b421-ff836589b2f1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a52b9-e01e-0092-7d0f-aad9cc000000", - "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring036492992ee45eefbd40Tue, 03 Dec 2019 19:23:38 GMT\"0x8D778264CA79C6D\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "49cc205e-e2d9-4017-88dc-674f6ff8cadb", + "x-ms-request-id" : "fa93f3a9-b01e-0003-1144-bc735f000000", + "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring035555418a89b200ee4aThu, 26 Dec 2019 23:29:30 GMT\"0x8D78A5B74F6A18D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "5c5e55f0-abf2-44a6-b421-ff836589b2f1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring036492992ee45eefbd40?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring035555418a89b200ee4a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4f98f4c2-d30e-4505-b22e-91e3feb8eb88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "992a3cb1-577b-4f58-bd50-03682d962970" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a52c4-e01e-0092-070f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "4f98f4c2-d30e-4505-b22e-91e3feb8eb88" + "x-ms-request-id" : "fa93f3ad-b01e-0003-1544-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "992a3cb1-577b-4f58-bd50-03682d962970" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissiontostring036492992ee45eefbd40", "javapathpathsaspermissiontostring106498069657eecdfb" ] + "variables" : [ "jtfspathsaspermissiontostring035555418a89b200ee4a", "javapathpathsaspermissiontostring188021a5d9deb9e066" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[3].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[3].json index 18a05f0a28603..ef01d16e74c65 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[3].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[3].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring06114432ab9681dffa4b?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring061707d4b7f72928ae44?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c149b481-fcd5-476f-8630-9c0b63a19fb6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7dbb554-72dd-4bed-99ba-8a1047f9c65d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264CDCBFAE", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:38 GMT", + "ETag" : "0x8D78A5B7575E3F2", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a52d6-e01e-0092-170f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:38 GMT", - "x-ms-client-request-id" : "c149b481-fcd5-476f-8630-9c0b63a19fb6" + "x-ms-request-id" : "fa93f3b5-b01e-0003-1c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:31 GMT", + "x-ms-client-request-id" : "b7dbb554-72dd-4bed-99ba-8a1047f9c65d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring06114432ab9681dffa4b/javapathpathsaspermissiontostring113553ce06e15a2912?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring061707d4b7f72928ae44/javapathpathsaspermissiontostring197291b61982ae0954?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4c139e55-aed9-4ac6-ae93-f30357690d66" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a2565fca-953b-4b75-b347-9d7f6dba7d48" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264CEBD003", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:39 GMT", + "ETag" : "0x8D78A5B75ABE3F5", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9da0-101f-004b-610f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "4c139e55-aed9-4ac6-ae93-f30357690d66" + "x-ms-request-id" : "f713048b-201f-0011-1944-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "a2565fca-953b-4b75-b347-9d7f6dba7d48" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring06114432ab9681dffa4b/javapathpathsaspermissiontostring113553ce06e15a2912?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring061707d4b7f72928ae44/javapathpathsaspermissiontostring197291b61982ae0954?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ae648e28-d60a-4e9a-a26f-fc7e7a4438f4", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bcb9451d-bf31-441b-bcdd-7eb4919328a1", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9da2-101f-004b-620f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "ae648e28-d60a-4e9a-a26f-fc7e7a4438f4" + "x-ms-request-id" : "f713048c-201f-0011-1a44-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "bcb9451d-bf31-441b-bcdd-7eb4919328a1" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring06114432ab9681dffa4b/javapathpathsaspermissiontostring113553ce06e15a2912?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring061707d4b7f72928ae44/javapathpathsaspermissiontostring197291b61982ae0954?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0cc882a2-3eee-44ff-904c-f45d0bbcecc9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "018f3c66-9fab-4655-ad30-d32d5da04855" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264D02B83F", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:39 GMT", + "ETag" : "0x8D78A5B75C660FE", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9da5-101f-004b-650f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "0cc882a2-3eee-44ff-904c-f45d0bbcecc9" + "x-ms-request-id" : "f713048d-201f-0011-1b44-bc088f000000", + "Date" : "Thu, 26 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "018f3c66-9fab-4655-ad30-d32d5da04855" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "026d4900-38dc-46dc-a1c0-a8a3e5832248" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d9fcffc-8dfd-451d-9760-3bee0768d741" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a532f-e01e-0092-5f0f-aad9cc000000", - "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring06114432ab9681dffa4bTue, 03 Dec 2019 19:23:38 GMT\"0x8D778264CDCBFAE\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "026d4900-38dc-46dc-a1c0-a8a3e5832248", + "x-ms-request-id" : "fa93f3d3-b01e-0003-3744-bc735f000000", + "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring061707d4b7f72928ae44Thu, 26 Dec 2019 23:29:31 GMT\"0x8D78A5B7575E3F2\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:31 GMT", + "x-ms-client-request-id" : "8d9fcffc-8dfd-451d-9760-3bee0768d741", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring06114432ab9681dffa4b?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring061707d4b7f72928ae44?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e7fa64cb-e5f1-4d42-b6d0-ac3d1cbcf722" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "baa48f22-ce5f-4512-9e26-ed3ef9b1d919" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a533c-e01e-0092-6a0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "e7fa64cb-e5f1-4d42-b6d0-ac3d1cbcf722" + "x-ms-request-id" : "fa93f3da-b01e-0003-3e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:31 GMT", + "x-ms-client-request-id" : "baa48f22-ce5f-4512-9e26-ed3ef9b1d919" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissiontostring06114432ab9681dffa4b", "javapathpathsaspermissiontostring113553ce06e15a2912" ] + "variables" : [ "jtfspathsaspermissiontostring061707d4b7f72928ae44", "javapathpathsaspermissiontostring197291b61982ae0954" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[4].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[4].json index 3561cc6a99267..f87934b659850 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[4].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[4].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring087872e1afa4000a464d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring075219d9ee9e75a8944e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5f748999-8900-49bb-b311-bf419fba2dca" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f3949efb-4a40-420c-bdcb-512773b1e743" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264D1B5A81", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:39 GMT", + "ETag" : "0x8D78A5B75EC259C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a534c-e01e-0092-790f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "5f748999-8900-49bb-b311-bf419fba2dca" + "x-ms-request-id" : "fa93f3ea-b01e-0003-4d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:31 GMT", + "x-ms-client-request-id" : "f3949efb-4a40-420c-bdcb-512773b1e743" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring087872e1afa4000a464d/javapathpathsaspermissiontostring1673988a8dfd946a88?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring075219d9ee9e75a8944e/javapathpathsaspermissiontostring168158d0e49bc26d12?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b2e9a7a6-4d15-4f02-ae97-9d77207303e0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b6f69101-4d91-49c0-915f-5c84a0f49db2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264D283BCC", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:39 GMT", + "ETag" : "0x8D78A5B761F4C29", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9db0-101f-004b-700f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "b2e9a7a6-4d15-4f02-ae97-9d77207303e0" + "x-ms-request-id" : "abc6490c-a01f-0030-4744-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "b6f69101-4d91-49c0-915f-5c84a0f49db2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring087872e1afa4000a464d/javapathpathsaspermissiontostring1673988a8dfd946a88?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring075219d9ee9e75a8944e/javapathpathsaspermissiontostring168158d0e49bc26d12?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5977e892-3f7e-4de3-987a-f61605e3ef23", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab7b7abd-5743-43dd-ae32-8a867e6d5eb0", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9db1-101f-004b-710f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "5977e892-3f7e-4de3-987a-f61605e3ef23" + "x-ms-request-id" : "abc6490d-a01f-0030-4844-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "ab7b7abd-5743-43dd-ae32-8a867e6d5eb0" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring087872e1afa4000a464d/javapathpathsaspermissiontostring1673988a8dfd946a88?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring075219d9ee9e75a8944e/javapathpathsaspermissiontostring168158d0e49bc26d12?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "17b7b50b-f017-4eb8-bf0b-eafade9fc0ee" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a7fbcaa5-f819-4c1f-9296-005c00d4e98b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264D394F90", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:39 GMT", + "ETag" : "0x8D78A5B7638E709", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9db2-101f-004b-720f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "17b7b50b-f017-4eb8-bf0b-eafade9fc0ee" + "x-ms-request-id" : "abc6490e-a01f-0030-4944-bc2cf4000000", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "a7fbcaa5-f819-4c1f-9296-005c00d4e98b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "871047f9-9a91-446e-824d-4cb75405a9ba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d3688b35-418d-4d11-86f0-68ea190ad7d7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a53ac-e01e-0092-4b0f-aad9cc000000", - "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring087872e1afa4000a464dTue, 03 Dec 2019 19:23:39 GMT\"0x8D778264D1B5A81\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "871047f9-9a91-446e-824d-4cb75405a9ba", + "x-ms-request-id" : "fa93f410-b01e-0003-6f44-bc735f000000", + "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring075219d9ee9e75a8944eThu, 26 Dec 2019 23:29:32 GMT\"0x8D78A5B75EC259C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "d3688b35-418d-4d11-86f0-68ea190ad7d7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring087872e1afa4000a464d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring075219d9ee9e75a8944e?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6886a143-5fcd-4c1e-be21-ef948aa649ca" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "33be269c-5014-471e-af3d-4194c7ab91bd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a53bf-e01e-0092-5c0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "6886a143-5fcd-4c1e-be21-ef948aa649ca" + "x-ms-request-id" : "fa93f412-b01e-0003-7044-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "33be269c-5014-471e-af3d-4194c7ab91bd" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissiontostring087872e1afa4000a464d", "javapathpathsaspermissiontostring1673988a8dfd946a88" ] + "variables" : [ "jtfspathsaspermissiontostring075219d9ee9e75a8944e", "javapathpathsaspermissiontostring168158d0e49bc26d12" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[5].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[5].json index 2f547e3cd002f..e717e0cdb209b 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[5].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestpathsaspermissiontostring[5].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring068712a1dcf3142fdc41?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring095563bef7baf09cb348?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5c9bc1b3-a234-48d0-932f-e2b8ec18c9b3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e7404301-5c43-4153-ae47-d1b8ca9e0a6c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264D51DD91", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:39 GMT", + "ETag" : "0x8D78A5B765F32BE", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a53cf-e01e-0092-6b0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "5c9bc1b3-a234-48d0-932f-e2b8ec18c9b3" + "x-ms-request-id" : "fa93f41a-b01e-0003-7644-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "e7404301-5c43-4153-ae47-d1b8ca9e0a6c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring068712a1dcf3142fdc41/javapathpathsaspermissiontostring16625940ac20b6e368?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring095563bef7baf09cb348/javapathpathsaspermissiontostring1385398d7893bf86ed?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a028a993-d457-4e9f-ad6e-1390be6bfee5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ebca9ea-b170-46a1-87b2-379d5c489cca" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264D623775", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:39 GMT", + "ETag" : "0x8D78A5B7696B073", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9db3-101f-004b-730f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "a028a993-d457-4e9f-ad6e-1390be6bfee5" + "x-ms-request-id" : "cf582cac-601f-003f-7744-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "3ebca9ea-b170-46a1-87b2-379d5c489cca" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring068712a1dcf3142fdc41/javapathpathsaspermissiontostring16625940ac20b6e368?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring095563bef7baf09cb348/javapathpathsaspermissiontostring1385398d7893bf86ed?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3561c194-2268-43c5-8fb6-e8f85c8a38f2", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9b0d6e5-ec34-408b-9664-7a7a22ae4b11", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9db4-101f-004b-740f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "3561c194-2268-43c5-8fb6-e8f85c8a38f2" + "x-ms-request-id" : "cf582cad-601f-003f-7844-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "e9b0d6e5-ec34-408b-9664-7a7a22ae4b11" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfspathsaspermissiontostring068712a1dcf3142fdc41/javapathpathsaspermissiontostring16625940ac20b6e368?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfspathsaspermissiontostring095563bef7baf09cb348/javapathpathsaspermissiontostring1385398d7893bf86ed?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2e3ca330-07f2-4763-8fb4-d91f670792b8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "929f04b7-2ea2-4182-953d-c9141d0339ad" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264D75652A", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:39 GMT", + "ETag" : "0x8D78A5B76B1684D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9db5-101f-004b-750f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "2e3ca330-07f2-4763-8fb4-d91f670792b8" + "x-ms-request-id" : "cf582cae-601f-003f-7944-bc5a98000000", + "Date" : "Thu, 26 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "929f04b7-2ea2-4182-953d-c9141d0339ad" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfspathsaspermissiontostring&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "027ff9d5-7b36-4da6-970e-2379fe68d133" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "76f1d69d-1f37-488b-96d7-c76fd9955262" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a542a-e01e-0092-3f0f-aad9cc000000", - "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring068712a1dcf3142fdc41Tue, 03 Dec 2019 19:23:39 GMT\"0x8D778264D51DD91\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:39 GMT", - "x-ms-client-request-id" : "027ff9d5-7b36-4da6-970e-2379fe68d133", + "x-ms-request-id" : "fa93f440-b01e-0003-1444-bc735f000000", + "Body" : "jtfspathsaspermissiontostringjtfspathsaspermissiontostring095563bef7baf09cb348Thu, 26 Dec 2019 23:29:32 GMT\"0x8D78A5B765F32BE\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "76f1d69d-1f37-488b-96d7-c76fd9955262", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfspathsaspermissiontostring068712a1dcf3142fdc41?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfspathsaspermissiontostring095563bef7baf09cb348?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "98ee6e17-abc2-4704-908d-775aedcd573d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "594d61e7-c031-4ec3-956c-843c2b5dab08" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a5442-e01e-0092-550f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:40 GMT", - "x-ms-client-request-id" : "98ee6e17-abc2-4704-908d-775aedcd573d" + "x-ms-request-id" : "fa93f44a-b01e-0003-1c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "594d61e7-c031-4ec3-956c-843c2b5dab08" }, "Exception" : null } ], - "variables" : [ "jtfspathsaspermissiontostring068712a1dcf3142fdc41", "javapathpathsaspermissiontostring16625940ac20b6e368" ] + "variables" : [ "jtfspathsaspermissiontostring095563bef7baf09cb348", "javapathpathsaspermissiontostring1385398d7893bf86ed" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[0].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[0].json index 09afc88c99d52..a5fcc32cedbbb 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[0].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[0].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign03901525986b39a0af44b?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign0082640a669e719a8b47f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "34f0151a-c992-48a3-ba23-bebfffc2d91e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a7f026e-e0fb-4e09-b382-5aa9f61a53f0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE822536FD", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:20 GMT", + "ETag" : "0x8D78A5B68F24A3B", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b1e27-501e-00cf-2dc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "34f0151a-c992-48a3-ba23-bebfffc2d91e" + "x-ms-request-id" : "fa93edfa-b01e-0003-6844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "0a7f026e-e0fb-4e09-b382-5aa9f61a53f0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign03901525986b39a0af44b/javapathsasimplutilstringtosign168874abc944fed5cf4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0082640a669e719a8b47f/javapathsasimplutilstringtosign137266438f46e5a3764?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a049e601-e0aa-4447-b788-d20949559862" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e8836b88-d859-4a62-9546-65a220a78fde" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8233318A", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:20 GMT", + "ETag" : "0x8D78A5B6901F9C6", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177306-101f-002d-2ec7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:19 GMT", - "x-ms-client-request-id" : "a049e601-e0aa-4447-b788-d20949559862" + "x-ms-request-id" : "7d9abc33-d01f-0015-0844-bc8588000000", + "Date" : "Thu, 26 Dec 2019 23:29:09 GMT", + "x-ms-client-request-id" : "e8836b88-d859-4a62-9546-65a220a78fde" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign03901525986b39a0af44b/javapathsasimplutilstringtosign168874abc944fed5cf4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0082640a669e719a8b47f/javapathsasimplutilstringtosign137266438f46e5a3764?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "838e5fd5-4eec-48a4-a228-aa44159dea95", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9b5da36e-f7ef-4e15-9bb1-23df4b760843", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177308-101f-002d-30c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:19 GMT", - "x-ms-client-request-id" : "838e5fd5-4eec-48a4-a228-aa44159dea95" + "x-ms-request-id" : "7d9abc34-d01f-0015-0944-bc8588000000", + "Date" : "Thu, 26 Dec 2019 23:29:09 GMT", + "x-ms-client-request-id" : "9b5da36e-f7ef-4e15-9bb1-23df4b760843" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign03901525986b39a0af44b/javapathsasimplutilstringtosign168874abc944fed5cf4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0082640a669e719a8b47f/javapathsasimplutilstringtosign137266438f46e5a3764?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "21e1ccfd-b6df-4f73-b9f3-84b3306f3a0c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "916ca4f9-45f7-4d70-8a1c-adff883f0a71" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE824519BB", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:20 GMT", + "ETag" : "0x8D78A5B691BD8E9", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177309-101f-002d-31c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:19 GMT", - "x-ms-client-request-id" : "21e1ccfd-b6df-4f73-b9f3-84b3306f3a0c" + "x-ms-request-id" : "7d9abc35-d01f-0015-0a44-bc8588000000", + "Date" : "Thu, 26 Dec 2019 23:29:09 GMT", + "x-ms-client-request-id" : "916ca4f9-45f7-4d70-8a1c-adff883f0a71" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "548c1803-ca96-4cc5-9c89-3808079e4363" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d04cc57-e961-4cce-b745-72e2a02872f4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b1e8e-501e-00cf-09c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign03901525986b39a0af44bMon, 09 Dec 2019 19:32:20 GMT\"0x8D77CDE822536FD\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "548c1803-ca96-4cc5-9c89-3808079e4363", + "x-ms-request-id" : "fa93ee16-b01e-0003-7c44-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign0082640a669e719a8b47fThu, 26 Dec 2019 23:29:10 GMT\"0x8D78A5B68F24A3B\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "0d04cc57-e961-4cce-b745-72e2a02872f4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign03901525986b39a0af44b?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign0082640a669e719a8b47f?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "aa3907d7-81d2-40b6-b9c9-d5306a4e58d0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7b03e1d-7ed6-4360-b87d-f2703a508cf8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b1ea6-501e-00cf-1ec7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "aa3907d7-81d2-40b6-b9c9-d5306a4e58d0" + "x-ms-request-id" : "fa93ee1c-b01e-0003-0244-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "b7b03e1d-7ed6-4360-b87d-f2703a508cf8" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign03901525986b39a0af44b", "javapathsasimplutilstringtosign168874abc944fed5cf4" ] + "variables" : [ "jtfssasimplutilstringtosign0082640a669e719a8b47f", "javapathsasimplutilstringtosign137266438f46e5a3764" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[1].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[1].json index b428f34a9f76a..d85c0c41b3dfd 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[1].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[1].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign089305a1e33256578c480?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign060888c867dcf543164ea?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "15eddd35-9f62-4bf3-81a0-a778c839697c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "89b4a633-e49e-4b70-83f5-8f6e179726bd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE825F0C00", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:20 GMT", + "ETag" : "0x8D78A5B6943ECD5", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b1ec8-501e-00cf-3dc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "15eddd35-9f62-4bf3-81a0-a778c839697c" + "x-ms-request-id" : "fa93ee21-b01e-0003-0544-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "89b4a633-e49e-4b70-83f5-8f6e179726bd" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign089305a1e33256578c480/javapathsasimplutilstringtosign1430413ec9fa3145b14?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign060888c867dcf543164ea/javapathsasimplutilstringtosign171564e86436a1ac124?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "02ab74ac-bbac-438b-b7d6-f37b12ceada1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "59cffb84-755b-4c79-835a-2802fa3b4efb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE826B3EEE", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:20 GMT", + "ETag" : "0x8D78A5B69799143", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17730b-101f-002d-33c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:19 GMT", - "x-ms-client-request-id" : "02ab74ac-bbac-438b-b7d6-f37b12ceada1" + "x-ms-request-id" : "fda79cb3-101f-0047-6044-bcf960000000", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "59cffb84-755b-4c79-835a-2802fa3b4efb" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign089305a1e33256578c480/javapathsasimplutilstringtosign1430413ec9fa3145b14?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign060888c867dcf543164ea/javapathsasimplutilstringtosign171564e86436a1ac124?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "51a89301-3e91-45a7-8ed0-6d8e3979feaf", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4d859317-b184-498e-a6c2-0bb17564f7c7", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17730c-101f-002d-34c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:19 GMT", - "x-ms-client-request-id" : "51a89301-3e91-45a7-8ed0-6d8e3979feaf" + "x-ms-request-id" : "fda79cb4-101f-0047-6144-bcf960000000", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "4d859317-b184-498e-a6c2-0bb17564f7c7" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign089305a1e33256578c480/javapathsasimplutilstringtosign1430413ec9fa3145b14?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign060888c867dcf543164ea/javapathsasimplutilstringtosign171564e86436a1ac124?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3e397118-e813-4f16-9430-de0d77f1de3c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f3edcf01-a8cc-4199-b48c-17151985cef6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE827C6148", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:20 GMT", + "ETag" : "0x8D78A5B699C9301", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17730d-101f-002d-35c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "3e397118-e813-4f16-9430-de0d77f1de3c" + "x-ms-request-id" : "fda79cb5-101f-0047-6244-bcf960000000", + "Date" : "Thu, 26 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "f3edcf01-a8cc-4199-b48c-17151985cef6" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c16d2141-3554-402e-9ee2-4254a1f06d4f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "85e39574-3dd2-4764-8f29-874aa4ba3a8a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b1f43-501e-00cf-2bc7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign089305a1e33256578c480Mon, 09 Dec 2019 19:32:20 GMT\"0x8D77CDE825F0C00\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "c16d2141-3554-402e-9ee2-4254a1f06d4f", + "x-ms-request-id" : "fa93ee39-b01e-0003-1944-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign060888c867dcf543164eaThu, 26 Dec 2019 23:29:10 GMT\"0x8D78A5B6943ECD5\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:11 GMT", + "x-ms-client-request-id" : "85e39574-3dd2-4764-8f29-874aa4ba3a8a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign089305a1e33256578c480?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign060888c867dcf543164ea?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9cdf7a19-b7f8-4023-8542-b3cbb5872728" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47ffb4ab-c72f-4343-87dd-7e4e6b97e74b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b1f6c-501e-00cf-50c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "9cdf7a19-b7f8-4023-8542-b3cbb5872728" + "x-ms-request-id" : "fa93ee3d-b01e-0003-1d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:11 GMT", + "x-ms-client-request-id" : "47ffb4ab-c72f-4343-87dd-7e4e6b97e74b" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign089305a1e33256578c480", "javapathsasimplutilstringtosign1430413ec9fa3145b14" ] + "variables" : [ "jtfssasimplutilstringtosign060888c867dcf543164ea", "javapathsasimplutilstringtosign171564e86436a1ac124" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[2].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[2].json index c240b0fd28ea5..397b6b17bc90c 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[2].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[2].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign052543e74e75c0f317474?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign025432b0bf6e277a5746d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "352ff7f9-5e61-476e-b6c5-0ca3161d7f84" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "791c0da1-eaf2-4b4e-bbce-8d584ced7fae" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8296E53C", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:21 GMT", + "ETag" : "0x8D78A5B69C44047", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b1f95-501e-00cf-70c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "352ff7f9-5e61-476e-b6c5-0ca3161d7f84" + "x-ms-request-id" : "fa93ee3f-b01e-0003-1f44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:11 GMT", + "x-ms-client-request-id" : "791c0da1-eaf2-4b4e-bbce-8d584ced7fae" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign052543e74e75c0f317474/javapathsasimplutilstringtosign1752872740f7656f044?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign025432b0bf6e277a5746d/javapathsasimplutilstringtosign143164a245d6f8e9c44?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "cf6a95bd-9b96-43b7-a46c-0969ffa10d62" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fe4d256e-347e-4fdd-a8d8-986a081a7ce1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE82A238C1", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:21 GMT", + "ETag" : "0x8D78A5B69FAD73D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17730e-101f-002d-36c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "cf6a95bd-9b96-43b7-a46c-0969ffa10d62" + "x-ms-request-id" : "965c167e-601f-0010-4a44-bc5753000000", + "Date" : "Thu, 26 Dec 2019 23:29:11 GMT", + "x-ms-client-request-id" : "fe4d256e-347e-4fdd-a8d8-986a081a7ce1" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign052543e74e75c0f317474/javapathsasimplutilstringtosign1752872740f7656f044?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign025432b0bf6e277a5746d/javapathsasimplutilstringtosign143164a245d6f8e9c44?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9b02a196-41ae-4eb5-86e8-7ea9db4d2115", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "abc040e8-c2c5-477b-8f58-50be6627ed30", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17730f-101f-002d-37c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "9b02a196-41ae-4eb5-86e8-7ea9db4d2115" + "x-ms-request-id" : "965c167f-601f-0010-4b44-bc5753000000", + "Date" : "Thu, 26 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "abc040e8-c2c5-477b-8f58-50be6627ed30" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign052543e74e75c0f317474/javapathsasimplutilstringtosign1752872740f7656f044?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign025432b0bf6e277a5746d/javapathsasimplutilstringtosign143164a245d6f8e9c44?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ce6a1203-e158-48d2-b394-e7cd86653097" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "10f421be-c8b8-4ea6-99a4-143fd2cfafc2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE82BE7131", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:21 GMT", + "ETag" : "0x8D78A5B6A16DE51", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177310-101f-002d-38c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "ce6a1203-e158-48d2-b394-e7cd86653097" + "x-ms-request-id" : "965c1680-601f-0010-4c44-bc5753000000", + "Date" : "Thu, 26 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "10f421be-c8b8-4ea6-99a4-143fd2cfafc2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f0f64c82-9731-402e-b7b6-5dbc73c55991" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2321ad0e-8692-4cd3-9b3d-cd62cf4bf5f4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2033-501e-00cf-7cc7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign052543e74e75c0f317474Mon, 09 Dec 2019 19:32:21 GMT\"0x8D77CDE8296E53C\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "f0f64c82-9731-402e-b7b6-5dbc73c55991", + "x-ms-request-id" : "fa93ee5d-b01e-0003-3644-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign025432b0bf6e277a5746dThu, 26 Dec 2019 23:29:11 GMT\"0x8D78A5B69C44047\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "2321ad0e-8692-4cd3-9b3d-cd62cf4bf5f4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign052543e74e75c0f317474?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign025432b0bf6e277a5746d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "835f726b-2ed5-46ea-a878-a65949289ef0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c17a933-512d-4e8f-b304-c1a71b80d669" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b204f-501e-00cf-16c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "835f726b-2ed5-46ea-a878-a65949289ef0" + "x-ms-request-id" : "fa93ee5f-b01e-0003-3844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "6c17a933-512d-4e8f-b304-c1a71b80d669" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign052543e74e75c0f317474", "javapathsasimplutilstringtosign1752872740f7656f044" ] + "variables" : [ "jtfssasimplutilstringtosign025432b0bf6e277a5746d", "javapathsasimplutilstringtosign143164a245d6f8e9c44" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[3].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[3].json index 493476e57a146..b04c405af883f 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[3].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[3].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign043671371172ec31524f7?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign0088891df37811ca5741a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "45b099c3-3d84-46fe-be4d-dd6b31d6297b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc20c9ce-8f9e-47e0-8612-58c566d1062e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE82D7983E", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:21 GMT", + "ETag" : "0x8D78A5B6A40C36C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b206d-501e-00cf-32c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "45b099c3-3d84-46fe-be4d-dd6b31d6297b" + "x-ms-request-id" : "fa93ee64-b01e-0003-3c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "bc20c9ce-8f9e-47e0-8612-58c566d1062e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign043671371172ec31524f7/javapathsasimplutilstringtosign1509771e15a747496a4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0088891df37811ca5741a/javapathsasimplutilstringtosign1340264bcd9f60e0e74?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "70be16eb-b773-4ba1-8dd1-4aafcfd578c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9c6c3207-355a-41fc-a9d7-00c29c77a9f4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE82E1B66F", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:21 GMT", + "ETag" : "0x8D78A5B6A793ADB", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177311-101f-002d-39c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "70be16eb-b773-4ba1-8dd1-4aafcfd578c7" + "x-ms-request-id" : "526ce100-b01f-002c-3944-bc7e94000000", + "Date" : "Thu, 26 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "9c6c3207-355a-41fc-a9d7-00c29c77a9f4" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign043671371172ec31524f7/javapathsasimplutilstringtosign1509771e15a747496a4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0088891df37811ca5741a/javapathsasimplutilstringtosign1340264bcd9f60e0e74?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "59f9424e-e396-4e0e-a74c-8d2b04aaffa7", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d48f8941-0701-46e3-8b31-327574be1d34", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177312-101f-002d-3ac7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "59f9424e-e396-4e0e-a74c-8d2b04aaffa7" + "x-ms-request-id" : "526ce101-b01f-002c-3a44-bc7e94000000", + "Date" : "Thu, 26 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "d48f8941-0701-46e3-8b31-327574be1d34" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign043671371172ec31524f7/javapathsasimplutilstringtosign1509771e15a747496a4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0088891df37811ca5741a/javapathsasimplutilstringtosign1340264bcd9f60e0e74?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "08f57dfb-4184-4197-a6f5-e263d2dcef62" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "da323ed7-1895-4181-a24c-30ac39ff3785" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE82F224B4", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:21 GMT", + "ETag" : "0x8D78A5B6A949006", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177313-101f-002d-3bc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:20 GMT", - "x-ms-client-request-id" : "08f57dfb-4184-4197-a6f5-e263d2dcef62" + "x-ms-request-id" : "526ce102-b01f-002c-3b44-bc7e94000000", + "Date" : "Thu, 26 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "da323ed7-1895-4181-a24c-30ac39ff3785" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d3b28beb-57a0-4828-98f3-8f6f455bf14c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "18fe5c90-c753-4d9a-9588-2bd5974153d6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b20ef-501e-00cf-22c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign043671371172ec31524f7Mon, 09 Dec 2019 19:32:21 GMT\"0x8D77CDE82D7983E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "d3b28beb-57a0-4828-98f3-8f6f455bf14c", + "x-ms-request-id" : "fa93ee83-b01e-0003-5444-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign0088891df37811ca5741aThu, 26 Dec 2019 23:29:12 GMT\"0x8D78A5B6A40C36C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "18fe5c90-c753-4d9a-9588-2bd5974153d6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign043671371172ec31524f7?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign0088891df37811ca5741a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5dd75a40-5d79-4e76-9fee-8f8bc211b725" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7dd356e-ed54-4ac5-913f-e2a25f506047" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b20f7-501e-00cf-29c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "5dd75a40-5d79-4e76-9fee-8f8bc211b725" + "x-ms-request-id" : "fa93ee8c-b01e-0003-5b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "c7dd356e-ed54-4ac5-913f-e2a25f506047" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign043671371172ec31524f7", "javapathsasimplutilstringtosign1509771e15a747496a4" ] + "variables" : [ "jtfssasimplutilstringtosign0088891df37811ca5741a", "javapathsasimplutilstringtosign1340264bcd9f60e0e74" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[4].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[4].json index 97dc1d192731b..0cf8cb726549d 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[4].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[4].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign072433be7d54a7005740d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign029843dc738b8022914e7?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c73a6ff7-313d-441a-b2bf-19d12b8dbfdb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "459b81e0-960a-44c2-ab54-4c85fbc73355" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE830A4171", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:21 GMT", + "ETag" : "0x8D78A5B6ABC0E2C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2119-501e-00cf-48c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "c73a6ff7-313d-441a-b2bf-19d12b8dbfdb" + "x-ms-request-id" : "fa93ee92-b01e-0003-6044-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "459b81e0-960a-44c2-ab54-4c85fbc73355" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign072433be7d54a7005740d/javapathsasimplutilstringtosign166485a062902e2ba04?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign029843dc738b8022914e7/javapathsasimplutilstringtosign131419a047c713f7624?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "87a6d2c7-0acd-464b-be62-d38311e6bbd6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c3fd7a9-b9c6-4939-962b-d1f1b7073c90" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE831440F6", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:21 GMT", + "ETag" : "0x8D78A5B6AF106C9", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177314-101f-002d-3cc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "87a6d2c7-0acd-464b-be62-d38311e6bbd6" + "x-ms-request-id" : "9ea50cd3-001f-0016-6044-bc64ec000000", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "6c3fd7a9-b9c6-4939-962b-d1f1b7073c90" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign072433be7d54a7005740d/javapathsasimplutilstringtosign166485a062902e2ba04?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign029843dc738b8022914e7/javapathsasimplutilstringtosign131419a047c713f7624?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c5733ff6-2c8b-42b6-98da-30a6ef1b8596", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0735e786-c297-4c16-837a-cfc34ced3239", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177315-101f-002d-3dc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "c5733ff6-2c8b-42b6-98da-30a6ef1b8596" + "x-ms-request-id" : "9ea50cd4-001f-0016-6144-bc64ec000000", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "0735e786-c297-4c16-837a-cfc34ced3239" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign072433be7d54a7005740d/javapathsasimplutilstringtosign166485a062902e2ba04?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign029843dc738b8022914e7/javapathsasimplutilstringtosign131419a047c713f7624?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "64ead3fa-be3d-45cf-ae03-7cde7e8a0423" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f50bc5c0-a3f4-46f2-a42f-eb845a478133" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8325485D", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:22 GMT", + "ETag" : "0x8D78A5B6B0B947A", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177316-101f-002d-3ec7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "64ead3fa-be3d-45cf-ae03-7cde7e8a0423" + "x-ms-request-id" : "9ea50cd5-001f-0016-6244-bc64ec000000", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "f50bc5c0-a3f4-46f2-a42f-eb845a478133" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "cb7fb9c4-bf94-4f97-9dd9-352215c1db83" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7002989-6abb-469d-aa14-78fcffffabea" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b217c-501e-00cf-1fc7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign072433be7d54a7005740dMon, 09 Dec 2019 19:32:21 GMT\"0x8D77CDE830A4171\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "cb7fb9c4-bf94-4f97-9dd9-352215c1db83", + "x-ms-request-id" : "fa93eee1-b01e-0003-1b44-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign029843dc738b8022914e7Thu, 26 Dec 2019 23:29:13 GMT\"0x8D78A5B6ABC0E2C\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "c7002989-6abb-469d-aa14-78fcffffabea", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign072433be7d54a7005740d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign029843dc738b8022914e7?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "eb1919d2-420b-4f8a-9a87-88977f1649fc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "26b17f7b-4dfc-4c19-be8f-2dc8bb31b586" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b218b-501e-00cf-2cc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "eb1919d2-420b-4f8a-9a87-88977f1649fc" + "x-ms-request-id" : "fa93eee9-b01e-0003-2344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "26b17f7b-4dfc-4c19-be8f-2dc8bb31b586" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign072433be7d54a7005740d", "javapathsasimplutilstringtosign166485a062902e2ba04" ] + "variables" : [ "jtfssasimplutilstringtosign029843dc738b8022914e7", "javapathsasimplutilstringtosign131419a047c713f7624" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[5].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[5].json index 20179789bc4e8..b93f60edbaae5 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[5].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[5].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign037421ac16d4d3abc346f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign07697420d94f5902e344b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4da1ba8e-ac37-4247-ac65-23e743f95a7d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df7866b0-827a-48a2-b60f-d5ce51e6f338" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8341A58B", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:22 GMT", + "ETag" : "0x8D78A5B6B3228AF", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b21c2-501e-00cf-60c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "4da1ba8e-ac37-4247-ac65-23e743f95a7d" + "x-ms-request-id" : "fa93eef5-b01e-0003-2e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "df7866b0-827a-48a2-b60f-d5ce51e6f338" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign037421ac16d4d3abc346f/javapathsasimplutilstringtosign198951d48a4197d3c54?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign07697420d94f5902e344b/javapathsasimplutilstringtosign108313519f5ce6b21c4?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4dbbc105-2aeb-4cbe-a768-8f11aac636ca" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0280a14-598e-437b-96c5-16f6b0f6bc70" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE834DB666", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:22 GMT", + "ETag" : "0x8D78A5B6B63E3D3", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177317-101f-002d-3fc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "4dbbc105-2aeb-4cbe-a768-8f11aac636ca" + "x-ms-request-id" : "7d9abc3c-d01f-0015-0b44-bc8588000000", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "c0280a14-598e-437b-96c5-16f6b0f6bc70" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign037421ac16d4d3abc346f/javapathsasimplutilstringtosign198951d48a4197d3c54?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign07697420d94f5902e344b/javapathsasimplutilstringtosign108313519f5ce6b21c4?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a0306b7e-a1eb-4a4d-9e18-d88885161c0d", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "345ce6de-d982-4069-9f6e-1c47075a4f10", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177318-101f-002d-40c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "a0306b7e-a1eb-4a4d-9e18-d88885161c0d" + "x-ms-request-id" : "7d9abc3d-d01f-0015-0c44-bc8588000000", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "345ce6de-d982-4069-9f6e-1c47075a4f10" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign037421ac16d4d3abc346f/javapathsasimplutilstringtosign198951d48a4197d3c54?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign07697420d94f5902e344b/javapathsasimplutilstringtosign108313519f5ce6b21c4?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8d577425-f2f1-4ccd-84ed-26f08f46cb74" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "670fe371-932c-4f1d-8e78-96f7e0365144" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE835EC2F7", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:22 GMT", + "ETag" : "0x8D78A5B6B7EE50D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177319-101f-002d-41c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "8d577425-f2f1-4ccd-84ed-26f08f46cb74" + "x-ms-request-id" : "7d9abc3e-d01f-0015-0d44-bc8588000000", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "670fe371-932c-4f1d-8e78-96f7e0365144" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ea9407e3-3a42-4fed-8d6d-ac3d107c8f1b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f6c20271-b34b-4797-b474-f86de9c0327d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2249-501e-00cf-57c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign037421ac16d4d3abc346fMon, 09 Dec 2019 19:32:22 GMT\"0x8D77CDE8341A58B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "ea9407e3-3a42-4fed-8d6d-ac3d107c8f1b", + "x-ms-request-id" : "fa93ef1c-b01e-0003-4f44-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign07697420d94f5902e344bThu, 26 Dec 2019 23:29:14 GMT\"0x8D78A5B6B3228AF\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "f6c20271-b34b-4797-b474-f86de9c0327d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign037421ac16d4d3abc346f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign07697420d94f5902e344b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "39ddb409-e28d-41f3-b0a3-c22cde04da27" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4ca711ea-657c-43e6-ba76-3feaabc173e3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b225d-501e-00cf-68c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "39ddb409-e28d-41f3-b0a3-c22cde04da27" + "x-ms-request-id" : "fa93ef2a-b01e-0003-5c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "4ca711ea-657c-43e6-ba76-3feaabc173e3" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign037421ac16d4d3abc346f", "javapathsasimplutilstringtosign198951d48a4197d3c54" ] + "variables" : [ "jtfssasimplutilstringtosign07697420d94f5902e344b", "javapathsasimplutilstringtosign108313519f5ce6b21c4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[6].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[6].json index a22aec9916165..76d7f6700e6fe 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[6].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[6].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign0678856616265b8642451?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign005159dc364a0e6f8649d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "22867a0e-f581-486f-ab89-bcd8caa8582e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "351cef6a-b3a3-40e0-b60c-cca4eda55a11" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE837B2C74", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:22 GMT", + "ETag" : "0x8D78A5B6BA4C117", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b228c-501e-00cf-0fc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "22867a0e-f581-486f-ab89-bcd8caa8582e" + "x-ms-request-id" : "fa93ef2e-b01e-0003-6044-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "351cef6a-b3a3-40e0-b60c-cca4eda55a11" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign0678856616265b8642451/javapathsasimplutilstringtosign168162b5fb9530acfa4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign005159dc364a0e6f8649d/javapathsasimplutilstringtosign179488ee27ed7118714?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a5ff3b70-81f0-4cfa-9ef8-f5ad973fab02" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5fb25e0-ceb0-4512-b46b-3dd841ee5576" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE83913641", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:22 GMT", + "ETag" : "0x8D78A5B6BD77F3E", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17731a-101f-002d-42c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "a5ff3b70-81f0-4cfa-9ef8-f5ad973fab02" + "x-ms-request-id" : "6b8f318a-001f-0029-7544-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "f5fb25e0-ceb0-4512-b46b-3dd841ee5576" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign0678856616265b8642451/javapathsasimplutilstringtosign168162b5fb9530acfa4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign005159dc364a0e6f8649d/javapathsasimplutilstringtosign179488ee27ed7118714?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b01228c4-c7ca-4735-a00f-6aa40bef19b5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b29bd0ab-5b75-4260-80bf-73dba05979bc", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17731b-101f-002d-43c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "b01228c4-c7ca-4735-a00f-6aa40bef19b5" + "x-ms-request-id" : "6b8f318b-001f-0029-7644-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "b29bd0ab-5b75-4260-80bf-73dba05979bc" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign0678856616265b8642451/javapathsasimplutilstringtosign168162b5fb9530acfa4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign005159dc364a0e6f8649d/javapathsasimplutilstringtosign179488ee27ed7118714?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1f3dbe5e-7f12-4b29-8fb8-0a7537b547dc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "41d100d4-58dc-4079-8aba-9e2903353bf5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE83A6BB4A", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:22 GMT", + "ETag" : "0x8D78A5B6BF204C3", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17731c-101f-002d-44c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:21 GMT", - "x-ms-client-request-id" : "1f3dbe5e-7f12-4b29-8fb8-0a7537b547dc" + "x-ms-request-id" : "6b8f318c-001f-0029-7744-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "41d100d4-58dc-4079-8aba-9e2903353bf5" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f53e15f7-948c-4130-886b-3cf225e7d974" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a68e10ee-6bd9-450e-9f01-2467bcd40e50" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2344-501e-00cf-2fc7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign0678856616265b8642451Mon, 09 Dec 2019 19:32:22 GMT\"0x8D77CDE837B2C74\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "f53e15f7-948c-4130-886b-3cf225e7d974", + "x-ms-request-id" : "fa93ef63-b01e-0003-0b44-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign005159dc364a0e6f8649dThu, 26 Dec 2019 23:29:14 GMT\"0x8D78A5B6BA4C117\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "a68e10ee-6bd9-450e-9f01-2467bcd40e50", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign0678856616265b8642451?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign005159dc364a0e6f8649d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7a85d4fe-6073-421e-aa38-ab0cbfcbcb03" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aa6ed16a-284d-4c54-8a88-b451d9a874f2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2366-501e-00cf-4ec7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "7a85d4fe-6073-421e-aa38-ab0cbfcbcb03" + "x-ms-request-id" : "fa93ef6d-b01e-0003-1444-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "aa6ed16a-284d-4c54-8a88-b451d9a874f2" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign0678856616265b8642451", "javapathsasimplutilstringtosign168162b5fb9530acfa4" ] + "variables" : [ "jtfssasimplutilstringtosign005159dc364a0e6f8649d", "javapathsasimplutilstringtosign179488ee27ed7118714" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[7].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[7].json index eef3f91572842..2d56aa20ec939 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[7].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[7].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign08755261d7e298aceb45f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign006983d4a67fa95f99468?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ca9d59b6-9249-41b9-aed8-08a33bd90d99" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "234dd634-4590-432f-891a-c0cd04de6a58" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE83C136C5", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:23 GMT", + "ETag" : "0x8D78A5B6C1906AD", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b23a9-501e-00cf-09c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "ca9d59b6-9249-41b9-aed8-08a33bd90d99" + "x-ms-request-id" : "fa93ef78-b01e-0003-1d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "234dd634-4590-432f-891a-c0cd04de6a58" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign08755261d7e298aceb45f/javapathsasimplutilstringtosign1108600b6747f8944f4?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign006983d4a67fa95f99468/javapathsasimplutilstringtosign1898005402e2fb6c7b4?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "cc970f4c-e49b-45b1-bf93-757d108fc096" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "70206be7-282c-41f2-8fb1-7c1ed52d058b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE83D2D37C", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:23 GMT", + "ETag" : "0x8D78A5B6C4C6312", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17731d-101f-002d-45c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "cc970f4c-e49b-45b1-bf93-757d108fc096" + "x-ms-request-id" : "e28a28d7-901f-0004-3a44-bc1f3c000000", + "Date" : "Thu, 26 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "70206be7-282c-41f2-8fb1-7c1ed52d058b" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign08755261d7e298aceb45f/javapathsasimplutilstringtosign1108600b6747f8944f4?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign006983d4a67fa95f99468/javapathsasimplutilstringtosign1898005402e2fb6c7b4?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "fc72156c-7585-471d-a04a-7ba76a20e492", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "badf0fc9-a97e-4eb4-97fc-558351e85586", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17731e-101f-002d-46c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "fc72156c-7585-471d-a04a-7ba76a20e492" + "x-ms-request-id" : "e28a28d8-901f-0004-3b44-bc1f3c000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "badf0fc9-a97e-4eb4-97fc-558351e85586" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign08755261d7e298aceb45f/javapathsasimplutilstringtosign1108600b6747f8944f4?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign006983d4a67fa95f99468/javapathsasimplutilstringtosign1898005402e2fb6c7b4?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d1d5b757-672d-46db-88b0-0290382e4312" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cee48986-310d-4e03-982d-8b7ba422d5b8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE83E85BA1", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:23 GMT", + "ETag" : "0x8D78A5B6C674A75", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17731f-101f-002d-47c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "d1d5b757-672d-46db-88b0-0290382e4312" + "x-ms-request-id" : "e28a28d9-901f-0004-3c44-bc1f3c000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "cee48986-310d-4e03-982d-8b7ba422d5b8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "eed2160c-d6b3-45ce-bf70-7e91c32220df" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "98f8683c-0a21-4ea7-b133-4a1f71582c5e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2464-501e-00cf-31c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign08755261d7e298aceb45fMon, 09 Dec 2019 19:32:23 GMT\"0x8D77CDE83C136C5\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "eed2160c-d6b3-45ce-bf70-7e91c32220df", + "x-ms-request-id" : "fa93ef9a-b01e-0003-3844-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign006983d4a67fa95f99468Thu, 26 Dec 2019 23:29:15 GMT\"0x8D78A5B6C1906AD\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "98f8683c-0a21-4ea7-b133-4a1f71582c5e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign08755261d7e298aceb45f?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign006983d4a67fa95f99468?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "dc0a364a-e9f5-4621-b4d7-ada53ec9f87c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3bf8e5ab-6a40-450f-a870-8f46a713d55d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2482-501e-00cf-4ec7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "dc0a364a-e9f5-4621-b4d7-ada53ec9f87c" + "x-ms-request-id" : "fa93efa1-b01e-0003-3d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "3bf8e5ab-6a40-450f-a870-8f46a713d55d" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign08755261d7e298aceb45f", "javapathsasimplutilstringtosign1108600b6747f8944f4" ] + "variables" : [ "jtfssasimplutilstringtosign006983d4a67fa95f99468", "javapathsasimplutilstringtosign1898005402e2fb6c7b4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[8].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[8].json index f1c8ee15e86e0..6b2296c38f66f 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[8].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosign[8].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign026069e014eb0ec8804d7?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign0643430722a89150e34d5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8db4ee9f-5a9d-402b-b6d5-71890cda7eb5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e87dd6a2-4342-41c6-a9c8-11aa7eca8c5d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE840014F5", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:23 GMT", + "ETag" : "0x8D78A5B6C995A61", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b24a2-501e-00cf-6dc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "8db4ee9f-5a9d-402b-b6d5-71890cda7eb5" + "x-ms-request-id" : "fa93efae-b01e-0003-4944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "e87dd6a2-4342-41c6-a9c8-11aa7eca8c5d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign026069e014eb0ec8804d7/javapathsasimplutilstringtosign140888ff77858054a84?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0643430722a89150e34d5/javapathsasimplutilstringtosign15389009f18c6a4ea74?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b03d858d-34dc-4e4c-aa84-372551917946" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ed4f580-c671-4fd6-8e3f-94d99b8e105d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8409FC51", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:23 GMT", + "ETag" : "0x8D78A5B6CCEEAF4", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177320-101f-002d-48c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "b03d858d-34dc-4e4c-aa84-372551917946" + "x-ms-request-id" : "9683cfec-f01f-003d-4744-bce420000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "3ed4f580-c671-4fd6-8e3f-94d99b8e105d" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign026069e014eb0ec8804d7/javapathsasimplutilstringtosign140888ff77858054a84?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0643430722a89150e34d5/javapathsasimplutilstringtosign15389009f18c6a4ea74?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6fde1be1-eabb-4de8-8336-7b940568492c", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2b8c6017-8e4d-4c30-8b8a-841852a2dfaa", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177321-101f-002d-49c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "6fde1be1-eabb-4de8-8336-7b940568492c" + "x-ms-request-id" : "9683cfed-f01f-003d-4844-bce420000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "2b8c6017-8e4d-4c30-8b8a-841852a2dfaa" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosign026069e014eb0ec8804d7/javapathsasimplutilstringtosign140888ff77858054a84?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosign0643430722a89150e34d5/javapathsasimplutilstringtosign15389009f18c6a4ea74?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "eb1c595a-92fe-413b-90e9-5041d3ba22e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8c7d5b0f-ba84-4e53-b6d1-2fdc96d72f49" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE841BF26D", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:23 GMT", + "ETag" : "0x8D78A5B6CEEC31A", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177322-101f-002d-4ac7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:22 GMT", - "x-ms-client-request-id" : "eb1c595a-92fe-413b-90e9-5041d3ba22e6" + "x-ms-request-id" : "9683cfee-f01f-003d-4944-bce420000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "8c7d5b0f-ba84-4e53-b6d1-2fdc96d72f49" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosign&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8dd233d4-9805-4369-8090-8a6d5e235282" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ffc4c343-2116-436d-a646-4f5f07109405" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2528-501e-00cf-63c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign026069e014eb0ec8804d7Mon, 09 Dec 2019 19:32:23 GMT\"0x8D77CDE840014F5\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "8dd233d4-9805-4369-8090-8a6d5e235282", + "x-ms-request-id" : "fa93efda-b01e-0003-6d44-bc735f000000", + "Body" : "jtfssasimplutilstringtosignjtfssasimplutilstringtosign0643430722a89150e34d5Thu, 26 Dec 2019 23:29:16 GMT\"0x8D78A5B6C995A61\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "ffc4c343-2116-436d-a646-4f5f07109405", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosign026069e014eb0ec8804d7?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosign0643430722a89150e34d5?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a5ed1ed7-1cd1-4dd3-b4f0-b7e11c3770f3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "803e3c2c-43d4-4a95-bfbe-f82888d56167" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b253d-501e-00cf-75c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "a5ed1ed7-1cd1-4dd3-b4f0-b7e11c3770f3" + "x-ms-request-id" : "fa93efe2-b01e-0003-7344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:17 GMT", + "x-ms-client-request-id" : "803e3c2c-43d4-4a95-bfbe-f82888d56167" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosign026069e014eb0ec8804d7", "javapathsasimplutilstringtosign140888ff77858054a84" ] + "variables" : [ "jtfssasimplutilstringtosign0643430722a89150e34d5", "javapathsasimplutilstringtosign15389009f18c6a4ea74" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[0].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[0].json index cb43185fc8aee..ead38ad091eab 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[0].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[0].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey027666b7ad61?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey097273862a2a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "65289160-af12-4a7b-80f3-eb9a889ecc56" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09b8243c-f02a-4c3f-a3cd-17a8f52ac28e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE843E2FAD", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:23 GMT", + "ETag" : "0x8D78A5B6D1B82BA", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2575-501e-00cf-29c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "65289160-af12-4a7b-80f3-eb9a889ecc56" + "x-ms-request-id" : "fa93efed-b01e-0003-7e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:17 GMT", + "x-ms-client-request-id" : "09b8243c-f02a-4c3f-a3cd-17a8f52ac28e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey027666b7ad61/javapathsasimplutilstringtosignuserdelegationkey100112ca91?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey097273862a2a/javapathsasimplutilstringtosignuserdelegationkey1202958c6f?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f96ab73b-c3c5-4fe4-bdb1-b2c7ce7bb5df" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9a914f4b-3621-4d43-8c03-6371e9bdf647" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE844835CC", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:24 GMT", + "ETag" : "0x8D78A5B6D502476", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177323-101f-002d-4bc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "f96ab73b-c3c5-4fe4-bdb1-b2c7ce7bb5df" + "x-ms-request-id" : "f392ba72-001f-0006-0244-bca184000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "9a914f4b-3621-4d43-8c03-6371e9bdf647" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey027666b7ad61/javapathsasimplutilstringtosignuserdelegationkey100112ca91?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey097273862a2a/javapathsasimplutilstringtosignuserdelegationkey1202958c6f?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8d932526-a687-40b5-8de6-bf8d0f56bdab", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f42c33cd-648f-44e9-8175-b200def6ff3a", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177324-101f-002d-4cc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "8d932526-a687-40b5-8de6-bf8d0f56bdab" + "x-ms-request-id" : "f392ba73-001f-0006-0344-bca184000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "f42c33cd-648f-44e9-8175-b200def6ff3a" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey027666b7ad61/javapathsasimplutilstringtosignuserdelegationkey100112ca91?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey097273862a2a/javapathsasimplutilstringtosignuserdelegationkey1202958c6f?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d157aa28-eaac-40f9-81a5-073f30e2e47e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "777f4abf-d9ec-4af2-bb5c-1d917c86b705" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE845C8438", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:24 GMT", + "ETag" : "0x8D78A5B6D6C03C3", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177325-101f-002d-4dc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "d157aa28-eaac-40f9-81a5-073f30e2e47e" + "x-ms-request-id" : "f392ba74-001f-0006-0444-bca184000000", + "Date" : "Thu, 26 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "777f4abf-d9ec-4af2-bb5c-1d917c86b705" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a9201de3-dfc7-4b0f-add4-9aa9b6a18899" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d93794d9-9ef7-4dbc-bb03-5ae8e19e57eb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2605-501e-00cf-2ac7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey027666b7ad61Mon, 09 Dec 2019 19:32:23 GMT\"0x8D77CDE843E2FAD\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "a9201de3-dfc7-4b0f-add4-9aa9b6a18899", + "x-ms-request-id" : "fa93f00f-b01e-0003-1a44-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey097273862a2aThu, 26 Dec 2019 23:29:17 GMT\"0x8D78A5B6D1B82BA\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:17 GMT", + "x-ms-client-request-id" : "d93794d9-9ef7-4dbc-bb03-5ae8e19e57eb", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey027666b7ad61?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey097273862a2a?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6762e64f-5630-40ad-8a0e-3faeff7d7134" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1eed0e7f-f5af-4d59-8ba6-dd7d5daf5aaf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b262a-501e-00cf-4cc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "6762e64f-5630-40ad-8a0e-3faeff7d7134" + "x-ms-request-id" : "fa93f011-b01e-0003-1c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:17 GMT", + "x-ms-client-request-id" : "1eed0e7f-f5af-4d59-8ba6-dd7d5daf5aaf" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey027666b7ad61", "javapathsasimplutilstringtosignuserdelegationkey100112ca91" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey097273862a2a", "javapathsasimplutilstringtosignuserdelegationkey1202958c6f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[10].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[10].json index 513de7976b4e9..7830cd2ed90c2 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[10].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[10].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey023406b6d13e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08480881bccf?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "caeaf053-253d-4cea-ae24-7f6e91c5c094" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3427b96c-5562-40ac-8e50-d2f69154133f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86A10313", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:27 GMT", + "ETag" : "0x8D78A5B71FB6225", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2d8c-501e-00cf-02c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "caeaf053-253d-4cea-ae24-7f6e91c5c094" + "x-ms-request-id" : "fa93f22e-b01e-0003-5a44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "3427b96c-5562-40ac-8e50-d2f69154133f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey023406b6d13e/javapathsasimplutilstringtosignuserdelegationkey19229316b5?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08480881bccf/javapathsasimplutilstringtosignuserdelegationkey1450871ce5?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ffb9e35b-048c-4bee-935a-3fcf49fb98d0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f4cb58e4-ca46-452e-a976-e16ac8a00f4f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86AC2778", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:28 GMT", + "ETag" : "0x8D78A5B722C86A5", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17734e-101f-002d-74c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "ffb9e35b-048c-4bee-935a-3fcf49fb98d0" + "x-ms-request-id" : "e28a28dd-901f-0004-3f44-bc1f3c000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "f4cb58e4-ca46-452e-a976-e16ac8a00f4f" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey023406b6d13e/javapathsasimplutilstringtosignuserdelegationkey19229316b5?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08480881bccf/javapathsasimplutilstringtosignuserdelegationkey1450871ce5?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "cc9f34ee-feb0-43b5-8424-0d9849aa0bdd", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d2a66189-8b80-4c19-b37d-c2d13dfc62f9", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17734f-101f-002d-75c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "cc9f34ee-feb0-43b5-8424-0d9849aa0bdd" + "x-ms-request-id" : "e28a28de-901f-0004-4044-bc1f3c000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "d2a66189-8b80-4c19-b37d-c2d13dfc62f9" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey023406b6d13e/javapathsasimplutilstringtosignuserdelegationkey19229316b5?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08480881bccf/javapathsasimplutilstringtosignuserdelegationkey1450871ce5?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "dac0d076-f3e5-4d35-8d26-a52125574c85" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "00ac668a-bb55-4c9b-99a0-3e9f0367cd4a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86C44D4A", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:28 GMT", + "ETag" : "0x8D78A5B72470D9A", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177352-101f-002d-78c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "dac0d076-f3e5-4d35-8d26-a52125574c85" + "x-ms-request-id" : "e28a28df-901f-0004-4144-bc1f3c000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "00ac668a-bb55-4c9b-99a0-3e9f0367cd4a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1d7b2052-8868-4b38-bf13-3a8a8102f6c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "276380d8-8e60-490e-ac7b-ea400633a05d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2e2e-501e-00cf-18c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey023406b6d13eMon, 09 Dec 2019 19:32:27 GMT\"0x8D77CDE86A10313\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "1d7b2052-8868-4b38-bf13-3a8a8102f6c6", + "x-ms-request-id" : "fa93f259-b01e-0003-7d44-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey08480881bccfThu, 26 Dec 2019 23:29:25 GMT\"0x8D78A5B71FB6225\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "276380d8-8e60-490e-ac7b-ea400633a05d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey023406b6d13e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08480881bccf?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2f91391f-79f6-4e50-b2c5-cabadefaba30" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7af39fd4-8d4c-4f1f-9957-2e699e9d80ba" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2e41-501e-00cf-28c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "2f91391f-79f6-4e50-b2c5-cabadefaba30" + "x-ms-request-id" : "fa93f25b-b01e-0003-7f44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "7af39fd4-8d4c-4f1f-9957-2e699e9d80ba" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey023406b6d13e", "javapathsasimplutilstringtosignuserdelegationkey19229316b5" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey08480881bccf", "javapathsasimplutilstringtosignuserdelegationkey1450871ce5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[11].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[11].json index 50c36b4c73b3a..5494ddbb413b8 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[11].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[11].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey002763e89d20?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey07300712fb29?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ea90af06-5a8b-44b3-9f8d-1afaed0edc10" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e580fb9a-194c-45ab-ac81-af44e4afaa5c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86DBE97E", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:28 GMT", + "ETag" : "0x8D78A5B726C9A91", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2e67-501e-00cf-4dc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "ea90af06-5a8b-44b3-9f8d-1afaed0edc10" + "x-ms-request-id" : "fa93f263-b01e-0003-0644-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "e580fb9a-194c-45ab-ac81-af44e4afaa5c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey002763e89d20/javapathsasimplutilstringtosignuserdelegationkey1299055263?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey07300712fb29/javapathsasimplutilstringtosignuserdelegationkey1352917815?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "604b0d97-ecc5-447c-92f3-dc7725b34fa3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "74b4371f-bd66-43b9-874d-d108ea33325c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86E62FC8", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:28 GMT", + "ETag" : "0x8D78A5B72A0D324", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177355-101f-002d-7bc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "604b0d97-ecc5-447c-92f3-dc7725b34fa3" + "x-ms-request-id" : "e0d3458c-a01f-001f-7a44-bc213f000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "74b4371f-bd66-43b9-874d-d108ea33325c" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey002763e89d20/javapathsasimplutilstringtosignuserdelegationkey1299055263?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey07300712fb29/javapathsasimplutilstringtosignuserdelegationkey1352917815?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a244512a-8747-48b3-953a-78f59caf3a98", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bcc36658-06c0-4be7-bf13-ac11ed18f21e", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177356-101f-002d-7cc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "a244512a-8747-48b3-953a-78f59caf3a98" + "x-ms-request-id" : "e0d3458d-a01f-001f-7b44-bc213f000000", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "bcc36658-06c0-4be7-bf13-ac11ed18f21e" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey002763e89d20/javapathsasimplutilstringtosignuserdelegationkey1299055263?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey07300712fb29/javapathsasimplutilstringtosignuserdelegationkey1352917815?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "90d09ce6-2735-4cd5-bf4d-b260ce660729" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "01caa18f-b888-45c5-8293-9603fbfe2082" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86F6BC56", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:28 GMT", + "ETag" : "0x8D78A5B72BC765C", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177359-101f-002d-7fc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "90d09ce6-2735-4cd5-bf4d-b260ce660729" + "x-ms-request-id" : "e0d3458e-a01f-001f-7c44-bc213f000000", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "01caa18f-b888-45c5-8293-9603fbfe2082" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d565ba10-3204-4b84-81b1-a166cb6964c2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "123a6be9-1f3e-4288-a57a-bfc83782fc07" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2efe-501e-00cf-5dc7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey002763e89d20Mon, 09 Dec 2019 19:32:28 GMT\"0x8D77CDE86DBE97E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "d565ba10-3204-4b84-81b1-a166cb6964c2", + "x-ms-request-id" : "fa93f285-b01e-0003-2444-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey07300712fb29Thu, 26 Dec 2019 23:29:26 GMT\"0x8D78A5B726C9A91\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "123a6be9-1f3e-4288-a57a-bfc83782fc07", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey002763e89d20?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey07300712fb29?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ac0d0371-29cf-4c76-9eb1-fbda17045f3c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "007be7ba-7ac4-4a17-915d-63989c93b1a9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2f19-501e-00cf-74c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "ac0d0371-29cf-4c76-9eb1-fbda17045f3c" + "x-ms-request-id" : "fa93f286-b01e-0003-2544-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "007be7ba-7ac4-4a17-915d-63989c93b1a9" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey002763e89d20", "javapathsasimplutilstringtosignuserdelegationkey1299055263" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey07300712fb29", "javapathsasimplutilstringtosignuserdelegationkey1352917815" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[12].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[12].json index fa506aea0c4ca..a6eab63258db0 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[12].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[12].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey00592227ea2a?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0712273aab70?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6c796719-a0b9-4159-a258-1a83ea4d53dd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ee51a824-68fd-4606-bde4-f16adaf91aea" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE870FCAFD", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:28 GMT", + "ETag" : "0x8D78A5B72E32A02", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2f2f-501e-00cf-09c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "6c796719-a0b9-4159-a258-1a83ea4d53dd" + "x-ms-request-id" : "fa93f290-b01e-0003-2e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "ee51a824-68fd-4606-bde4-f16adaf91aea" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey00592227ea2a/javapathsasimplutilstringtosignuserdelegationkey163907d1e2?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0712273aab70/javapathsasimplutilstringtosignuserdelegationkey1473637d57?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1ba8deac-4788-4a63-86cd-ec459bd500e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d5f69d9d-e340-4238-9c70-50d4a7d4f0bc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE871C627F", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:28 GMT", + "ETag" : "0x8D78A5B7318C8AF", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17735f-101f-002d-05c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "1ba8deac-4788-4a63-86cd-ec459bd500e6" + "x-ms-request-id" : "58df172b-001f-0039-1244-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "d5f69d9d-e340-4238-9c70-50d4a7d4f0bc" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey00592227ea2a/javapathsasimplutilstringtosignuserdelegationkey163907d1e2?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0712273aab70/javapathsasimplutilstringtosignuserdelegationkey1473637d57?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e5cc9ac7-af1c-45e2-b1b4-f30783575fd7", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1d94d575-cc44-401d-ae79-c3feea999cf2", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177362-101f-002d-08c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "e5cc9ac7-af1c-45e2-b1b4-f30783575fd7" + "x-ms-request-id" : "58df172c-001f-0039-1344-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "1d94d575-cc44-401d-ae79-c3feea999cf2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey00592227ea2a/javapathsasimplutilstringtosignuserdelegationkey163907d1e2?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0712273aab70/javapathsasimplutilstringtosignuserdelegationkey1473637d57?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f453bf49-96d0-4db5-87b4-b45b3d7a27c5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b4761497-b0ef-444a-8109-ef568304d1f9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE873A7E9D", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:28 GMT", + "ETag" : "0x8D78A5B7336DD6E", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177367-101f-002d-0dc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "f453bf49-96d0-4db5-87b4-b45b3d7a27c5" + "x-ms-request-id" : "58df172d-001f-0039-1444-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "b4761497-b0ef-444a-8109-ef568304d1f9" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "62d2fa5d-80c2-47f8-a84f-5a98b939bb32" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c25f09ff-a534-46a0-9513-aad8bbf59b25" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2fcc-501e-00cf-14c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey00592227ea2aMon, 09 Dec 2019 19:32:28 GMT\"0x8D77CDE870FCAFD\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "62d2fa5d-80c2-47f8-a84f-5a98b939bb32", + "x-ms-request-id" : "fa93f2c2-b01e-0003-5744-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey0712273aab70Thu, 26 Dec 2019 23:29:27 GMT\"0x8D78A5B72E32A02\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:27 GMT", + "x-ms-client-request-id" : "c25f09ff-a534-46a0-9513-aad8bbf59b25", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey00592227ea2a?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0712273aab70?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "659ca1d7-803b-4a2b-b993-b18922d552c4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b63a51d-1f30-4fc0-b75f-f0a05d3619c8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2fdb-501e-00cf-21c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "659ca1d7-803b-4a2b-b993-b18922d552c4" + "x-ms-request-id" : "fa93f2c8-b01e-0003-5b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:27 GMT", + "x-ms-client-request-id" : "6b63a51d-1f30-4fc0-b75f-f0a05d3619c8" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey00592227ea2a", "javapathsasimplutilstringtosignuserdelegationkey163907d1e2" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey0712273aab70", "javapathsasimplutilstringtosignuserdelegationkey1473637d57" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[13].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[13].json index b32c3134148ae..6e570c020c562 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[13].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[13].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey019260c97253?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey098403561e50?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0ac43557-da14-4e6f-a920-c0cc9baf8be0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d223adb4-35c5-40a8-a25c-60fc24dd6039" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8752C7EE", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:29 GMT", + "ETag" : "0x8D78A5B73674E54", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2ffb-501e-00cf-40c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "0ac43557-da14-4e6f-a920-c0cc9baf8be0" + "x-ms-request-id" : "fa93f2cb-b01e-0003-5e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:27 GMT", + "x-ms-client-request-id" : "d223adb4-35c5-40a8-a25c-60fc24dd6039" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey019260c97253/javapathsasimplutilstringtosignuserdelegationkey1588850c48?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey098403561e50/javapathsasimplutilstringtosignuserdelegationkey164882b442?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "84e88f06-6178-457c-b6b7-bfa45f57775e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "995ee7d4-ed83-4d07-9ad5-e5f06e065027" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8761771F", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:29 GMT", + "ETag" : "0x8D78A5B73AA5D5E", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17736a-101f-002d-10c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "84e88f06-6178-457c-b6b7-bfa45f57775e" + "x-ms-request-id" : "b7db128d-f01f-002d-5444-bc2148000000", + "Date" : "Thu, 26 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "995ee7d4-ed83-4d07-9ad5-e5f06e065027" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey019260c97253/javapathsasimplutilstringtosignuserdelegationkey1588850c48?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey098403561e50/javapathsasimplutilstringtosignuserdelegationkey164882b442?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a7a29829-ea8d-4d23-9acd-135065765330", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09303d19-907e-4be4-84f7-ea40f5488d6b", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17736d-101f-002d-13c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "a7a29829-ea8d-4d23-9acd-135065765330" + "x-ms-request-id" : "b7db128e-f01f-002d-5544-bc2148000000", + "Date" : "Thu, 26 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "09303d19-907e-4be4-84f7-ea40f5488d6b" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey019260c97253/javapathsasimplutilstringtosignuserdelegationkey1588850c48?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey098403561e50/javapathsasimplutilstringtosignuserdelegationkey164882b442?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e0b1b230-aad3-4767-b052-175e913d0445" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c1257621-537e-4eba-8ec5-b8d6da99f920" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8779F31B", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:29 GMT", + "ETag" : "0x8D78A5B73C4724E", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177370-101f-002d-16c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:28 GMT", - "x-ms-client-request-id" : "e0b1b230-aad3-4767-b052-175e913d0445" + "x-ms-request-id" : "b7db128f-f01f-002d-5644-bc2148000000", + "Date" : "Thu, 26 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "c1257621-537e-4eba-8ec5-b8d6da99f920" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b8a68c6e-ba04-4c6f-8218-19b3a7a3aeb7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dd837fbe-8a91-4674-9987-6ab55b7365f4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b3080-501e-00cf-2ec7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey019260c97253Mon, 09 Dec 2019 19:32:29 GMT\"0x8D77CDE8752C7EE\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:29 GMT", - "x-ms-client-request-id" : "b8a68c6e-ba04-4c6f-8218-19b3a7a3aeb7", + "x-ms-request-id" : "fa93f2f4-b01e-0003-7e44-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey098403561e50Thu, 26 Dec 2019 23:29:27 GMT\"0x8D78A5B73674E54\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "dd837fbe-8a91-4674-9987-6ab55b7365f4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey019260c97253?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey098403561e50?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b369e750-63d9-4ffd-9300-7f213d44e49d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c7595df-25c2-40e7-bc13-75f65ddbd793" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b30a7-501e-00cf-50c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:29 GMT", - "x-ms-client-request-id" : "b369e750-63d9-4ffd-9300-7f213d44e49d" + "x-ms-request-id" : "fa93f2fa-b01e-0003-0344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "4c7595df-25c2-40e7-bc13-75f65ddbd793" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey019260c97253", "javapathsasimplutilstringtosignuserdelegationkey1588850c48" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey098403561e50", "javapathsasimplutilstringtosignuserdelegationkey164882b442" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[1].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[1].json index 4e922f123528c..bc532042b5a20 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[1].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[1].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey000813265647?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey062654195756?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "df6b852b-65c7-4eb3-bae7-629992093671" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f21cb53f-5085-4af5-aa3b-d8b03bcbf7a3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8475E1EC", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:24 GMT", + "ETag" : "0x8D78A5B6D9BAF6D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b265d-501e-00cf-7ec7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "df6b852b-65c7-4eb3-bae7-629992093671" + "x-ms-request-id" : "fa93f018-b01e-0003-2144-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:17 GMT", + "x-ms-client-request-id" : "f21cb53f-5085-4af5-aa3b-d8b03bcbf7a3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey000813265647/javapathsasimplutilstringtosignuserdelegationkey189497d5b6?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey062654195756/javapathsasimplutilstringtosignuserdelegationkey1892812994?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5f5160fd-6c46-4ea5-a28f-b9e8ed0aae37" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "472c116d-fc4d-4659-a4d0-8c4bf8cb2228" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8488570D", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:24 GMT", + "ETag" : "0x8D78A5B6DD02D5E", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177326-101f-002d-4ec7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "5f5160fd-6c46-4ea5-a28f-b9e8ed0aae37" + "x-ms-request-id" : "9f8f35cd-401f-0038-0144-bc36fb000000", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "472c116d-fc4d-4659-a4d0-8c4bf8cb2228" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey000813265647/javapathsasimplutilstringtosignuserdelegationkey189497d5b6?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey062654195756/javapathsasimplutilstringtosignuserdelegationkey1892812994?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e78b0286-a39b-4e9b-b5b4-82220dd31c82", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "99411247-44ac-4b4a-a055-9ea560530799", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177327-101f-002d-4fc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "e78b0286-a39b-4e9b-b5b4-82220dd31c82" + "x-ms-request-id" : "9f8f35ce-401f-0038-0244-bc36fb000000", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "99411247-44ac-4b4a-a055-9ea560530799" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey000813265647/javapathsasimplutilstringtosignuserdelegationkey189497d5b6?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey062654195756/javapathsasimplutilstringtosignuserdelegationkey1892812994?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "828fdf17-9046-48b5-92d9-ffe20c68471c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dfab9ff4-db93-45a0-a9ef-2ad1143b5d15" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE84A4412D", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:24 GMT", + "ETag" : "0x8D78A5B6DEA12B1", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177328-101f-002d-50c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "828fdf17-9046-48b5-92d9-ffe20c68471c" + "x-ms-request-id" : "9f8f35cf-401f-0038-0344-bc36fb000000", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "dfab9ff4-db93-45a0-a9ef-2ad1143b5d15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3eee81ec-9717-4fc3-8b93-3f2d703a1c5d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0e71c1b-e6ab-4b05-b74a-e539c161382c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2733-501e-00cf-48c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey000813265647Mon, 09 Dec 2019 19:32:24 GMT\"0x8D77CDE8475E1EC\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "3eee81ec-9717-4fc3-8b93-3f2d703a1c5d", + "x-ms-request-id" : "fa93f030-b01e-0003-3344-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey062654195756Thu, 26 Dec 2019 23:29:18 GMT\"0x8D78A5B6D9BAF6D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "c0e71c1b-e6ab-4b05-b74a-e539c161382c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey000813265647?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey062654195756?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "cb0fe14f-35bb-4ef5-8579-88807edac86f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d0e3ad52-22e9-46a7-8b8b-023af847bc8b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2745-501e-00cf-5ac7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "cb0fe14f-35bb-4ef5-8579-88807edac86f" + "x-ms-request-id" : "fa93f038-b01e-0003-3a44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "d0e3ad52-22e9-46a7-8b8b-023af847bc8b" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey000813265647", "javapathsasimplutilstringtosignuserdelegationkey189497d5b6" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey062654195756", "javapathsasimplutilstringtosignuserdelegationkey1892812994" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[2].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[2].json index 4567e8357fe56..cad5b9654bb29 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[2].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[2].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey057444cd1ebe?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey024619ea44ce?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a4969d23-cc5c-4bb2-a8a0-d26bba67d3fe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4a7e69a1-ddb3-4188-9390-f1f1bfa0edb2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE84BD4BA1", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:24 GMT", + "ETag" : "0x8D78A5B6E10435D", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2760-501e-00cf-71c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "a4969d23-cc5c-4bb2-a8a0-d26bba67d3fe" + "x-ms-request-id" : "fa93f03b-b01e-0003-3d44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "4a7e69a1-ddb3-4188-9390-f1f1bfa0edb2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey057444cd1ebe/javapathsasimplutilstringtosignuserdelegationkey1660943dce?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey024619ea44ce/javapathsasimplutilstringtosignuserdelegationkey139215fe69?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "40c868e6-4951-4476-b834-824ebe34f7c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b2a89a37-6e13-4fab-b542-01c91e2f03aa" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE84D42E7A", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:24 GMT", + "ETag" : "0x8D78A5B6E46A135", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177329-101f-002d-51c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:23 GMT", - "x-ms-client-request-id" : "40c868e6-4951-4476-b834-824ebe34f7c6" + "x-ms-request-id" : "a41b6728-201f-003e-7c44-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "b2a89a37-6e13-4fab-b542-01c91e2f03aa" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey057444cd1ebe/javapathsasimplutilstringtosignuserdelegationkey1660943dce?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey024619ea44ce/javapathsasimplutilstringtosignuserdelegationkey139215fe69?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "892e2ef8-43b4-42ac-9367-04c8b44f6503", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5efa15e0-fde4-4642-9c8e-3120841eb82a", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17732a-101f-002d-52c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "892e2ef8-43b4-42ac-9367-04c8b44f6503" + "x-ms-request-id" : "a41b6729-201f-003e-7d44-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "5efa15e0-fde4-4642-9c8e-3120841eb82a" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey057444cd1ebe/javapathsasimplutilstringtosignuserdelegationkey1660943dce?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey024619ea44ce/javapathsasimplutilstringtosignuserdelegationkey139215fe69?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "baa0bd08-42fd-4996-acb0-11cbb1ba21b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dbc76ea8-82ff-48b1-ade3-c41241f59fa1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE84E5C9C2", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:25 GMT", + "ETag" : "0x8D78A5B6E61E9AB", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17732b-101f-002d-53c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "baa0bd08-42fd-4996-acb0-11cbb1ba21b5" + "x-ms-request-id" : "a41b672a-201f-003e-7e44-bc0544000000", + "Date" : "Thu, 26 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "dbc76ea8-82ff-48b1-ade3-c41241f59fa1" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "74fbd6d7-bc14-4574-8432-dafd353b2b11" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "88b830f4-cfae-4f5f-8859-9a71431db8dc" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b27f4-501e-00cf-74c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey057444cd1ebeMon, 09 Dec 2019 19:32:24 GMT\"0x8D77CDE84BD4BA1\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "74fbd6d7-bc14-4574-8432-dafd353b2b11", + "x-ms-request-id" : "fa93f05a-b01e-0003-5844-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey024619ea44ceThu, 26 Dec 2019 23:29:18 GMT\"0x8D78A5B6E10435D\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:19 GMT", + "x-ms-client-request-id" : "88b830f4-cfae-4f5f-8859-9a71431db8dc", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey057444cd1ebe?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey024619ea44ce?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5017b1b3-01a7-4824-9a32-0d534f46ab6d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77a81eff-2f3f-43da-9f77-061e8e93de50" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2812-501e-00cf-0cc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "5017b1b3-01a7-4824-9a32-0d534f46ab6d" + "x-ms-request-id" : "fa93f063-b01e-0003-5e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:19 GMT", + "x-ms-client-request-id" : "77a81eff-2f3f-43da-9f77-061e8e93de50" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey057444cd1ebe", "javapathsasimplutilstringtosignuserdelegationkey1660943dce" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey024619ea44ce", "javapathsasimplutilstringtosignuserdelegationkey139215fe69" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[3].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[3].json index 0451fbadd0c16..8531fef916a50 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[3].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[3].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey093103c12524?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey05134033cca9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b625cdc0-0719-4e3f-beec-a840a17cc1b9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c2ed7441-d797-46b8-81e7-081f75119eaa" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE85085F17", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:25 GMT", + "ETag" : "0x8D78A5B6E929311", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2850-501e-00cf-40c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "b625cdc0-0719-4e3f-beec-a840a17cc1b9" + "x-ms-request-id" : "fa93f067-b01e-0003-6244-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:19 GMT", + "x-ms-client-request-id" : "c2ed7441-d797-46b8-81e7-081f75119eaa" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey093103c12524/javapathsasimplutilstringtosignuserdelegationkey103805fa6c?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey05134033cca9/javapathsasimplutilstringtosignuserdelegationkey1377017c09?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8a4e0fab-68ef-415d-8d44-eff9b46f63ff" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bff2adce-44a3-44bf-9bc6-789a44a93740" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8514B3AE", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:25 GMT", + "ETag" : "0x8D78A5B6EC853E8", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17732c-101f-002d-54c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "8a4e0fab-68ef-415d-8d44-eff9b46f63ff" + "x-ms-request-id" : "3a5de253-201f-0001-6c44-bccde7000000", + "Date" : "Thu, 26 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "bff2adce-44a3-44bf-9bc6-789a44a93740" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey093103c12524/javapathsasimplutilstringtosignuserdelegationkey103805fa6c?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey05134033cca9/javapathsasimplutilstringtosignuserdelegationkey1377017c09?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a68a4084-f184-4d68-a072-cc0f56954268", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "69733a2f-da8e-4df6-97fb-008381f0f3a7", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17732d-101f-002d-55c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "a68a4084-f184-4d68-a072-cc0f56954268" + "x-ms-request-id" : "3a5de254-201f-0001-6d44-bccde7000000", + "Date" : "Thu, 26 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "69733a2f-da8e-4df6-97fb-008381f0f3a7" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey093103c12524/javapathsasimplutilstringtosignuserdelegationkey103805fa6c?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey05134033cca9/javapathsasimplutilstringtosignuserdelegationkey1377017c09?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a6cef289-60df-4fef-9934-665144c4000a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "98922c7f-f68e-48ae-9a70-9668ba07e599" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE852D2BC1", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:25 GMT", + "ETag" : "0x8D78A5B6EE2C1FA", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17732e-101f-002d-56c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "a6cef289-60df-4fef-9934-665144c4000a" + "x-ms-request-id" : "3a5de255-201f-0001-6e44-bccde7000000", + "Date" : "Thu, 26 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "98922c7f-f68e-48ae-9a70-9668ba07e599" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a7aded6e-f697-4c5a-a125-e7523aa309a8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b2e99fd7-cb78-4e2e-a04b-c46de44da663" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b28e4-501e-00cf-49c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey093103c12524Mon, 09 Dec 2019 19:32:25 GMT\"0x8D77CDE85085F17\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "a7aded6e-f697-4c5a-a125-e7523aa309a8", + "x-ms-request-id" : "fa93f08d-b01e-0003-8044-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey05134033cca9Thu, 26 Dec 2019 23:29:19 GMT\"0x8D78A5B6E929311\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "b2e99fd7-cb78-4e2e-a04b-c46de44da663", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey093103c12524?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey05134033cca9?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0f77e294-7c0c-4c5c-872a-001d4f398794" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1b114acb-34d2-417b-9d54-8bc990683ec0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b28fc-501e-00cf-5dc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "0f77e294-7c0c-4c5c-872a-001d4f398794" + "x-ms-request-id" : "fa93f090-b01e-0003-0344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "1b114acb-34d2-417b-9d54-8bc990683ec0" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey093103c12524", "javapathsasimplutilstringtosignuserdelegationkey103805fa6c" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey05134033cca9", "javapathsasimplutilstringtosignuserdelegationkey1377017c09" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[4].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[4].json index 6fc05f6d61f2b..1c07435dbf08f 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[4].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[4].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey039266d53907?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099796107fb7?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f6f44abe-c06c-48e9-94c1-1d967c033300" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93730feb-1cf3-46f4-a825-1c10b2e7899c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8546A0AE", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:25 GMT", + "ETag" : "0x8D78A5B6F09BF00", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2919-501e-00cf-78c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "f6f44abe-c06c-48e9-94c1-1d967c033300" + "x-ms-request-id" : "fa93f099-b01e-0003-0944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "93730feb-1cf3-46f4-a825-1c10b2e7899c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey039266d53907/javapathsasimplutilstringtosignuserdelegationkey1447705779?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099796107fb7/javapathsasimplutilstringtosignuserdelegationkey121365bb07?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c3bf8774-133b-403c-b53d-0abb08eac820" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3deaa223-3432-4c03-90ea-73ba711270e5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE855101BF", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:25 GMT", + "ETag" : "0x8D78A5B6F50CFAB", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177330-101f-002d-57c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "c3bf8774-133b-403c-b53d-0abb08eac820" + "x-ms-request-id" : "c8a498a6-d01f-0048-1344-bc8f0c000000", + "Date" : "Thu, 26 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "3deaa223-3432-4c03-90ea-73ba711270e5" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey039266d53907/javapathsasimplutilstringtosignuserdelegationkey1447705779?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099796107fb7/javapathsasimplutilstringtosignuserdelegationkey121365bb07?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "368b8428-bd80-43e2-a5dd-cd9c0e5984d8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cdf5143a-ba5c-48aa-a8d1-07d7eed33dc6", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177331-101f-002d-58c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "368b8428-bd80-43e2-a5dd-cd9c0e5984d8" + "x-ms-request-id" : "c8a498a7-d01f-0048-1444-bc8f0c000000", + "Date" : "Thu, 26 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "cdf5143a-ba5c-48aa-a8d1-07d7eed33dc6" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey039266d53907/javapathsasimplutilstringtosignuserdelegationkey1447705779?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099796107fb7/javapathsasimplutilstringtosignuserdelegationkey121365bb07?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b38572ef-e5d6-4cd7-a1bd-b712e0489f52" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1cb6ba3d-0b5e-4694-a731-f36f1ac70939" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE856210B8", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:25 GMT", + "ETag" : "0x8D78A5B6F738EBF", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177332-101f-002d-59c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:24 GMT", - "x-ms-client-request-id" : "b38572ef-e5d6-4cd7-a1bd-b712e0489f52" + "x-ms-request-id" : "c8a498a8-d01f-0048-1544-bc8f0c000000", + "Date" : "Thu, 26 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "1cb6ba3d-0b5e-4694-a731-f36f1ac70939" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2eaf1d63-4024-4c52-87c9-8c38fd8c3270" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54964b71-d4af-427f-9544-99ea5c0cd43b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2970-501e-00cf-4ac7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey039266d53907Mon, 09 Dec 2019 19:32:25 GMT\"0x8D77CDE8546A0AE\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "2eaf1d63-4024-4c52-87c9-8c38fd8c3270", + "x-ms-request-id" : "fa93f0dd-b01e-0003-4244-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey099796107fb7Thu, 26 Dec 2019 23:29:20 GMT\"0x8D78A5B6F09BF00\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "54964b71-d4af-427f-9544-99ea5c0cd43b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey039266d53907?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099796107fb7?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2979ac2e-7cf6-4658-8079-5aecf48d20ba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af7aeaf4-e4a9-4f81-a22f-ad1cb1167d16" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2983-501e-00cf-5dc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "2979ac2e-7cf6-4658-8079-5aecf48d20ba" + "x-ms-request-id" : "fa93f0e4-b01e-0003-4844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "af7aeaf4-e4a9-4f81-a22f-ad1cb1167d16" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey039266d53907", "javapathsasimplutilstringtosignuserdelegationkey1447705779" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey099796107fb7", "javapathsasimplutilstringtosignuserdelegationkey121365bb07" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[5].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[5].json index 88dd679a031bc..8cc95e475d8d5 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[5].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[5].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0414625c08a6?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0538485fdf5b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "46725365-bb2a-4a19-970f-bcfaa311411c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5ae2bc0a-a3a3-4938-89f7-ce55b4ebd6b0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE857CF35B", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B6F9E1002", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b29b3-501e-00cf-08c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "46725365-bb2a-4a19-970f-bcfaa311411c" + "x-ms-request-id" : "fa93f0ec-b01e-0003-4e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "5ae2bc0a-a3a3-4938-89f7-ce55b4ebd6b0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0414625c08a6/javapathsasimplutilstringtosignuserdelegationkey1004752d77?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0538485fdf5b/javapathsasimplutilstringtosignuserdelegationkey1354772d96?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "676cf927-9add-4ac5-9cfa-c71ca5e3e50e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7385321e-61d6-4d4d-868a-0664f8160155" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8588E6AD", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B6FD476AE", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177334-101f-002d-5ac7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "676cf927-9add-4ac5-9cfa-c71ca5e3e50e" + "x-ms-request-id" : "2f7dd4cc-e01f-000e-2744-bcbb8b000000", + "Date" : "Thu, 26 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "7385321e-61d6-4d4d-868a-0664f8160155" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0414625c08a6/javapathsasimplutilstringtosignuserdelegationkey1004752d77?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0538485fdf5b/javapathsasimplutilstringtosignuserdelegationkey1354772d96?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ed7c48df-3803-4684-a3ca-a6f6192f37b0", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "94031008-6c7d-4813-9b44-335bc2c6f2f3", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177335-101f-002d-5bc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "ed7c48df-3803-4684-a3ca-a6f6192f37b0" + "x-ms-request-id" : "2f7dd4cd-e01f-000e-2844-bcbb8b000000", + "Date" : "Thu, 26 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "94031008-6c7d-4813-9b44-335bc2c6f2f3" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0414625c08a6/javapathsasimplutilstringtosignuserdelegationkey1004752d77?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0538485fdf5b/javapathsasimplutilstringtosignuserdelegationkey1354772d96?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9d4bf9c3-eb68-413d-a1f4-607d454cc56d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2fd6296a-2018-4921-a5a0-5f7aa787f825" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE85998C7E", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B6FEF7253", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177336-101f-002d-5cc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "9d4bf9c3-eb68-413d-a1f4-607d454cc56d" + "x-ms-request-id" : "2f7dd4ce-e01f-000e-2944-bcbb8b000000", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "2fd6296a-2018-4921-a5a0-5f7aa787f825" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b9f039ee-7551-412d-8593-8206047a01de" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "820d3d7f-0e8f-41e8-bf3d-ec7627d4fd50" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2a70-501e-00cf-37c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey0414625c08a6Mon, 09 Dec 2019 19:32:26 GMT\"0x8D77CDE857CF35B\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "b9f039ee-7551-412d-8593-8206047a01de", + "x-ms-request-id" : "fa93f11a-b01e-0003-7444-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey0538485fdf5bThu, 26 Dec 2019 23:29:21 GMT\"0x8D78A5B6F9E1002\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "820d3d7f-0e8f-41e8-bf3d-ec7627d4fd50", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0414625c08a6?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey0538485fdf5b?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "56cc4bd0-04f2-4dbb-a1fb-535bceae4245" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5943549-b7d7-4075-8621-0b5299845b61" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2a8b-501e-00cf-4fc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "56cc4bd0-04f2-4dbb-a1fb-535bceae4245" + "x-ms-request-id" : "fa93f11b-b01e-0003-7544-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "f5943549-b7d7-4075-8621-0b5299845b61" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey0414625c08a6", "javapathsasimplutilstringtosignuserdelegationkey1004752d77" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey0538485fdf5b", "javapathsasimplutilstringtosignuserdelegationkey1354772d96" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[6].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[6].json index eba169b7e9bdb..133a3c67d821d 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[6].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[6].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099554c9a26a?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey082942fc67df?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "112ec9d0-98ea-4ca8-8463-a290087c4283" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ecf67ebb-fc10-44d4-b8af-6ca98eef6f8c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE85B62C1E", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B70193385", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2ab4-501e-00cf-73c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "112ec9d0-98ea-4ca8-8463-a290087c4283" + "x-ms-request-id" : "fa93f123-b01e-0003-7c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "ecf67ebb-fc10-44d4-b8af-6ca98eef6f8c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099554c9a26a/javapathsasimplutilstringtosignuserdelegationkey158315d159?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey082942fc67df/javapathsasimplutilstringtosignuserdelegationkey19708939e9?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9f466fdb-a887-48c2-8e20-61d0d78570eb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca8693c2-158f-4589-89ca-eb4120cc0a90" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE85C038A4", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B7050E158", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177338-101f-002d-5ec7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "9f466fdb-a887-48c2-8e20-61d0d78570eb" + "x-ms-request-id" : "e84adc86-401f-0017-5d44-bc3b30000000", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "ca8693c2-158f-4589-89ca-eb4120cc0a90" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099554c9a26a/javapathsasimplutilstringtosignuserdelegationkey158315d159?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey082942fc67df/javapathsasimplutilstringtosignuserdelegationkey19708939e9?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5afb1089-8fd4-4786-897e-cf8fee31086f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0af6f32e-b47a-40cf-a382-a4f3bd1899ce", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177339-101f-002d-5fc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "5afb1089-8fd4-4786-897e-cf8fee31086f" + "x-ms-request-id" : "e84adc87-401f-0017-5e44-bc3b30000000", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "0af6f32e-b47a-40cf-a382-a4f3bd1899ce" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099554c9a26a/javapathsasimplutilstringtosignuserdelegationkey158315d159?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey082942fc67df/javapathsasimplutilstringtosignuserdelegationkey19708939e9?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ccc9e9a0-ba7a-4714-a9cf-b43bf784161d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c6d7760d-5dd6-4c77-b196-ccf11115d473" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE85D0609D", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B70701560", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17733a-101f-002d-60c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "ccc9e9a0-ba7a-4714-a9cf-b43bf784161d" + "x-ms-request-id" : "e84adc88-401f-0017-5f44-bc3b30000000", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "c6d7760d-5dd6-4c77-b196-ccf11115d473" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "67a37187-3c6c-4915-a47e-8cd13ae548c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "550bf0cd-4340-409f-af41-94a055d9ac96" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2af9-501e-00cf-31c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey099554c9a26aMon, 09 Dec 2019 19:32:26 GMT\"0x8D77CDE85B62C1E\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "67a37187-3c6c-4915-a47e-8cd13ae548c6", + "x-ms-request-id" : "fa93f16c-b01e-0003-3544-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey082942fc67dfThu, 26 Dec 2019 23:29:22 GMT\"0x8D78A5B70193385\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "550bf0cd-4340-409f-af41-94a055d9ac96", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey099554c9a26a?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey082942fc67df?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3df377d8-6660-4f05-9e25-02d7e763affd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df63f1d3-7ca5-4a56-97fc-0ae10468e44d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2b05-501e-00cf-3dc7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "3df377d8-6660-4f05-9e25-02d7e763affd" + "x-ms-request-id" : "fa93f174-b01e-0003-3b44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "df63f1d3-7ca5-4a56-97fc-0ae10468e44d" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey099554c9a26a", "javapathsasimplutilstringtosignuserdelegationkey158315d159" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey082942fc67df", "javapathsasimplutilstringtosignuserdelegationkey19708939e9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[7].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[7].json index 0d39eef258324..3098d9372fbb6 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[7].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[7].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey048296f9bcde?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey001957ee9662?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "72238fc7-67ca-4467-9dc9-d4fff48a86c3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "14ec23f0-2312-4f1e-9856-0710ce8eed7c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE85ECF401", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B709652F3", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2b21-501e-00cf-57c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "72238fc7-67ca-4467-9dc9-d4fff48a86c3" + "x-ms-request-id" : "fa93f177-b01e-0003-3e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "14ec23f0-2312-4f1e-9856-0710ce8eed7c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey048296f9bcde/javapathsasimplutilstringtosignuserdelegationkey1888397be2?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey001957ee9662/javapathsasimplutilstringtosignuserdelegationkey124683e42b?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b998e1e1-4a90-4ead-934a-7604a40ba379" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2bc6d1a9-7b43-4817-8089-a09e504af81c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE85FE923F", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B70CF2942", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17733b-101f-002d-61c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "b998e1e1-4a90-4ead-934a-7604a40ba379" + "x-ms-request-id" : "8b8348d8-101f-0025-7c44-bc3b47000000", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "2bc6d1a9-7b43-4817-8089-a09e504af81c" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey048296f9bcde/javapathsasimplutilstringtosignuserdelegationkey1888397be2?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey001957ee9662/javapathsasimplutilstringtosignuserdelegationkey124683e42b?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3115f601-f805-4a93-81b7-6128944e0c91", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7711a0f2-1629-4493-be1b-19975cef9487", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17733c-101f-002d-62c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:25 GMT", - "x-ms-client-request-id" : "3115f601-f805-4a93-81b7-6128944e0c91" + "x-ms-request-id" : "8b8348d9-101f-0025-7d44-bc3b47000000", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "7711a0f2-1629-4493-be1b-19975cef9487" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey048296f9bcde/javapathsasimplutilstringtosignuserdelegationkey1888397be2?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey001957ee9662/javapathsasimplutilstringtosignuserdelegationkey124683e42b?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "24bc4083-8c3e-4caa-8b88-cc55d116e51c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6ec54dc4-d740-4409-9ad1-93d0b18fbcee" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE860F7925", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:26 GMT", + "ETag" : "0x8D78A5B70EB4166", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17733d-101f-002d-63c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "24bc4083-8c3e-4caa-8b88-cc55d116e51c" + "x-ms-request-id" : "8b8348da-101f-0025-7e44-bc3b47000000", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "6ec54dc4-d740-4409-9ad1-93d0b18fbcee" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "619f75f4-490a-4a39-ae18-bdc13fa45b78" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6ba73be1-059e-4428-a18e-b6c37dfaf07c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2bae-501e-00cf-53c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey048296f9bcdeMon, 09 Dec 2019 19:32:26 GMT\"0x8D77CDE85ECF401\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "619f75f4-490a-4a39-ae18-bdc13fa45b78", + "x-ms-request-id" : "fa93f1a9-b01e-0003-6744-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey001957ee9662Thu, 26 Dec 2019 23:29:23 GMT\"0x8D78A5B709652F3\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "6ba73be1-059e-4428-a18e-b6c37dfaf07c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey048296f9bcde?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey001957ee9662?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1b476d74-714c-4045-8e9e-be0f7b397d98" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "afe612dc-2615-4de4-98fe-01d01497e56f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2bd1-501e-00cf-71c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "1b476d74-714c-4045-8e9e-be0f7b397d98" + "x-ms-request-id" : "fa93f1aa-b01e-0003-6844-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "afe612dc-2615-4de4-98fe-01d01497e56f" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey048296f9bcde", "javapathsasimplutilstringtosignuserdelegationkey1888397be2" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey001957ee9662", "javapathsasimplutilstringtosignuserdelegationkey124683e42b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[8].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[8].json index b24e830927fa7..da141a620141d 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[8].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[8].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08893643eb1e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey067075bb8a57?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c7a5ecf9-3e02-4b49-ad94-8150e598c0ec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2f2dd5b6-b428-4acd-ab31-2fb4f19cc88e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE862A2463", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:27 GMT", + "ETag" : "0x8D78A5B7111769F", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2be9-501e-00cf-08c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "c7a5ecf9-3e02-4b49-ad94-8150e598c0ec" + "x-ms-request-id" : "fa93f1ae-b01e-0003-6c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "2f2dd5b6-b428-4acd-ab31-2fb4f19cc88e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08893643eb1e/javapathsasimplutilstringtosignuserdelegationkey18467688ab?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey067075bb8a57/javapathsasimplutilstringtosignuserdelegationkey15740960eb?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "af9dd51c-b157-4407-8595-7fbb86d694a7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5afa60e8-a609-404c-a2e5-a820838fbf5f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86365A5D", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:27 GMT", + "ETag" : "0x8D78A5B714484E3", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f17733e-101f-002d-64c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "af9dd51c-b157-4407-8595-7fbb86d694a7" + "x-ms-request-id" : "257f0f0a-101f-001a-2644-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "5afa60e8-a609-404c-a2e5-a820838fbf5f" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08893643eb1e/javapathsasimplutilstringtosignuserdelegationkey18467688ab?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey067075bb8a57/javapathsasimplutilstringtosignuserdelegationkey15740960eb?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f138f342-3b97-4847-a0b9-ea7fbb713ee6", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3847b24-ecd3-4976-bb08-4d01d57bc4e2", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17733f-101f-002d-65c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "f138f342-3b97-4847-a0b9-ea7fbb713ee6" + "x-ms-request-id" : "257f0f0b-101f-001a-2744-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "c3847b24-ecd3-4976-bb08-4d01d57bc4e2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08893643eb1e/javapathsasimplutilstringtosignuserdelegationkey18467688ab?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey067075bb8a57/javapathsasimplutilstringtosignuserdelegationkey15740960eb?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "88daf7b7-7e9e-4501-8711-e9e500e0a4c1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "29bea8f8-d209-440e-8c44-7a3fdb95dc4b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86495AB2", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:27 GMT", + "ETag" : "0x8D78A5B715E3B19", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177340-101f-002d-66c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "88daf7b7-7e9e-4501-8711-e9e500e0a4c1" + "x-ms-request-id" : "257f0f0c-101f-001a-2844-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "29bea8f8-d209-440e-8c44-7a3fdb95dc4b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "90257725-01ae-42e3-9a79-66ac51c8f7f7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "95d438bb-24b4-4b53-919b-3e5c162ff018" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2c93-501e-00cf-22c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey08893643eb1eMon, 09 Dec 2019 19:32:27 GMT\"0x8D77CDE862A2463\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "90257725-01ae-42e3-9a79-66ac51c8f7f7", + "x-ms-request-id" : "fa93f1dd-b01e-0003-1444-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey067075bb8a57Thu, 26 Dec 2019 23:29:23 GMT\"0x8D78A5B7111769F\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:24 GMT", + "x-ms-client-request-id" : "95d438bb-24b4-4b53-919b-3e5c162ff018", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey08893643eb1e?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey067075bb8a57?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e6484993-d51e-4ac7-ab69-ffe4f1262d7c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "00b49dc1-2c30-4430-ae09-7167b9122a8f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2cb9-501e-00cf-44c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "e6484993-d51e-4ac7-ab69-ffe4f1262d7c" + "x-ms-request-id" : "fa93f1e0-b01e-0003-1644-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:24 GMT", + "x-ms-client-request-id" : "00b49dc1-2c30-4430-ae09-7167b9122a8f" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey08893643eb1e", "javapathsasimplutilstringtosignuserdelegationkey18467688ab" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey067075bb8a57", "javapathsasimplutilstringtosignuserdelegationkey15740960eb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[9].json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[9].json index 3c5fbb93bb6ab..cab75f1c4a945 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[9].json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestsasimplutilstringtosignuserdelegationkey[9].json @@ -1,129 +1,129 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey070163165d11?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey025429e78452?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c25f20f8-b3f0-413f-ac58-6d27e354a1d1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "08156e48-9c04-4f33-bdea-7dd8c319187b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8661D696", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:27 GMT", + "ETag" : "0x8D78A5B7183E7A1", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a37b2cdb-501e-00cf-64c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "c25f20f8-b3f0-413f-ac58-6d27e354a1d1" + "x-ms-request-id" : "fa93f1e6-b01e-0003-1c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:24 GMT", + "x-ms-client-request-id" : "08156e48-9c04-4f33-bdea-7dd8c319187b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey070163165d11/javapathsasimplutilstringtosignuserdelegationkey160877c200?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey025429e78452/javapathsasimplutilstringtosignuserdelegationkey1610632581?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b131f167-efa5-447e-b431-a830647cd989" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "16bfd762-9392-4256-8d32-10304c843480" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE86713570", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:27 GMT", + "ETag" : "0x8D78A5B71B83E44", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1f177344-101f-002d-6ac7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "b131f167-efa5-447e-b431-a830647cd989" + "x-ms-request-id" : "3a5de25a-201f-0001-7144-bccde7000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "16bfd762-9392-4256-8d32-10304c843480" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey070163165d11/javapathsasimplutilstringtosignuserdelegationkey160877c200?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey025429e78452/javapathsasimplutilstringtosignuserdelegationkey1610632581?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "86b40324-86d8-4051-8def-9cfc2de6c9d8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cb603aee-e31f-4365-9b31-cd110198e4e8", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f177346-101f-002d-6cc7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "86b40324-86d8-4051-8def-9cfc2de6c9d8" + "x-ms-request-id" : "3a5de25b-201f-0001-7244-bccde7000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "cb603aee-e31f-4365-9b31-cd110198e4e8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey070163165d11/javapathsasimplutilstringtosignuserdelegationkey160877c200?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey025429e78452/javapathsasimplutilstringtosignuserdelegationkey1610632581?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.7 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "bf203466-4497-475f-a3c5-c0ec4aa2e30d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "60778096-cb64-4721-ad75-da04db2cf1c7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77CDE8683D72C", - "Last-Modified" : "Mon, 09 Dec 2019 19:32:27 GMT", + "ETag" : "0x8D78A5B71D2E3A3", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "1f17734a-101f-002d-70c7-aecdba000000", - "Date" : "Mon, 09 Dec 2019 19:32:26 GMT", - "x-ms-client-request-id" : "bf203466-4497-475f-a3c5-c0ec4aa2e30d" + "x-ms-request-id" : "3a5de25c-201f-0001-7344-bccde7000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "60778096-cb64-4721-ad75-da04db2cf1c7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfssasimplutilstringtosignuserdelegationkey&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "bcc5e967-1291-4de0-a394-f741424c618e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cd95aa6b-eb22-45dc-b328-5958f578509d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a37b2d5a-501e-00cf-53c7-ae29c8000000", - "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey070163165d11Mon, 09 Dec 2019 19:32:27 GMT\"0x8D77CDE8661D696\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "bcc5e967-1291-4de0-a394-f741424c618e", + "x-ms-request-id" : "fa93f21a-b01e-0003-4944-bc735f000000", + "Body" : "jtfssasimplutilstringtosignuserdelegationkeyjtfssasimplutilstringtosignuserdelegationkey025429e78452Thu, 26 Dec 2019 23:29:24 GMT\"0x8D78A5B7183E7A1\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "cd95aa6b-eb22-45dc-b328-5958f578509d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey070163165d11?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfssasimplutilstringtosignuserdelegationkey025429e78452?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "48d20e91-fd54-4b44-9042-05011a1f67ab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b12fe7be-5b03-49f5-86c2-2bd85aea8626" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a37b2d6c-501e-00cf-63c7-ae29c8000000", - "Date" : "Mon, 09 Dec 2019 19:32:27 GMT", - "x-ms-client-request-id" : "48d20e91-fd54-4b44-9042-05011a1f67ab" + "x-ms-request-id" : "fa93f220-b01e-0003-4e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "b12fe7be-5b03-49f5-86c2-2bd85aea8626" }, "Exception" : null } ], - "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey070163165d11", "javapathsasimplutilstringtosignuserdelegationkey160877c200" ] + "variables" : [ "jtfssasimplutilstringtosignuserdelegationkey025429e78452", "javapathsasimplutilstringtosignuserdelegationkey1610632581" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfile.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfile.json index 475abe44b2efe..5a1281759cf0d 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfile.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfile.json @@ -1,195 +1,195 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile021998aa053d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile0954525c719d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b7e6098a-486c-464f-a6fc-b7777d70be83" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "db4cc237-b207-44ea-87e1-694656c21ec2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782642C1A4C0", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:22 GMT", + "ETag" : "0x8D78A5B4FAF6DEE", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a41d0-e01e-0092-720f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "b7e6098a-486c-464f-a6fc-b7777d70be83" + "x-ms-request-id" : "fa93e47e-b01e-0003-2344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:27 GMT", + "x-ms-client-request-id" : "db4cc237-b207-44ea-87e1-694656c21ec2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile021998aa053d/javapathservicesassignaturevaluesnetworktestfile1763995f2b?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile0954525c719d/javapathservicesassignaturevaluesnetworktestfile117354bb52?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c704263c-aafa-4699-b669-abdf609db83b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "25a11b8d-9461-4968-bbf6-abc534e72970" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782642CE0251", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:22 GMT", + "ETag" : "0x8D78A5B4FE66B08", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9ad8-101f-004b-250f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "c704263c-aafa-4699-b669-abdf609db83b" + "x-ms-request-id" : "e0c9c464-e01f-001e-4d44-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:28:28 GMT", + "x-ms-client-request-id" : "25a11b8d-9461-4968-bbf6-abc534e72970" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile021998aa053d/javapathservicesassignaturevaluesnetworktestfile1763995f2b?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile0954525c719d/javapathservicesassignaturevaluesnetworktestfile117354bb52?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "0a567b23-799d-4264-be25-205950a08240", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c206060b-6486-45b7-a4f9-ed9144c9e42d", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ad9-101f-004b-260f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "0a567b23-799d-4264-be25-205950a08240" + "x-ms-request-id" : "e0c9c465-e01f-001e-4e44-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:28:28 GMT", + "x-ms-client-request-id" : "c206060b-6486-45b7-a4f9-ed9144c9e42d" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile021998aa053d/javapathservicesassignaturevaluesnetworktestfile1763995f2b?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile0954525c719d/javapathservicesassignaturevaluesnetworktestfile117354bb52?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b66c3f80-a6c1-41e1-994f-8edd81940d39" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "91010e06-536d-4fa3-8581-d6cf87a9ec64" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782642E19125", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:22 GMT", + "ETag" : "0x8D78A5B500060AF", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ada-101f-004b-270f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:21 GMT", - "x-ms-client-request-id" : "b66c3f80-a6c1-41e1-994f-8edd81940d39" + "x-ms-request-id" : "e0c9c467-e01f-001e-4f44-bc7ee3000000", + "Date" : "Thu, 26 Dec 2019 23:28:28 GMT", + "x-ms-client-request-id" : "91010e06-536d-4fa3-8581-d6cf87a9ec64" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile021998aa053d/javapathservicesassignaturevaluesnetworktestfile1763995f2b?sv=2019-02-02&spr=https%2Chttp&st=2019-12-02T19%3A23%3A22Z&se=2019-12-04T19%3A23%3A22Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile0954525c719d/javapathservicesassignaturevaluesnetworktestfile117354bb52?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A28%3A28Z&se=2019-12-27T23%3A28%3A28Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f1e66d04-698b-4834-b800-b179fbe3b17d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "66d98daf-5125-4eea-9b58-747801c6542f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:22 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:28 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 03 Dec 2019 19:23:22 GMT", + "Date" : "Thu, 26 Dec 2019 23:28:28 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D7782642E19125", + "ETag" : "0x8D78A5B500060AF", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Tue, 03 Dec 2019 19:23:22 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:28:28 GMT", "Content-Length" : "7", - "x-ms-request-id" : "1d9a421a-e01e-0092-370f-aad9cc000000", + "x-ms-request-id" : "fa93e4a9-b01e-0003-4744-bc735f000000", "Body" : "default", - "x-ms-client-request-id" : "f1e66d04-698b-4834-b800-b179fbe3b17d", + "x-ms-client-request-id" : "66d98daf-5125-4eea-9b58-747801c6542f", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile021998aa053d/javapathservicesassignaturevaluesnetworktestfile1763995f2b?sv=2019-02-02&spr=https%2Chttp&st=2019-12-02T19%3A23%3A22Z&se=2019-12-04T19%3A23%3A22Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile0954525c719d/javapathservicesassignaturevaluesnetworktestfile117354bb52?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A28%3A28Z&se=2019-12-27T23%3A28%3A28Z&sip=0.0.0.0-255.255.255.255&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5899b073-da08-4624-b135-5e93232df44a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4acd32dc-4e2f-4d8c-a620-f658d72a4182" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:22 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:28 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 03 Dec 2019 19:23:22 GMT", + "Date" : "Thu, 26 Dec 2019 23:28:28 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D7782642E19125", + "ETag" : "0x8D78A5B500060AF", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Tue, 03 Dec 2019 19:23:22 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:28:28 GMT", "Content-Length" : "7", - "x-ms-request-id" : "1d9a4234-e01e-0092-4f0f-aad9cc000000", - "x-ms-client-request-id" : "5899b073-da08-4624-b135-5e93232df44a", + "x-ms-request-id" : "fa93e4be-b01e-0003-5744-bc735f000000", + "x-ms-client-request-id" : "4acd32dc-4e2f-4d8c-a620-f658d72a4182", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsservicesassignaturevaluesnetworktestfile&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsservicesassignaturevaluesnetworktestfile&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ce8331f7-f19d-40f2-b259-5bd981914982" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3f92981f-8e97-4a09-ba49-1282e4a85609" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a424c-e01e-0092-620f-aad9cc000000", - "Body" : "jtfsservicesassignaturevaluesnetworktestfilejtfsservicesassignaturevaluesnetworktestfile021998aa053dTue, 03 Dec 2019 19:23:22 GMT\"0x8D7782642C1A4C0\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:22 GMT", - "x-ms-client-request-id" : "ce8331f7-f19d-40f2-b259-5bd981914982", + "x-ms-request-id" : "fa93e4c9-b01e-0003-6044-bc735f000000", + "Body" : "jtfsservicesassignaturevaluesnetworktestfilejtfsservicesassignaturevaluesnetworktestfile0954525c719dThu, 26 Dec 2019 23:28:27 GMT\"0x8D78A5B4FAF6DEE\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:28:28 GMT", + "x-ms-client-request-id" : "3f92981f-8e97-4a09-ba49-1282e4a85609", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile021998aa053d?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfile0954525c719d?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "636d8d50-2f35-4f34-a48e-40410085d58a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "14fd6496-ec85-461d-b301-da3c98c03ffa" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a4259-e01e-0092-6e0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:22 GMT", - "x-ms-client-request-id" : "636d8d50-2f35-4f34-a48e-40410085d58a" + "x-ms-request-id" : "fa93e4d0-b01e-0003-6644-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:28 GMT", + "x-ms-client-request-id" : "14fd6496-ec85-461d-b301-da3c98c03ffa" }, "Exception" : null } ], - "variables" : [ "jtfsservicesassignaturevaluesnetworktestfile021998aa053d", "javapathservicesassignaturevaluesnetworktestfile1763995f2b", "2019-12-03T19:23:22.218798900Z", "2019-12-03T19:23:22.221828700Z" ] + "variables" : [ "jtfsservicesassignaturevaluesnetworktestfile0954525c719d", "javapathservicesassignaturevaluesnetworktestfile117354bb52", "2019-12-26T23:28:28.558527Z", "2019-12-26T23:28:28.560525500Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfilesystem.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfilesystem.json index a50b4ec974224..ebd78a308f66b 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfilesystem.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfilesystem.json @@ -1,193 +1,193 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem033843783?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b5f3268c-1ef5-4755-bd70-33a92bcd713b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ae5016be-159c-44b9-911c-30ab0495b01d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826ACDA2711", - "Last-Modified" : "Tue, 03 Dec 2019 19:26:20 GMT", + "ETag" : "0x8D78A5B5071ADB1", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "6f6c6137-201e-0061-560f-aa0aa5000000", - "Date" : "Tue, 03 Dec 2019 19:26:19 GMT", - "x-ms-client-request-id" : "b5f3268c-1ef5-4755-bd70-33a92bcd713b" + "x-ms-request-id" : "fa93e4d4-b01e-0003-6944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:28 GMT", + "x-ms-client-request-id" : "ae5016be-159c-44b9-911c-30ab0495b01d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem033843783/javapathservicesassignaturevaluesnetworktestfilesystem1617487?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4/javapathservicesassignaturevaluesnetworktestfilesystem1040006?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "59afa8b2-d63f-4b6b-a1d8-399b6fe12df6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9c2765c0-56cd-426e-94b1-0f94502b828d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826AD43E3F3", - "Last-Modified" : "Tue, 03 Dec 2019 19:26:20 GMT", + "ETag" : "0x8D78A5B50A5BA36", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "9a73b01a-501f-0080-1c0f-aaedd0000000", - "Date" : "Tue, 03 Dec 2019 19:26:19 GMT", - "x-ms-client-request-id" : "59afa8b2-d63f-4b6b-a1d8-399b6fe12df6" + "x-ms-request-id" : "58df1606-001f-0039-7944-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:28:29 GMT", + "x-ms-client-request-id" : "9c2765c0-56cd-426e-94b1-0f94502b828d" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem033843783/javapathservicesassignaturevaluesnetworktestfilesystem1617487?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4/javapathservicesassignaturevaluesnetworktestfilesystem1040006?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6f914881-0a66-43f9-9ca3-a38231374bf9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c969a25-c5bd-41cb-ab3a-77e2c9919790", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "9a73b034-501f-0080-360f-aaedd0000000", - "Date" : "Tue, 03 Dec 2019 19:26:20 GMT", - "x-ms-client-request-id" : "6f914881-0a66-43f9-9ca3-a38231374bf9" + "x-ms-request-id" : "58df1607-001f-0039-7a44-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:28:29 GMT", + "x-ms-client-request-id" : "5c969a25-c5bd-41cb-ab3a-77e2c9919790" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem033843783/javapathservicesassignaturevaluesnetworktestfilesystem1617487?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4/javapathservicesassignaturevaluesnetworktestfilesystem1040006?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "50186e3f-c85c-4dd1-82be-efbdd221f349" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eecef4f6-4a1b-4585-a3d7-d05ac005fef4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826AD5F799A", - "Last-Modified" : "Tue, 03 Dec 2019 19:26:20 GMT", + "ETag" : "0x8D78A5B50C09DD3", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "9a73b040-501f-0080-420f-aaedd0000000", - "Date" : "Tue, 03 Dec 2019 19:26:20 GMT", - "x-ms-client-request-id" : "50186e3f-c85c-4dd1-82be-efbdd221f349" + "x-ms-request-id" : "58df1608-001f-0039-7b44-bc6927000000", + "Date" : "Thu, 26 Dec 2019 23:28:29 GMT", + "x-ms-client-request-id" : "eecef4f6-4a1b-4585-a3d7-d05ac005fef4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem033843783?restype=container&comp=acl", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4?restype=container&comp=acl", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f440e63e-395f-4aab-98c2-46e9f05cc63b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "968168e3-eacc-4425-9cfb-d54d174ed948", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826AD705C76", - "Last-Modified" : "Tue, 03 Dec 2019 19:26:21 GMT", + "ETag" : "0x8D78A5B50D082E9", + "Last-Modified" : "Thu, 26 Dec 2019 23:28:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "6f6c6343-201e-0061-2d0f-aa0aa5000000", - "Date" : "Tue, 03 Dec 2019 19:26:20 GMT", - "x-ms-client-request-id" : "f440e63e-395f-4aab-98c2-46e9f05cc63b" + "x-ms-request-id" : "fa93e502-b01e-0003-0c44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:29 GMT", + "x-ms-client-request-id" : "968168e3-eacc-4425-9cfb-d54d174ed948" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem033843783?recursive=false&upn=false&resource=filesystem&sv=2019-02-02&si=0000&sr=c&sig=REDACTED", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4?recursive=false&upn=false&resource=filesystem&sv=2019-07-07&si=0000&sr=c&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "096ded8a-9525-4f02-9098-6930b6a95879" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1dd4fc07-8243-4507-aafe-1cfa93f0578c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "9a73b832-501f-0080-270f-aaedd0000000", - "Body" : "{\"paths\":[{\"contentLength\":\"7\",\"etag\":\"0x8D77826AD5F799A\",\"group\":\"$superuser\",\"lastModified\":\"Tue, 03 Dec 2019 19:26:20 GMT\",\"name\":\"javapathservicesassignaturevaluesnetworktestfilesystem1617487\",\"owner\":\"$superuser\",\"permissions\":\"rw-r-----\"}]}\n", - "Date" : "Tue, 03 Dec 2019 19:26:50 GMT", - "x-ms-client-request-id" : "096ded8a-9525-4f02-9098-6930b6a95879", + "x-ms-request-id" : "257f0ef5-101f-001a-1b44-bcf3e4000000", + "Body" : "{\"paths\":[{\"contentLength\":\"7\",\"etag\":\"0x8D78A5B50C09DD3\",\"group\":\"$superuser\",\"lastModified\":\"Thu, 26 Dec 2019 23:28:29 GMT\",\"name\":\"javapathservicesassignaturevaluesnetworktestfilesystem1040006\",\"owner\":\"$superuser\",\"permissions\":\"rw-r-----\"}]}\n", + "Date" : "Thu, 26 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "1dd4fc07-8243-4507-aafe-1cfa93f0578c", "Content-Type" : "application/json;charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem033843783?recursive=false&upn=false&resource=filesystem&sv=2019-02-02&se=2019-12-04T19%3A26%3A20Z&sr=c&sp=racwdl&sig=REDACTED", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4?recursive=false&upn=false&resource=filesystem&sv=2019-07-07&se=2019-12-27T23%3A28%3A29Z&sr=c&sp=racwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "da4c12a4-c49f-4879-8d28-d97af7ebff23" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84995b76-409b-4384-b056-b1091dcc2252" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "9a73b835-501f-0080-2a0f-aaedd0000000", - "Body" : "{\"paths\":[{\"contentLength\":\"7\",\"etag\":\"0x8D77826AD5F799A\",\"group\":\"$superuser\",\"lastModified\":\"Tue, 03 Dec 2019 19:26:20 GMT\",\"name\":\"javapathservicesassignaturevaluesnetworktestfilesystem1617487\",\"owner\":\"$superuser\",\"permissions\":\"rw-r-----\"}]}\n", - "Date" : "Tue, 03 Dec 2019 19:26:50 GMT", - "x-ms-client-request-id" : "da4c12a4-c49f-4879-8d28-d97af7ebff23", + "x-ms-request-id" : "257f0ef6-101f-001a-1c44-bcf3e4000000", + "Body" : "{\"paths\":[{\"contentLength\":\"7\",\"etag\":\"0x8D78A5B50C09DD3\",\"group\":\"$superuser\",\"lastModified\":\"Thu, 26 Dec 2019 23:28:29 GMT\",\"name\":\"javapathservicesassignaturevaluesnetworktestfilesystem1040006\",\"owner\":\"$superuser\",\"permissions\":\"rw-r-----\"}]}\n", + "Date" : "Thu, 26 Dec 2019 23:29:00 GMT", + "x-ms-client-request-id" : "84995b76-409b-4384-b056-b1091dcc2252", "Content-Type" : "application/json;charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsservicesassignaturevaluesnetworktestfilesystem&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsservicesassignaturevaluesnetworktestfilesystem&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "14351dfb-1ff1-4628-99e7-aeb20f1b26d0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06cf3342-1622-4d91-a33e-5365cc775477" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "6f6cae68-201e-0061-6e0f-aa0aa5000000", - "Body" : "jtfsservicesassignaturevaluesnetworktestfilesystemjtfsservicesassignaturevaluesnetworktestfilesystem033843783Tue, 03 Dec 2019 19:26:21 GMT\"0x8D77826AD705C76\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:26:50 GMT", - "x-ms-client-request-id" : "14351dfb-1ff1-4628-99e7-aeb20f1b26d0", + "x-ms-request-id" : "fa93eba1-b01e-0003-0444-bc735f000000", + "Body" : "jtfsservicesassignaturevaluesnetworktestfilesystemjtfsservicesassignaturevaluesnetworktestfilesystem0323657e4Thu, 26 Dec 2019 23:28:29 GMT\"0x8D78A5B50D082E9\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "06cf3342-1622-4d91-a33e-5365cc775477", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem033843783?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f7ad5e8d-2d73-441e-8cf0-9a9f9610b7ef" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8de1825e-6cfc-494c-862d-c125522bfb16" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "6f6caee3-201e-0061-5e0f-aa0aa5000000", - "Date" : "Tue, 03 Dec 2019 19:26:50 GMT", - "x-ms-client-request-id" : "f7ad5e8d-2d73-441e-8cf0-9a9f9610b7ef" + "x-ms-request-id" : "fa93eba9-b01e-0003-0944-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "8de1825e-6cfc-494c-862d-c125522bfb16" }, "Exception" : null } ], - "variables" : [ "jtfsservicesassignaturevaluesnetworktestfilesystem033843783", "javapathservicesassignaturevaluesnetworktestfilesystem1617487", "2019-12-03T19:26:20.889589900Z", "2019-12-03T19:26:20.998616900Z" ] + "variables" : [ "jtfsservicesassignaturevaluesnetworktestfilesystem0323657e4", "javapathservicesassignaturevaluesnetworktestfilesystem1040006", "2019-12-26T23:28:29.810938200Z", "2019-12-26T23:28:29.915550100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfilesystemuserdelegation.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfilesystemuserdelegation.json index 8577fe74cec02..bad111de20521 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfilesystemuserdelegation.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfilesystemuserdelegation.json @@ -1,172 +1,172 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0761174?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0255045?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2bcee51e-3f99-4747-a754-dcb157cc9e6e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3b735784-a9da-4379-88c6-ed1e62ee28a4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826444380B0", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:24 GMT", + "ETag" : "0x8D78A5B6481F5D7", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a4494-e01e-0092-5b0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "2bcee51e-3f99-4747-a754-dcb157cc9e6e" + "x-ms-request-id" : "fa93ec44-b01e-0003-0a44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:01 GMT", + "x-ms-client-request-id" : "3b735784-a9da-4379-88c6-ed1e62ee28a4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0761174/c4f0a02beeff415796baeafc9f590785e9b2c22ac8854f0890fa769ef1799ccf?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0255045/d4cbf478d066464d8e393580a6d147f3602c61401b9e461486b7af4278afff3e?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e197a164-9466-46f7-87c7-5ef546a48f44" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "36fc5a88-653a-4c52-9c6f-6becce04ebc3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264458A7C5", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:24 GMT", + "ETag" : "0x8D78A5B64B54C89", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9ae5-101f-004b-310f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:23 GMT", - "x-ms-client-request-id" : "e197a164-9466-46f7-87c7-5ef546a48f44" + "x-ms-request-id" : "c84fb810-301f-0040-5d44-bc9503000000", + "Date" : "Thu, 26 Dec 2019 23:29:02 GMT", + "x-ms-client-request-id" : "36fc5a88-653a-4c52-9c6f-6becce04ebc3" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0761174/c4f0a02beeff415796baeafc9f590785e9b2c22ac8854f0890fa769ef1799ccf?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0255045/d4cbf478d066464d8e393580a6d147f3602c61401b9e461486b7af4278afff3e?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8add85a4-b693-4876-bb9e-7b3638affe26", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22b16b23-f132-45aa-a613-513c47805584", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ae6-101f-004b-320f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:23 GMT", - "x-ms-client-request-id" : "8add85a4-b693-4876-bb9e-7b3638affe26" + "x-ms-request-id" : "c84fb811-301f-0040-5e44-bc9503000000", + "Date" : "Thu, 26 Dec 2019 23:29:02 GMT", + "x-ms-client-request-id" : "22b16b23-f132-45aa-a613-513c47805584" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0761174/c4f0a02beeff415796baeafc9f590785e9b2c22ac8854f0890fa769ef1799ccf?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0255045/d4cbf478d066464d8e393580a6d147f3602c61401b9e461486b7af4278afff3e?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ae6a947b-00a8-44a7-8616-ff1e936f60b9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1e47399d-50e5-4da9-a9b8-8136363e7a48" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D778264469DB36", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:24 GMT", + "ETag" : "0x8D78A5B64CFDD51", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ae7-101f-004b-330f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:23 GMT", - "x-ms-client-request-id" : "ae6a947b-00a8-44a7-8616-ff1e936f60b9" + "x-ms-request-id" : "c84fb813-301f-0040-6044-bc9503000000", + "Date" : "Thu, 26 Dec 2019 23:29:02 GMT", + "x-ms-client-request-id" : "1e47399d-50e5-4da9-a9b8-8136363e7a48" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://gaprahns.blob.core.windows.net?restype=service&comp=userdelegationkey", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?restype=service&comp=userdelegationkey", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "930a8cf4-cbcf-4552-9e10-b01dcb3b5b7e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "082bf50d-2ce6-4fd4-a398-1bdb9fd00c7e", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a4545-e01e-0092-780f-aad9cc000000", - "Body" : "34c50fef-75aa-445a-a7ce-e54bf63ce32a54af99f2-990c-4b5f-a372-f1a5bd487fd72019-12-03T19:23:25Z2019-12-04T19:23:24Zb2019-02-02UkVEQUNURUQ=", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "930a8cf4-cbcf-4552-9e10-b01dcb3b5b7e", + "x-ms-request-id" : "fa93ec76-b01e-0003-3244-bc735f000000", + "Body" : "c44e4720-d630-4a45-af1c-fa1241f53789d3598bb8-cd31-4263-9eaf-574f695f5dff2019-12-26T23:29:03Z2019-12-27T23:29:03Zb2019-07-07UkVEQUNURUQ=", + "Date" : "Thu, 26 Dec 2019 23:29:02 GMT", + "x-ms-client-request-id" : "082bf50d-2ce6-4fd4-a398-1bdb9fd00c7e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0761174?recursive=false&upn=false&resource=filesystem&sv=2019-02-02&se=2019-12-04T19%3A23%3A24Z&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-03T19%3A23%3A25Z&ske=2019-12-04T19%3A23%3A24Z&sks=b&skv=2019-02-02&sr=c&sp=racwdl&sig=REDACTED", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0255045?recursive=false&upn=false&resource=filesystem&sv=2019-07-07&se=2019-12-27T23%3A29%3A03Z&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-26T23%3A29%3A03Z&ske=2019-12-27T23%3A29%3A03Z&sks=b&skv=2019-07-07&sr=c&sp=racwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "bbba05b5-f2cb-4577-8b4f-817177f9ca11" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c2315e96-0e37-4a56-8622-41e137630e3f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "053c9ae8-101f-004b-340f-aa7fe0000000", - "Body" : "{\"paths\":[{\"contentLength\":\"7\",\"etag\":\"0x8D778264469DB36\",\"group\":\"$superuser\",\"lastModified\":\"Tue, 03 Dec 2019 19:23:24 GMT\",\"name\":\"c4f0a02beeff415796baeafc9f590785e9b2c22ac8854f0890fa769ef1799ccf\",\"owner\":\"$superuser\",\"permissions\":\"rw-r-----\"}]}\n", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "bbba05b5-f2cb-4577-8b4f-817177f9ca11", + "x-ms-request-id" : "e4fdfa82-601f-002f-5544-bc9ff0000000", + "Body" : "{\"paths\":[{\"contentLength\":\"7\",\"etag\":\"0x8D78A5B64CFDD51\",\"group\":\"$superuser\",\"lastModified\":\"Thu, 26 Dec 2019 23:29:03 GMT\",\"name\":\"d4cbf478d066464d8e393580a6d147f3602c61401b9e461486b7af4278afff3e\",\"owner\":\"$superuser\",\"permissions\":\"rw-r-----\"}]}\n", + "Date" : "Thu, 26 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "c2315e96-0e37-4a56-8622-41e137630e3f", "Content-Type" : "application/json;charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsservicesassignaturevaluesnetworktestfilesystemuser&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsservicesassignaturevaluesnetworktestfilesystemuser&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "aff0a4cc-d183-42c1-a4cc-e58fe43d93c8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d1881485-7f75-4017-bd9a-f7f7f69f67f1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a456a-e01e-0092-180f-aad9cc000000", - "Body" : "jtfsservicesassignaturevaluesnetworktestfilesystemuserjtfsservicesassignaturevaluesnetworktestfilesystemuser0761174Tue, 03 Dec 2019 19:23:24 GMT\"0x8D77826444380B0\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "aff0a4cc-d183-42c1-a4cc-e58fe43d93c8", + "x-ms-request-id" : "fa93ecac-b01e-0003-5c44-bc735f000000", + "Body" : "jtfsservicesassignaturevaluesnetworktestfilesystemuserjtfsservicesassignaturevaluesnetworktestfilesystemuser0255045Thu, 26 Dec 2019 23:29:02 GMT\"0x8D78A5B6481F5D7\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:03 GMT", + "x-ms-client-request-id" : "d1881485-7f75-4017-bd9a-f7f7f69f67f1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0761174?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfilesystemuser0255045?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "29943565-e845-4f7d-9329-015681090756" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7ab75f77-94d5-4cca-8ce5-72ec0c97aab6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a4571-e01e-0092-1d0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:25 GMT", - "x-ms-client-request-id" : "29943565-e845-4f7d-9329-015681090756" + "x-ms-request-id" : "fa93ecb2-b01e-0003-6144-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:03 GMT", + "x-ms-client-request-id" : "7ab75f77-94d5-4cca-8ce5-72ec0c97aab6" }, "Exception" : null } ], - "variables" : [ "jtfsservicesassignaturevaluesnetworktestfilesystemuser0761174", "c4f0a02beeff415796baeafc9f590785e9b2c22ac8854f0890fa769ef1799ccf", "2019-12-03T19:23:24.786994200Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] + "variables" : [ "jtfsservicesassignaturevaluesnetworktestfilesystemuser0255045", "d4cbf478d066464d8e393580a6d147f3602c61401b9e461486b7af4278afff3e", "2019-12-26T23:29:03.460791300Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfileuserdelegation.json b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfileuserdelegation.json index c6e4bdf587b9e..ec5f88dc8fc90 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfileuserdelegation.json +++ b/sdk/storage/azure-storage-file-datalake/src/test/resources/session-records/SASTestservicesassignaturevaluesnetworktestfileuserdelegation.json @@ -1,217 +1,217 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega0282514?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega090888c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4a19f662-7f9e-4d85-bf5b-a0c15a71a228" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9cbf0b31-4343-4811-8d40-9073f94c03c0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826437F715F", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:23 GMT", + "ETag" : "0x8D78A5B632ACBB8", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "1d9a4349-e01e-0092-3f0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:23 GMT", - "x-ms-client-request-id" : "4a19f662-7f9e-4d85-bf5b-a0c15a71a228" + "x-ms-request-id" : "fa93ebb0-b01e-0003-0e44-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "9cbf0b31-4343-4811-8d40-9073f94c03c0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega0282514/fd751437b8cb4b1d95049e2526d45ca124fd02ae23eb4e6a9bb6bb6718d51e3a?resource=file", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega090888c/e482eec7eb63443990f52965772fb483912667d129fb472885792b4c976efe7a?resource=file", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "80483912-f8c2-4ff3-a83e-f6ff65cbbdb2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "883760a1-09a5-4314-ad87-da9507134a23" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77826438CA200", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:23 GMT", + "ETag" : "0x8D78A5B633BF23B", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "053c9adf-101f-004b-2c0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:22 GMT", - "x-ms-client-request-id" : "80483912-f8c2-4ff3-a83e-f6ff65cbbdb2" + "x-ms-request-id" : "257f0ef7-101f-001a-1d44-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:00 GMT", + "x-ms-client-request-id" : "883760a1-09a5-4314-ad87-da9507134a23" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega0282514/fd751437b8cb4b1d95049e2526d45ca124fd02ae23eb4e6a9bb6bb6718d51e3a?position=0&action=append", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega090888c/e482eec7eb63443990f52965772fb483912667d129fb472885792b4c976efe7a?position=0&action=append", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "be399746-7a5a-49f5-9fa5-5d071b190916", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "51f38566-28a4-4a48-b09e-edc9856728d6", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ae0-101f-004b-2d0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:22 GMT", - "x-ms-client-request-id" : "be399746-7a5a-49f5-9fa5-5d071b190916" + "x-ms-request-id" : "257f0ef8-101f-001a-1e44-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:00 GMT", + "x-ms-client-request-id" : "51f38566-28a4-4a48-b09e-edc9856728d6" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://gaprahns.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega0282514/fd751437b8cb4b1d95049e2526d45ca124fd02ae23eb4e6a9bb6bb6718d51e3a?position=7&retainUncommittedData=false&close=false&action=flush", + "Uri" : "https://gaprahnsstg.dfs.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega090888c/e482eec7eb63443990f52965772fb483912667d129fb472885792b4c976efe7a?position=7&retainUncommittedData=false&close=false&action=flush", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-preview.5 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "43a08d43-0ca7-478f-8ea3-e2ddfbcb5d87" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-datalake/12.0.0-beta.9 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "177624b9-67af-414f-b0de-b1b08c4455b8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7782643A05526", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:23 GMT", + "ETag" : "0x8D78A5B635672B4", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "x-ms-request-id" : "053c9ae1-101f-004b-2e0f-aa7fe0000000", - "Date" : "Tue, 03 Dec 2019 19:23:22 GMT", - "x-ms-client-request-id" : "43a08d43-0ca7-478f-8ea3-e2ddfbcb5d87" + "x-ms-request-id" : "257f0ef9-101f-001a-1f44-bcf3e4000000", + "Date" : "Thu, 26 Dec 2019 23:29:00 GMT", + "x-ms-client-request-id" : "177624b9-67af-414f-b0de-b1b08c4455b8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://gaprahns.blob.core.windows.net?restype=service&comp=userdelegationkey", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?restype=service&comp=userdelegationkey", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f9d28ece-45cc-45bd-9a78-5235e1d80581", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7ad23177-6784-4945-8ff3-ef9b66387b0c", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a4451-e01e-0092-240f-aad9cc000000", - "Body" : "1904bd24-0950-4e2d-aa0f-cb251becccbb6205002a-2dc3-499f-9d7f-74c99eac30a62019-12-02T19:23:23Z2019-12-04T19:23:23Zb2019-02-02UkVEQUNURUQ=", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "f9d28ece-45cc-45bd-9a78-5235e1d80581", + "x-ms-request-id" : "fa93ebf4-b01e-0003-4544-bc735f000000", + "Body" : "41507095-bce8-4957-bfdd-0383e1e9f588d0c5ce8a-04c0-4fde-88ba-cdd2993406f62019-12-25T23:29:00Z2019-12-27T23:29:00Zb2019-07-07UkVEQUNURUQ=", + "Date" : "Thu, 26 Dec 2019 23:29:01 GMT", + "x-ms-client-request-id" : "7ad23177-6784-4945-8ff3-ef9b66387b0c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega0282514/fd751437b8cb4b1d95049e2526d45ca124fd02ae23eb4e6a9bb6bb6718d51e3a?sv=2019-02-02&spr=https%2Chttp&st=2019-12-02T19%3A23%3A23Z&se=2019-12-04T19%3A23%3A23Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-02T19%3A23%3A23Z&ske=2019-12-04T19%3A23%3A23Z&sks=b&skv=2019-02-02&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega090888c/e482eec7eb63443990f52965772fb483912667d129fb472885792b4c976efe7a?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A29%3A00Z&se=2019-12-27T23%3A29%3A00Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A29%3A00Z&ske=2019-12-27T23%3A29%3A00Z&sks=b&skv=2019-07-07&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d6a88775-39b7-4203-8dce-3565e919f4e4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2f214e70-2375-43dd-aa46-ea4a01307aa1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:23 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", + "Date" : "Thu, 26 Dec 2019 23:29:01 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "Cache-Control" : "cache", - "ETag" : "0x8D7782643A05526", + "ETag" : "0x8D78A5B635672B4", "Content-Disposition" : "disposition", - "x-ms-creation-time" : "Tue, 03 Dec 2019 19:23:23 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:29:00 GMT", "Content-Length" : "7", - "x-ms-request-id" : "1d9a4462-e01e-0092-350f-aad9cc000000", + "x-ms-request-id" : "fa93ec25-b01e-0003-6e44-bc735f000000", "Body" : "default", - "x-ms-client-request-id" : "d6a88775-39b7-4203-8dce-3565e919f4e4", + "x-ms-client-request-id" : "2f214e70-2375-43dd-aa46-ea4a01307aa1", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega0282514/fd751437b8cb4b1d95049e2526d45ca124fd02ae23eb4e6a9bb6bb6718d51e3a?sv=2019-02-02&spr=https%2Chttp&st=2019-12-02T19%3A23%3A23Z&se=2019-12-04T19%3A23%3A23Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-02T19%3A23%3A23Z&ske=2019-12-04T19%3A23%3A23Z&sks=b&skv=2019-02-02&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega090888c/e482eec7eb63443990f52965772fb483912667d129fb472885792b4c976efe7a?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T23%3A29%3A00Z&se=2019-12-27T23%3A29%3A00Z&sip=0.0.0.0-255.255.255.255&skoid=c4f48289-bb84-4086-b250-6f94a8f64cee&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2019-12-25T23%3A29%3A00Z&ske=2019-12-27T23%3A29%3A00Z&sks=b&skv=2019-07-07&sr=b&sp=racwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "456a53df-6767-478a-b2c8-44abe801ebde" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ac84d5dc-af11-474e-a493-f51fbf959bb5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 03 Dec 2019 19:23:23 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 23:29:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", + "Date" : "Thu, 26 Dec 2019 23:29:01 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-access-tier-inferred" : "true", "x-ms-access-tier" : "Hot", "Cache-Control" : "cache", - "ETag" : "0x8D7782643A05526", + "ETag" : "0x8D78A5B635672B4", "Content-Disposition" : "disposition", "Content-Encoding" : "encoding", - "x-ms-creation-time" : "Tue, 03 Dec 2019 19:23:23 GMT", + "x-ms-creation-time" : "Thu, 26 Dec 2019 23:29:00 GMT", "Content-Length" : "7", - "x-ms-request-id" : "1d9a4472-e01e-0092-3f0f-aad9cc000000", - "x-ms-client-request-id" : "456a53df-6767-478a-b2c8-44abe801ebde", + "x-ms-request-id" : "fa93ec2d-b01e-0003-7644-bc735f000000", + "x-ms-client-request-id" : "ac84d5dc-af11-474e-a493-f51fbf959bb5", "Content-Language" : "language", "Content-Type" : "type" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://gaprahns.blob.core.windows.net?prefix=jtfsservicesassignaturevaluesnetworktestfileuserdelega&comp=list", + "Uri" : "https://gaprahnsstg.blob.core.windows.net?prefix=jtfsservicesassignaturevaluesnetworktestfileuserdelega&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7eb34ed5-0cb9-428c-97d8-3b8354440f28" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "73ec4da4-10a8-4f09-81c5-e134074ba6df" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "1d9a447e-e01e-0092-490f-aad9cc000000", - "Body" : "jtfsservicesassignaturevaluesnetworktestfileuserdelegajtfsservicesassignaturevaluesnetworktestfileuserdelega0282514Tue, 03 Dec 2019 19:23:23 GMT\"0x8D77826437F715F\"unlockedavailable$account-encryption-keyfalsefalsefalse", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "7eb34ed5-0cb9-428c-97d8-3b8354440f28", + "x-ms-request-id" : "fa93ec35-b01e-0003-7d44-bc735f000000", + "Body" : "jtfsservicesassignaturevaluesnetworktestfileuserdelegajtfsservicesassignaturevaluesnetworktestfileuserdelega090888cThu, 26 Dec 2019 23:29:00 GMT\"0x8D78A5B632ACBB8\"unlockedavailable$account-encryption-keyfalsefalsefalse", + "Date" : "Thu, 26 Dec 2019 23:29:01 GMT", + "x-ms-client-request-id" : "73ec4da4-10a8-4f09-81c5-e134074ba6df", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://gaprahns.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega0282514?restype=container", + "Uri" : "https://gaprahnsstg.blob.core.windows.net/jtfsservicesassignaturevaluesnetworktestfileuserdelega090888c?restype=container", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "51326d8b-390b-454b-a9b6-523be580e443" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-blob/12.2.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "79045c3d-8ee4-4823-86dd-8345ccd8623d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "1d9a4485-e01e-0092-4e0f-aad9cc000000", - "Date" : "Tue, 03 Dec 2019 19:23:24 GMT", - "x-ms-client-request-id" : "51326d8b-390b-454b-a9b6-523be580e443" + "x-ms-request-id" : "fa93ec3c-b01e-0003-0344-bc735f000000", + "Date" : "Thu, 26 Dec 2019 23:29:01 GMT", + "x-ms-client-request-id" : "79045c3d-8ee4-4823-86dd-8345ccd8623d" }, "Exception" : null } ], - "variables" : [ "jtfsservicesassignaturevaluesnetworktestfileuserdelega0282514", "fd751437b8cb4b1d95049e2526d45ca124fd02ae23eb4e6a9bb6bb6718d51e3a", "2019-12-03T19:23:23.467726200Z", "2019-12-03T19:23:23.467726200Z", "2019-12-03T19:23:23.483729200Z", "2019-12-03T19:23:23.483729200Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] + "variables" : [ "jtfsservicesassignaturevaluesnetworktestfileuserdelega090888c", "e482eec7eb63443990f52965772fb483912667d129fb472885792b4c976efe7a", "2019-12-26T23:29:00.986411Z", "2019-12-26T23:29:00.986411Z", "2019-12-26T23:29:00.999438600Z", "2019-12-26T23:29:00.999438600Z", "c4f48289-bb84-4086-b250-6f94a8f64cee", "72f988bf-86f1-41af-91ab-2d7cd011db47" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/CHANGELOG.md b/sdk/storage/azure-storage-file-share/CHANGELOG.md index 63f33f8d7f80d..ec04887cdde94 100644 --- a/sdk/storage/azure-storage-file-share/CHANGELOG.md +++ b/sdk/storage/azure-storage-file-share/CHANGELOG.md @@ -3,6 +3,11 @@ ## 12.2.0-beta.1 (Unreleased) - Fixed bug in ShareClient.getStatistics where shareUsageInGB was not properly converted. Added parameter to ShareStatistics to include a shareUsageInBytes parameter. - Fixed bug where ShareDirectoryAsyncClient.getFileClient appended an extra / for files in the root directory. +- Added support for the 2019-07-07 service version. +- Added support for file leases. Includes adding the ShareLeaseClientBuilder, ShareLeaseClient, and ShareLeaseAsync client and overloads accepting leaseIds for operations that support leases. +- Added failedClosedHandles property to CloseHandlesInfo to allow users to access number of failed handles in forceCloseAllHandles and closeHandle. +- Added support for obtaining premium file properties in ShareServiceClient.listShares and ShareClient.getProperties. +- Added support for additional start copy parameters - FileSmbProperties, file permission, file permission copy mode, set archive and ignore read only. ## 12.1.0 (2020-01-08) This package's diff --git a/sdk/storage/azure-storage-file-share/pom.xml b/sdk/storage/azure-storage-file-share/pom.xml index fc7b3f136e7ac..01653a03c3ba5 100644 --- a/sdk/storage/azure-storage-file-share/pom.xml +++ b/sdk/storage/azure-storage-file-share/pom.xml @@ -233,6 +233,7 @@ --add-opens com.azure.storage.file.share/com.azure.storage.file.share=ALL-UNNAMED --add-opens com.azure.storage.file.share/com.azure.storage.file.share.implementation=ALL-UNNAMED --add-opens com.azure.storage.file.share/com.azure.storage.file.share.models=ALL-UNNAMED + --add-opens com.azure.storage.file.share/com.azure.storage.file.share.specialized=ALL-UNNAMED --add-reads com.azure.core=ALL-UNNAMED --add-reads com.azure.core.test=ALL-UNNAMED --add-reads com.azure.core.amqp=ALL-UNNAMED diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/FileSmbProperties.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/FileSmbProperties.java index 77a4d30c9171b..a5d9b183e9045 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/FileSmbProperties.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/FileSmbProperties.java @@ -184,8 +184,8 @@ String setFileLastWriteTime(String defaultValue) { * @param time the OffsetDateTime to be interpreted as a {@code String} * @return The {@code String} representing the date */ - private static String parseFileSMBDate(OffsetDateTime time) { - return time.format(DateTimeFormatter.ofPattern(FileConstants.SMB_DATE_STRING)); + static String parseFileSMBDate(OffsetDateTime time) { + return time == null ? null : time.format(DateTimeFormatter.ofPattern(FileConstants.SMB_DATE_STRING)); } /** @@ -195,14 +195,15 @@ private static String parseFileSMBDate(OffsetDateTime time) { */ FileSmbProperties(HttpHeaders httpHeaders) { this.filePermissionKey = httpHeaders.getValue(FileConstants.HeaderConstants.FILE_PERMISSION_KEY); - this.ntfsFileAttributes = NtfsFileAttributes - .toAttributes(httpHeaders.getValue(FileConstants.HeaderConstants.FILE_ATTRIBUTES)); - this.fileCreationTime = OffsetDateTime.parse(httpHeaders - .getValue(FileConstants.HeaderConstants.FILE_CREATION_TIME)); - this.fileLastWriteTime = OffsetDateTime.parse(httpHeaders - .getValue(FileConstants.HeaderConstants.FILE_LAST_WRITE_TIME)); - this.fileChangeTime = OffsetDateTime.parse(httpHeaders - .getValue(FileConstants.HeaderConstants.FILE_CHANGE_TIME)); + String attributes = httpHeaders.getValue(FileConstants.HeaderConstants.FILE_ATTRIBUTES); + this.ntfsFileAttributes = attributes == null ? null : NtfsFileAttributes.toAttributes(attributes); + String fileCreation = httpHeaders + .getValue(FileConstants.HeaderConstants.FILE_CREATION_TIME); + this.fileCreationTime = fileCreation == null ? null : OffsetDateTime.parse(fileCreation); + String fileLastWrite = httpHeaders.getValue(FileConstants.HeaderConstants.FILE_LAST_WRITE_TIME); + this.fileLastWriteTime = fileLastWrite == null ? null : OffsetDateTime.parse(fileLastWrite); + String fileChange = httpHeaders.getValue(FileConstants.HeaderConstants.FILE_CHANGE_TIME); + this.fileChangeTime = fileChange == null ? null : OffsetDateTime.parse(fileChange); this.fileId = httpHeaders.getValue(FileConstants.HeaderConstants.FILE_ID); this.parentId = httpHeaders.getValue(FileConstants.HeaderConstants.FILE_PARENT_ID); } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java index d84b0b9f06b41..7e725274cd4ae 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java @@ -25,6 +25,7 @@ import com.azure.storage.file.share.implementation.models.SharesGetStatisticsResponse; import com.azure.storage.file.share.implementation.util.ShareSasImplUtil; import com.azure.storage.file.share.models.ShareFileHttpHeaders; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.models.ShareSignedIdentifier; import com.azure.storage.file.share.models.ShareStorageException; import com.azure.storage.file.share.models.ShareInfo; @@ -783,10 +784,48 @@ public Mono createFile(String fileName, long maxSize) { public Mono> createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map metadata) { + return this.createFileWithResponse(fileName, maxSize, httpHeaders, smbProperties, filePermission, metadata, + null); + } + + /** + * Creates the file in the share with the given name, file max size and associates the passed properties to it. + * + *

Code Samples

+ * + *

Create the file "myfile" with length of 1024 bytes, some headers, file smb properties and metadata

+ * + * {@codesnippet com.azure.storage.file.share.ShareAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param fileName Name of the file. + * @param maxSize The maximum size in bytes for the file, up to 1 TiB. + * @param httpHeaders The user settable file http headers. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file. + * @param metadata Optional name-value pairs associated with the file as metadata. + * @param requestConditions {@link ShareRequestConditions} + * @return A response containing a {@link ShareFileAsyncClient} to interact with the created file and the status of + * its creation. + * @throws ShareStorageException If one of the following cases happen: + *
    + *
  • + * If the share or parent directory does not exist. + *
  • + *
  • + * An attempt to create file on a share snapshot will fail with 400 (InvalidQueryParameterValue). + *
  • + *
+ */ + public Mono> createFileWithResponse(String fileName, long maxSize, + ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, + Map metadata, ShareRequestConditions requestConditions) { try { return withContext(context -> createFileWithResponse(fileName, maxSize, httpHeaders, smbProperties, filePermission, metadata, - context)); + requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } @@ -794,11 +833,11 @@ public Mono> createFileWithResponse(String fileNa Mono> createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, - Map metadata, Context context) { + Map metadata, ShareRequestConditions requestConditions, Context context) { ShareFileAsyncClient shareFileAsyncClient = getFileClient(fileName); return shareFileAsyncClient - .createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, context) - .map(response -> new SimpleResponse<>(response, shareFileAsyncClient)); + .createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, requestConditions, + context).map(response -> new SimpleResponse<>(response, shareFileAsyncClient)); } /** @@ -894,15 +933,37 @@ public Mono deleteFile(String fileName) { * @throws ShareStorageException If the share or the file doesn't exist. */ public Mono> deleteFileWithResponse(String fileName) { + return this.deleteFileWithResponse(fileName, null); + } + + /** + * Deletes the specified file in the share. + * + *

Code Samples

+ * + *

Delete the file "myfile"

+ * + * {@codesnippet com.azure.storage.file.share.ShareAsyncClient.deleteFile#string-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param fileName Name of the file. + * @param requestConditions {@link ShareRequestConditions} + * @return A response that only contains headers and response status code + * @throws ShareStorageException If the share or the file doesn't exist. + */ + public Mono> deleteFileWithResponse(String fileName, ShareRequestConditions requestConditions) { try { - return withContext(context -> deleteFileWithResponse(fileName, context)); + return withContext(context -> deleteFileWithResponse(fileName, requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> deleteFileWithResponse(String fileName, Context context) { - return getFileClient(fileName).deleteWithResponse(context); + Mono> deleteFileWithResponse(String fileName, ShareRequestConditions requestConditions, + Context context) { + return getFileClient(fileName).deleteWithResponse(requestConditions, context); } /** @@ -1080,7 +1141,12 @@ private Response mapGetPropertiesResponse(SharesGetPropertiesRe ShareProperties shareProperties = new ShareProperties().setQuota(headers.getQuota()) .setETag(headers.getETag()) .setLastModified(headers.getLastModified()) - .setMetadata(headers.getMetadata()); + .setMetadata(headers.getMetadata()) + .setQuota(headers.getQuota()) + .setNextAllowedQuotaDowngradeTime(headers.getNextAllowedQuotaDowngradeTime()) + .setProvisionedEgressMBps(headers.getProvisionedEgressMBps()) + .setProvisionedIngressMBps(headers.getProvisionedIngressMBps()) + .setProvisionedIops(headers.getProvisionedIops()); return new SimpleResponse<>(response, shareProperties); } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java index 3ebba6485a737..cdedd0b5cc0a2 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java @@ -12,6 +12,7 @@ import com.azure.storage.common.StorageSharedKeyCredential; import com.azure.storage.common.implementation.StorageImplUtils; import com.azure.storage.file.share.models.ShareFileHttpHeaders; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.models.ShareSignedIdentifier; import com.azure.storage.file.share.models.ShareStorageException; import com.azure.storage.file.share.models.ShareInfo; @@ -623,9 +624,51 @@ public ShareFileClient createFile(String fileName, long maxSize) { public Response createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map metadata, Duration timeout, Context context) { + return this.createFileWithResponse(fileName, maxSize, httpHeaders, smbProperties, filePermission, metadata, + null, timeout, context); + } + + /** + * Creates the file in the share with the given name, file max size and associates the passed properties to it. + * + *

Code Samples

+ * + *

Create the file "myfile" with length of 1024 bytes, some headers, file smb properties and metadata

+ * + * {@codesnippet com.azure.storage.file.share.ShareClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-Duration-Context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param fileName Name of the file. + * @param maxSize The maximum size in bytes for the file, up to 1 TiB. + * @param httpHeaders Additional parameters for the operation. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file + * @param metadata Optional name-value pairs associated with the file as metadata. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing a {@link ShareFileClient} to interact with the created file and the status of its + * creation. + * @throws ShareStorageException If one of the following cases happen: + *
    + *
  • + * If the share or parent directory does not exist. + *
  • + *
  • + * An attempt to create file on a share snapshot will fail with 400 (InvalidQueryParameterValue). + *
  • + *
+ * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response createFileWithResponse(String fileName, long maxSize, + ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, + Map metadata, ShareRequestConditions requestConditions, Duration timeout, Context context) { ShareFileClient shareFileClient = getFileClient(fileName); return new SimpleResponse<>(shareFileClient.createWithResponse(maxSize, httpHeaders, smbProperties, - filePermission, metadata, timeout, context), shareFileClient); + filePermission, metadata, requestConditions, timeout, context), shareFileClient); } /** @@ -713,7 +756,33 @@ public void deleteFile(String fileName) { * @throws RuntimeException if the operation doesn't complete before the timeout concludes. */ public Response deleteFileWithResponse(String fileName, Duration timeout, Context context) { - Mono> response = client.deleteFileWithResponse(fileName, context); + return this.deleteFileWithResponse(fileName, null, timeout, context); + } + + /** + * Deletes the specified file in the share. + * + *

Code Samples

+ * + *

Delete the file "myfile"

+ * + * {@codesnippet com.azure.storage.file.share.ShareClient.deleteFileWithResponse#string-ShareRequestConditions-duration-context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param fileName Name of the file + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response that only contains headers and response status code + * @throws ShareStorageException If the share or the file doesn't exist. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response deleteFileWithResponse(String fileName, ShareRequestConditions requestConditions, + Duration timeout, Context context) { + Mono> response = client.deleteFileWithResponse(fileName, requestConditions, context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryAsyncClient.java index de7c244009106..da4bbc9c5aa18 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryAsyncClient.java @@ -29,6 +29,7 @@ import com.azure.storage.file.share.models.ShareDirectoryProperties; import com.azure.storage.file.share.models.ShareDirectorySetMetadataInfo; import com.azure.storage.file.share.models.ShareFileHttpHeaders; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.models.ShareStorageException; import com.azure.storage.file.share.models.HandleItem; import com.azure.storage.file.share.models.ShareFileItem; @@ -633,7 +634,8 @@ Mono> forceCloseHandleWithResponse(String handleId, C return this.azureFileStorageClient.directorys().forceCloseHandlesWithRestResponseAsync(shareName, directoryPath, handleId, null, null, snapshot, false, context) .map(response -> new SimpleResponse<>(response, - new CloseHandlesInfo(response.getDeserializedHeaders().getNumberOfHandlesClosed()))); + new CloseHandlesInfo(response.getDeserializedHeaders().getNumberOfHandlesClosed(), + response.getDeserializedHeaders().getNumberOfHandlesFailedToClose()))); } /** @@ -655,8 +657,9 @@ Mono> forceCloseHandleWithResponse(String handleId, C public Mono forceCloseAllHandles(boolean recursive) { try { return withContext(context -> forceCloseAllHandlesWithTimeout(recursive, null, context) - .reduce(new CloseHandlesInfo(0), - (accu, next) -> new CloseHandlesInfo(accu.getClosedHandles() + next.getClosedHandles()))); + .reduce(new CloseHandlesInfo(0, 0), + (accu, next) -> new CloseHandlesInfo(accu.getClosedHandles() + next.getClosedHandles(), + accu.getFailedHandles() + next.getFailedHandles()))); } catch (RuntimeException ex) { return monoError(logger, ex); } @@ -671,7 +674,8 @@ PagedFlux forceCloseAllHandlesWithTimeout(boolean recursive, D response.getStatusCode(), response.getHeaders(), Collections.singletonList( - new CloseHandlesInfo(response.getDeserializedHeaders().getNumberOfHandlesClosed())), + new CloseHandlesInfo(response.getDeserializedHeaders().getNumberOfHandlesClosed(), + response.getDeserializedHeaders().getNumberOfHandlesFailedToClose())), response.getDeserializedHeaders().getMarker(), response.getDeserializedHeaders())); @@ -835,7 +839,7 @@ public Mono createFile(String fileName, long maxSize) { * *

Create the file named "myFile"

* - * {@codesnippet com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map} + * {@codesnippet com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map} * *

For more information, see the * Azure Docs.

@@ -853,10 +857,41 @@ public Mono createFile(String fileName, long maxSize) { public Mono> createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map metadata) { + return this.createFileWithResponse(fileName, maxSize, httpHeaders, smbProperties, filePermission, metadata, + null); + } + + /** + * Creates a file in this directory with specific name and returns a response of ShareDirectoryInfo to + * interact with it. + * + *

Code Samples

+ * + *

Create the file named "myFile"

+ * + * {@codesnippet com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param fileName Name of the file + * @param maxSize Max size of the file + * @param httpHeaders The user settable file http headers. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file. + * @param metadata Optional name-value pairs associated with the file as metadata. + * @param requestConditions {@link ShareRequestConditions} + * @return A response containing the directory info and the status of creating the directory. + * @throws ShareStorageException If the directory has already existed, the parent directory does not exist or file + * name is an invalid resource name. + */ + public Mono> createFileWithResponse(String fileName, long maxSize, + ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, + Map metadata, ShareRequestConditions requestConditions) { try { return withContext(context -> createFileWithResponse(fileName, maxSize, httpHeaders, smbProperties, filePermission, metadata, - context)); + requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } @@ -864,11 +899,11 @@ public Mono> createFileWithResponse(String fileNa Mono> createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, - Map metadata, Context context) { + Map metadata, ShareRequestConditions requestConditions, Context context) { ShareFileAsyncClient shareFileAsyncClient = getFileClient(fileName); return shareFileAsyncClient - .createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, context) - .map(response -> new SimpleResponse<>(response, shareFileAsyncClient)); + .createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, requestConditions, + context).map(response -> new SimpleResponse<>(response, shareFileAsyncClient)); } /** @@ -914,16 +949,39 @@ public Mono deleteFile(String fileName) { * resource name. */ public Mono> deleteFileWithResponse(String fileName) { + return this.deleteFileWithResponse(fileName, null); + } + + /** + * Deletes the file with specific name in this directory. + * + *

Code Samples

+ * + *

Delete the file "filetest"

+ * + * {@codesnippet com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteFileWithResponse#string-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param fileName Name of the file + * @param requestConditions {@link ShareRequestConditions} + * @return A response that only contains headers and response status code + * @throws ShareStorageException If the directory doesn't exist or the file doesn't exist or file name is an invalid + * resource name. + */ + public Mono> deleteFileWithResponse(String fileName, ShareRequestConditions requestConditions) { try { - return withContext(context -> deleteFileWithResponse(fileName, context)); + return withContext(context -> deleteFileWithResponse(fileName, requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> deleteFileWithResponse(String fileName, Context context) { + Mono> deleteFileWithResponse(String fileName, ShareRequestConditions requestConditions, + Context context) { ShareFileAsyncClient shareFileAsyncClient = getFileClient(fileName); - return shareFileAsyncClient.deleteWithResponse(context); + return shareFileAsyncClient.deleteWithResponse(requestConditions, context); } /** diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryClient.java index 8f2d794165595..cc238c7cd7dee 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryClient.java @@ -18,6 +18,7 @@ import com.azure.storage.file.share.models.ShareFileHttpHeaders; import com.azure.storage.file.share.models.ShareFileInfo; import com.azure.storage.file.share.models.HandleItem; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.models.ShareStorageException; import com.azure.storage.file.share.models.ShareFileItem; import com.azure.storage.file.share.sas.ShareServiceSasSignatureValues; @@ -485,8 +486,9 @@ public Response forceCloseHandleWithResponse(String handleId, */ public CloseHandlesInfo forceCloseAllHandles(boolean recursive, Duration timeout, Context context) { return new PagedIterable<>(shareDirectoryAsyncClient.forceCloseAllHandlesWithTimeout(recursive, timeout, - context)).stream().reduce(new CloseHandlesInfo(0), - (accu, next) -> new CloseHandlesInfo(accu.getClosedHandles() + next.getClosedHandles())); + context)).stream().reduce(new CloseHandlesInfo(0, 0), + (accu, next) -> new CloseHandlesInfo(accu.getClosedHandles() + next.getClosedHandles(), + accu.getFailedHandles() + next.getFailedHandles())); } /** @@ -626,7 +628,7 @@ public ShareFileClient createFile(String fileName, long maxSize) { * *

Create the file named "myFile"

* - * {@codesnippet com.azure.storage.file.share.ShareDirectoryClient.createFile#com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-duration-context} + * {@codesnippet com.azure.storage.file.share.ShareDirectoryClient.createFile#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-duration-context} * *

For more information, see the * Azure Docs.

@@ -648,9 +650,44 @@ public ShareFileClient createFile(String fileName, long maxSize) { public Response createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map metadata, Duration timeout, Context context) { + return this.createFileWithResponse(fileName, maxSize, httpHeaders, smbProperties, filePermission, metadata, + null, timeout, context); + } + + /** + * Creates a file in this directory with specific name and returns a response of ShareDirectoryInfo to + * interact with it. + * + *

Code Samples

+ * + *

Create the file named "myFile"

+ * + * {@codesnippet com.azure.storage.file.share.ShareDirectoryClient.createFile#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-duration-context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param fileName Name of the file + * @param maxSize Max size of the file + * @param httpHeaders The user settable file http headers. + * @param smbProperties The user settable file smb properties. + * @param filePermission THe file permission of the file. + * @param metadata Optional name-value pairs associated with the file as metadata. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing the directory info and the status of creating the directory. + * @throws ShareStorageException If the directory has already existed, the parent directory does not exist or file + * name is an invalid resource name. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response createFileWithResponse(String fileName, long maxSize, + ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, + Map metadata, ShareRequestConditions requestConditions, Duration timeout, Context context) { ShareFileClient shareFileClient = getFileClient(fileName); Response response = shareFileClient.createWithResponse(maxSize, httpHeaders, smbProperties, - filePermission, metadata, timeout, context); + filePermission, metadata, requestConditions, timeout, context); return new SimpleResponse<>(response, shareFileClient); } @@ -696,7 +733,35 @@ public void deleteFile(String fileName) { * @throws RuntimeException if the operation doesn't complete before the timeout concludes. */ public Response deleteFileWithResponse(String fileName, Duration timeout, Context context) { - Mono> response = shareDirectoryAsyncClient.deleteFileWithResponse(fileName, context); + return this.deleteFileWithResponse(fileName, null, timeout, context); + } + + /** + * Deletes the file with specific name in this directory. + * + *

Code Samples

+ * + *

Delete the file "filetest"

+ * + * {@codesnippet com.azure.storage.file.share.ShareDirectoryClient.deleteFileWithResponse#string-ShareRequestConditions-duration-context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param fileName Name of the file + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response that only contains headers and response status code + * @throws ShareStorageException If the directory doesn't exist or the file doesn't exist or file name is an invalid + * resource name. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response deleteFileWithResponse(String fileName, ShareRequestConditions requestConditions, + Duration timeout, Context context) { + Mono> response = shareDirectoryAsyncClient.deleteFileWithResponse(fileName, requestConditions, + context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java index a29b09c34917f..de694528fb98d 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java @@ -22,6 +22,7 @@ import com.azure.storage.common.implementation.SasImplUtils; import com.azure.storage.common.implementation.StorageImplUtils; import com.azure.storage.file.share.implementation.AzureFileStorageImpl; +import com.azure.storage.file.share.implementation.models.CopyFileSmbInfo; import com.azure.storage.file.share.implementation.models.FileGetPropertiesHeaders; import com.azure.storage.file.share.implementation.models.FileStartCopyHeaders; import com.azure.storage.file.share.implementation.models.FileUploadRangeFromURLHeaders; @@ -36,6 +37,11 @@ import com.azure.storage.file.share.implementation.util.ShareSasImplUtil; import com.azure.storage.file.share.models.CloseHandlesInfo; import com.azure.storage.file.share.models.CopyStatusType; +import com.azure.storage.file.share.models.NtfsFileAttributes; +import com.azure.storage.file.share.models.PermissionCopyModeType; +import com.azure.storage.file.share.models.LeaseDurationType; +import com.azure.storage.file.share.models.LeaseStateType; +import com.azure.storage.file.share.models.LeaseStatusType; import com.azure.storage.file.share.models.ShareFileCopyInfo; import com.azure.storage.file.share.models.ShareFileDownloadAsyncResponse; import com.azure.storage.file.share.models.ShareFileHttpHeaders; @@ -43,6 +49,7 @@ import com.azure.storage.file.share.models.ShareFileMetadataInfo; import com.azure.storage.file.share.models.ShareFileProperties; import com.azure.storage.file.share.models.ShareFileRange; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.models.ShareStorageException; import com.azure.storage.file.share.models.ShareFileUploadInfo; import com.azure.storage.file.share.models.ShareFileUploadRangeFromUrlInfo; @@ -201,16 +208,51 @@ public Mono create(long maxSize) { */ public Mono> createWithResponse(long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map metadata) { + try { + return createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, null); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Creates a file in the storage account and returns a response of ShareFileInfo to interact with it. + * + *

Code Samples

+ * + *

Create the file with length of 1024 bytes, some headers, file smb properties and metadata.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.createWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param maxSize The maximum size in bytes for the file, up to 1 TiB. + * @param httpHeaders The user settable file http headers. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file. + * @param metadata Optional name-value pairs associated with the file as metadata. + * @param requestConditions {@link ShareRequestConditions} + * @return A response containing the {@link ShareFileInfo file info} and the status of creating the file. + * @throws ShareStorageException If the directory has already existed, the parent directory does not exist or + * directory is an invalid resource name. + */ + public Mono> createWithResponse(long maxSize, ShareFileHttpHeaders httpHeaders, + FileSmbProperties smbProperties, String filePermission, Map metadata, + ShareRequestConditions requestConditions) { try { return withContext(context -> - createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, context)); + createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, + requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } Mono> createWithResponse(long maxSize, ShareFileHttpHeaders httpHeaders, - FileSmbProperties smbProperties, String filePermission, Map metadata, Context context) { + FileSmbProperties smbProperties, String filePermission, Map metadata, + ShareRequestConditions requestConditions, Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; smbProperties = smbProperties == null ? new FileSmbProperties() : smbProperties; // Checks that file permission and file permission key are valid @@ -226,7 +268,8 @@ Mono> createWithResponse(long maxSize, ShareFileHttpHead return azureFileStorageClient.files() .createWithRestResponseAsync(shareName, filePath, maxSize, fileAttributes, fileCreationTime, - fileLastWriteTime, null, metadata, filePermission, filePermissionKey, httpHeaders, context) + fileLastWriteTime, null, metadata, filePermission, filePermissionKey, requestConditions.getLeaseId(), + httpHeaders, context) .map(this::createFileInfoResponse); } @@ -243,25 +286,89 @@ Mono> createWithResponse(long maxSize, ShareFileHttpHead * Azure Docs.

* * @param sourceUrl Specifies the URL of the source file or blob, up to 2 KB in length. + * @param metadata Optional name-value pairs associated with the file as metadata. Metadata names must adhere to the + * naming rules. * @param pollInterval Duration between each poll for the copy status. If none is specified, a default of one second * is used. + * @return A {@link PollerFlux} that polls the file copy operation until it has completed or has been cancelled. + * @see C# identifiers + */ + public PollerFlux beginCopy(String sourceUrl, Map metadata, + Duration pollInterval) { + return beginCopy(sourceUrl, null, null, null, null, null, metadata, pollInterval, null); + } + + /** + * Copies a blob or file to a destination file within the storage account. + * + *

Code Samples

+ * + *

Copy file from source url to the {@code resourcePath}

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.beginCopy#string-filesmbproperties-string-permissioncopymodetype-boolean-boolean-map-duration-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param sourceUrl Specifies the URL of the source file or blob, up to 2 KB in length. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file. + * @param filePermissionCopyMode Mode of file permission acquisition. + * @param ignoreReadOnly Whether or not to copy despite target being read only. (default is false) + * @param setArchiveAttribute Whether or not the archive attribute is to be set on the target. (default is true) * @param metadata Optional name-value pairs associated with the file as metadata. Metadata names must adhere to the * naming rules. + * @param pollInterval Duration between each poll for the copy status. If none is specified, a default of one second + * is used. + * @param destinationRequestConditions {@link ShareRequestConditions} * @return A {@link PollerFlux} that polls the file copy operation until it has completed or has been cancelled. * @see C# identifiers */ - public PollerFlux beginCopy(String sourceUrl, Map metadata, - Duration pollInterval) { + public PollerFlux beginCopy(String sourceUrl, FileSmbProperties smbProperties, + String filePermission, PermissionCopyModeType filePermissionCopyMode, Boolean ignoreReadOnly, + Boolean setArchiveAttribute, Map metadata, Duration pollInterval, + ShareRequestConditions destinationRequestConditions) { + + final ShareRequestConditions finalRequestConditions = + destinationRequestConditions == null ? new ShareRequestConditions() : destinationRequestConditions; final AtomicReference copyId = new AtomicReference<>(); final Duration interval = pollInterval != null ? pollInterval : Duration.ofSeconds(1); - // + + FileSmbProperties tempSmbProperties = smbProperties == null ? new FileSmbProperties() : smbProperties; + + String filePermissionKey = tempSmbProperties.getFilePermissionKey(); + + String fileAttributes = NtfsFileAttributes.toString(tempSmbProperties.getNtfsFileAttributes()); + String fileCreationTime = FileSmbProperties.parseFileSMBDate(tempSmbProperties.getFileCreationTime()); + String fileLastWriteTime = FileSmbProperties.parseFileSMBDate(tempSmbProperties.getFileLastWriteTime()); + + if (filePermissionCopyMode == null || filePermissionCopyMode == PermissionCopyModeType.SOURCE) { + if (filePermission != null || filePermissionKey != null) { + throw logger.logExceptionAsError(new IllegalArgumentException( + "File permission and file permission key can not be set when PermissionCopyModeType is source or " + + "null")); + } + } else if (filePermissionCopyMode == PermissionCopyModeType.OVERRIDE) { + // Checks that file permission and file permission key are valid + validateFilePermissionAndKey(filePermission, tempSmbProperties.getFilePermissionKey()); + } + + final CopyFileSmbInfo copyFileSmbInfo = new CopyFileSmbInfo() + .setFilePermissionCopyMode(filePermissionCopyMode) + .setFileAttributes(fileAttributes) + .setFileCreationTime(fileCreationTime) + .setFileLastWriteTime(fileLastWriteTime) + .setIgnoreReadOnly(ignoreReadOnly) + .setSetArchiveAttribute(setArchiveAttribute); + return new PollerFlux<>(interval, (pollingContext) -> { try { return withContext(context -> azureFileStorageClient.files() .startCopyWithRestResponseAsync(shareName, filePath, sourceUrl, null, - metadata, - context)) + metadata, filePermission, tempSmbProperties.getFilePermissionKey(), + finalRequestConditions.getLeaseId(), copyFileSmbInfo, context)) + .map(response -> { final FileStartCopyHeaders headers = response.getDeserializedHeaders(); copyId.set(headers.getCopyId()); @@ -275,7 +382,7 @@ public PollerFlux beginCopy(String sourceUrl, Map { try { - return onPoll(pollingContext.getLatestResponse()); + return onPoll(pollingContext.getLatestResponse(), finalRequestConditions); } catch (RuntimeException ex) { return monoError(logger, ex); } @@ -288,14 +395,16 @@ public PollerFlux beginCopy(String sourceUrl, Map Mono.empty()); } - private Mono> onPoll(PollResponse pollResponse) { + private Mono> onPoll(PollResponse pollResponse, + ShareRequestConditions requestConditions) { if (pollResponse.getStatus() == LongRunningOperationStatus.SUCCESSFULLY_COMPLETED || pollResponse.getStatus() == LongRunningOperationStatus.FAILED) { return Mono.just(pollResponse); @@ -308,11 +417,12 @@ private Mono> onPoll(PollResponse { - final CopyStatusType status = response.getCopyStatus(); - final ShareFileCopyInfo result = new ShareFileCopyInfo(response.getCopySource(), response.getCopyId(), - status, response.getETag(), response.getCopyCompletionTime(), response.getCopyStatusDescription()); + ShareFileProperties value = response.getValue(); + final CopyStatusType status = value.getCopyStatus(); + final ShareFileCopyInfo result = new ShareFileCopyInfo(value.getCopySource(), value.getCopyId(), + status, value.getETag(), value.getCopyCompletionTime(), value.getCopyStatusDescription()); LongRunningOperationStatus operationStatus; switch (status) { @@ -377,16 +487,38 @@ public Mono abortCopy(String copyId) { * @return A response containing the status of aborting copy the file. */ public Mono> abortCopyWithResponse(String copyId) { + return this.abortCopyWithResponse(copyId, null); + } + + /** + * Aborts a pending Copy File operation, and leaves a destination file with zero length and full metadata. + * + *

Code Samples

+ * + *

Abort copy file from copy id("someCopyId")

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.abortCopyWithResponse#string-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param copyId Specifies the copy id which has copying pending status associate with it. + * @param requestConditions {@link ShareRequestConditions} + * @return A response containing the status of aborting copy the file. + */ + public Mono> abortCopyWithResponse(String copyId, ShareRequestConditions requestConditions) { try { - return withContext(context -> abortCopyWithResponse(copyId, context)); + return withContext(context -> abortCopyWithResponse(copyId, requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> abortCopyWithResponse(String copyId, Context context) { - return azureFileStorageClient.files().abortCopyWithRestResponseAsync(shareName, filePath, copyId, context) - .map(response -> new SimpleResponse<>(response, null)); + Mono> abortCopyWithResponse(String copyId, ShareRequestConditions requestConditions, + Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; + return azureFileStorageClient.files().abortCopyWithRestResponseAsync(shareName, filePath, copyId, null, + requestConditions.getLeaseId(), context).map(response -> new SimpleResponse<>(response, null)); } /** @@ -436,23 +568,49 @@ public Mono downloadToFile(String downloadFilePath) { */ public Mono> downloadToFileWithResponse(String downloadFilePath, ShareFileRange range) { + return this.downloadToFileWithResponse(downloadFilePath, range, null); + } + + /** + * Downloads a file from the system, including its metadata and properties into a file specified by the path. + * + *

The file will be created and must not exist, if the file already exists a {@link FileAlreadyExistsException} + * will be thrown.

+ * + *

Code Samples

+ * + *

Download the file from 1024 to 2048 bytes to current folder.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.downloadToFileWithResponse#string-ShareFileRange-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param downloadFilePath The path where store the downloaded file + * @param range Optional byte range which returns file data only from the specified range. + * @param requestConditions {@link ShareRequestConditions} + * @return An empty response. + */ + public Mono> downloadToFileWithResponse(String downloadFilePath, + ShareFileRange range, ShareRequestConditions requestConditions) { try { - return withContext(context -> downloadToFileWithResponse(downloadFilePath, range, context)); + return withContext(context -> downloadToFileWithResponse(downloadFilePath, range, requestConditions, + context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } Mono> downloadToFileWithResponse(String downloadFilePath, ShareFileRange range, - Context context) { + ShareRequestConditions requestConditions, Context context) { return Mono.using(() -> channelSetup(downloadFilePath, StandardOpenOption.WRITE, StandardOpenOption.CREATE_NEW), - channel -> getPropertiesWithResponse(context).flatMap(response -> - downloadResponseInChunk(response, channel, range, context)), this::channelCleanUp); + channel -> getPropertiesWithResponse(requestConditions, context).flatMap(response -> + downloadResponseInChunk(response, channel, range, requestConditions, context)), this::channelCleanUp); } private Mono> downloadResponseInChunk(Response response, - AsynchronousFileChannel channel, - ShareFileRange range, Context context) { + AsynchronousFileChannel channel, ShareFileRange range, ShareRequestConditions requestConditions, + Context context) { return Mono.justOrEmpty(range).switchIfEmpty(Mono.just(new ShareFileRange(0, response.getValue() .getContentLength()))) .map(currentRange -> { @@ -466,7 +624,7 @@ private Mono> downloadResponseInChunk(Response - downloadWithResponse(chunk, false, context) + downloadWithResponse(chunk, false, requestConditions, context) .map(ShareFileDownloadAsyncResponse::getValue) .subscribeOn(Schedulers.elastic()) .flatMap(fbb -> FluxUtil @@ -535,19 +693,44 @@ public Flux download() { * @return A reactive response containing response data and the file data. */ public Mono downloadWithResponse(ShareFileRange range, Boolean rangeGetContentMD5) { + return this.downloadWithResponse(range, rangeGetContentMD5, null); + } + + /** + * Downloads a file from the system, including its metadata and properties + * + *

Code Samples

+ * + *

Download the file from 1024 to 2048 bytes with its metadata and properties and without the contentMD5.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.downloadWithResponse#ShareFileRange-Boolean-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param range Optional byte range which returns file data only from the specified range. + * @param rangeGetContentMD5 Optional boolean which the service returns the MD5 hash for the range when it sets to + * @param requestConditions {@link ShareRequestConditions} + * true, as long as the range is less than or equal to 4 MB in size. + * @return A reactive response containing response data and the file data. + */ + public Mono downloadWithResponse(ShareFileRange range, Boolean rangeGetContentMD5, + ShareRequestConditions requestConditions) { try { - return withContext(context -> downloadWithResponse(range, rangeGetContentMD5, context)); + return withContext(context -> downloadWithResponse(range, rangeGetContentMD5, requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } Mono downloadWithResponse(ShareFileRange range, Boolean rangeGetContentMD5, - Context context) { + ShareRequestConditions requestConditions, Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; String rangeString = range == null ? null : range.toString(); return azureFileStorageClient.files() - .downloadWithRestResponseAsync(shareName, filePath, null, rangeString, rangeGetContentMD5, context) + .downloadWithRestResponseAsync(shareName, filePath, null, rangeString, rangeGetContentMD5, + requestConditions.getLeaseId(), context) .map(response -> new ShareFileDownloadAsyncResponse(response.getRequest(), response.getStatusCode(), response.getHeaders(), response.getValue(), response.getDeserializedHeaders())); } @@ -591,16 +774,37 @@ public Mono delete() { * @throws ShareStorageException If the directory doesn't exist or the file doesn't exist. */ public Mono> deleteWithResponse() { + return deleteWithResponse(null); + } + + /** + * Deletes the file associate with the client. + * + *

Code Samples

+ * + *

Delete the file

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.deleteWithResponse#ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param requestConditions {@link ShareRequestConditions} + * @return A response that only contains headers and response status code + * @throws ShareStorageException If the directory doesn't exist or the file doesn't exist. + */ + public Mono> deleteWithResponse(ShareRequestConditions requestConditions) { try { - return withContext(this::deleteWithResponse); + return withContext(context -> this.deleteWithResponse(requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> deleteWithResponse(Context context) { - return azureFileStorageClient.files().deleteWithRestResponseAsync(shareName, filePath, context) - .map(response -> new SimpleResponse<>(response, null)); + Mono> deleteWithResponse(ShareRequestConditions requestConditions, Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; + return azureFileStorageClient.files().deleteWithRestResponseAsync(shareName, filePath, null, + requestConditions.getLeaseId(), context).map(response -> new SimpleResponse<>(response, null)); } /** @@ -642,16 +846,39 @@ public Mono getProperties() { * @return A response containing the {@link ShareFileProperties storage file properties} and response status code */ public Mono> getPropertiesWithResponse() { + return this.getPropertiesWithResponse(null); + } + + /** + * Retrieves the properties of the storage account's file. The properties includes file metadata, last modified + * date, is server encrypted, and eTag. + * + *

Code Samples

+ * + *

Retrieve file properties

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.getPropertiesWithResponse#ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param requestConditions {@link ShareRequestConditions} + * @return A response containing the {@link ShareFileProperties storage file properties} and response status code + */ + public Mono> getPropertiesWithResponse(ShareRequestConditions requestConditions) { try { - return withContext(this::getPropertiesWithResponse); + return withContext(context -> this.getPropertiesWithResponse(requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> getPropertiesWithResponse(Context context) { + Mono> getPropertiesWithResponse(ShareRequestConditions requestConditions, + Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; return azureFileStorageClient.files() - .getPropertiesWithRestResponseAsync(shareName, filePath, snapshot, null, context) + .getPropertiesWithRestResponseAsync(shareName, filePath, snapshot, null, requestConditions.getLeaseId(), + context) .map(this::getPropertiesResponse); } @@ -722,16 +949,52 @@ public Mono setProperties(long newFileSize, ShareFileHttpHeaders */ public Mono> setPropertiesWithResponse(long newFileSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission) { + return this.setPropertiesWithResponse(newFileSize, httpHeaders, smbProperties, filePermission, null); + } + + /** + * Sets the user-defined file properties to associate to the file. + * + *

If {@code null} is passed for the httpHeaders it will clear the httpHeaders associated to the file. + * If {@code null} is passed for the filesmbproperties it will preserve the filesmbproperties associated with the + * file.

+ * + *

Code Samples

+ * + *

Set the httpHeaders of contentType of "text/plain"

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions} + * + *

Clear the metadata of the file and preserve the SMB properties

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions.clearHttpHeaderspreserveSMBProperties} + * + *

For more information, see the + * Azure Docs.

+ * + * @param newFileSize New file size of the file. + * @param httpHeaders The user settable file http headers. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file. + * @param requestConditions {@link ShareRequestConditions} + * @return Response containing the {@link ShareFileInfo file info} and response status code. + * @throws IllegalArgumentException thrown if parameters fail the validation. + */ + public Mono> setPropertiesWithResponse(long newFileSize, ShareFileHttpHeaders httpHeaders, + FileSmbProperties smbProperties, String filePermission, ShareRequestConditions requestConditions) { try { return withContext(context -> - setPropertiesWithResponse(newFileSize, httpHeaders, smbProperties, filePermission, context)); + setPropertiesWithResponse(newFileSize, httpHeaders, smbProperties, filePermission, requestConditions, + context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } Mono> setPropertiesWithResponse(long newFileSize, ShareFileHttpHeaders httpHeaders, - FileSmbProperties smbProperties, String filePermission, Context context) { + FileSmbProperties smbProperties, String filePermission, ShareRequestConditions requestConditions, + Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; smbProperties = smbProperties == null ? new FileSmbProperties() : smbProperties; // Checks that file permission and file permission key are valid @@ -747,7 +1010,8 @@ Mono> setPropertiesWithResponse(long newFileSize, ShareF return azureFileStorageClient.files() .setHTTPHeadersWithRestResponseAsync(shareName, filePath, fileAttributes, fileCreationTime, - fileLastWriteTime, null, newFileSize, filePermission, filePermissionKey, httpHeaders, context) + fileLastWriteTime, null, newFileSize, filePermission, filePermissionKey, requestConditions.getLeaseId(), + httpHeaders, context) .map(this::setPropertiesResponse); } @@ -804,17 +1068,48 @@ public Mono setMetadata(Map metadata) { * @throws ShareStorageException If the file doesn't exist or the metadata contains invalid keys */ public Mono> setMetadataWithResponse(Map metadata) { + return setMetadataWithResponse(metadata, null); + } + + /** + * Sets the user-defined metadata to associate to the file. + * + *

If {@code null} is passed for the metadata it will clear the metadata associated to the file.

+ * + *

Code Samples

+ * + *

Set the metadata to "file:updatedMetadata"

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.setMetadataWithResponse#map-ShareRequestConditions} + * + *

Clear the metadata of the file

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.setMetadataWithResponse#map-ShareRequestConditions.clearMetadata} + * + *

For more information, see the + * Azure Docs.

+ * + * @param metadata Options.Metadata to set on the file, if null is passed the metadata for the file is cleared + * @param requestConditions {@link ShareRequestConditions} + * @return A response containing the {@link ShareFileMetadataInfo file meta info} and status code + * @throws ShareStorageException If the file doesn't exist or the metadata contains invalid keys + */ + public Mono> setMetadataWithResponse(Map metadata, + ShareRequestConditions requestConditions) { try { - return withContext(context -> setMetadataWithResponse(metadata, context)); + return withContext(context -> setMetadataWithResponse(metadata, requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> setMetadataWithResponse(Map metadata, Context context) { + Mono> setMetadataWithResponse(Map metadata, + ShareRequestConditions requestConditions, Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; try { return azureFileStorageClient.files() - .setMetadataWithRestResponseAsync(shareName, filePath, null, metadata, context) + .setMetadataWithRestResponseAsync(shareName, filePath, null, metadata, + requestConditions.getLeaseId(), context) .map(this::setMetadataResponse); } catch (RuntimeException ex) { return monoError(logger, ex); @@ -870,20 +1165,50 @@ public Mono upload(Flux data, long length) { * status code 413 (Request Entity Too Large) */ public Mono> uploadWithResponse(Flux data, long length, Long offset) { + return this.uploadWithResponse(data, length, offset, null); + } + + /** + * Uploads a range of bytes to specific of a file in storage file service. Upload operations performs an in-place + * write on the specified file. + * + *

Code Samples

+ * + *

Upload the file from 1024 to 2048 bytes with its metadata and properties and without the contentMD5.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.uploadWithResponse#flux-long-long-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param data The data which will upload to the storage file. + * @param length Specifies the number of bytes being transmitted in the request body. When the + * ShareFileRangeWriteType is set to clear, the value of this header must be set to zero. + * @param offset Optional starting point of the upload range. It will start from the beginning if it is + * {@code null}. + * @param requestConditions {@link ShareRequestConditions} + * @return A response containing the {@link ShareFileUploadInfo file upload info} with headers and response + * status code. + * @throws ShareStorageException If you attempt to upload a range that is larger than 4 MB, the service returns + * status code 413 (Request Entity Too Large) + */ + public Mono> uploadWithResponse(Flux data, long length, Long offset, + ShareRequestConditions requestConditions) { try { - return withContext(context -> uploadWithResponse(data, length, offset, context)); + return withContext(context -> uploadWithResponse(data, length, offset, requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } Mono> uploadWithResponse(Flux data, long length, Long offset, - Context context) { + ShareRequestConditions requestConditions, Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; long rangeOffset = (offset == null) ? 0L : offset; ShareFileRange range = new ShareFileRange(rangeOffset, rangeOffset + length - 1); return azureFileStorageClient.files() .uploadRangeWithRestResponseAsync(shareName, filePath, range.toString(), ShareFileRangeWriteType.UPDATE, - length, data, null, null, context) + length, data, null, null, requestConditions.getLeaseId(), context) .map(this::uploadResponse); } @@ -938,22 +1263,52 @@ public Mono uploadRangeFromUrl(long length, lon // TODO: (gapra) Fix put range from URL link. Service docs have not been updated to show this API public Mono> uploadRangeFromUrlWithResponse(long length, long destinationOffset, long sourceOffset, String sourceUrl) { + return this.uploadRangeFromUrlWithResponse(length, destinationOffset, sourceOffset, sourceUrl, null); + } + + /** + * Uploads a range of bytes from one file to another file. + * + *

Code Samples

+ * + *

Upload a number of bytes from a file at defined source and destination offsets

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.uploadRangeFromUrlWithResponse#long-long-long-String-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param length Specifies the number of bytes being transmitted in the request body. + * @param destinationOffset Starting point of the upload range on the destination. + * @param sourceOffset Starting point of the upload range on the source. + * @param sourceUrl Specifies the URL of the source file. + * @param destinationRequestConditions {@link ShareRequestConditions} + * @return A response containing the {@link ShareFileUploadRangeFromUrlInfo file upload range from url info} with + * headers and response status code. + */ + // TODO: (gapra) Fix put range from URL link. Service docs have not been updated to show this API + public Mono> uploadRangeFromUrlWithResponse(long length, + long destinationOffset, long sourceOffset, String sourceUrl, + ShareRequestConditions destinationRequestConditions) { try { return withContext(context -> - uploadRangeFromUrlWithResponse(length, destinationOffset, sourceOffset, sourceUrl, context)); + uploadRangeFromUrlWithResponse(length, destinationOffset, sourceOffset, sourceUrl, + destinationRequestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } Mono> uploadRangeFromUrlWithResponse(long length, long destinationOffset, - long sourceOffset, String sourceUrl, Context context) { + long sourceOffset, String sourceUrl, ShareRequestConditions destinationRequestConditions, Context context) { + destinationRequestConditions = destinationRequestConditions == null + ? new ShareRequestConditions() : destinationRequestConditions; ShareFileRange destinationRange = new ShareFileRange(destinationOffset, destinationOffset + length - 1); ShareFileRange sourceRange = new ShareFileRange(sourceOffset, sourceOffset + length - 1); return azureFileStorageClient.files() .uploadRangeFromURLWithRestResponseAsync(shareName, filePath, destinationRange.toString(), sourceUrl, 0, - null, sourceRange.toString(), null, null, context) + null, sourceRange.toString(), null, destinationRequestConditions.getLeaseId(), null, context) .map(this::uploadRangeFromUrlResponse); } @@ -1001,18 +1356,45 @@ public Mono clearRange(long length) { * status code. */ public Mono> clearRangeWithResponse(long length, long offset) { + return this.clearRangeWithResponse(length, offset, null); + } + + /** + * Clear a range of bytes to specific of a file in storage file service. Clear operations performs an in-place write + * on the specified file. + * + *

Code Samples

+ * + *

Clear the range starting from 1024 with length of 1024.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.clearRange#long-long-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param length Specifies the number of bytes being cleared in the request body. + * @param offset Optional starting point of the upload range. It will start from the beginning if it is + * {@code null} + * @param requestConditions {@link ShareRequestConditions} + * @return A response of {@link ShareFileUploadInfo file upload info} that only contains headers and response + * status code. + */ + public Mono> clearRangeWithResponse(long length, long offset, + ShareRequestConditions requestConditions) { try { - return withContext(context -> clearRangeWithResponse(length, offset, context)); + return withContext(context -> clearRangeWithResponse(length, offset, requestConditions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> clearRangeWithResponse(long length, long offset, Context context) { + Mono> clearRangeWithResponse(long length, long offset, + ShareRequestConditions requestConditions, Context context) { + requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; ShareFileRange range = new ShareFileRange(offset, offset + length - 1); return azureFileStorageClient.files() .uploadRangeWithRestResponseAsync(shareName, filePath, range.toString(), ShareFileRangeWriteType.CLEAR, - 0L, null, null, null, context) + 0L, null, null, null, requestConditions.getLeaseId(), context) .map(this::uploadResponse); } @@ -1035,12 +1417,35 @@ Mono> clearRangeWithResponse(long length, long off * @throws UncheckedIOException If an I/O error occurs. */ public Mono uploadFromFile(String uploadFilePath) { + return this.uploadFromFile(uploadFilePath, null); + } + + /** + * Uploads file to storage file service. + * + *

Code Samples

+ * + *

Upload the file from the source file path.

+ * + * (@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.uploadFromFile#string-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs Create File + * and + * Azure Docs Upload.

+ * + * @param uploadFilePath The path where store the source file to upload + * @param requestConditions {@link ShareRequestConditions} + * @return An empty response. + * @throws UncheckedIOException If an I/O error occurs. + */ + public Mono uploadFromFile(String uploadFilePath, ShareRequestConditions requestConditions) { try { return Mono.using(() -> channelSetup(uploadFilePath, StandardOpenOption.READ), channel -> Flux.fromIterable(sliceFile(uploadFilePath)) .flatMap(chunk -> uploadWithResponse(FluxUtil.readFile(channel, chunk.getStart(), chunk.getEnd() - chunk.getStart() + 1), chunk.getEnd() - chunk.getStart() + 1, - chunk.getStart()) + chunk.getStart(), requestConditions) .timeout(Duration.ofSeconds(DOWNLOAD_UPLOAD_CHUNK_TIMEOUT)) .retry(3, throwable -> throwable instanceof IOException || throwable instanceof TimeoutException)) @@ -1102,19 +1507,42 @@ public PagedFlux listRanges() { * @return {@link ShareFileRange ranges} in the files that satisfy the requirements */ public PagedFlux listRanges(ShareFileRange range) { + return this.listRanges(range, null); + } + + /** + * List of valid ranges for a file. + * + *

Code Samples

+ * + *

List all ranges within the file range from 1KB to 2KB.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileAsyncClient.listRanges#ShareFileRange-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param range Optional byte range which returns file data only from the specified range. + * @param requestConditions {@link ShareRequestConditions} + * @return {@link ShareFileRange ranges} in the files that satisfy the requirements + */ + public PagedFlux listRanges(ShareFileRange range, ShareRequestConditions requestConditions) { try { - return listRangesWithOptionalTimeout(range, null, Context.NONE); + return listRangesWithOptionalTimeout(range, requestConditions, null, Context.NONE); } catch (RuntimeException ex) { return pagedFluxError(logger, ex); } } - PagedFlux listRangesWithOptionalTimeout(ShareFileRange range, Duration timeout, Context context) { + PagedFlux listRangesWithOptionalTimeout(ShareFileRange range, + ShareRequestConditions requestConditions, Duration timeout, Context context) { + ShareRequestConditions finalRequestConditions = requestConditions == null + ? new ShareRequestConditions() : requestConditions; String rangeString = range == null ? null : range.toString(); Function>> retriever = marker -> StorageImplUtils.applyOptionalTimeout(this.azureFileStorageClient.files() - .getRangeListWithRestResponseAsync(shareName, filePath, snapshot, null, rangeString, context), - timeout) + .getRangeListWithRestResponseAsync(shareName, filePath, snapshot, null, rangeString, + finalRequestConditions.getLeaseId(), context), timeout) .map(response -> new PagedResponseBase<>(response.getRequest(), response.getStatusCode(), response.getHeaders(), @@ -1237,7 +1665,8 @@ Mono> forceCloseHandleWithResponse(String handleId, C .forceCloseHandlesWithRestResponseAsync(shareName, filePath, handleId, null, null, snapshot, context) .map(response -> new SimpleResponse<>(response, - new CloseHandlesInfo(response.getDeserializedHeaders().getNumberOfHandlesClosed()))); + new CloseHandlesInfo(response.getDeserializedHeaders().getNumberOfHandlesClosed(), + response.getDeserializedHeaders().getNumberOfHandlesFailedToClose()))); } /** @@ -1257,8 +1686,9 @@ Mono> forceCloseHandleWithResponse(String handleId, C public Mono forceCloseAllHandles() { try { return withContext(context -> forceCloseAllHandlesWithOptionalTimeout(null, context) - .reduce(new CloseHandlesInfo(0), - (accu, next) -> new CloseHandlesInfo(accu.getClosedHandles() + next.getClosedHandles()))); + .reduce(new CloseHandlesInfo(0, 0), + (accu, next) -> new CloseHandlesInfo(accu.getClosedHandles() + next.getClosedHandles(), + accu.getFailedHandles() + next.getFailedHandles()))); } catch (RuntimeException ex) { return monoError(logger, ex); } @@ -1273,7 +1703,8 @@ PagedFlux forceCloseAllHandlesWithOptionalTimeout(Duration tim response.getStatusCode(), response.getHeaders(), Collections.singletonList( - new CloseHandlesInfo(response.getDeserializedHeaders().getNumberOfHandlesClosed())), + new CloseHandlesInfo(response.getDeserializedHeaders().getNumberOfHandlesClosed(), + response.getDeserializedHeaders().getNumberOfHandlesFailedToClose())), response.getDeserializedHeaders().getMarker(), response.getDeserializedHeaders())); @@ -1394,6 +1825,9 @@ private Response getPropertiesResponse(final FilesGetProper String contentEncoding = headers.getContentEncoding(); String cacheControl = headers.getCacheControl(); String contentDisposition = headers.getContentDisposition(); + LeaseStatusType leaseStatusType = headers.getLeaseStatus(); + LeaseStateType leaseStateType = headers.getLeaseState(); + LeaseDurationType leaseDurationType = headers.getLeaseDuration(); OffsetDateTime copyCompletionTime = headers.getCopyCompletionTime(); String copyStatusDescription = headers.getCopyStatusDescription(); String copyId = headers.getCopyId(); @@ -1404,8 +1838,8 @@ private Response getPropertiesResponse(final FilesGetProper FileSmbProperties smbProperties = new FileSmbProperties(response.getHeaders()); ShareFileProperties shareFileProperties = new ShareFileProperties(eTag, lastModified, metadata, fileType, contentLength, contentType, contentMD5, contentEncoding, cacheControl, contentDisposition, - copyCompletionTime, copyStatusDescription, copyId, copyProgress, copySource, copyStatus, isServerEncrpted, - smbProperties); + leaseStatusType, leaseStateType, leaseDurationType, copyCompletionTime, copyStatusDescription, copyId, + copyProgress, copySource, copyStatus, isServerEncrpted, smbProperties); return new SimpleResponse<>(response, shareFileProperties); } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileClient.java index da9ae24e4d8a5..c5c514cf18dad 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileClient.java @@ -15,6 +15,7 @@ import com.azure.storage.common.Utility; import com.azure.storage.common.implementation.StorageImplUtils; import com.azure.storage.file.share.models.CloseHandlesInfo; +import com.azure.storage.file.share.models.PermissionCopyModeType; import com.azure.storage.file.share.models.ShareFileCopyInfo; import com.azure.storage.file.share.models.ShareFileDownloadResponse; import com.azure.storage.file.share.models.ShareFileHttpHeaders; @@ -22,6 +23,7 @@ import com.azure.storage.file.share.models.ShareFileMetadataInfo; import com.azure.storage.file.share.models.ShareFileProperties; import com.azure.storage.file.share.models.ShareFileRange; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.models.ShareStorageException; import com.azure.storage.file.share.models.ShareFileUploadInfo; import com.azure.storage.file.share.models.ShareFileUploadRangeFromUrlInfo; @@ -182,8 +184,43 @@ public ShareFileInfo create(long maxSize) { public Response createWithResponse(long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map metadata, Duration timeout, Context context) { + return this.createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, null, timeout, + context); + } + + /** + * Creates a file in the storage account and returns a response of ShareFileInfo to interact with it. + * + *

Code Samples

+ * + *

Create the file with length of 1024 bytes, some headers, file smb properties and metadata.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.createWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-Duration-Context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param maxSize The maximum size in bytes for the file, up to 1 TiB. + * @param httpHeaders The user settable file http headers. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file. + * @param metadata Optional name-value pairs associated with the file as metadata. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing the {@link ShareFileInfo file info} and the status of creating the file. + * @throws ShareStorageException If the directory has already existed, the parent directory does not exist or + * directory is an invalid resource name. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + * @see C# identifiers + */ + public Response createWithResponse(long maxSize, ShareFileHttpHeaders httpHeaders, + FileSmbProperties smbProperties, String filePermission, Map metadata, + ShareRequestConditions requestConditions, Duration timeout, Context context) { Mono> response = shareFileAsyncClient - .createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, context); + .createWithResponse(maxSize, httpHeaders, smbProperties, filePermission, metadata, requestConditions, + context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -208,8 +245,42 @@ public Response createWithResponse(long maxSize, ShareFileHttpHea * @see C# identifiers */ public SyncPoller beginCopy(String sourceUrl, Map metadata, - Duration pollInterval) { - return shareFileAsyncClient.beginCopy(sourceUrl, metadata, pollInterval) + Duration pollInterval) { + return this.beginCopy(sourceUrl, null, null, null, null, null, metadata, pollInterval, null); + } + + /** + * Copies a blob or file to a destination file within the storage account. + * + *

Code Samples

+ * + *

Copy file from source getDirectoryUrl to the {@code resourcePath}

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.beginCopy#string-filesmbproperties-string-permissioncopymodetype-boolean-boolean-map-duration-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs.

+ * + * @param sourceUrl Specifies the URL of the source file or blob, up to 2 KB in length. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file. + * @param filePermissionCopyMode Mode of file permission acquisition. + * @param ignoreReadOnly Whether or not to copy despite target being read only. (default is false) + * @param setArchiveAttribute Whether or not the archive attribute is to be set on the target. (default is true) + * @param metadata Optional name-value pairs associated with the file as metadata. Metadata names must adhere to the + * naming rules. + * @param pollInterval Duration between each poll for the copy status. If none is specified, a default of one second + * is used. + * @param destinationRequestConditions {@link ShareRequestConditions} + * @return A {@link SyncPoller} to poll the progress of copy operation. + * @see C# identifiers + */ + public SyncPoller beginCopy(String sourceUrl, FileSmbProperties smbProperties, + String filePermission, PermissionCopyModeType filePermissionCopyMode, Boolean ignoreReadOnly, + Boolean setArchiveAttribute, Map metadata, Duration pollInterval, + ShareRequestConditions destinationRequestConditions) { + return shareFileAsyncClient.beginCopy(sourceUrl, smbProperties, filePermission, filePermissionCopyMode, + ignoreReadOnly, setArchiveAttribute, metadata, pollInterval, destinationRequestConditions) .getSyncPoller(); } @@ -251,7 +322,32 @@ public void abortCopy(String copyId) { * @throws RuntimeException if the operation doesn't complete before the timeout concludes. */ public Response abortCopyWithResponse(String copyId, Duration timeout, Context context) { - Mono> response = shareFileAsyncClient.abortCopyWithResponse(copyId, context); + return this.abortCopyWithResponse(copyId, null, timeout, context); + } + + /** + * Aborts a pending Copy File operation, and leaves a destination file with zero length and full metadata. + * + *

Code Samples

+ * + *

Abort copy file from copy id("someCopyId")

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.abortCopyWithResponse#string-ShareRequestConditions-duration-context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param copyId Specifies the copy id which has copying pending status associate with it. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing the status of aborting copy the file. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response abortCopyWithResponse(String copyId, ShareRequestConditions requestConditions, + Duration timeout, Context context) { + Mono> response = shareFileAsyncClient.abortCopyWithResponse(copyId, requestConditions, context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -300,10 +396,37 @@ public ShareFileProperties downloadToFile(String downloadFilePath) { * @return The response of the file properties. */ public Response downloadToFileWithResponse(String downloadFilePath, ShareFileRange range, - Duration timeout, Context context) { + Duration timeout, Context context) { + return this.downloadToFileWithResponse(downloadFilePath, range, null, timeout, context); + } + /** + * Downloads a file from the system, including its metadata and properties into a file specified by the path. + * + *

The file will be created and must not exist, if the file already exists a {@link FileAlreadyExistsException} + * will be thrown.

+ * + *

Code Samples

+ * + *

Download the file from 1024 to 2048 bytes to current folder.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.downloadToFileWithResponse#String-ShareFileRange-ShareRequestConditions-Duration-Context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param downloadFilePath The path where store the downloaded file + * @param range Optional byte range which returns file data only from the specified range. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return The response of the file properties. + */ + public Response downloadToFileWithResponse(String downloadFilePath, ShareFileRange range, + ShareRequestConditions requestConditions, Duration timeout, Context context) { Mono> response = shareFileAsyncClient.downloadToFileWithResponse(downloadFilePath, - range, context); + range, requestConditions, context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -351,10 +474,39 @@ public void download(OutputStream stream) { */ public ShareFileDownloadResponse downloadWithResponse(OutputStream stream, ShareFileRange range, Boolean rangeGetContentMD5, Duration timeout, Context context) { + return this.downloadWithResponse(stream, range, rangeGetContentMD5, null, timeout, context); + } + + /** + * Downloads a file from the system, including its metadata and properties + * + *

Code Samples

+ * + *

Download the file from 1024 to 2048 bytes with its metadata and properties and without the contentMD5.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.downloadWithResponse#OutputStream-ShareFileRange-Boolean-ShareRequestConditions-Duration-Context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param stream A non-null {@link OutputStream} where the downloaded data will be written. + * @param range Optional byte range which returns file data only from the specified range. + * @param rangeGetContentMD5 Optional boolean which the service returns the MD5 hash for the range when it sets to + * true, as long as the range is less than or equal to 4 MB in size. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing the headers and response status code + * @throws NullPointerException If {@code stream} is {@code null}. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public ShareFileDownloadResponse downloadWithResponse(OutputStream stream, ShareFileRange range, + Boolean rangeGetContentMD5, ShareRequestConditions requestConditions, Duration timeout, Context context) { Objects.requireNonNull(stream, "'stream' cannot be null."); Mono download = shareFileAsyncClient.downloadWithResponse(range, rangeGetContentMD5, - context) + requestConditions, context) .flatMap(response -> response.getValue().reduce(stream, (outputStream, buffer) -> { try { outputStream.write(FluxUtil.byteBufferToArray(buffer)); @@ -406,7 +558,32 @@ public void delete() { * @throws RuntimeException if the operation doesn't complete before the timeout concludes. */ public Response deleteWithResponse(Duration timeout, Context context) { - Mono> response = shareFileAsyncClient.deleteWithResponse(context); + return this.deleteWithResponse(null, timeout, context); + } + + /** + * Deletes the file associate with the client. + * + *

Code Samples

+ * + *

Delete the file

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.deleteWithResponse#ShareRequestConditions-duration-context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response that only contains headers and response status code + * @throws ShareStorageException If the directory doesn't exist or the file doesn't exist. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response deleteWithResponse(ShareRequestConditions requestConditions, Duration timeout, + Context context) { + Mono> response = shareFileAsyncClient.deleteWithResponse(requestConditions, context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -450,7 +627,34 @@ public ShareFileProperties getProperties() { * @throws RuntimeException if the operation doesn't complete before the timeout concludes. */ public Response getPropertiesWithResponse(Duration timeout, Context context) { - Mono> response = shareFileAsyncClient.getPropertiesWithResponse(context); + return this.getPropertiesWithResponse(null, timeout, context); + } + + /** + * Retrieves the properties of the storage account's file. The properties includes file metadata, last modified + * date, is server encrypted, and eTag. + * + *

Code Samples

+ * + *

Retrieve file properties

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.getPropertiesWithResponse#ShareRequestConditions-duration-context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing the {@link ShareFileProperties Storage file properties} with headers and + * status code. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response getPropertiesWithResponse(ShareRequestConditions requestConditions, + Duration timeout, Context context) { + Mono> response = shareFileAsyncClient.getPropertiesWithResponse(requestConditions, + context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -516,8 +720,46 @@ public ShareFileInfo setProperties(long newFileSize, ShareFileHttpHeaders httpHe */ public Response setPropertiesWithResponse(long newFileSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Duration timeout, Context context) { + return this.setPropertiesWithResponse(newFileSize, httpHeaders, smbProperties, filePermission, null, + timeout, context); + } + + /** + * Sets the user-defined httpHeaders to associate to the file. + * + *

If {@code null} is passed for the httpHeaders it will clear the httpHeaders associated to the file.

+ * + *

Code Samples

+ * + *

Set the httpHeaders of contentType of "text/plain"

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions-Duration-Context} + * + *

Clear the httpHeaders of the file and preserve the SMB properties

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions-Duration-Context.clearHttpHeaderspreserveSMBProperties} + * + *

For more information, see the + * Azure Docs.

+ * + * @param newFileSize New file size of the file + * @param httpHeaders The user settable file http headers. + * @param smbProperties The user settable file smb properties. + * @param filePermission The file permission of the file + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return Response containing the {@link ShareFileInfo file info} with headers and status code + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response setPropertiesWithResponse(long newFileSize, ShareFileHttpHeaders httpHeaders, + FileSmbProperties smbProperties, String filePermission, ShareRequestConditions requestConditions, + Duration timeout, Context context) { Mono> response = shareFileAsyncClient - .setPropertiesWithResponse(newFileSize, httpHeaders, smbProperties, filePermission, context); + .setPropertiesWithResponse(newFileSize, httpHeaders, smbProperties, filePermission, requestConditions, + context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -575,8 +817,40 @@ public ShareFileMetadataInfo setMetadata(Map metadata) { */ public Response setMetadataWithResponse(Map metadata, Duration timeout, Context context) { + return this.setMetadataWithResponse(metadata, null, timeout, context); + } + + /** + * Sets the user-defined metadata to associate to the file. + * + *

If {@code null} is passed for the metadata it will clear the metadata associated to the file.

+ * + *

Code Samples

+ * + *

Set the metadata to "file:updatedMetadata"

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.setMetadataWithResponse#map-ShareRequestConditions-duration-context} + * + *

Clear the metadata of the file

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.setMetadataWithResponse#map-ShareRequestConditions-duration-context.clearMetadata} + * + *

For more information, see the + * Azure Docs.

+ * + * @param metadata Options.Metadata to set on the file, if null is passed the metadata for the file is cleared + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return Response containing the {@link ShareFileMetadataInfo file meta info} with headers and status code + * @throws ShareStorageException If the file doesn't exist or the metadata contains invalid keys + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response setMetadataWithResponse(Map metadata, + ShareRequestConditions requestConditions, Duration timeout, Context context) { Mono> response = shareFileAsyncClient - .setMetadataWithResponse(metadata, context); + .setMetadataWithResponse(metadata, requestConditions, context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -631,9 +905,40 @@ public ShareFileUploadInfo upload(InputStream data, long length) { */ public Response uploadWithResponse(InputStream data, long length, Long offset, Duration timeout, Context context) { + return this.uploadWithResponse(data, length, offset, null, timeout, context); + } + + /** + * Uploads a range of bytes to specific of a file in storage file service. Upload operations performs an in-place + * write on the specified file. + * + *

Code Samples

+ * + *

Upload data "default" starting from 1024.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.uploadWithResponse#InputStream-long-Long-ShareRequestConditions-Duration-Context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param data The data which will upload to the storage file. + * @param length Specifies the number of bytes being transmitted in the request body. + * @param offset Starting point of the upload range, if {@code null} it will start from the beginning. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing the {@link ShareFileUploadInfo file upload info} with headers and response + * status code. + * @throws ShareStorageException If you attempt to upload a range that is larger than 4 MB, the service returns + * status code 413 (Request Entity Too Large) + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response uploadWithResponse(InputStream data, long length, Long offset, + ShareRequestConditions requestConditions, Duration timeout, Context context) { return StorageImplUtils.blockWithOptionalTimeout(shareFileAsyncClient.uploadWithResponse(Utility .convertStreamToByteBuffer(data, length, (int) ShareFileAsyncClient.FILE_DEFAULT_BLOCK_SIZE), - length, offset, context), timeout); + length, offset, requestConditions, context), timeout); } /** @@ -687,8 +992,40 @@ public ShareFileUploadRangeFromUrlInfo uploadRangeFromUrl(long length, long dest // TODO: (gapra) Fix put range from URL link. Service docs have not been updated to show this API public Response uploadRangeFromUrlWithResponse(long length, long destinationOffset, long sourceOffset, String sourceUrl, Duration timeout, Context context) { + return this.uploadRangeFromUrlWithResponse(length, destinationOffset, sourceOffset, sourceUrl, null, timeout, + context); + } + + /** + * Uploads a range of bytes from one file to another file. + * + *

Code Samples

+ * + *

Upload a number of bytes from a file at defined source and destination offsets

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.uploadRangeFromUrlWithResponse#long-long-long-String-ShareRequestConditions-Duration-Context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param length Specifies the number of bytes being transmitted in the request body. + * @param destinationOffset Starting point of the upload range on the destination. + * @param sourceOffset Starting point of the upload range on the source. + * @param sourceUrl Specifies the URL of the source file. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing the {@link ShareFileUploadRangeFromUrlInfo file upload range from url info} with + * headers and response status code. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + // TODO: (gapra) Fix put range from URL link. Service docs have not been updated to show this API + public Response uploadRangeFromUrlWithResponse(long length, long destinationOffset, + long sourceOffset, String sourceUrl, ShareRequestConditions requestConditions, Duration timeout, + Context context) { Mono> response = shareFileAsyncClient.uploadRangeFromUrlWithResponse( - length, destinationOffset, sourceOffset, sourceUrl, context); + length, destinationOffset, sourceOffset, sourceUrl, requestConditions, context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -736,8 +1073,36 @@ public ShareFileUploadInfo clearRange(long length) { */ public Response clearRangeWithResponse(long length, long offset, Duration timeout, Context context) { + return this.clearRangeWithResponse(length, offset, null, timeout, context); + } + + /** + * Clears a range of bytes to specific of a file in storage file service. Upload operations performs an in-place + * write on the specified file. + * + *

Code Samples

+ * + *

Clear the range starting from 1024 with length of 1024.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.clearRangeWithResponse#long-long-ShareRequestConditions-Duration-Context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param length Specifies the number of bytes being transmitted in the request body. + * @param offset Starting point of the upload range, if {@code null} it will start from the beginning. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing the {@link ShareFileUploadInfo file upload info} with headers and response + * status code. + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public Response clearRangeWithResponse(long length, long offset, + ShareRequestConditions requestConditions, Duration timeout, Context context) { Mono> response = shareFileAsyncClient - .clearRangeWithResponse(length, offset, context); + .clearRangeWithResponse(length, offset, requestConditions, context); return StorageImplUtils.blockWithOptionalTimeout(response, timeout); } @@ -758,7 +1123,28 @@ public Response clearRangeWithResponse(long length, long of * @param uploadFilePath The path where store the source file to upload */ public void uploadFromFile(String uploadFilePath) { - shareFileAsyncClient.uploadFromFile(uploadFilePath).block(); + this.uploadFromFile(uploadFilePath, null); + } + + /** + * Uploads file to storage file service. + * + *

Code Samples

+ * + *

Upload the file from the source file path.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.uploadFromFile#string-ShareRequestConditions} + * + *

For more information, see the + * Azure Docs Create File + * and + * Azure Docs Upload.

+ * + * @param uploadFilePath The path where store the source file to upload + * @param requestConditions {@link ShareRequestConditions} + */ + public void uploadFromFile(String uploadFilePath, ShareRequestConditions requestConditions) { + shareFileAsyncClient.uploadFromFile(uploadFilePath, requestConditions).block(); } /** @@ -799,7 +1185,33 @@ public PagedIterable listRanges() { * @throws RuntimeException if the operation doesn't complete before the timeout concludes. */ public PagedIterable listRanges(ShareFileRange range, Duration timeout, Context context) { - return new PagedIterable<>(shareFileAsyncClient.listRangesWithOptionalTimeout(range, timeout, context)); + return this.listRanges(range, null, timeout, context); + } + + /** + * List of valid ranges for a file. + * + *

Code Samples

+ * + *

List all ranges within the file range from 1KB to 2KB.

+ * + * {@codesnippet com.azure.storage.file.share.ShareFileClient.listRanges#ShareFileRange-ShareRequestConditions-Duration-Context} + * + *

For more information, see the + * Azure Docs.

+ * + * @param range Optional byte range which returns file data only from the specified range. + * @param requestConditions {@link ShareRequestConditions} + * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout + * concludes a {@link RuntimeException} will be thrown. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return {@link ShareFileRange ranges} in the files that satisfy the requirements + * @throws RuntimeException if the operation doesn't complete before the timeout concludes. + */ + public PagedIterable listRanges(ShareFileRange range, ShareRequestConditions requestConditions, + Duration timeout, Context context) { + return new PagedIterable<>(shareFileAsyncClient.listRangesWithOptionalTimeout(range, requestConditions, timeout, + context)); } /** @@ -906,8 +1318,9 @@ public Response forceCloseHandleWithResponse(String handleId, */ public CloseHandlesInfo forceCloseAllHandles(Duration timeout, Context context) { return new PagedIterable<>(shareFileAsyncClient.forceCloseAllHandlesWithOptionalTimeout(timeout, context)) - .stream().reduce(new CloseHandlesInfo(0), - (accu, next) -> new CloseHandlesInfo(accu.getClosedHandles() + next.getClosedHandles())); + .stream().reduce(new CloseHandlesInfo(0, 0), + (accu, next) -> new CloseHandlesInfo(accu.getClosedHandles() + next.getClosedHandles(), + accu.getFailedHandles() + next.getFailedHandles())); } /** diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceVersion.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceVersion.java index 4e4346815bb6c..9a760bf910a65 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceVersion.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceVersion.java @@ -10,7 +10,8 @@ * The versions of Azure Storage File supported by this client library. */ public enum ShareServiceVersion implements ServiceVersion { - V2019_02_02("2019-02-02"); + V2019_02_02("2019-02-02"), + V2019_07_07("2019-07-07"); private final String version; @@ -32,6 +33,6 @@ public String getVersion() { * @return the latest {@link ShareServiceVersion} */ public static ShareServiceVersion getLatest() { - return V2019_02_02; + return V2019_07_07; } } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/AzureFileStorageBuilder.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/AzureFileStorageBuilder.java index af113205bdd07..f0fa820e9cc4d 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/AzureFileStorageBuilder.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/AzureFileStorageBuilder.java @@ -77,7 +77,7 @@ public AzureFileStorageImpl build() { if (this.version != null) { client.setVersion(this.version); } else { - client.setVersion("2019-02-02"); + client.setVersion("2019-07-07"); } if (this.url != null) { client.setUrl(this.url); diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/FilesImpl.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/FilesImpl.java index 183340f92fce4..0af9fd7459925 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/FilesImpl.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/FilesImpl.java @@ -22,7 +22,11 @@ import com.azure.core.http.rest.RestProxy; import com.azure.core.util.Base64Util; import com.azure.core.util.Context; +import com.azure.storage.file.share.implementation.models.CopyFileSmbInfo; import com.azure.storage.file.share.implementation.models.FilesAbortCopyResponse; +import com.azure.storage.file.share.implementation.models.FilesAcquireLeaseResponse; +import com.azure.storage.file.share.implementation.models.FilesBreakLeaseResponse; +import com.azure.storage.file.share.implementation.models.FilesChangeLeaseResponse; import com.azure.storage.file.share.implementation.models.FilesCreateResponse; import com.azure.storage.file.share.implementation.models.FilesDeleteResponse; import com.azure.storage.file.share.implementation.models.FilesDownloadResponse; @@ -30,6 +34,7 @@ import com.azure.storage.file.share.implementation.models.FilesGetPropertiesResponse; import com.azure.storage.file.share.implementation.models.FilesGetRangeListResponse; import com.azure.storage.file.share.implementation.models.FilesListHandlesResponse; +import com.azure.storage.file.share.implementation.models.FilesReleaseLeaseResponse; import com.azure.storage.file.share.implementation.models.FilesSetHTTPHeadersResponse; import com.azure.storage.file.share.implementation.models.FilesSetMetadataResponse; import com.azure.storage.file.share.implementation.models.FilesStartCopyResponse; @@ -37,6 +42,7 @@ import com.azure.storage.file.share.implementation.models.FilesUploadRangeResponse; import com.azure.storage.file.share.implementation.models.ShareFileRangeWriteType; import com.azure.storage.file.share.models.ShareStorageException; +import com.azure.storage.file.share.models.PermissionCopyModeType; import com.azure.storage.file.share.models.ShareFileHttpHeaders; import com.azure.storage.file.share.models.SourceModifiedAccessConditions; import java.nio.ByteBuffer; @@ -79,56 +85,56 @@ private interface FilesService { @Put("{shareName}/{filePath}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono create(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-content-length") long fileContentLength, @HeaderParam("x-ms-type") String fileTypeConstant, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-file-permission") String filePermission, @HeaderParam("x-ms-file-permission-key") String filePermissionKey, @HeaderParam("x-ms-file-attributes") String fileAttributes, @HeaderParam("x-ms-file-creation-time") String fileCreationTime, @HeaderParam("x-ms-file-last-write-time") String fileLastWriteTime, @HeaderParam("x-ms-content-type") String contentType, @HeaderParam("x-ms-content-encoding") String contentEncoding, @HeaderParam("x-ms-content-language") String contentLanguage, @HeaderParam("x-ms-cache-control") String cacheControl, @HeaderParam("x-ms-content-md5") String contentMd5, @HeaderParam("x-ms-content-disposition") String contentDisposition, Context context); + Mono create(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-content-length") long fileContentLength, @HeaderParam("x-ms-type") String fileTypeConstant, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-file-permission") String filePermission, @HeaderParam("x-ms-file-permission-key") String filePermissionKey, @HeaderParam("x-ms-file-attributes") String fileAttributes, @HeaderParam("x-ms-file-creation-time") String fileCreationTime, @HeaderParam("x-ms-file-last-write-time") String fileLastWriteTime, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-content-type") String contentType, @HeaderParam("x-ms-content-encoding") String contentEncoding, @HeaderParam("x-ms-content-language") String contentLanguage, @HeaderParam("x-ms-cache-control") String cacheControl, @HeaderParam("x-ms-content-md5") String contentMd5, @HeaderParam("x-ms-content-disposition") String contentDisposition, Context context); @Get("{shareName}/{filePath}") @ExpectedResponses({200, 206}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono download(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-range-get-content-md5") Boolean rangeGetContentMD5, Context context); + Mono download(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-range-get-content-md5") Boolean rangeGetContentMD5, @HeaderParam("x-ms-lease-id") String leaseId, Context context); @Head("{shareName}/{filePath}") @ExpectedResponses({200}) - Mono getProperties(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("sharesnapshot") String sharesnapshot, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, Context context); + Mono getProperties(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("sharesnapshot") String sharesnapshot, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-lease-id") String leaseId, Context context); @Delete("{shareName}/{filePath}") @ExpectedResponses({202}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono delete(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, Context context); + Mono delete(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-lease-id") String leaseId, Context context); @Put("{shareName}/{filePath}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono setHTTPHeaders(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-content-length") Long fileContentLength, @HeaderParam("x-ms-file-permission") String filePermission, @HeaderParam("x-ms-file-permission-key") String filePermissionKey, @HeaderParam("x-ms-file-attributes") String fileAttributes, @HeaderParam("x-ms-file-creation-time") String fileCreationTime, @HeaderParam("x-ms-file-last-write-time") String fileLastWriteTime, @QueryParam("comp") String comp, @HeaderParam("x-ms-content-type") String contentType, @HeaderParam("x-ms-content-encoding") String contentEncoding, @HeaderParam("x-ms-content-language") String contentLanguage, @HeaderParam("x-ms-cache-control") String cacheControl, @HeaderParam("x-ms-content-md5") String contentMd5, @HeaderParam("x-ms-content-disposition") String contentDisposition, Context context); + Mono setHTTPHeaders(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-content-length") Long fileContentLength, @HeaderParam("x-ms-file-permission") String filePermission, @HeaderParam("x-ms-file-permission-key") String filePermissionKey, @HeaderParam("x-ms-file-attributes") String fileAttributes, @HeaderParam("x-ms-file-creation-time") String fileCreationTime, @HeaderParam("x-ms-file-last-write-time") String fileLastWriteTime, @HeaderParam("x-ms-lease-id") String leaseId, @QueryParam("comp") String comp, @HeaderParam("x-ms-content-type") String contentType, @HeaderParam("x-ms-content-encoding") String contentEncoding, @HeaderParam("x-ms-content-language") String contentLanguage, @HeaderParam("x-ms-cache-control") String cacheControl, @HeaderParam("x-ms-content-md5") String contentMd5, @HeaderParam("x-ms-content-disposition") String contentDisposition, Context context); @Put("{shareName}/{filePath}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono setMetadata(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-version") String version, @QueryParam("comp") String comp, Context context); + Mono setMetadata(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-lease-id") String leaseId, @QueryParam("comp") String comp, Context context); @Put("{shareName}/{filePath}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono uploadRange(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @BodyParam("application/octet-stream") Flux optionalbody, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-write") ShareFileRangeWriteType fileRangeWrite, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String contentMD5, @HeaderParam("x-ms-version") String version, @QueryParam("comp") String comp, Context context); + Mono uploadRange(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @BodyParam("application/octet-stream") Flux optionalbody, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-write") ShareFileRangeWriteType fileRangeWrite, @HeaderParam("Content-Length") long contentLength, @HeaderParam("Content-MD5") String contentMD5, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-lease-id") String leaseId, @QueryParam("comp") String comp, Context context); @Put("{shareName}/{filePath}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono uploadRangeFromURL(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-copy-source") String copySource, @HeaderParam("x-ms-source-range") String sourceRange, @HeaderParam("x-ms-write") String fileRangeWriteFromUrl, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-source-content-crc64") String sourceContentCrc64, @HeaderParam("x-ms-version") String version, @QueryParam("comp") String comp, @HeaderParam("x-ms-source-if-match-crc64") String sourceIfMatchCrc64, @HeaderParam("x-ms-source-if-none-match-crc64") String sourceIfNoneMatchCrc64, Context context); + Mono uploadRangeFromURL(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-copy-source") String copySource, @HeaderParam("x-ms-source-range") String sourceRange, @HeaderParam("x-ms-write") String fileRangeWriteFromUrl, @HeaderParam("Content-Length") long contentLength, @HeaderParam("x-ms-source-content-crc64") String sourceContentCrc64, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-lease-id") String leaseId, @QueryParam("comp") String comp, @HeaderParam("x-ms-source-if-match-crc64") String sourceIfMatchCrc64, @HeaderParam("x-ms-source-if-none-match-crc64") String sourceIfNoneMatchCrc64, Context context); @Get("{shareName}/{filePath}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono getRangeList(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("sharesnapshot") String sharesnapshot, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-range") String range, @QueryParam("comp") String comp, Context context); + Mono getRangeList(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("sharesnapshot") String sharesnapshot, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-range") String range, @HeaderParam("x-ms-lease-id") String leaseId, @QueryParam("comp") String comp, Context context); @Put("{shareName}/{filePath}") @ExpectedResponses({202}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono startCopy(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-copy-source") String copySource, Context context); + Mono startCopy(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-copy-source") String copySource, @HeaderParam("x-ms-file-permission") String filePermission, @HeaderParam("x-ms-file-permission-key") String filePermissionKey, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-file-permission-copy-mode") PermissionCopyModeType filePermissionCopyMode, @HeaderParam("x-ms-file-copy-ignore-read-only") Boolean ignoreReadOnly, @HeaderParam("x-ms-file-attributes") String fileAttributes, @HeaderParam("x-ms-file-creation-time") String fileCreationTime, @HeaderParam("x-ms-file-last-write-time") String fileLastWriteTime, @HeaderParam("x-ms-file-copy-set-archive") Boolean setArchiveAttribute, Context context); @Put("{shareName}/{filePath}") @ExpectedResponses({204}) @UnexpectedResponseExceptionType(ShareStorageException.class) - Mono abortCopy(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("copyid") String copyId, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-copy-action") String copyActionAbortConstant, @HeaderParam("x-ms-version") String version, @QueryParam("comp") String comp, Context context); + Mono abortCopy(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("copyid") String copyId, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-copy-action") String copyActionAbortConstant, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-lease-id") String leaseId, @QueryParam("comp") String comp, Context context); @Get("{shareName}/{filePath}") @ExpectedResponses({200}) @@ -139,6 +145,26 @@ private interface FilesService { @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ShareStorageException.class) Mono forceCloseHandles(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @QueryParam("marker") String marker, @QueryParam("sharesnapshot") String sharesnapshot, @HeaderParam("x-ms-handle-id") String handleId, @HeaderParam("x-ms-version") String version, @QueryParam("comp") String comp, Context context); + + @Put("{shareName}/{filePath}") + @ExpectedResponses({201}) + @UnexpectedResponseExceptionType(ShareStorageException.class) + Mono acquireLease(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-duration") Integer duration, @HeaderParam("x-ms-proposed-lease-id") String proposedLeaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-lease-action") String action, Context context); + + @Put("{shareName}/{filePath}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ShareStorageException.class) + Mono releaseLease(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-lease-action") String action, Context context); + + @Put("{shareName}/{filePath}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ShareStorageException.class) + Mono changeLease(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-proposed-lease-id") String proposedLeaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-lease-action") String action, Context context); + + @Put("{shareName}/{filePath}") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(ShareStorageException.class) + Mono breakLease(@PathParam("shareName") String shareName, @PathParam("filePath") String filePath, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-lease-id") String leaseId, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, @QueryParam("comp") String comp, @HeaderParam("x-ms-lease-action") String action, Context context); } /** @@ -161,13 +187,14 @@ public Mono createWithRestResponseAsync(String shareName, S final Map metadata = null; final String filePermission = null; final String filePermissionKey = null; + final String leaseId = null; final String contentType = null; final String contentEncoding = null; final String contentLanguage = null; final String cacheControl = null; final String contentDisposition = null; String contentMd5Converted = null; - return service.create(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), fileContentLength, fileTypeConstant, metadata, filePermission, filePermissionKey, fileAttributes, fileCreationTime, fileLastWriteTime, contentType, contentEncoding, contentLanguage, cacheControl, contentMd5Converted, contentDisposition, context); + return service.create(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), fileContentLength, fileTypeConstant, metadata, filePermission, filePermissionKey, fileAttributes, fileCreationTime, fileLastWriteTime, leaseId, contentType, contentEncoding, contentLanguage, cacheControl, contentMd5Converted, contentDisposition, context); } /** @@ -183,13 +210,14 @@ public Mono createWithRestResponseAsync(String shareName, S * @param metadata A name-value pair to associate with a file storage object. * @param filePermission If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. * @param filePermissionKey Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param shareFileHttpHeaders Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createWithRestResponseAsync(String shareName, String filePath, long fileContentLength, String fileAttributes, String fileCreationTime, String fileLastWriteTime, Integer timeout, Map metadata, String filePermission, String filePermissionKey, ShareFileHttpHeaders shareFileHttpHeaders, Context context) { + public Mono createWithRestResponseAsync(String shareName, String filePath, long fileContentLength, String fileAttributes, String fileCreationTime, String fileLastWriteTime, Integer timeout, Map metadata, String filePermission, String filePermissionKey, String leaseId, ShareFileHttpHeaders shareFileHttpHeaders, Context context) { final String fileTypeConstant = "file"; String contentType = null; if (shareFileHttpHeaders != null) { @@ -216,7 +244,7 @@ public Mono createWithRestResponseAsync(String shareName, S contentDisposition = shareFileHttpHeaders.getContentDisposition(); } String contentMd5Converted = Base64Util.encodeToString(contentMd5); - return service.create(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), fileContentLength, fileTypeConstant, metadata, filePermission, filePermissionKey, fileAttributes, fileCreationTime, fileLastWriteTime, contentType, contentEncoding, contentLanguage, cacheControl, contentMd5Converted, contentDisposition, context); + return service.create(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), fileContentLength, fileTypeConstant, metadata, filePermission, filePermissionKey, fileAttributes, fileCreationTime, fileLastWriteTime, leaseId, contentType, contentEncoding, contentLanguage, cacheControl, contentMd5Converted, contentDisposition, context); } /** @@ -233,7 +261,8 @@ public Mono downloadWithRestResponseAsync(String shareNam final Integer timeout = null; final String range = null; final Boolean rangeGetContentMD5 = null; - return service.download(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), range, rangeGetContentMD5, context); + final String leaseId = null; + return service.download(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), range, rangeGetContentMD5, leaseId, context); } /** @@ -244,13 +273,14 @@ public Mono downloadWithRestResponseAsync(String shareNam * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. * @param range Return file data only from the specified byte range. * @param rangeGetContentMD5 When this header is set to true and specified together with the Range header, the service returns the MD5 hash for the range, as long as the range is less than or equal to 4 MB in size. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadWithRestResponseAsync(String shareName, String filePath, Integer timeout, String range, Boolean rangeGetContentMD5, Context context) { - return service.download(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), range, rangeGetContentMD5, context); + public Mono downloadWithRestResponseAsync(String shareName, String filePath, Integer timeout, String range, Boolean rangeGetContentMD5, String leaseId, Context context) { + return service.download(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), range, rangeGetContentMD5, leaseId, context); } /** @@ -266,7 +296,8 @@ public Mono downloadWithRestResponseAsync(String shareNam public Mono getPropertiesWithRestResponseAsync(String shareName, String filePath, Context context) { final String sharesnapshot = null; final Integer timeout = null; - return service.getProperties(shareName, filePath, this.client.getUrl(), sharesnapshot, timeout, this.client.getVersion(), context); + final String leaseId = null; + return service.getProperties(shareName, filePath, this.client.getUrl(), sharesnapshot, timeout, this.client.getVersion(), leaseId, context); } /** @@ -276,13 +307,14 @@ public Mono getPropertiesWithRestResponseAsync(Strin * @param filePath The path of the target file. * @param sharesnapshot The snapshot parameter is an opaque DateTime value that, when present, specifies the share snapshot to query. * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPropertiesWithRestResponseAsync(String shareName, String filePath, String sharesnapshot, Integer timeout, Context context) { - return service.getProperties(shareName, filePath, this.client.getUrl(), sharesnapshot, timeout, this.client.getVersion(), context); + public Mono getPropertiesWithRestResponseAsync(String shareName, String filePath, String sharesnapshot, Integer timeout, String leaseId, Context context) { + return service.getProperties(shareName, filePath, this.client.getUrl(), sharesnapshot, timeout, this.client.getVersion(), leaseId, context); } /** @@ -297,7 +329,8 @@ public Mono getPropertiesWithRestResponseAsync(Strin @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteWithRestResponseAsync(String shareName, String filePath, Context context) { final Integer timeout = null; - return service.delete(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), context); + final String leaseId = null; + return service.delete(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), leaseId, context); } /** @@ -306,13 +339,14 @@ public Mono deleteWithRestResponseAsync(String shareName, S * @param shareName The name of the target share. * @param filePath The path of the target file. * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteWithRestResponseAsync(String shareName, String filePath, Integer timeout, Context context) { - return service.delete(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), context); + public Mono deleteWithRestResponseAsync(String shareName, String filePath, Integer timeout, String leaseId, Context context) { + return service.delete(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), leaseId, context); } /** @@ -333,6 +367,7 @@ public Mono setHTTPHeadersWithRestResponseAsync(Str final Long fileContentLength = null; final String filePermission = null; final String filePermissionKey = null; + final String leaseId = null; final String comp = "properties"; final String contentType = null; final String contentEncoding = null; @@ -340,7 +375,7 @@ public Mono setHTTPHeadersWithRestResponseAsync(Str final String cacheControl = null; final String contentDisposition = null; String contentMd5Converted = null; - return service.setHTTPHeaders(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), fileContentLength, filePermission, filePermissionKey, fileAttributes, fileCreationTime, fileLastWriteTime, comp, contentType, contentEncoding, contentLanguage, cacheControl, contentMd5Converted, contentDisposition, context); + return service.setHTTPHeaders(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), fileContentLength, filePermission, filePermissionKey, fileAttributes, fileCreationTime, fileLastWriteTime, leaseId, comp, contentType, contentEncoding, contentLanguage, cacheControl, contentMd5Converted, contentDisposition, context); } /** @@ -355,13 +390,14 @@ public Mono setHTTPHeadersWithRestResponseAsync(Str * @param fileContentLength Resizes a file to the specified size. If the specified byte value is less than the current size of the file, then all ranges above the specified byte value are cleared. * @param filePermission If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. * @param filePermissionKey Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param shareFileHttpHeaders Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono setHTTPHeadersWithRestResponseAsync(String shareName, String filePath, String fileAttributes, String fileCreationTime, String fileLastWriteTime, Integer timeout, Long fileContentLength, String filePermission, String filePermissionKey, ShareFileHttpHeaders shareFileHttpHeaders, Context context) { + public Mono setHTTPHeadersWithRestResponseAsync(String shareName, String filePath, String fileAttributes, String fileCreationTime, String fileLastWriteTime, Integer timeout, Long fileContentLength, String filePermission, String filePermissionKey, String leaseId, ShareFileHttpHeaders shareFileHttpHeaders, Context context) { final String comp = "properties"; String contentType = null; if (shareFileHttpHeaders != null) { @@ -388,7 +424,7 @@ public Mono setHTTPHeadersWithRestResponseAsync(Str contentDisposition = shareFileHttpHeaders.getContentDisposition(); } String contentMd5Converted = Base64Util.encodeToString(contentMd5); - return service.setHTTPHeaders(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), fileContentLength, filePermission, filePermissionKey, fileAttributes, fileCreationTime, fileLastWriteTime, comp, contentType, contentEncoding, contentLanguage, cacheControl, contentMd5Converted, contentDisposition, context); + return service.setHTTPHeaders(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), fileContentLength, filePermission, filePermissionKey, fileAttributes, fileCreationTime, fileLastWriteTime, leaseId, comp, contentType, contentEncoding, contentLanguage, cacheControl, contentMd5Converted, contentDisposition, context); } /** @@ -404,8 +440,9 @@ public Mono setHTTPHeadersWithRestResponseAsync(Str public Mono setMetadataWithRestResponseAsync(String shareName, String filePath, Context context) { final Integer timeout = null; final Map metadata = null; + final String leaseId = null; final String comp = "metadata"; - return service.setMetadata(shareName, filePath, this.client.getUrl(), timeout, metadata, this.client.getVersion(), comp, context); + return service.setMetadata(shareName, filePath, this.client.getUrl(), timeout, metadata, this.client.getVersion(), leaseId, comp, context); } /** @@ -415,14 +452,15 @@ public Mono setMetadataWithRestResponseAsync(String sh * @param filePath The path of the target file. * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. * @param metadata A name-value pair to associate with a file storage object. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono setMetadataWithRestResponseAsync(String shareName, String filePath, Integer timeout, Map metadata, Context context) { + public Mono setMetadataWithRestResponseAsync(String shareName, String filePath, Integer timeout, Map metadata, String leaseId, Context context) { final String comp = "metadata"; - return service.setMetadata(shareName, filePath, this.client.getUrl(), timeout, metadata, this.client.getVersion(), comp, context); + return service.setMetadata(shareName, filePath, this.client.getUrl(), timeout, metadata, this.client.getVersion(), leaseId, comp, context); } /** @@ -441,9 +479,10 @@ public Mono setMetadataWithRestResponseAsync(String sh public Mono uploadRangeWithRestResponseAsync(String shareName, String filePath, String range, ShareFileRangeWriteType fileRangeWrite, long contentLength, Context context) { final Flux optionalbody = null; final Integer timeout = null; + final String leaseId = null; final String comp = "range"; String contentMD5Converted = null; - return service.uploadRange(shareName, filePath, this.client.getUrl(), optionalbody, timeout, range, fileRangeWrite, contentLength, contentMD5Converted, this.client.getVersion(), comp, context); + return service.uploadRange(shareName, filePath, this.client.getUrl(), optionalbody, timeout, range, fileRangeWrite, contentLength, contentMD5Converted, this.client.getVersion(), leaseId, comp, context); } /** @@ -457,15 +496,16 @@ public Mono uploadRangeWithRestResponseAsync(String sh * @param optionalbody Initial data. * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. * @param contentMD5 An MD5 hash of the content. This hash is used to verify the integrity of the data during transport. When the Content-MD5 header is specified, the File service compares the hash of the content that has arrived with the header value that was sent. If the two hashes do not match, the operation will fail with error code 400 (Bad Request). + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadRangeWithRestResponseAsync(String shareName, String filePath, String range, ShareFileRangeWriteType fileRangeWrite, long contentLength, Flux optionalbody, Integer timeout, byte[] contentMD5, Context context) { + public Mono uploadRangeWithRestResponseAsync(String shareName, String filePath, String range, ShareFileRangeWriteType fileRangeWrite, long contentLength, Flux optionalbody, Integer timeout, byte[] contentMD5, String leaseId, Context context) { final String comp = "range"; String contentMD5Converted = Base64Util.encodeToString(contentMD5); - return service.uploadRange(shareName, filePath, this.client.getUrl(), optionalbody, timeout, range, fileRangeWrite, contentLength, contentMD5Converted, this.client.getVersion(), comp, context); + return service.uploadRange(shareName, filePath, this.client.getUrl(), optionalbody, timeout, range, fileRangeWrite, contentLength, contentMD5Converted, this.client.getVersion(), leaseId, comp, context); } /** @@ -485,11 +525,12 @@ public Mono uploadRangeFromURLWithRestResponseA final Integer timeout = null; final String sourceRange = null; final String fileRangeWriteFromUrl = "update"; + final String leaseId = null; final String comp = "range"; String sourceContentCrc64Converted = null; String sourceIfMatchCrc64Converted = null; String sourceIfNoneMatchCrc64Converted = null; - return service.uploadRangeFromURL(shareName, filePath, this.client.getUrl(), timeout, range, copySource, sourceRange, fileRangeWriteFromUrl, contentLength, sourceContentCrc64Converted, this.client.getVersion(), comp, sourceIfMatchCrc64Converted, sourceIfNoneMatchCrc64Converted, context); + return service.uploadRangeFromURL(shareName, filePath, this.client.getUrl(), timeout, range, copySource, sourceRange, fileRangeWriteFromUrl, contentLength, sourceContentCrc64Converted, this.client.getVersion(), leaseId, comp, sourceIfMatchCrc64Converted, sourceIfNoneMatchCrc64Converted, context); } /** @@ -503,13 +544,14 @@ public Mono uploadRangeFromURLWithRestResponseA * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. * @param sourceRange Bytes of source data in the specified range. * @param sourceContentCrc64 Specify the crc64 calculated for the range of bytes that must be read from the copy source. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param sourceModifiedAccessConditions Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadRangeFromURLWithRestResponseAsync(String shareName, String filePath, String range, String copySource, long contentLength, Integer timeout, String sourceRange, byte[] sourceContentCrc64, SourceModifiedAccessConditions sourceModifiedAccessConditions, Context context) { + public Mono uploadRangeFromURLWithRestResponseAsync(String shareName, String filePath, String range, String copySource, long contentLength, Integer timeout, String sourceRange, byte[] sourceContentCrc64, String leaseId, SourceModifiedAccessConditions sourceModifiedAccessConditions, Context context) { final String fileRangeWriteFromUrl = "update"; final String comp = "range"; byte[] sourceIfMatchCrc64 = null; @@ -523,7 +565,7 @@ public Mono uploadRangeFromURLWithRestResponseA String sourceContentCrc64Converted = Base64Util.encodeToString(sourceContentCrc64); String sourceIfMatchCrc64Converted = Base64Util.encodeToString(sourceIfMatchCrc64); String sourceIfNoneMatchCrc64Converted = Base64Util.encodeToString(sourceIfNoneMatchCrc64); - return service.uploadRangeFromURL(shareName, filePath, this.client.getUrl(), timeout, range, copySource, sourceRange, fileRangeWriteFromUrl, contentLength, sourceContentCrc64Converted, this.client.getVersion(), comp, sourceIfMatchCrc64Converted, sourceIfNoneMatchCrc64Converted, context); + return service.uploadRangeFromURL(shareName, filePath, this.client.getUrl(), timeout, range, copySource, sourceRange, fileRangeWriteFromUrl, contentLength, sourceContentCrc64Converted, this.client.getVersion(), leaseId, comp, sourceIfMatchCrc64Converted, sourceIfNoneMatchCrc64Converted, context); } /** @@ -540,8 +582,9 @@ public Mono getRangeListWithRestResponseAsync(String final String sharesnapshot = null; final Integer timeout = null; final String range = null; + final String leaseId = null; final String comp = "rangelist"; - return service.getRangeList(shareName, filePath, this.client.getUrl(), sharesnapshot, timeout, this.client.getVersion(), range, comp, context); + return service.getRangeList(shareName, filePath, this.client.getUrl(), sharesnapshot, timeout, this.client.getVersion(), range, leaseId, comp, context); } /** @@ -552,14 +595,15 @@ public Mono getRangeListWithRestResponseAsync(String * @param sharesnapshot The snapshot parameter is an opaque DateTime value that, when present, specifies the share snapshot to query. * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. * @param range Specifies the range of bytes over which to list ranges, inclusively. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getRangeListWithRestResponseAsync(String shareName, String filePath, String sharesnapshot, Integer timeout, String range, Context context) { + public Mono getRangeListWithRestResponseAsync(String shareName, String filePath, String sharesnapshot, Integer timeout, String range, String leaseId, Context context) { final String comp = "rangelist"; - return service.getRangeList(shareName, filePath, this.client.getUrl(), sharesnapshot, timeout, this.client.getVersion(), range, comp, context); + return service.getRangeList(shareName, filePath, this.client.getUrl(), sharesnapshot, timeout, this.client.getVersion(), range, leaseId, comp, context); } /** @@ -576,7 +620,16 @@ public Mono getRangeListWithRestResponseAsync(String public Mono startCopyWithRestResponseAsync(String shareName, String filePath, String copySource, Context context) { final Integer timeout = null; final Map metadata = null; - return service.startCopy(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), metadata, copySource, context); + final String filePermission = null; + final String filePermissionKey = null; + final String leaseId = null; + final PermissionCopyModeType filePermissionCopyMode = null; + final Boolean ignoreReadOnly = null; + final String fileAttributes = null; + final String fileCreationTime = null; + final String fileLastWriteTime = null; + final Boolean setArchiveAttribute = null; + return service.startCopy(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), metadata, copySource, filePermission, filePermissionKey, leaseId, filePermissionCopyMode, ignoreReadOnly, fileAttributes, fileCreationTime, fileLastWriteTime, setArchiveAttribute, context); } /** @@ -587,13 +640,41 @@ public Mono startCopyWithRestResponseAsync(String shareN * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file to another file within the same storage account, you may use Shared Key to authenticate the source file. If you are copying a file from another storage account, or if you are copying a blob from the same storage account or another storage account, then you must authenticate the source file or blob using a shared access signature. If the source is a public blob, no authentication is required to perform the copy operation. A file in a share snapshot can also be specified as a copy source. * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. * @param metadata A name-value pair to associate with a file storage object. + * @param filePermission If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. + * @param filePermissionKey Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. + * @param copyFileSmbInfo Additional parameters for the operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startCopyWithRestResponseAsync(String shareName, String filePath, String copySource, Integer timeout, Map metadata, Context context) { - return service.startCopy(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), metadata, copySource, context); + public Mono startCopyWithRestResponseAsync(String shareName, String filePath, String copySource, Integer timeout, Map metadata, String filePermission, String filePermissionKey, String leaseId, CopyFileSmbInfo copyFileSmbInfo, Context context) { + PermissionCopyModeType filePermissionCopyMode = null; + if (copyFileSmbInfo != null) { + filePermissionCopyMode = copyFileSmbInfo.getFilePermissionCopyMode(); + } + Boolean ignoreReadOnly = null; + if (copyFileSmbInfo != null) { + ignoreReadOnly = copyFileSmbInfo.isIgnoreReadOnly(); + } + String fileAttributes = null; + if (copyFileSmbInfo != null) { + fileAttributes = copyFileSmbInfo.getFileAttributes(); + } + String fileCreationTime = null; + if (copyFileSmbInfo != null) { + fileCreationTime = copyFileSmbInfo.getFileCreationTime(); + } + String fileLastWriteTime = null; + if (copyFileSmbInfo != null) { + fileLastWriteTime = copyFileSmbInfo.getFileLastWriteTime(); + } + Boolean setArchiveAttribute = null; + if (copyFileSmbInfo != null) { + setArchiveAttribute = copyFileSmbInfo.isSetArchiveAttribute(); + } + return service.startCopy(shareName, filePath, this.client.getUrl(), timeout, this.client.getVersion(), metadata, copySource, filePermission, filePermissionKey, leaseId, filePermissionCopyMode, ignoreReadOnly, fileAttributes, fileCreationTime, fileLastWriteTime, setArchiveAttribute, context); } /** @@ -610,8 +691,9 @@ public Mono startCopyWithRestResponseAsync(String shareN public Mono abortCopyWithRestResponseAsync(String shareName, String filePath, String copyId, Context context) { final Integer timeout = null; final String copyActionAbortConstant = "abort"; + final String leaseId = null; final String comp = "copy"; - return service.abortCopy(shareName, filePath, this.client.getUrl(), copyId, timeout, copyActionAbortConstant, this.client.getVersion(), comp, context); + return service.abortCopy(shareName, filePath, this.client.getUrl(), copyId, timeout, copyActionAbortConstant, this.client.getVersion(), leaseId, comp, context); } /** @@ -621,15 +703,16 @@ public Mono abortCopyWithRestResponseAsync(String shareN * @param filePath The path of the target file. * @param copyId The copy identifier provided in the x-ms-copy-id header of the original Copy File operation. * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono abortCopyWithRestResponseAsync(String shareName, String filePath, String copyId, Integer timeout, Context context) { + public Mono abortCopyWithRestResponseAsync(String shareName, String filePath, String copyId, Integer timeout, String leaseId, Context context) { final String copyActionAbortConstant = "abort"; final String comp = "copy"; - return service.abortCopy(shareName, filePath, this.client.getUrl(), copyId, timeout, copyActionAbortConstant, this.client.getVersion(), comp, context); + return service.abortCopy(shareName, filePath, this.client.getUrl(), copyId, timeout, copyActionAbortConstant, this.client.getVersion(), leaseId, comp, context); } /** @@ -707,4 +790,160 @@ public Mono forceCloseHandlesWithRestResponseAsy final String comp = "forceclosehandles"; return service.forceCloseHandles(shareName, filePath, this.client.getUrl(), timeout, marker, sharesnapshot, handleId, this.client.getVersion(), comp, context); } + + /** + * [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations. + * + * @param shareName The name of the target share. + * @param filePath The path of the target file. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @return a Mono which performs the network request upon subscription. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono acquireLeaseWithRestResponseAsync(String shareName, String filePath, Context context) { + final Integer timeout = null; + final Integer duration = null; + final String proposedLeaseId = null; + final String requestId = null; + final String comp = "lease"; + final String action = "acquire"; + return service.acquireLease(shareName, filePath, this.client.getUrl(), timeout, duration, proposedLeaseId, this.client.getVersion(), requestId, comp, action, context); + } + + /** + * [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations. + * + * @param shareName The name of the target share. + * @param filePath The path of the target file. + * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. + * @param duration Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change. + * @param proposedLeaseId Proposed lease ID, in a GUID string format. The File service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. + * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @return a Mono which performs the network request upon subscription. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono acquireLeaseWithRestResponseAsync(String shareName, String filePath, Integer timeout, Integer duration, String proposedLeaseId, String requestId, Context context) { + final String comp = "lease"; + final String action = "acquire"; + return service.acquireLease(shareName, filePath, this.client.getUrl(), timeout, duration, proposedLeaseId, this.client.getVersion(), requestId, comp, action, context); + } + + /** + * [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations. + * + * @param shareName The name of the target share. + * @param filePath The path of the target file. + * @param leaseId Specifies the current lease ID on the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @return a Mono which performs the network request upon subscription. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono releaseLeaseWithRestResponseAsync(String shareName, String filePath, String leaseId, Context context) { + final Integer timeout = null; + final String requestId = null; + final String comp = "lease"; + final String action = "release"; + return service.releaseLease(shareName, filePath, this.client.getUrl(), timeout, leaseId, this.client.getVersion(), requestId, comp, action, context); + } + + /** + * [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations. + * + * @param shareName The name of the target share. + * @param filePath The path of the target file. + * @param leaseId Specifies the current lease ID on the resource. + * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. + * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @return a Mono which performs the network request upon subscription. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono releaseLeaseWithRestResponseAsync(String shareName, String filePath, String leaseId, Integer timeout, String requestId, Context context) { + final String comp = "lease"; + final String action = "release"; + return service.releaseLease(shareName, filePath, this.client.getUrl(), timeout, leaseId, this.client.getVersion(), requestId, comp, action, context); + } + + /** + * [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations. + * + * @param shareName The name of the target share. + * @param filePath The path of the target file. + * @param leaseId Specifies the current lease ID on the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @return a Mono which performs the network request upon subscription. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono changeLeaseWithRestResponseAsync(String shareName, String filePath, String leaseId, Context context) { + final Integer timeout = null; + final String proposedLeaseId = null; + final String requestId = null; + final String comp = "lease"; + final String action = "change"; + return service.changeLease(shareName, filePath, this.client.getUrl(), timeout, leaseId, proposedLeaseId, this.client.getVersion(), requestId, comp, action, context); + } + + /** + * [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations. + * + * @param shareName The name of the target share. + * @param filePath The path of the target file. + * @param leaseId Specifies the current lease ID on the resource. + * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. + * @param proposedLeaseId Proposed lease ID, in a GUID string format. The File service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. + * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @return a Mono which performs the network request upon subscription. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono changeLeaseWithRestResponseAsync(String shareName, String filePath, String leaseId, Integer timeout, String proposedLeaseId, String requestId, Context context) { + final String comp = "lease"; + final String action = "change"; + return service.changeLease(shareName, filePath, this.client.getUrl(), timeout, leaseId, proposedLeaseId, this.client.getVersion(), requestId, comp, action, context); + } + + /** + * [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations. + * + * @param shareName The name of the target share. + * @param filePath The path of the target file. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @return a Mono which performs the network request upon subscription. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono breakLeaseWithRestResponseAsync(String shareName, String filePath, Context context) { + final Integer timeout = null; + final String leaseId = null; + final String requestId = null; + final String comp = "lease"; + final String action = "break"; + return service.breakLease(shareName, filePath, this.client.getUrl(), timeout, leaseId, this.client.getVersion(), requestId, comp, action, context); + } + + /** + * [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations. + * + * @param shareName The name of the target share. + * @param filePath The path of the target file. + * @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>. + * @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID. + * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @return a Mono which performs the network request upon subscription. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono breakLeaseWithRestResponseAsync(String shareName, String filePath, Integer timeout, String leaseId, String requestId, Context context) { + final String comp = "lease"; + final String action = "break"; + return service.breakLease(shareName, filePath, this.client.getUrl(), timeout, leaseId, this.client.getVersion(), requestId, comp, action, context); + } } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/CopyFileSmbInfo.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/CopyFileSmbInfo.java new file mode 100644 index 0000000000000..32263f36405a6 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/CopyFileSmbInfo.java @@ -0,0 +1,211 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.storage.file.share.models.PermissionCopyModeType; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; + +/** + * Additional parameters for startCopy operation. + */ +@JacksonXmlRootElement(localName = "copy-file-smb-info") +@Fluent +public final class CopyFileSmbInfo { + /* + * Specifies the option to copy file security descriptor from source file + * or to set it using the value which is defined by the header value of + * x-ms-file-permission or x-ms-file-permission-key. Possible values + * include: 'source', 'override' + */ + @JsonProperty(value = "filePermissionCopyMode") + private PermissionCopyModeType filePermissionCopyMode; + + /* + * Specifies the option to overwrite the target file if it already exists + * and has read-only attribute set. + */ + @JsonProperty(value = "ignoreReadOnly") + private Boolean ignoreReadOnly; + + /* + * Specifies either the option to copy file attributes from a source + * file(source) to a target file or a list of attributes to set on a target + * file. + */ + @JsonProperty(value = "fileAttributes") + private String fileAttributes; + + /* + * Specifies either the option to copy file creation time from a source + * file(source) to a target file or a time value in ISO 8601 format to set + * as creation time on a target file. + */ + @JsonProperty(value = "fileCreationTime") + private String fileCreationTime; + + /* + * Specifies either the option to copy file last write time from a source + * file(source) to a target file or a time value in ISO 8601 format to set + * as last write time on a target file. + */ + @JsonProperty(value = "fileLastWriteTime") + private String fileLastWriteTime; + + /* + * Specifies the option to set archive attribute on a target file. True + * means archive attribute will be set on a target file despite attribute + * overrides or a source file state. + */ + @JsonProperty(value = "setArchiveAttribute") + private Boolean setArchiveAttribute; + + /** + * Get the filePermissionCopyMode property: Specifies the option to copy + * file security descriptor from source file or to set it using the value + * which is defined by the header value of x-ms-file-permission or + * x-ms-file-permission-key. Possible values include: 'source', 'override'. + * + * @return the filePermissionCopyMode value. + */ + public PermissionCopyModeType getFilePermissionCopyMode() { + return this.filePermissionCopyMode; + } + + /** + * Set the filePermissionCopyMode property: Specifies the option to copy + * file security descriptor from source file or to set it using the value + * which is defined by the header value of x-ms-file-permission or + * x-ms-file-permission-key. Possible values include: 'source', 'override'. + * + * @param filePermissionCopyMode the filePermissionCopyMode value to set. + * @return the CopyFileSmbInfo object itself. + */ + public CopyFileSmbInfo setFilePermissionCopyMode(PermissionCopyModeType filePermissionCopyMode) { + this.filePermissionCopyMode = filePermissionCopyMode; + return this; + } + + /** + * Get the ignoreReadOnly property: Specifies the option to overwrite the + * target file if it already exists and has read-only attribute set. + * + * @return the ignoreReadOnly value. + */ + public Boolean isIgnoreReadOnly() { + return this.ignoreReadOnly; + } + + /** + * Set the ignoreReadOnly property: Specifies the option to overwrite the + * target file if it already exists and has read-only attribute set. + * + * @param ignoreReadOnly the ignoreReadOnly value to set. + * @return the CopyFileSmbInfo object itself. + */ + public CopyFileSmbInfo setIgnoreReadOnly(Boolean ignoreReadOnly) { + this.ignoreReadOnly = ignoreReadOnly; + return this; + } + + /** + * Get the fileAttributes property: Specifies either the option to copy + * file attributes from a source file(source) to a target file or a list of + * attributes to set on a target file. + * + * @return the fileAttributes value. + */ + public String getFileAttributes() { + return this.fileAttributes; + } + + /** + * Set the fileAttributes property: Specifies either the option to copy + * file attributes from a source file(source) to a target file or a list of + * attributes to set on a target file. + * + * @param fileAttributes the fileAttributes value to set. + * @return the CopyFileSmbInfo object itself. + */ + public CopyFileSmbInfo setFileAttributes(String fileAttributes) { + this.fileAttributes = fileAttributes; + return this; + } + + /** + * Get the fileCreationTime property: Specifies either the option to copy + * file creation time from a source file(source) to a target file or a time + * value in ISO 8601 format to set as creation time on a target file. + * + * @return the fileCreationTime value. + */ + public String getFileCreationTime() { + return this.fileCreationTime; + } + + /** + * Set the fileCreationTime property: Specifies either the option to copy + * file creation time from a source file(source) to a target file or a time + * value in ISO 8601 format to set as creation time on a target file. + * + * @param fileCreationTime the fileCreationTime value to set. + * @return the CopyFileSmbInfo object itself. + */ + public CopyFileSmbInfo setFileCreationTime(String fileCreationTime) { + this.fileCreationTime = fileCreationTime; + return this; + } + + /** + * Get the fileLastWriteTime property: Specifies either the option to copy + * file last write time from a source file(source) to a target file or a + * time value in ISO 8601 format to set as last write time on a target + * file. + * + * @return the fileLastWriteTime value. + */ + public String getFileLastWriteTime() { + return this.fileLastWriteTime; + } + + /** + * Set the fileLastWriteTime property: Specifies either the option to copy + * file last write time from a source file(source) to a target file or a + * time value in ISO 8601 format to set as last write time on a target + * file. + * + * @param fileLastWriteTime the fileLastWriteTime value to set. + * @return the CopyFileSmbInfo object itself. + */ + public CopyFileSmbInfo setFileLastWriteTime(String fileLastWriteTime) { + this.fileLastWriteTime = fileLastWriteTime; + return this; + } + + /** + * Get the setArchiveAttribute property: Specifies the option to set + * archive attribute on a target file. True means archive attribute will be + * set on a target file despite attribute overrides or a source file state. + * + * @return the setArchiveAttribute value. + */ + public Boolean isSetArchiveAttribute() { + return this.setArchiveAttribute; + } + + /** + * Set the setArchiveAttribute property: Specifies the option to set + * archive attribute on a target file. True means archive attribute will be + * set on a target file despite attribute overrides or a source file state. + * + * @param setArchiveAttribute the setArchiveAttribute value to set. + * @return the CopyFileSmbInfo object itself. + */ + public CopyFileSmbInfo setSetArchiveAttribute(Boolean setArchiveAttribute) { + this.setArchiveAttribute = setArchiveAttribute; + return this; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/DirectoryForceCloseHandlesHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/DirectoryForceCloseHandlesHeaders.java index a92ce092d87ab..fe7dec310cd69 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/DirectoryForceCloseHandlesHeaders.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/DirectoryForceCloseHandlesHeaders.java @@ -49,6 +49,12 @@ public final class DirectoryForceCloseHandlesHeaders { @JsonProperty(value = "x-ms-number-of-handles-closed") private Integer numberOfHandlesClosed; + /* + * Contains count of number of handles that failed to close. + */ + @JsonProperty(value = "x-ms-number-of-handles-failed") + private Integer numberOfHandlesFailedToClose; + /* * The errorCode property. */ @@ -174,6 +180,29 @@ public DirectoryForceCloseHandlesHeaders setNumberOfHandlesClosed(Integer number return this; } + /** + * Get the numberOfHandlesFailedToClose property: Contains count of number + * of handles that failed to close. + * + * @return the numberOfHandlesFailedToClose value. + */ + public Integer getNumberOfHandlesFailedToClose() { + return this.numberOfHandlesFailedToClose; + } + + /** + * Set the numberOfHandlesFailedToClose property: Contains count of number + * of handles that failed to close. + * + * @param numberOfHandlesFailedToClose the numberOfHandlesFailedToClose + * value to set. + * @return the DirectoryForceCloseHandlesHeaders object itself. + */ + public DirectoryForceCloseHandlesHeaders setNumberOfHandlesFailedToClose(Integer numberOfHandlesFailedToClose) { + this.numberOfHandlesFailedToClose = numberOfHandlesFailedToClose; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileAcquireLeaseHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileAcquireLeaseHeaders.java new file mode 100644 index 0000000000000..70bacf263a2d4 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileAcquireLeaseHeaders.java @@ -0,0 +1,267 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.DateTimeRfc1123; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; +import java.time.OffsetDateTime; + +/** + * Defines headers for AcquireLease operation. + */ +@JacksonXmlRootElement(localName = "File-AcquireLease-Headers") +@Fluent +public final class FileAcquireLeaseHeaders { + /* + * The ETag contains a value that you can use to perform operations + * conditionally. If the request version is 2011-08-18 or newer, the ETag + * value will be in quotes. + */ + @JsonProperty(value = "ETag") + private String eTag; + + /* + * Returns the date and time the file was last modified. Any operation that + * modifies the file, including an update of the file's metadata or + * properties, changes the last-modified time of the file. + */ + @JsonProperty(value = "Last-Modified") + private DateTimeRfc1123 lastModified; + + /* + * Uniquely identifies a file's lease + */ + @JsonProperty(value = "x-ms-lease-id") + private String leaseId; + + /* + * If a client request id header is sent in the request, this header will + * be present in the response with the same value. + */ + @JsonProperty(value = "x-ms-client-request-id") + private String clientRequestId; + + /* + * This header uniquely identifies the request that was made and can be + * used for troubleshooting the request. + */ + @JsonProperty(value = "x-ms-request-id") + private String requestId; + + /* + * Indicates the version of the File service used to execute the request. + */ + @JsonProperty(value = "x-ms-version") + private String version; + + /* + * UTC date/time value generated by the service that indicates the time at + * which the response was initiated + */ + @JsonProperty(value = "Date") + private DateTimeRfc1123 dateProperty; + + /* + * The errorCode property. + */ + @JsonProperty(value = "x-ms-error-code") + private String errorCode; + + /** + * Get the eTag property: The ETag contains a value that you can use to + * perform operations conditionally. If the request version is 2011-08-18 + * or newer, the ETag value will be in quotes. + * + * @return the eTag value. + */ + public String getETag() { + return this.eTag; + } + + /** + * Set the eTag property: The ETag contains a value that you can use to + * perform operations conditionally. If the request version is 2011-08-18 + * or newer, the ETag value will be in quotes. + * + * @param eTag the eTag value to set. + * @return the FileAcquireLeaseHeaders object itself. + */ + public FileAcquireLeaseHeaders setETag(String eTag) { + this.eTag = eTag; + return this; + } + + /** + * Get the lastModified property: Returns the date and time the file was + * last modified. Any operation that modifies the file, including an update + * of the file's metadata or properties, changes the last-modified time of + * the file. + * + * @return the lastModified value. + */ + public OffsetDateTime getLastModified() { + if (this.lastModified == null) { + return null; + } + return this.lastModified.getDateTime(); + } + + /** + * Set the lastModified property: Returns the date and time the file was + * last modified. Any operation that modifies the file, including an update + * of the file's metadata or properties, changes the last-modified time of + * the file. + * + * @param lastModified the lastModified value to set. + * @return the FileAcquireLeaseHeaders object itself. + */ + public FileAcquireLeaseHeaders setLastModified(OffsetDateTime lastModified) { + if (lastModified == null) { + this.lastModified = null; + } else { + this.lastModified = new DateTimeRfc1123(lastModified); + } + return this; + } + + /** + * Get the leaseId property: Uniquely identifies a file's lease. + * + * @return the leaseId value. + */ + public String getLeaseId() { + return this.leaseId; + } + + /** + * Set the leaseId property: Uniquely identifies a file's lease. + * + * @param leaseId the leaseId value to set. + * @return the FileAcquireLeaseHeaders object itself. + */ + public FileAcquireLeaseHeaders setLeaseId(String leaseId) { + this.leaseId = leaseId; + return this; + } + + /** + * Get the clientRequestId property: If a client request id header is sent + * in the request, this header will be present in the response with the + * same value. + * + * @return the clientRequestId value. + */ + public String getClientRequestId() { + return this.clientRequestId; + } + + /** + * Set the clientRequestId property: If a client request id header is sent + * in the request, this header will be present in the response with the + * same value. + * + * @param clientRequestId the clientRequestId value to set. + * @return the FileAcquireLeaseHeaders object itself. + */ + public FileAcquireLeaseHeaders setClientRequestId(String clientRequestId) { + this.clientRequestId = clientRequestId; + return this; + } + + /** + * Get the requestId property: This header uniquely identifies the request + * that was made and can be used for troubleshooting the request. + * + * @return the requestId value. + */ + public String getRequestId() { + return this.requestId; + } + + /** + * Set the requestId property: This header uniquely identifies the request + * that was made and can be used for troubleshooting the request. + * + * @param requestId the requestId value to set. + * @return the FileAcquireLeaseHeaders object itself. + */ + public FileAcquireLeaseHeaders setRequestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Get the version property: Indicates the version of the File service used + * to execute the request. + * + * @return the version value. + */ + public String getVersion() { + return this.version; + } + + /** + * Set the version property: Indicates the version of the File service used + * to execute the request. + * + * @param version the version value to set. + * @return the FileAcquireLeaseHeaders object itself. + */ + public FileAcquireLeaseHeaders setVersion(String version) { + this.version = version; + return this; + } + + /** + * Get the dateProperty property: UTC date/time value generated by the + * service that indicates the time at which the response was initiated. + * + * @return the dateProperty value. + */ + public OffsetDateTime getDateProperty() { + if (this.dateProperty == null) { + return null; + } + return this.dateProperty.getDateTime(); + } + + /** + * Set the dateProperty property: UTC date/time value generated by the + * service that indicates the time at which the response was initiated. + * + * @param dateProperty the dateProperty value to set. + * @return the FileAcquireLeaseHeaders object itself. + */ + public FileAcquireLeaseHeaders setDateProperty(OffsetDateTime dateProperty) { + if (dateProperty == null) { + this.dateProperty = null; + } else { + this.dateProperty = new DateTimeRfc1123(dateProperty); + } + return this; + } + + /** + * Get the errorCode property: The errorCode property. + * + * @return the errorCode value. + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * Set the errorCode property: The errorCode property. + * + * @param errorCode the errorCode value to set. + * @return the FileAcquireLeaseHeaders object itself. + */ + public FileAcquireLeaseHeaders setErrorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileBreakLeaseHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileBreakLeaseHeaders.java new file mode 100644 index 0000000000000..72884da0843a1 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileBreakLeaseHeaders.java @@ -0,0 +1,267 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.DateTimeRfc1123; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; +import java.time.OffsetDateTime; + +/** + * Defines headers for BreakLease operation. + */ +@JacksonXmlRootElement(localName = "File-BreakLease-Headers") +@Fluent +public final class FileBreakLeaseHeaders { + /* + * The ETag contains a value that you can use to perform operations + * conditionally. If the request version is 2011-08-18 or newer, the ETag + * value will be in quotes. + */ + @JsonProperty(value = "ETag") + private String eTag; + + /* + * Returns the date and time the file was last modified. Any operation that + * modifies the file, including an update of the file's metadata or + * properties, changes the last-modified time of the file. + */ + @JsonProperty(value = "Last-Modified") + private DateTimeRfc1123 lastModified; + + /* + * Uniquely identifies a file's lease + */ + @JsonProperty(value = "x-ms-lease-id") + private String leaseId; + + /* + * If a client request id header is sent in the request, this header will + * be present in the response with the same value. + */ + @JsonProperty(value = "x-ms-client-request-id") + private String clientRequestId; + + /* + * This header uniquely identifies the request that was made and can be + * used for troubleshooting the request. + */ + @JsonProperty(value = "x-ms-request-id") + private String requestId; + + /* + * Indicates the version of the File service used to execute the request. + */ + @JsonProperty(value = "x-ms-version") + private String version; + + /* + * UTC date/time value generated by the service that indicates the time at + * which the response was initiated + */ + @JsonProperty(value = "Date") + private DateTimeRfc1123 dateProperty; + + /* + * The errorCode property. + */ + @JsonProperty(value = "x-ms-error-code") + private String errorCode; + + /** + * Get the eTag property: The ETag contains a value that you can use to + * perform operations conditionally. If the request version is 2011-08-18 + * or newer, the ETag value will be in quotes. + * + * @return the eTag value. + */ + public String getETag() { + return this.eTag; + } + + /** + * Set the eTag property: The ETag contains a value that you can use to + * perform operations conditionally. If the request version is 2011-08-18 + * or newer, the ETag value will be in quotes. + * + * @param eTag the eTag value to set. + * @return the FileBreakLeaseHeaders object itself. + */ + public FileBreakLeaseHeaders setETag(String eTag) { + this.eTag = eTag; + return this; + } + + /** + * Get the lastModified property: Returns the date and time the file was + * last modified. Any operation that modifies the file, including an update + * of the file's metadata or properties, changes the last-modified time of + * the file. + * + * @return the lastModified value. + */ + public OffsetDateTime getLastModified() { + if (this.lastModified == null) { + return null; + } + return this.lastModified.getDateTime(); + } + + /** + * Set the lastModified property: Returns the date and time the file was + * last modified. Any operation that modifies the file, including an update + * of the file's metadata or properties, changes the last-modified time of + * the file. + * + * @param lastModified the lastModified value to set. + * @return the FileBreakLeaseHeaders object itself. + */ + public FileBreakLeaseHeaders setLastModified(OffsetDateTime lastModified) { + if (lastModified == null) { + this.lastModified = null; + } else { + this.lastModified = new DateTimeRfc1123(lastModified); + } + return this; + } + + /** + * Get the leaseId property: Uniquely identifies a file's lease. + * + * @return the leaseId value. + */ + public String getLeaseId() { + return this.leaseId; + } + + /** + * Set the leaseId property: Uniquely identifies a file's lease. + * + * @param leaseId the leaseId value to set. + * @return the FileBreakLeaseHeaders object itself. + */ + public FileBreakLeaseHeaders setLeaseId(String leaseId) { + this.leaseId = leaseId; + return this; + } + + /** + * Get the clientRequestId property: If a client request id header is sent + * in the request, this header will be present in the response with the + * same value. + * + * @return the clientRequestId value. + */ + public String getClientRequestId() { + return this.clientRequestId; + } + + /** + * Set the clientRequestId property: If a client request id header is sent + * in the request, this header will be present in the response with the + * same value. + * + * @param clientRequestId the clientRequestId value to set. + * @return the FileBreakLeaseHeaders object itself. + */ + public FileBreakLeaseHeaders setClientRequestId(String clientRequestId) { + this.clientRequestId = clientRequestId; + return this; + } + + /** + * Get the requestId property: This header uniquely identifies the request + * that was made and can be used for troubleshooting the request. + * + * @return the requestId value. + */ + public String getRequestId() { + return this.requestId; + } + + /** + * Set the requestId property: This header uniquely identifies the request + * that was made and can be used for troubleshooting the request. + * + * @param requestId the requestId value to set. + * @return the FileBreakLeaseHeaders object itself. + */ + public FileBreakLeaseHeaders setRequestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Get the version property: Indicates the version of the File service used + * to execute the request. + * + * @return the version value. + */ + public String getVersion() { + return this.version; + } + + /** + * Set the version property: Indicates the version of the File service used + * to execute the request. + * + * @param version the version value to set. + * @return the FileBreakLeaseHeaders object itself. + */ + public FileBreakLeaseHeaders setVersion(String version) { + this.version = version; + return this; + } + + /** + * Get the dateProperty property: UTC date/time value generated by the + * service that indicates the time at which the response was initiated. + * + * @return the dateProperty value. + */ + public OffsetDateTime getDateProperty() { + if (this.dateProperty == null) { + return null; + } + return this.dateProperty.getDateTime(); + } + + /** + * Set the dateProperty property: UTC date/time value generated by the + * service that indicates the time at which the response was initiated. + * + * @param dateProperty the dateProperty value to set. + * @return the FileBreakLeaseHeaders object itself. + */ + public FileBreakLeaseHeaders setDateProperty(OffsetDateTime dateProperty) { + if (dateProperty == null) { + this.dateProperty = null; + } else { + this.dateProperty = new DateTimeRfc1123(dateProperty); + } + return this; + } + + /** + * Get the errorCode property: The errorCode property. + * + * @return the errorCode value. + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * Set the errorCode property: The errorCode property. + * + * @param errorCode the errorCode value to set. + * @return the FileBreakLeaseHeaders object itself. + */ + public FileBreakLeaseHeaders setErrorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileChangeLeaseHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileChangeLeaseHeaders.java new file mode 100644 index 0000000000000..fb146c21dbc53 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileChangeLeaseHeaders.java @@ -0,0 +1,267 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.DateTimeRfc1123; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; +import java.time.OffsetDateTime; + +/** + * Defines headers for ChangeLease operation. + */ +@JacksonXmlRootElement(localName = "File-ChangeLease-Headers") +@Fluent +public final class FileChangeLeaseHeaders { + /* + * The ETag contains a value that you can use to perform operations + * conditionally. If the request version is 2011-08-18 or newer, the ETag + * value will be in quotes. + */ + @JsonProperty(value = "ETag") + private String eTag; + + /* + * Returns the date and time the file was last modified. Any operation that + * modifies the file, including an update of the file's metadata or + * properties, changes the last-modified time of the file. + */ + @JsonProperty(value = "Last-Modified") + private DateTimeRfc1123 lastModified; + + /* + * Uniquely identifies a file's lease + */ + @JsonProperty(value = "x-ms-lease-id") + private String leaseId; + + /* + * If a client request id header is sent in the request, this header will + * be present in the response with the same value. + */ + @JsonProperty(value = "x-ms-client-request-id") + private String clientRequestId; + + /* + * This header uniquely identifies the request that was made and can be + * used for troubleshooting the request. + */ + @JsonProperty(value = "x-ms-request-id") + private String requestId; + + /* + * Indicates the version of the File service used to execute the request. + */ + @JsonProperty(value = "x-ms-version") + private String version; + + /* + * UTC date/time value generated by the service that indicates the time at + * which the response was initiated + */ + @JsonProperty(value = "Date") + private DateTimeRfc1123 dateProperty; + + /* + * The errorCode property. + */ + @JsonProperty(value = "x-ms-error-code") + private String errorCode; + + /** + * Get the eTag property: The ETag contains a value that you can use to + * perform operations conditionally. If the request version is 2011-08-18 + * or newer, the ETag value will be in quotes. + * + * @return the eTag value. + */ + public String getETag() { + return this.eTag; + } + + /** + * Set the eTag property: The ETag contains a value that you can use to + * perform operations conditionally. If the request version is 2011-08-18 + * or newer, the ETag value will be in quotes. + * + * @param eTag the eTag value to set. + * @return the FileChangeLeaseHeaders object itself. + */ + public FileChangeLeaseHeaders setETag(String eTag) { + this.eTag = eTag; + return this; + } + + /** + * Get the lastModified property: Returns the date and time the file was + * last modified. Any operation that modifies the file, including an update + * of the file's metadata or properties, changes the last-modified time of + * the file. + * + * @return the lastModified value. + */ + public OffsetDateTime getLastModified() { + if (this.lastModified == null) { + return null; + } + return this.lastModified.getDateTime(); + } + + /** + * Set the lastModified property: Returns the date and time the file was + * last modified. Any operation that modifies the file, including an update + * of the file's metadata or properties, changes the last-modified time of + * the file. + * + * @param lastModified the lastModified value to set. + * @return the FileChangeLeaseHeaders object itself. + */ + public FileChangeLeaseHeaders setLastModified(OffsetDateTime lastModified) { + if (lastModified == null) { + this.lastModified = null; + } else { + this.lastModified = new DateTimeRfc1123(lastModified); + } + return this; + } + + /** + * Get the leaseId property: Uniquely identifies a file's lease. + * + * @return the leaseId value. + */ + public String getLeaseId() { + return this.leaseId; + } + + /** + * Set the leaseId property: Uniquely identifies a file's lease. + * + * @param leaseId the leaseId value to set. + * @return the FileChangeLeaseHeaders object itself. + */ + public FileChangeLeaseHeaders setLeaseId(String leaseId) { + this.leaseId = leaseId; + return this; + } + + /** + * Get the clientRequestId property: If a client request id header is sent + * in the request, this header will be present in the response with the + * same value. + * + * @return the clientRequestId value. + */ + public String getClientRequestId() { + return this.clientRequestId; + } + + /** + * Set the clientRequestId property: If a client request id header is sent + * in the request, this header will be present in the response with the + * same value. + * + * @param clientRequestId the clientRequestId value to set. + * @return the FileChangeLeaseHeaders object itself. + */ + public FileChangeLeaseHeaders setClientRequestId(String clientRequestId) { + this.clientRequestId = clientRequestId; + return this; + } + + /** + * Get the requestId property: This header uniquely identifies the request + * that was made and can be used for troubleshooting the request. + * + * @return the requestId value. + */ + public String getRequestId() { + return this.requestId; + } + + /** + * Set the requestId property: This header uniquely identifies the request + * that was made and can be used for troubleshooting the request. + * + * @param requestId the requestId value to set. + * @return the FileChangeLeaseHeaders object itself. + */ + public FileChangeLeaseHeaders setRequestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Get the version property: Indicates the version of the File service used + * to execute the request. + * + * @return the version value. + */ + public String getVersion() { + return this.version; + } + + /** + * Set the version property: Indicates the version of the File service used + * to execute the request. + * + * @param version the version value to set. + * @return the FileChangeLeaseHeaders object itself. + */ + public FileChangeLeaseHeaders setVersion(String version) { + this.version = version; + return this; + } + + /** + * Get the dateProperty property: UTC date/time value generated by the + * service that indicates the time at which the response was initiated. + * + * @return the dateProperty value. + */ + public OffsetDateTime getDateProperty() { + if (this.dateProperty == null) { + return null; + } + return this.dateProperty.getDateTime(); + } + + /** + * Set the dateProperty property: UTC date/time value generated by the + * service that indicates the time at which the response was initiated. + * + * @param dateProperty the dateProperty value to set. + * @return the FileChangeLeaseHeaders object itself. + */ + public FileChangeLeaseHeaders setDateProperty(OffsetDateTime dateProperty) { + if (dateProperty == null) { + this.dateProperty = null; + } else { + this.dateProperty = new DateTimeRfc1123(dateProperty); + } + return this; + } + + /** + * Get the errorCode property: The errorCode property. + * + * @return the errorCode value. + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * Set the errorCode property: The errorCode property. + * + * @param errorCode the errorCode value to set. + * @return the FileChangeLeaseHeaders object itself. + */ + public FileChangeLeaseHeaders setErrorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileForceCloseHandlesHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileForceCloseHandlesHeaders.java index 8223627cb87af..dc6b4c3ebf0fc 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileForceCloseHandlesHeaders.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileForceCloseHandlesHeaders.java @@ -49,6 +49,12 @@ public final class FileForceCloseHandlesHeaders { @JsonProperty(value = "x-ms-number-of-handles-closed") private Integer numberOfHandlesClosed; + /* + * Contains count of number of handles that failed to close. + */ + @JsonProperty(value = "x-ms-number-of-handles-failed") + private Integer numberOfHandlesFailedToClose; + /* * The errorCode property. */ @@ -174,6 +180,29 @@ public FileForceCloseHandlesHeaders setNumberOfHandlesClosed(Integer numberOfHan return this; } + /** + * Get the numberOfHandlesFailedToClose property: Contains count of number + * of handles that failed to close. + * + * @return the numberOfHandlesFailedToClose value. + */ + public Integer getNumberOfHandlesFailedToClose() { + return this.numberOfHandlesFailedToClose; + } + + /** + * Set the numberOfHandlesFailedToClose property: Contains count of number + * of handles that failed to close. + * + * @param numberOfHandlesFailedToClose the numberOfHandlesFailedToClose + * value to set. + * @return the FileForceCloseHandlesHeaders object itself. + */ + public FileForceCloseHandlesHeaders setNumberOfHandlesFailedToClose(Integer numberOfHandlesFailedToClose) { + this.numberOfHandlesFailedToClose = numberOfHandlesFailedToClose; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileGetPropertiesHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileGetPropertiesHeaders.java index 64611f70cfb39..62c2eff206be7 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileGetPropertiesHeaders.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileGetPropertiesHeaders.java @@ -9,6 +9,9 @@ import com.azure.core.util.CoreUtils; import com.azure.core.util.DateTimeRfc1123; import com.azure.storage.file.share.models.CopyStatusType; +import com.azure.storage.file.share.models.LeaseDurationType; +import com.azure.storage.file.share.models.LeaseStateType; +import com.azure.storage.file.share.models.LeaseStatusType; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -213,6 +216,27 @@ public final class FileGetPropertiesHeaders { @JsonProperty(value = "x-ms-file-parent-id") private String fileParentId; + /* + * When a file is leased, specifies whether the lease is of infinite or + * fixed duration. Possible values include: 'infinite', 'fixed' + */ + @JsonProperty(value = "x-ms-lease-duration") + private LeaseDurationType leaseDuration; + + /* + * Lease state of the file. Possible values include: 'available', 'leased', + * 'expired', 'breaking', 'broken' + */ + @JsonProperty(value = "x-ms-lease-state") + private LeaseStateType leaseState; + + /* + * The current lease status of the file. Possible values include: 'locked', + * 'unlocked' + */ + @JsonProperty(value = "x-ms-lease-status") + private LeaseStatusType leaseStatus; + /* * The errorCode property. */ @@ -874,6 +898,74 @@ public FileGetPropertiesHeaders setFileParentId(String fileParentId) { return this; } + /** + * Get the leaseDuration property: When a file is leased, specifies whether + * the lease is of infinite or fixed duration. Possible values include: + * 'infinite', 'fixed'. + * + * @return the leaseDuration value. + */ + public LeaseDurationType getLeaseDuration() { + return this.leaseDuration; + } + + /** + * Set the leaseDuration property: When a file is leased, specifies whether + * the lease is of infinite or fixed duration. Possible values include: + * 'infinite', 'fixed'. + * + * @param leaseDuration the leaseDuration value to set. + * @return the FileGetPropertiesHeaders object itself. + */ + public FileGetPropertiesHeaders setLeaseDuration(LeaseDurationType leaseDuration) { + this.leaseDuration = leaseDuration; + return this; + } + + /** + * Get the leaseState property: Lease state of the file. Possible values + * include: 'available', 'leased', 'expired', 'breaking', 'broken'. + * + * @return the leaseState value. + */ + public LeaseStateType getLeaseState() { + return this.leaseState; + } + + /** + * Set the leaseState property: Lease state of the file. Possible values + * include: 'available', 'leased', 'expired', 'breaking', 'broken'. + * + * @param leaseState the leaseState value to set. + * @return the FileGetPropertiesHeaders object itself. + */ + public FileGetPropertiesHeaders setLeaseState(LeaseStateType leaseState) { + this.leaseState = leaseState; + return this; + } + + /** + * Get the leaseStatus property: The current lease status of the file. + * Possible values include: 'locked', 'unlocked'. + * + * @return the leaseStatus value. + */ + public LeaseStatusType getLeaseStatus() { + return this.leaseStatus; + } + + /** + * Set the leaseStatus property: The current lease status of the file. + * Possible values include: 'locked', 'unlocked'. + * + * @param leaseStatus the leaseStatus value to set. + * @return the FileGetPropertiesHeaders object itself. + */ + public FileGetPropertiesHeaders setLeaseStatus(LeaseStatusType leaseStatus) { + this.leaseStatus = leaseStatus; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileReleaseLeaseHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileReleaseLeaseHeaders.java new file mode 100644 index 0000000000000..20853bc7d5fca --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FileReleaseLeaseHeaders.java @@ -0,0 +1,241 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.DateTimeRfc1123; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; +import java.time.OffsetDateTime; + +/** + * Defines headers for ReleaseLease operation. + */ +@JacksonXmlRootElement(localName = "File-ReleaseLease-Headers") +@Fluent +public final class FileReleaseLeaseHeaders { + /* + * The ETag contains a value that you can use to perform operations + * conditionally. If the request version is 2011-08-18 or newer, the ETag + * value will be in quotes. + */ + @JsonProperty(value = "ETag") + private String eTag; + + /* + * Returns the date and time the file was last modified. Any operation that + * modifies the file, including an update of the file's metadata or + * properties, changes the last-modified time of the file. + */ + @JsonProperty(value = "Last-Modified") + private DateTimeRfc1123 lastModified; + + /* + * If a client request id header is sent in the request, this header will + * be present in the response with the same value. + */ + @JsonProperty(value = "x-ms-client-request-id") + private String clientRequestId; + + /* + * This header uniquely identifies the request that was made and can be + * used for troubleshooting the request. + */ + @JsonProperty(value = "x-ms-request-id") + private String requestId; + + /* + * Indicates the version of the File service used to execute the request. + */ + @JsonProperty(value = "x-ms-version") + private String version; + + /* + * UTC date/time value generated by the service that indicates the time at + * which the response was initiated + */ + @JsonProperty(value = "Date") + private DateTimeRfc1123 dateProperty; + + /* + * The errorCode property. + */ + @JsonProperty(value = "x-ms-error-code") + private String errorCode; + + /** + * Get the eTag property: The ETag contains a value that you can use to + * perform operations conditionally. If the request version is 2011-08-18 + * or newer, the ETag value will be in quotes. + * + * @return the eTag value. + */ + public String getETag() { + return this.eTag; + } + + /** + * Set the eTag property: The ETag contains a value that you can use to + * perform operations conditionally. If the request version is 2011-08-18 + * or newer, the ETag value will be in quotes. + * + * @param eTag the eTag value to set. + * @return the FileReleaseLeaseHeaders object itself. + */ + public FileReleaseLeaseHeaders setETag(String eTag) { + this.eTag = eTag; + return this; + } + + /** + * Get the lastModified property: Returns the date and time the file was + * last modified. Any operation that modifies the file, including an update + * of the file's metadata or properties, changes the last-modified time of + * the file. + * + * @return the lastModified value. + */ + public OffsetDateTime getLastModified() { + if (this.lastModified == null) { + return null; + } + return this.lastModified.getDateTime(); + } + + /** + * Set the lastModified property: Returns the date and time the file was + * last modified. Any operation that modifies the file, including an update + * of the file's metadata or properties, changes the last-modified time of + * the file. + * + * @param lastModified the lastModified value to set. + * @return the FileReleaseLeaseHeaders object itself. + */ + public FileReleaseLeaseHeaders setLastModified(OffsetDateTime lastModified) { + if (lastModified == null) { + this.lastModified = null; + } else { + this.lastModified = new DateTimeRfc1123(lastModified); + } + return this; + } + + /** + * Get the clientRequestId property: If a client request id header is sent + * in the request, this header will be present in the response with the + * same value. + * + * @return the clientRequestId value. + */ + public String getClientRequestId() { + return this.clientRequestId; + } + + /** + * Set the clientRequestId property: If a client request id header is sent + * in the request, this header will be present in the response with the + * same value. + * + * @param clientRequestId the clientRequestId value to set. + * @return the FileReleaseLeaseHeaders object itself. + */ + public FileReleaseLeaseHeaders setClientRequestId(String clientRequestId) { + this.clientRequestId = clientRequestId; + return this; + } + + /** + * Get the requestId property: This header uniquely identifies the request + * that was made and can be used for troubleshooting the request. + * + * @return the requestId value. + */ + public String getRequestId() { + return this.requestId; + } + + /** + * Set the requestId property: This header uniquely identifies the request + * that was made and can be used for troubleshooting the request. + * + * @param requestId the requestId value to set. + * @return the FileReleaseLeaseHeaders object itself. + */ + public FileReleaseLeaseHeaders setRequestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Get the version property: Indicates the version of the File service used + * to execute the request. + * + * @return the version value. + */ + public String getVersion() { + return this.version; + } + + /** + * Set the version property: Indicates the version of the File service used + * to execute the request. + * + * @param version the version value to set. + * @return the FileReleaseLeaseHeaders object itself. + */ + public FileReleaseLeaseHeaders setVersion(String version) { + this.version = version; + return this; + } + + /** + * Get the dateProperty property: UTC date/time value generated by the + * service that indicates the time at which the response was initiated. + * + * @return the dateProperty value. + */ + public OffsetDateTime getDateProperty() { + if (this.dateProperty == null) { + return null; + } + return this.dateProperty.getDateTime(); + } + + /** + * Set the dateProperty property: UTC date/time value generated by the + * service that indicates the time at which the response was initiated. + * + * @param dateProperty the dateProperty value to set. + * @return the FileReleaseLeaseHeaders object itself. + */ + public FileReleaseLeaseHeaders setDateProperty(OffsetDateTime dateProperty) { + if (dateProperty == null) { + this.dateProperty = null; + } else { + this.dateProperty = new DateTimeRfc1123(dateProperty); + } + return this; + } + + /** + * Get the errorCode property: The errorCode property. + * + * @return the errorCode value. + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * Set the errorCode property: The errorCode property. + * + * @param errorCode the errorCode value to set. + * @return the FileReleaseLeaseHeaders object itself. + */ + public FileReleaseLeaseHeaders setErrorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesAcquireLeaseResponse.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesAcquireLeaseResponse.java new file mode 100644 index 0000000000000..8ea7196a73aa3 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesAcquireLeaseResponse.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.http.HttpHeaders; +import com.azure.core.http.HttpRequest; +import com.azure.core.http.rest.ResponseBase; + +/** + * Contains all response data for the acquireLease operation. + */ +public final class FilesAcquireLeaseResponse extends ResponseBase { + /** + * Creates an instance of FilesAcquireLeaseResponse. + * + * @param request the request which resulted in this FilesAcquireLeaseResponse. + * @param statusCode the status code of the HTTP response. + * @param rawHeaders the raw headers of the HTTP response. + * @param value the deserialized value of the HTTP response. + * @param headers the deserialized headers of the HTTP response. + */ + public FilesAcquireLeaseResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, Void value, FileAcquireLeaseHeaders headers) { + super(request, statusCode, rawHeaders, value, headers); + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesBreakLeaseResponse.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesBreakLeaseResponse.java new file mode 100644 index 0000000000000..1bf2b2a2c2745 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesBreakLeaseResponse.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.http.HttpHeaders; +import com.azure.core.http.HttpRequest; +import com.azure.core.http.rest.ResponseBase; + +/** + * Contains all response data for the breakLease operation. + */ +public final class FilesBreakLeaseResponse extends ResponseBase { + /** + * Creates an instance of FilesBreakLeaseResponse. + * + * @param request the request which resulted in this FilesBreakLeaseResponse. + * @param statusCode the status code of the HTTP response. + * @param rawHeaders the raw headers of the HTTP response. + * @param value the deserialized value of the HTTP response. + * @param headers the deserialized headers of the HTTP response. + */ + public FilesBreakLeaseResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, Void value, FileBreakLeaseHeaders headers) { + super(request, statusCode, rawHeaders, value, headers); + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesChangeLeaseResponse.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesChangeLeaseResponse.java new file mode 100644 index 0000000000000..7c08f13019a07 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesChangeLeaseResponse.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.http.HttpHeaders; +import com.azure.core.http.HttpRequest; +import com.azure.core.http.rest.ResponseBase; + +/** + * Contains all response data for the changeLease operation. + */ +public final class FilesChangeLeaseResponse extends ResponseBase { + /** + * Creates an instance of FilesChangeLeaseResponse. + * + * @param request the request which resulted in this FilesChangeLeaseResponse. + * @param statusCode the status code of the HTTP response. + * @param rawHeaders the raw headers of the HTTP response. + * @param value the deserialized value of the HTTP response. + * @param headers the deserialized headers of the HTTP response. + */ + public FilesChangeLeaseResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, Void value, FileChangeLeaseHeaders headers) { + super(request, statusCode, rawHeaders, value, headers); + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesReleaseLeaseResponse.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesReleaseLeaseResponse.java new file mode 100644 index 0000000000000..26df43e062a7c --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/FilesReleaseLeaseResponse.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.http.HttpHeaders; +import com.azure.core.http.HttpRequest; +import com.azure.core.http.rest.ResponseBase; + +/** + * Contains all response data for the releaseLease operation. + */ +public final class FilesReleaseLeaseResponse extends ResponseBase { + /** + * Creates an instance of FilesReleaseLeaseResponse. + * + * @param request the request which resulted in this FilesReleaseLeaseResponse. + * @param statusCode the status code of the HTTP response. + * @param rawHeaders the raw headers of the HTTP response. + * @param value the deserialized value of the HTTP response. + * @param headers the deserialized headers of the HTTP response. + */ + public FilesReleaseLeaseResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, Void value, FileReleaseLeaseHeaders headers) { + super(request, statusCode, rawHeaders, value, headers); + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseAccessConditions.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseAccessConditions.java new file mode 100644 index 0000000000000..30616f7cc278f --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseAccessConditions.java @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; + +/** + * Additional parameters for a set of operations. + */ +@JacksonXmlRootElement(localName = "lease-access-conditions") +@Fluent +public final class LeaseAccessConditions { + /* + * If specified, the operation only succeeds if the resource's lease is + * active and matches this ID. + */ + @JsonProperty(value = "leaseId") + private String leaseId; + + /** + * Get the leaseId property: If specified, the operation only succeeds if + * the resource's lease is active and matches this ID. + * + * @return the leaseId value. + */ + public String getLeaseId() { + return this.leaseId; + } + + /** + * Set the leaseId property: If specified, the operation only succeeds if + * the resource's lease is active and matches this ID. + * + * @param leaseId the leaseId value to set. + * @return the LeaseAccessConditions object itself. + */ + public LeaseAccessConditions setLeaseId(String leaseId) { + this.leaseId = leaseId; + return this; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseDurationType.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseDurationType.java new file mode 100644 index 0000000000000..13d175569a798 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseDurationType.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for LeaseDurationType. + */ +public enum LeaseDurationType { + /** + * Enum value infinite. + */ + INFINITE("infinite"), + + /** + * Enum value fixed. + */ + FIXED("fixed"); + + /** + * The actual serialized value for a LeaseDurationType instance. + */ + private final String value; + + LeaseDurationType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a LeaseDurationType instance. + * + * @param value the serialized value to parse. + * @return the parsed LeaseDurationType object, or null if unable to parse. + */ + @JsonCreator + public static LeaseDurationType fromString(String value) { + LeaseDurationType[] items = LeaseDurationType.values(); + for (LeaseDurationType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseStateType.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseStateType.java new file mode 100644 index 0000000000000..1847fd16db1e6 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseStateType.java @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for LeaseStateType. + */ +public enum LeaseStateType { + /** + * Enum value available. + */ + AVAILABLE("available"), + + /** + * Enum value leased. + */ + LEASED("leased"), + + /** + * Enum value expired. + */ + EXPIRED("expired"), + + /** + * Enum value breaking. + */ + BREAKING("breaking"), + + /** + * Enum value broken. + */ + BROKEN("broken"); + + /** + * The actual serialized value for a LeaseStateType instance. + */ + private final String value; + + LeaseStateType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a LeaseStateType instance. + * + * @param value the serialized value to parse. + * @return the parsed LeaseStateType object, or null if unable to parse. + */ + @JsonCreator + public static LeaseStateType fromString(String value) { + LeaseStateType[] items = LeaseStateType.values(); + for (LeaseStateType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseStatusType.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseStatusType.java new file mode 100644 index 0000000000000..c5050899c1397 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/LeaseStatusType.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.implementation.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for LeaseStatusType. + */ +public enum LeaseStatusType { + /** + * Enum value locked. + */ + LOCKED("locked"), + + /** + * Enum value unlocked. + */ + UNLOCKED("unlocked"); + + /** + * The actual serialized value for a LeaseStatusType instance. + */ + private final String value; + + LeaseStatusType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a LeaseStatusType instance. + * + * @param value the serialized value to parse. + * @return the parsed LeaseStatusType object, or null if unable to parse. + */ + @JsonCreator + public static LeaseStatusType fromString(String value) { + LeaseStatusType[] items = LeaseStatusType.values(); + for (LeaseStatusType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareGetPropertiesHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareGetPropertiesHeaders.java index 88e7e266a8bcf..616269eff8962 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareGetPropertiesHeaders.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareGetPropertiesHeaders.java @@ -66,6 +66,30 @@ public final class ShareGetPropertiesHeaders { @JsonProperty(value = "x-ms-share-quota") private Integer quota; + /* + * Returns the current share provisioned ipos. + */ + @JsonProperty(value = "x-ms-share-provisioned-iops") + private Integer provisionedIops; + + /* + * Returns the current share provisioned ingress in megabytes per second. + */ + @JsonProperty(value = "x-ms-share-provisioned-ingress-mbps") + private Integer provisionedIngressMBps; + + /* + * Returns the current share provisioned egress in megabytes per second. + */ + @JsonProperty(value = "x-ms-share-provisioned-egress-mbps") + private Integer provisionedEgressMBps; + + /* + * Returns the current share next allowed quota downgrade time. + */ + @JsonProperty(value = "x-ms-share-next-allowed-quota-downgrade-time") + private DateTimeRfc1123 nextAllowedQuotaDowngradeTime; + /* * The errorCode property. */ @@ -240,6 +264,102 @@ public ShareGetPropertiesHeaders setQuota(Integer quota) { return this; } + /** + * Get the provisionedIops property: Returns the current share provisioned + * ipos. + * + * @return the provisionedIops value. + */ + public Integer getProvisionedIops() { + return this.provisionedIops; + } + + /** + * Set the provisionedIops property: Returns the current share provisioned + * ipos. + * + * @param provisionedIops the provisionedIops value to set. + * @return the ShareGetPropertiesHeaders object itself. + */ + public ShareGetPropertiesHeaders setProvisionedIops(Integer provisionedIops) { + this.provisionedIops = provisionedIops; + return this; + } + + /** + * Get the provisionedIngressMBps property: Returns the current share + * provisioned ingress in megabytes per second. + * + * @return the provisionedIngressMBps value. + */ + public Integer getProvisionedIngressMBps() { + return this.provisionedIngressMBps; + } + + /** + * Set the provisionedIngressMBps property: Returns the current share + * provisioned ingress in megabytes per second. + * + * @param provisionedIngressMBps the provisionedIngressMBps value to set. + * @return the ShareGetPropertiesHeaders object itself. + */ + public ShareGetPropertiesHeaders setProvisionedIngressMBps(Integer provisionedIngressMBps) { + this.provisionedIngressMBps = provisionedIngressMBps; + return this; + } + + /** + * Get the provisionedEgressMBps property: Returns the current share + * provisioned egress in megabytes per second. + * + * @return the provisionedEgressMBps value. + */ + public Integer getProvisionedEgressMBps() { + return this.provisionedEgressMBps; + } + + /** + * Set the provisionedEgressMBps property: Returns the current share + * provisioned egress in megabytes per second. + * + * @param provisionedEgressMBps the provisionedEgressMBps value to set. + * @return the ShareGetPropertiesHeaders object itself. + */ + public ShareGetPropertiesHeaders setProvisionedEgressMBps(Integer provisionedEgressMBps) { + this.provisionedEgressMBps = provisionedEgressMBps; + return this; + } + + /** + * Get the nextAllowedQuotaDowngradeTime property: Returns the current + * share next allowed quota downgrade time. + * + * @return the nextAllowedQuotaDowngradeTime value. + */ + public OffsetDateTime getNextAllowedQuotaDowngradeTime() { + if (this.nextAllowedQuotaDowngradeTime == null) { + return null; + } + return this.nextAllowedQuotaDowngradeTime.getDateTime(); + } + + /** + * Set the nextAllowedQuotaDowngradeTime property: Returns the current + * share next allowed quota downgrade time. + * + * @param nextAllowedQuotaDowngradeTime the nextAllowedQuotaDowngradeTime + * value to set. + * @return the ShareGetPropertiesHeaders object itself. + */ + public ShareGetPropertiesHeaders setNextAllowedQuotaDowngradeTime(OffsetDateTime nextAllowedQuotaDowngradeTime) { + if (nextAllowedQuotaDowngradeTime == null) { + this.nextAllowedQuotaDowngradeTime = null; + } else { + this.nextAllowedQuotaDowngradeTime = new DateTimeRfc1123(nextAllowedQuotaDowngradeTime); + } + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/CloseHandlesInfo.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/CloseHandlesInfo.java index 8216d79d75599..c9eaba7c76dae 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/CloseHandlesInfo.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/CloseHandlesInfo.java @@ -14,14 +14,28 @@ public class CloseHandlesInfo { private final Integer closedHandles; + private final Integer failedHandles; /** * Creates an instance of information about close handles. * * @param closedHandles The numbers of handles closed. + * Note : Failed handles was added as a parameter, default value for failed handles is 0 */ public CloseHandlesInfo(Integer closedHandles) { this.closedHandles = closedHandles; + this.failedHandles = 0; + } + + /** + * Creates an instance of information about close handles. + * + * @param closedHandles The numbers of handles closed. + * @param failedHandles The numbers of handles that failed to close. + */ + public CloseHandlesInfo(Integer closedHandles, Integer failedHandles) { + this.closedHandles = closedHandles; + this.failedHandles = failedHandles; } /** @@ -31,4 +45,12 @@ public CloseHandlesInfo(Integer closedHandles) { public int getClosedHandles() { return this.closedHandles; } + + /** + * + * @return The number of handles that failed to close. + */ + public int getFailedHandles() { + return this.failedHandles; + } } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseDurationType.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseDurationType.java new file mode 100644 index 0000000000000..69847577928ff --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseDurationType.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for LeaseDurationType. + */ +public enum LeaseDurationType { + /** + * Enum value infinite. + */ + INFINITE("infinite"), + + /** + * Enum value fixed. + */ + FIXED("fixed"); + + /** + * The actual serialized value for a LeaseDurationType instance. + */ + private final String value; + + LeaseDurationType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a LeaseDurationType instance. + * + * @param value the serialized value to parse. + * @return the parsed LeaseDurationType object, or null if unable to parse. + */ + @JsonCreator + public static LeaseDurationType fromString(String value) { + LeaseDurationType[] items = LeaseDurationType.values(); + for (LeaseDurationType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseStateType.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseStateType.java new file mode 100644 index 0000000000000..26efe64db5880 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseStateType.java @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for LeaseStateType. + */ +public enum LeaseStateType { + /** + * Enum value available. + */ + AVAILABLE("available"), + + /** + * Enum value leased. + */ + LEASED("leased"), + + /** + * Enum value expired. + */ + EXPIRED("expired"), + + /** + * Enum value breaking. + */ + BREAKING("breaking"), + + /** + * Enum value broken. + */ + BROKEN("broken"); + + /** + * The actual serialized value for a LeaseStateType instance. + */ + private final String value; + + LeaseStateType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a LeaseStateType instance. + * + * @param value the serialized value to parse. + * @return the parsed LeaseStateType object, or null if unable to parse. + */ + @JsonCreator + public static LeaseStateType fromString(String value) { + LeaseStateType[] items = LeaseStateType.values(); + for (LeaseStateType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseStatusType.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseStatusType.java new file mode 100644 index 0000000000000..2c2ad70e6b51a --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/LeaseStatusType.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for LeaseStatusType. + */ +public enum LeaseStatusType { + /** + * Enum value locked. + */ + LOCKED("locked"), + + /** + * Enum value unlocked. + */ + UNLOCKED("unlocked"); + + /** + * The actual serialized value for a LeaseStatusType instance. + */ + private final String value; + + LeaseStatusType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a LeaseStatusType instance. + * + * @param value the serialized value to parse. + * @return the parsed LeaseStatusType object, or null if unable to parse. + */ + @JsonCreator + public static LeaseStatusType fromString(String value) { + LeaseStatusType[] items = LeaseStatusType.values(); + for (LeaseStatusType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/NtfsFileAttributes.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/NtfsFileAttributes.java index 385322e4bc493..af9c69fd5b3e3 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/NtfsFileAttributes.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/NtfsFileAttributes.java @@ -74,7 +74,7 @@ public enum NtfsFileAttributes { */ public static String toString(EnumSet ntfsAttributes) { if (ntfsAttributes == null) { - return ""; + return null; } final StringBuilder builder = new StringBuilder(); @@ -124,6 +124,9 @@ private static void toStringHelper(StringBuilder sb, EnumSet * @throws IllegalArgumentException If {@code ntfsAttributes} contains an attribute that is unknown. */ public static EnumSet toAttributes(String ntfsAttributes) { + if (ntfsAttributes == null) { + return null; + } EnumSet attributes = EnumSet.noneOf(NtfsFileAttributes.class); String[] splitAttributes = ntfsAttributes.split("\\|"); diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/PermissionCopyModeType.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/PermissionCopyModeType.java new file mode 100644 index 0000000000000..14327efeed1c4 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/PermissionCopyModeType.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.storage.file.share.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for PermissionCopyModeType. + */ +public enum PermissionCopyModeType { + /** + * Enum value source. + */ + SOURCE("source"), + + /** + * Enum value override. + */ + OVERRIDE("override"); + + /** + * The actual serialized value for a PermissionCopyModeType instance. + */ + private final String value; + + PermissionCopyModeType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a PermissionCopyModeType instance. + * + * @param value the serialized value to parse. + * @return the parsed PermissionCopyModeType object, or null if unable to parse. + */ + @JsonCreator + public static PermissionCopyModeType fromString(String value) { + PermissionCopyModeType[] items = PermissionCopyModeType.values(); + for (PermissionCopyModeType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareErrorCode.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareErrorCode.java index ccc8d6bd0c5e0..90865f22c5b4c 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareErrorCode.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareErrorCode.java @@ -155,8 +155,7 @@ public final class ShareErrorCode extends ExpandableStringEnum { /** * Static value MultipleConditionHeadersNotSupported for ShareErrorCode. */ - public static final ShareErrorCode MULTIPLE_CONDITION_HEADERS_NOT_SUPPORTED = - fromString("MultipleConditionHeadersNotSupported"); + public static final ShareErrorCode MULTIPLE_CONDITION_HEADERS_NOT_SUPPORTED = fromString("MultipleConditionHeadersNotSupported"); /** * Static value OperationTimedOut for ShareErrorCode. @@ -251,8 +250,7 @@ public final class ShareErrorCode extends ExpandableStringEnum { /** * Static value InvalidFileOrDirectoryPathName for ShareErrorCode. */ - public static final ShareErrorCode INVALID_FILE_OR_DIRECTORY_PATH_NAME = - fromString("InvalidFileOrDirectoryPathName"); + public static final ShareErrorCode INVALID_FILE_OR_DIRECTORY_PATH_NAME = fromString("InvalidFileOrDirectoryPathName"); /** * Static value ParentNotFound for ShareErrorCode. @@ -302,8 +300,7 @@ public final class ShareErrorCode extends ExpandableStringEnum { /** * Static value ShareSnapshotOperationNotSupported for ShareErrorCode. */ - public static final ShareErrorCode SHARE_SNAPSHOT_OPERATION_NOT_SUPPORTED = - fromString("ShareSnapshotOperationNotSupported"); + public static final ShareErrorCode SHARE_SNAPSHOT_OPERATION_NOT_SUPPORTED = fromString("ShareSnapshotOperationNotSupported"); /** * Static value ShareHasSnapshots for ShareErrorCode. @@ -313,8 +310,7 @@ public final class ShareErrorCode extends ExpandableStringEnum { /** * Static value ContainerQuotaDowngradeNotAllowed for ShareErrorCode. */ - public static final ShareErrorCode CONTAINER_QUOTA_DOWNGRADE_NOT_ALLOWED = - fromString("ContainerQuotaDowngradeNotAllowed"); + public static final ShareErrorCode CONTAINER_QUOTA_DOWNGRADE_NOT_ALLOWED = fromString("ContainerQuotaDowngradeNotAllowed"); /** * Static value AuthorizationSourceIPMismatch for ShareErrorCode. @@ -329,8 +325,7 @@ public final class ShareErrorCode extends ExpandableStringEnum { /** * Static value AuthorizationPermissionMismatch for ShareErrorCode. */ - public static final ShareErrorCode AUTHORIZATION_PERMISSION_MISMATCH = - fromString("AuthorizationPermissionMismatch"); + public static final ShareErrorCode AUTHORIZATION_PERMISSION_MISMATCH = fromString("AuthorizationPermissionMismatch"); /** * Static value AuthorizationServiceMismatch for ShareErrorCode. @@ -340,8 +335,7 @@ public final class ShareErrorCode extends ExpandableStringEnum { /** * Static value AuthorizationResourceTypeMismatch for ShareErrorCode. */ - public static final ShareErrorCode AUTHORIZATION_RESOURCE_TYPE_MISMATCH = - fromString("AuthorizationResourceTypeMismatch"); + public static final ShareErrorCode AUTHORIZATION_RESOURCE_TYPE_MISMATCH = fromString("AuthorizationResourceTypeMismatch"); /** * Static value FeatureVersionMismatch for ShareErrorCode. diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareFileDownloadHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareFileDownloadHeaders.java index 81111cccad0bb..9dee58a29fe3a 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareFileDownloadHeaders.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareFileDownloadHeaders.java @@ -229,6 +229,27 @@ public final class ShareFileDownloadHeaders { @JsonProperty(value = "x-ms-file-parent-id") private String fileParentId; + /* + * When a file is leased, specifies whether the lease is of infinite or + * fixed duration. Possible values include: 'infinite', 'fixed' + */ + @JsonProperty(value = "x-ms-lease-duration") + private LeaseDurationType leaseDuration; + + /* + * Lease state of the file. Possible values include: 'available', 'leased', + * 'expired', 'breaking', 'broken' + */ + @JsonProperty(value = "x-ms-lease-state") + private LeaseStateType leaseState; + + /* + * The current lease status of the file. Possible values include: 'locked', + * 'unlocked' + */ + @JsonProperty(value = "x-ms-lease-status") + private LeaseStatusType leaseStatus; + /* * The errorCode property. */ @@ -946,6 +967,74 @@ public ShareFileDownloadHeaders setFileParentId(String fileParentId) { return this; } + /** + * Get the leaseDuration property: When a file is leased, specifies whether + * the lease is of infinite or fixed duration. Possible values include: + * 'infinite', 'fixed'. + * + * @return the leaseDuration value. + */ + public LeaseDurationType getLeaseDuration() { + return this.leaseDuration; + } + + /** + * Set the leaseDuration property: When a file is leased, specifies whether + * the lease is of infinite or fixed duration. Possible values include: + * 'infinite', 'fixed'. + * + * @param leaseDuration the leaseDuration value to set. + * @return the ShareFileDownloadHeaders object itself. + */ + public ShareFileDownloadHeaders setLeaseDuration(LeaseDurationType leaseDuration) { + this.leaseDuration = leaseDuration; + return this; + } + + /** + * Get the leaseState property: Lease state of the file. Possible values + * include: 'available', 'leased', 'expired', 'breaking', 'broken'. + * + * @return the leaseState value. + */ + public LeaseStateType getLeaseState() { + return this.leaseState; + } + + /** + * Set the leaseState property: Lease state of the file. Possible values + * include: 'available', 'leased', 'expired', 'breaking', 'broken'. + * + * @param leaseState the leaseState value to set. + * @return the ShareFileDownloadHeaders object itself. + */ + public ShareFileDownloadHeaders setLeaseState(LeaseStateType leaseState) { + this.leaseState = leaseState; + return this; + } + + /** + * Get the leaseStatus property: The current lease status of the file. + * Possible values include: 'locked', 'unlocked'. + * + * @return the leaseStatus value. + */ + public LeaseStatusType getLeaseStatus() { + return this.leaseStatus; + } + + /** + * Set the leaseStatus property: The current lease status of the file. + * Possible values include: 'locked', 'unlocked'. + * + * @param leaseStatus the leaseStatus value to set. + * @return the ShareFileDownloadHeaders object itself. + */ + public ShareFileDownloadHeaders setLeaseStatus(LeaseStatusType leaseStatus) { + this.leaseStatus = leaseStatus; + return this; + } + /** * Get the errorCode property: The errorCode property. * diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareFileProperties.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareFileProperties.java index ff2e23e5f58b1..5c57cfc64489d 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareFileProperties.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareFileProperties.java @@ -25,6 +25,9 @@ public final class ShareFileProperties { private final String contentEncoding; private final String cacheControl; private final String contentDisposition; + private final LeaseStatusType leaseStatus; + private final LeaseStateType leaseState; + private final LeaseDurationType leaseDuration; private final OffsetDateTime copyCompletionTime; private final String copyStatusDescription; private final String copyId; @@ -77,6 +80,58 @@ public ShareFileProperties(final String eTag, final OffsetDateTime lastModified, final OffsetDateTime copyCompletionTime, final String copyStatusDescription, final String copyId, final String copyProgress, final String copySource, final CopyStatusType copyStatus, final Boolean isServerEncrypted, final FileSmbProperties smbProperties) { + this(eTag, lastModified, metadata, fileType, contentLength, contentType, contentMd5, contentEncoding, + cacheControl, contentDisposition, null, null, null, copyCompletionTime, copyStatusDescription, copyId, + copyProgress, copySource, copyStatus, isServerEncrypted, smbProperties); + } + + /** + * Creates an instance of property information about a specific File. + * + * @param eTag Entity tag that corresponds to the directory. + * @param lastModified Last time the directory was modified. + * @param metadata A set of name-value pairs associated with this file as user-defined metadata. + * @param fileType Type of the file. + * @param contentLength The number of bytes present in the response body. + * @param contentType The content type specified for the file. The default content type is + * application/octet-stream. + * @param contentMd5 The MD5 hash of the file to check the message content integrity. + * @param contentEncoding This header returns the value that was specified for the Content-Encoding request header. + * @param cacheControl This header is returned if it was previously specified for the file. + * @param contentDisposition The value that was specified for the x-ms-content-disposition header and specifies how + * to process the response. + * @param leaseStatusType Status of the lease. + * @param leaseStateType State of the lease. + * @param leaseDurationType How long the lease has left. + * @param copyCompletionTime Conclusion time of the last attempted Copy File operation where this file was the + * destination file. + * @param copyStatusDescription Appears when x-ms-copy-status is failed or pending. Describes cause of fatal or + * non-fatal copy operation failure. + * @param copyId String identifier for the last attempted Copy File operation where this file was the destination + * file. + * @param copyProgress Contains the number of bytes copied and the total bytes in the source in the last attempted + * Copy File operation where this file was the destination file. + * @param copySource URL up to 2KB in length that specifies the source file used in the last attempted Copy File + * operation where this file was the destination file. + * @param copyStatus State of the copy operation identified by x-ms-copy-id, with these values: + *
    + *
  • success: Copy completed successfully
  • + *
  • pending: Copy is in progress. Check x-ms-copy-status-description if intermittent, non-fatal errors impede + * copy progress but don't cause failure.
  • + *
  • aborted: Copy was ended by Abort Copy File.
  • + *
  • failed: Copy failed. See x-ms-copy-status-description for failure details.
  • + *
+ * @param isServerEncrypted The value of this header is set to true if the file data and application metadata are + * completely encrypted using the specified algorithm. Otherwise, the value is set to false. + * @param smbProperties The SMB properties of the file. + */ + public ShareFileProperties(final String eTag, final OffsetDateTime lastModified, final Map metadata, + final String fileType, final Long contentLength, final String contentType, final byte[] contentMd5, + final String contentEncoding, final String cacheControl, final String contentDisposition, + final LeaseStatusType leaseStatusType, final LeaseStateType leaseStateType, + final LeaseDurationType leaseDurationType, final OffsetDateTime copyCompletionTime, + final String copyStatusDescription, final String copyId, final String copyProgress, final String copySource, + final CopyStatusType copyStatus, final Boolean isServerEncrypted, final FileSmbProperties smbProperties) { this.eTag = eTag; this.lastModified = lastModified; this.metadata = metadata; @@ -87,6 +142,9 @@ public ShareFileProperties(final String eTag, final OffsetDateTime lastModified, this.contentEncoding = contentEncoding; this.cacheControl = cacheControl; this.contentDisposition = contentDisposition; + this.leaseStatus = leaseStatusType; + this.leaseState = leaseStateType; + this.leaseDuration = leaseDurationType; this.copyCompletionTime = copyCompletionTime; this.copyStatusDescription = copyStatusDescription; this.copyId = copyId; @@ -168,6 +226,27 @@ public String getContentDisposition() { return contentDisposition; } + /** + * @return the lease status of the file + */ + public LeaseStatusType getLeaseStatus() { + return leaseStatus; + } + + /** + * @return the lease state of the file + */ + public LeaseStateType getLeaseState() { + return leaseState; + } + + /** + * @return the lease duration if the file is leased + */ + public LeaseDurationType getLeaseDuration() { + return leaseDuration; + } + /** * @return Conclusion time of the last attempted Copy File operation where this file was the destination file. */ diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareProperties.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareProperties.java index f20e860f5f3c4..46b7952a79348 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareProperties.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareProperties.java @@ -35,6 +35,30 @@ public final class ShareProperties { @JsonProperty(value = "Quota", required = true) private int quota; + /* + * The provisionedIops property. + */ + @JsonProperty(value = "ProvisionedIops") + private Integer provisionedIops; + + /* + * The provisionedIngressMBps property. + */ + @JsonProperty(value = "ProvisionedIngressMBps") + private Integer provisionedIngressMBps; + + /* + * The provisionedEgressMBps property. + */ + @JsonProperty(value = "ProvisionedEgressMBps") + private Integer provisionedEgressMBps; + + /* + * The nextAllowedQuotaDowngradeTime property. + */ + @JsonProperty(value = "NextAllowedQuotaDowngradeTime") + private DateTimeRfc1123 nextAllowedQuotaDowngradeTime; + /* * The metadata property. */ @@ -108,6 +132,100 @@ public ShareProperties setQuota(int quota) { return this; } + /** + * Get the provisionedIops property: The provisionedIops property. + * + * @return the provisionedIops value. + */ + public Integer getProvisionedIops() { + return this.provisionedIops; + } + + /** + * Set the provisionedIops property: The provisionedIops property. + * + * @param provisionedIops the provisionedIops value to set. + * @return the ShareProperties object itself. + */ + public ShareProperties setProvisionedIops(Integer provisionedIops) { + this.provisionedIops = provisionedIops; + return this; + } + + /** + * Get the provisionedIngressMBps property: The provisionedIngressMBps + * property. + * + * @return the provisionedIngressMBps value. + */ + public Integer getProvisionedIngressMBps() { + return this.provisionedIngressMBps; + } + + /** + * Set the provisionedIngressMBps property: The provisionedIngressMBps + * property. + * + * @param provisionedIngressMBps the provisionedIngressMBps value to set. + * @return the ShareProperties object itself. + */ + public ShareProperties setProvisionedIngressMBps(Integer provisionedIngressMBps) { + this.provisionedIngressMBps = provisionedIngressMBps; + return this; + } + + /** + * Get the provisionedEgressMBps property: The provisionedEgressMBps + * property. + * + * @return the provisionedEgressMBps value. + */ + public Integer getProvisionedEgressMBps() { + return this.provisionedEgressMBps; + } + + /** + * Set the provisionedEgressMBps property: The provisionedEgressMBps + * property. + * + * @param provisionedEgressMBps the provisionedEgressMBps value to set. + * @return the ShareProperties object itself. + */ + public ShareProperties setProvisionedEgressMBps(Integer provisionedEgressMBps) { + this.provisionedEgressMBps = provisionedEgressMBps; + return this; + } + + /** + * Get the nextAllowedQuotaDowngradeTime property: The + * nextAllowedQuotaDowngradeTime property. + * + * @return the nextAllowedQuotaDowngradeTime value. + */ + public OffsetDateTime getNextAllowedQuotaDowngradeTime() { + if (this.nextAllowedQuotaDowngradeTime == null) { + return null; + } + return this.nextAllowedQuotaDowngradeTime.getDateTime(); + } + + /** + * Set the nextAllowedQuotaDowngradeTime property: The + * nextAllowedQuotaDowngradeTime property. + * + * @param nextAllowedQuotaDowngradeTime the nextAllowedQuotaDowngradeTime + * value to set. + * @return the ShareProperties object itself. + */ + public ShareProperties setNextAllowedQuotaDowngradeTime(OffsetDateTime nextAllowedQuotaDowngradeTime) { + if (nextAllowedQuotaDowngradeTime == null) { + this.nextAllowedQuotaDowngradeTime = null; + } else { + this.nextAllowedQuotaDowngradeTime = new DateTimeRfc1123(nextAllowedQuotaDowngradeTime); + } + return this; + } + /** * Get the metadata property: The metadata property. * diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareRequestConditions.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareRequestConditions.java new file mode 100644 index 0000000000000..ac7307c8f4a26 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareRequestConditions.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.share.models; + +import com.azure.core.annotation.Fluent; + +/** + * This class contains values which will restrict the successful operation of a variety of requests to the conditions + * present. These conditions are entirely optional. The entire object or any of its properties may be set to null when + * passed to a method to indicate that those conditions are not desired. Please refer to the type of each field for more + * information on those particular access conditions. + */ +@Fluent +public class ShareRequestConditions { + private String leaseId; + + /** + * Gets the lease ID that files and shares must match. + * + * @return The lease ID that files and shares must match. + */ + public String getLeaseId() { + return leaseId; + } + + /** + * Optionally limits requests to files and shares that match the lease ID. + * + * @param leaseId Lease ID that files and shares must match. + * @return The updated ShareRequestConditions object. + */ + public ShareRequestConditions setLeaseId(String leaseId) { + this.leaseId = leaseId; + return this; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseAsyncClient.java new file mode 100644 index 0000000000000..fe0e01a76e0ef --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseAsyncClient.java @@ -0,0 +1,252 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.share.specialized; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import com.azure.storage.file.share.ShareFileAsyncClient; +import com.azure.storage.file.share.implementation.AzureFileStorageBuilder; +import com.azure.storage.file.share.implementation.AzureFileStorageImpl; +import reactor.core.publisher.Mono; + +import java.net.URL; + +import static com.azure.core.util.FluxUtil.monoError; +import static com.azure.core.util.FluxUtil.withContext; + +/** + * This class provides a client that contains all the leasing operations for {@link ShareFileAsyncClient files}. + * This client acts as a supplement to that client and only handles leasing operations. + * + *

Instantiating a ShareLeaseAsyncClient

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.asyncInstantiation} + * + *

View {@link ShareLeaseClientBuilder this} for additional ways to construct the client.

+ * + *

For more information about leasing see the + * Azure Docs. + * + * @see ShareLeaseClientBuilder + */ +@ServiceClient(builder = ShareLeaseClientBuilder.class, isAsync = true) +public final class ShareLeaseAsyncClient { + private final ClientLogger logger = new ClientLogger(ShareLeaseAsyncClient.class); + + private final String leaseId; + private final AzureFileStorageImpl client; + private final String accountName; + + ShareLeaseAsyncClient(HttpPipeline pipeline, String url, String leaseId, String accountName, + String serviceVersion) { + this.leaseId = leaseId; + this.client = new AzureFileStorageBuilder() + .pipeline(pipeline) + .url(url) + .version(serviceVersion) + .build(); + this.accountName = accountName; + } + + /** + * Gets the {@link URL} of the lease client. + * + * @return URL of the lease client. + */ + public String getFileUrl() { + return this.client.getUrl(); + } + + /** + * Get the lease ID for this lease. + * + * @return the lease ID. + */ + public String getLeaseId() { + return leaseId; + } + + /** + * Acquires a lease for write and delete operations. All leases are infinite. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.acquireLease} + * + * @return A reactive response containing the lease ID. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono acquireLease() { + try { + return acquireLeaseWithResponse().flatMap(FluxUtil::toMono); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Acquires a lease for write and delete operations. All leases are infinite. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.acquireLeaseWithResponse} + * + * @return A reactive response containing the lease ID. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> acquireLeaseWithResponse() { + try { + return withContext(this::acquireLeaseWithResponse); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono> acquireLeaseWithResponse(Context context) { + return this.client.files().acquireLeaseWithRestResponseAsync(null, null, null, -1, this.leaseId, null, context) + .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getLeaseId())); + } + + /** + * Releases the previously acquired lease. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.releaseLease} + * + * @return A reactive response signalling completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono releaseLease() { + try { + return releaseLeaseWithResponse().flatMap(FluxUtil::toMono); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Releases the previously acquired lease. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.releaseLeaseWithResponse} + * + * @return A reactive response signalling completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> releaseLeaseWithResponse() { + try { + return withContext(this::releaseLeaseWithResponse); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono> releaseLeaseWithResponse(Context context) { + return this.client.files().releaseLeaseWithRestResponseAsync(null, null, this.leaseId, context) + .map(response -> new SimpleResponse<>(response, null)); + + } + + /** + * Breaks the previously acquired lease, if it exists. Leases will break immediately. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.breakLease} + * + * @return A reactive response signalling completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono breakLease() { + try { + return breakLeaseWithResponse().flatMap(FluxUtil::toMono); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Breaks the previously acquired lease, if it exists. Leases will break immediately. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.breakLeaseWithResponse} + * + * @return A reactive response signalling completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> breakLeaseWithResponse() { + try { + return withContext(this::breakLeaseWithResponse); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono> breakLeaseWithResponse(Context context) { + return this.client.files().breakLeaseWithRestResponseAsync(null, null, null, null, null, context) + .map(rb -> new SimpleResponse<>(rb, null)); + } + + /** + * Changes the lease ID. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.changeLease#String} + * + * @param proposedId A new lease ID in a valid GUID format. + * @return A reactive response containing the new lease ID. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono changeLease(String proposedId) { + try { + return changeLeaseWithResponse(proposedId).flatMap(FluxUtil::toMono); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Changes the lease ID. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.changeLeaseWithResponse#String} + * + * @param proposedId A new lease ID in a valid GUID format. + * @return A reactive response containing the new lease ID. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> changeLeaseWithResponse(String proposedId) { + try { + return withContext(context -> changeLeaseWithResponse(proposedId, context)); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono> changeLeaseWithResponse(String proposedId, Context context) { + return this.client.files().changeLeaseWithRestResponseAsync(null, null, this.leaseId, null, proposedId, + null, context).map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getLeaseId())); + } + + /** + * Get associated account name. + * + * @return account name associated with this storage resource. + */ + public String getAccountName() { + return this.accountName; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseClient.java new file mode 100644 index 0000000000000..0765f196b04b9 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseClient.java @@ -0,0 +1,187 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.share.specialized; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.storage.common.implementation.StorageImplUtils; +import com.azure.storage.file.share.ShareFileClient; + +import java.net.URL; +import java.time.Duration; + +/** + * This class provides a client that contains all the leasing operations for {@link ShareFileClient files}. + * This client acts as a supplement to that client and only handles leasing operations. + * + *

Instantiating a ShareLeaseClient

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.syncInstantiation} + * + *

View {@link ShareLeaseClientBuilder this} for additional ways to construct the client.

+ * + *

For more information about leasing see the + * Azure Docs. + * + * @see ShareLeaseClientBuilder + */ +@ServiceClient(builder = ShareLeaseClientBuilder.class) +public final class ShareLeaseClient { + private final ShareLeaseAsyncClient client; + + ShareLeaseClient(ShareLeaseAsyncClient client) { + this.client = client; + } + + /** + * Gets the {@link URL} of the lease client. + * + * @return URL of the lease client. + */ + public String getFileUrl() { + return client.getFileUrl(); + } + + /** + * Get the lease ID for this lease. + * + * @return the lease ID. + */ + public String getLeaseId() { + return client.getLeaseId(); + } + + /** + * Acquires a lease for write and delete operations. All leases are infinite. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClient.acquireLease} + * + * @return The lease ID. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public String acquireLease() { + return acquireLeaseWithResponse(null, Context.NONE).getValue(); + } + + /** + * Acquires a lease for write and delete operations. All leases are infinite. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClient.acquireLeaseWithResponse#Duration-Context} + * + * @param timeout An optional timeout value beyond which a {@link RuntimeException} will be raised. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return The lease ID. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response acquireLeaseWithResponse(Duration timeout, Context context) { + return StorageImplUtils.blockWithOptionalTimeout(this.client.acquireLeaseWithResponse(context), timeout); + } + + /** + * Releases the previously acquired lease. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClient.releaseLease} + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void releaseLease() { + releaseLeaseWithResponse(null, Context.NONE); + } + + /** + * Releases the previously acquired lease. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClient.releaseLeaseWithResponse#Duration-Context} + * + * @param timeout An optional timeout value beyond which a {@link RuntimeException} will be raised. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing status code and HTTP headers. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response releaseLeaseWithResponse(Duration timeout, Context context) { + return StorageImplUtils.blockWithOptionalTimeout(this.client.releaseLeaseWithResponse(context), timeout); + } + + /** + * Breaks the previously acquired lease, if it exists. Leases will break immediately. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClient.breakLease} + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void breakLease() { + breakLeaseWithResponse(null, Context.NONE).getValue(); + } + + /** + * Breaks the previously acquired lease, if it exists. Leases will break immediately. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClient.breakLeaseWithResponse#Duration-Context} + * + * @param timeout An optional timeout value beyond which a {@link RuntimeException} will be raised. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return A response containing status code and HTTP headers. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response breakLeaseWithResponse(Duration timeout, Context context) { + return StorageImplUtils.blockWithOptionalTimeout(this.client + .breakLeaseWithResponse(context), timeout); + } + + /** + * Changes the lease ID. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClient.changeLease#String} + * + * @param proposedId A new lease ID in a valid GUID format. + * @return The new lease ID. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public String changeLease(String proposedId) { + return changeLeaseWithResponse(proposedId, null, Context.NONE).getValue(); + } + + /** + * Changes the lease ID. + * + *

Code Samples

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClient.changeLeaseWithResponse#String-Duration-Context} + * + * @param proposedId A new lease ID in a valid GUID format. + * @param timeout An optional timeout value beyond which a {@link RuntimeException} will be raised. + * @param context Additional context that is passed through the Http pipeline during the service call. + * @return The new lease ID. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response changeLeaseWithResponse(String proposedId, Duration timeout, Context context) { + return StorageImplUtils.blockWithOptionalTimeout(this.client + .changeLeaseWithResponse(proposedId, context), timeout); + } + + /** + * Get associated account name. + * + * @return account name associated with this storage resource. + */ + public String getAccountName() { + return client.getAccountName(); + } + +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseClientBuilder.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseClientBuilder.java new file mode 100644 index 0000000000000..e0d643c74b769 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseClientBuilder.java @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.share.specialized; + +import com.azure.core.annotation.ServiceClientBuilder; +import com.azure.core.http.HttpPipeline; +import com.azure.storage.file.share.ShareFileAsyncClient; +import com.azure.storage.file.share.ShareFileClient; +import com.azure.storage.file.share.ShareServiceVersion; + +import java.net.URL; +import java.util.Objects; +import java.util.UUID; + +/** + * This class provides a fluent builder API to help aid the configuration and instantiation of Storage Lease + * clients. Lease clients are able to interact only with share file clients and act as a supplement client. A + * new instance of {@link ShareLeaseClient} and {@link ShareLeaseAsyncClient} are constructed every time + * {@link #buildClient() buildClient} and {@link #buildAsyncClient() buildAsyncClient} are called + * respectively. + * + *

When a client is instantiated and a {@link #leaseId(String) leaseId} hasn't been set a {@link UUID} will be used + * as the lease identifier.

+ * + *

Instantiating LeaseClients

+ * + * {@codesnippet com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.syncInstantiationWithLeaseId} + * + *

Instantiating LeaseAsyncClients

+ * + * {@codesnippet com.azure.storage.file.specialized.ShareLeaseClientBuilder.asyncInstantiationWithLeaseId} + * + * @see ShareLeaseClient + * @see ShareLeaseAsyncClient + */ +@ServiceClientBuilder(serviceClients = { ShareLeaseClient.class, ShareLeaseAsyncClient.class }) +public final class ShareLeaseClientBuilder { + private HttpPipeline pipeline; + private String url; + private String leaseId; + private String accountName; + private ShareServiceVersion serviceVersion; + + /** + * Creates a {@link ShareLeaseClient} based on the configurations set in the builder. + * + * @return a {@link ShareLeaseClient} based on the configurations in this builder. + */ + public ShareLeaseClient buildClient() { + return new ShareLeaseClient(buildAsyncClient()); + } + + /** + * Creates a {@link ShareLeaseAsyncClient} based on the configurations set in the builder. + * + * @return a {@link ShareLeaseAsyncClient} based on the configurations in this builder. + */ + public ShareLeaseAsyncClient buildAsyncClient() { + ShareServiceVersion version = (serviceVersion == null) ? ShareServiceVersion.getLatest() : serviceVersion; + return new ShareLeaseAsyncClient(pipeline, url, getLeaseId(), accountName, version.getVersion()); + } + + /** + * Configures the builder based on the passed {@link ShareFileClient}. This will set the {@link HttpPipeline} and + * {@link URL} that are used to interact with the service. + * + * @param fileClient ShareFileClient used to configure the builder. + * @return the updated ShareLeaseClientBuilder object + * @throws NullPointerException If {@code fileClient} is {@code null}. + */ + public ShareLeaseClientBuilder fileClient(ShareFileClient fileClient) { + Objects.requireNonNull(fileClient); + this.pipeline = fileClient.getHttpPipeline(); + this.url = fileClient.getFileUrl(); + this.accountName = fileClient.getAccountName(); + this.serviceVersion = fileClient.getServiceVersion(); + return this; + } + + /** + * Configures the builder based on the passed {@link ShareFileAsyncClient}. This will set the {@link HttpPipeline} + * and {@link URL} that are used to interact with the service. + * + * @param fileAsyncClient BlobAsyncClient used to configure the builder. + * @return the updated ShareLeaseClientBuilder object + * @throws NullPointerException If {@code fileAsyncClient} is {@code null}. + */ + public ShareLeaseClientBuilder fileAsyncClient(ShareFileAsyncClient fileAsyncClient) { + Objects.requireNonNull(fileAsyncClient); + this.pipeline = fileAsyncClient.getHttpPipeline(); + this.url = fileAsyncClient.getFileUrl(); + this.accountName = fileAsyncClient.getAccountName(); + this.serviceVersion = fileAsyncClient.getServiceVersion(); + return this; + } + + /** + * Sets the identifier for the lease. + * + *

If a lease ID isn't set then a {@link UUID} will be used.

+ * + * @param leaseId Identifier for the lease. + * @return the updated ShareLeaseClientBuilder object + */ + public ShareLeaseClientBuilder leaseId(String leaseId) { + this.leaseId = leaseId; + return this; + } + + private String getLeaseId() { + return (leaseId == null) ? UUID.randomUUID().toString() : leaseId; + } +} diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/package-info.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/package-info.java new file mode 100644 index 0000000000000..fbc0d7f52c5c7 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing specialized clients for Azure Storage Files. + */ +package com.azure.storage.file.share.specialized; diff --git a/sdk/storage/azure-storage-file-share/src/main/java/module-info.java b/sdk/storage/azure-storage-file-share/src/main/java/module-info.java index b01207bdbbefa..f3af85f0efee1 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/module-info.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/module-info.java @@ -9,6 +9,7 @@ exports com.azure.storage.file.share; exports com.azure.storage.file.share.models; exports com.azure.storage.file.share.sas; + exports com.azure.storage.file.share.specialized; opens com.azure.storage.file.share.models to com.fasterxml.jackson.databind, diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java index 076c10fdbc545..303d9b4561c8f 100644 --- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java @@ -5,6 +5,7 @@ import com.azure.storage.common.StorageSharedKeyCredential; import com.azure.storage.file.share.models.ShareAccessPolicy; import com.azure.storage.file.share.models.ShareFileHttpHeaders; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.models.ShareSignedIdentifier; import com.azure.storage.file.share.models.NtfsFileAttributes; import com.azure.storage.file.share.sas.ShareSasPermission; @@ -22,7 +23,7 @@ * Contains code snippets when generating javadocs through doclets for {@link ShareAsyncClient}. */ public class ShareAsyncJavaDocCodeSamples { - + private String leaseId = "leaseId"; /** * Generates code sample for {@link ShareAsyncClient} instantiation. @@ -241,6 +242,36 @@ public void createFileWithResponse() { // END: com.azure.storage.file.share.ShareAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map } + /** + * Generates a code sample for using {@link ShareAsyncClient#createFileWithResponse(String, long, ShareFileHttpHeaders, + * FileSmbProperties, String, Map, ShareRequestConditions)} + */ + public void createFileWithLease() { + ShareAsyncClient shareAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions + ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() + .setContentType("text/html") + .setContentEncoding("gzip") + .setContentLanguage("en") + .setCacheControl("no-transform") + .setContentDisposition("attachment"); + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + + shareAsyncClient.createFileWithResponse("myfile", 1024, httpHeaders, smbProperties, + filePermission, Collections.singletonMap("directory", "metadata"), requestConditions) + .subscribe(response -> System.out.printf("Creating the file completed with status code %d", + response.getStatusCode())); + // END: com.azure.storage.file.share.ShareAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareAsyncClient#deleteDirectory(String)} */ @@ -271,6 +302,23 @@ public void deleteFileAsync() { // END: com.azure.storage.file.share.ShareAsyncClient.deleteFile#string } + /** + * Generates a code sample for using {@link ShareAsyncClient#deleteFileWithResponse(String, ShareRequestConditions)} + */ + public void deleteFileWithResponseAsync() { + ShareAsyncClient shareAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareAsyncClient.deleteFile#string-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareAsyncClient.deleteFileWithResponse("myfile", requestConditions).subscribe( + response -> { + }, + error -> System.err.println(error.toString()), + () -> System.out.println("Complete deleting the file.") + ); + // END: com.azure.storage.file.share.ShareAsyncClient.deleteFile#string-ShareRequestConditions + } + + /** * Generates a code sample for using {@link ShareAsyncClient#delete} */ diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareDirectoryAsyncJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareDirectoryAsyncJavaDocCodeSamples.java index ec1553145f986..9ed9c6d713a9c 100644 --- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareDirectoryAsyncJavaDocCodeSamples.java +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareDirectoryAsyncJavaDocCodeSamples.java @@ -3,8 +3,9 @@ package com.azure.storage.file.share; import com.azure.storage.common.StorageSharedKeyCredential; -import com.azure.storage.file.share.models.ShareFileHttpHeaders; import com.azure.storage.file.share.models.NtfsFileAttributes; +import com.azure.storage.file.share.models.ShareFileHttpHeaders; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.sas.ShareFileSasPermission; import com.azure.storage.file.share.sas.ShareServiceSasSignatureValues; @@ -16,10 +17,13 @@ import java.util.Map; /** - * Contains code snippets when generating javadocs through doclets for {@link ShareDirectoryClient} and {@link ShareDirectoryAsyncClient}. + * Contains code snippets when generating javadocs through doclets for {@link ShareDirectoryClient} and {@link + * ShareDirectoryAsyncClient}. */ public class ShareDirectoryAsyncJavaDocCodeSamples { + private String leaseId = "leaseId"; + /** * Generates code sample for {@link ShareDirectoryAsyncClient} instantiation. */ @@ -34,6 +38,7 @@ public void asyncInitialization() { /** * Generates code sample for creating a {@link ShareDirectoryAsyncClient} with SAS token. + * * @return An instance of {@link ShareDirectoryAsyncClient} */ public ShareDirectoryAsyncClient createAsyncClientWithSASToken() { @@ -49,6 +54,7 @@ public ShareDirectoryAsyncClient createAsyncClientWithSASToken() { /** * Generates code sample for creating a {@link ShareDirectoryAsyncClient} with SAS token. + * * @return An instance of {@link ShareDirectoryAsyncClient} */ public ShareDirectoryAsyncClient createAsyncClientWithCredential() { @@ -64,7 +70,9 @@ public ShareDirectoryAsyncClient createAsyncClientWithCredential() { } /** - * Generates code sample for creating a {@link ShareDirectoryAsyncClient} with {@code connectionString} which turns into {@link StorageSharedKeyCredential} + * Generates code sample for creating a {@link ShareDirectoryAsyncClient} with {@code connectionString} which turns + * into {@link StorageSharedKeyCredential} + * * @return An instance of {@link ShareDirectoryAsyncClient} */ public ShareDirectoryAsyncClient createAsyncClientWithConnectionString() { @@ -86,7 +94,8 @@ public void createDirectoryAsync() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.create shareDirectoryAsyncClient.create().subscribe( - response -> { }, + response -> { + }, error -> System.err.print(error.toString()), () -> System.out.println("Completed creating the directory!") ); @@ -94,7 +103,8 @@ public void createDirectoryAsync() { } /** - * Generates a code sample for using {@link ShareDirectoryAsyncClient#createWithResponse(FileSmbProperties, String, Map)} + * Generates a code sample for using {@link ShareDirectoryAsyncClient#createWithResponse(FileSmbProperties, String, + * Map)} */ public void createDirectoryWithResponseAsync() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); @@ -122,7 +132,8 @@ public void createSubdirectory() { } /** - * Generates a code sample for using {@link ShareDirectoryAsyncClient#createSubdirectoryWithResponse(String, FileSmbProperties, String, Map)} + * Generates a code sample for using {@link ShareDirectoryAsyncClient#createSubdirectoryWithResponse(String, + * FileSmbProperties, String, Map)} */ public void createSubdirectoryAsyncMaxOverload() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); @@ -146,7 +157,8 @@ public void createFileAsync() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.createFile#string-long shareDirectoryAsyncClient.createFile("myfile", 1024).subscribe( - response -> { }, + response -> { + }, error -> System.err.println(error.toString()), () -> System.out.println("Completed creating the file.") ); @@ -154,11 +166,12 @@ public void createFileAsync() { } /** - * Generates a code sample for using {@link ShareDirectoryAsyncClient#createFileWithResponse(String, long, ShareFileHttpHeaders, FileSmbProperties, String, Map)} + * Generates a code sample for using {@link ShareDirectoryAsyncClient#createFileWithResponse(String, long, + * ShareFileHttpHeaders, FileSmbProperties, String, Map)} */ public void createFileWithResponse() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); - // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map + // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() .setContentType("text/html") .setContentEncoding("gzip") @@ -174,11 +187,43 @@ public void createFileWithResponse() { // NOTE: filePermission and filePermissionKey should never be both set shareDirectoryAsyncClient.createFileWithResponse("myFile", 1024, httpHeaders, smbProperties, filePermission, Collections.singletonMap("directory", "metadata")).subscribe( - response -> System.out.printf("Creating the file completed with status code %d", response.getStatusCode()), + response -> System.out.printf("Creating the file completed with status code %d", response.getStatusCode()), error -> System.err.println(error.toString()), () -> System.out.println("Completed creating the file.") ); - // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map + // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map + } + + /** + * Generates a code sample for using {@link ShareDirectoryAsyncClient#createFileWithResponse(String, long, + * ShareFileHttpHeaders, FileSmbProperties, String, Map, ShareRequestConditions)} + */ + public void createFileWithLease() { + ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions + ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() + .setContentType("text/html") + .setContentEncoding("gzip") + .setContentLanguage("en") + .setCacheControl("no-transform") + .setContentDisposition("attachment"); + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + + shareDirectoryAsyncClient.createFileWithResponse("myFile", 1024, httpHeaders, smbProperties, filePermission, + Collections.singletonMap("directory", "metadata"), requestConditions).subscribe( + response -> System.out.printf("Creating the file completed with status code %d", response.getStatusCode()), + error -> System.err.println(error.toString()), + () -> System.out.println("Completed creating the file.") + ); + // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions } /** @@ -218,7 +263,8 @@ public void deleteFileAsync() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteFile#string shareDirectoryAsyncClient.deleteFile("myfile").subscribe( - response -> { }, + response -> { + }, error -> System.err.println(error.toString()), () -> System.out.println("Completed deleting the file.") ); @@ -232,13 +278,29 @@ public void deleteFileWithResponse() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteFileWithResponse#string shareDirectoryAsyncClient.deleteFileWithResponse("myfile").subscribe( - response -> System.out.printf("Delete file completed with status code %d", response.getStatusCode()), + response -> System.out.printf("Delete file completed with status code %d", response.getStatusCode()), error -> System.err.println(error.toString()), () -> System.out.println("Completed deleting the file.") ); // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteFileWithResponse#string } + /** + * Generates a code sample for using {@link ShareDirectoryAsyncClient#deleteFileWithResponse(String, + * ShareRequestConditions)} + */ + public void deleteFileWithLease() { + ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteFileWithResponse#string-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareDirectoryAsyncClient.deleteFileWithResponse("myfile", requestConditions).subscribe( + response -> System.out.printf("Delete file completed with status code %d", response.getStatusCode()), + error -> System.err.println(error.toString()), + () -> System.out.println("Completed deleting the file.") + ); + // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteFileWithResponse#string-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareDirectoryAsyncClient#deleteSubdirectory(String)} ()} */ @@ -246,7 +308,8 @@ public void deleteSubdirectoryAsync() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteSubdirectory#string shareDirectoryAsyncClient.deleteSubdirectory("mysubdirectory").subscribe( - response -> { }, + response -> { + }, error -> System.err.println(error.toString()), () -> System.out.println("Completed deleting the subdirectory.") ); @@ -260,7 +323,8 @@ public void deleteSubdirectoryWithResponse() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteSubdirectoryWithResponse#string shareDirectoryAsyncClient.deleteSubdirectoryWithResponse("mysubdirectory").subscribe( - response -> System.out.printf("Delete subdirectory completed with status code %d", response.getStatusCode()), + response -> System.out.printf("Delete subdirectory completed with status code %d", + response.getStatusCode()), error -> System.err.println(error.toString()), () -> System.out.println("Completed deleting the subdirectory.") ); @@ -274,7 +338,8 @@ public void deleteDirectoryAsync() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.delete shareDirectoryAsyncClient.delete().subscribe( - response -> { }, + response -> { + }, error -> System.err.println(error.toString()), () -> System.out.println("Completed deleting the file.") ); @@ -288,7 +353,7 @@ public void deleteWithResponse() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteWithResponse shareDirectoryAsyncClient.deleteWithResponse().subscribe( - response -> System.out.printf("Delete completed with status code %d", response.getStatusCode()), + response -> System.out.printf("Delete completed with status code %d", response.getStatusCode()), error -> System.err.println(error.toString()) ); // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.deleteWithResponse @@ -333,7 +398,8 @@ public void setPropertiesAsync() { } /** - * Generates a code sample for using {@link ShareDirectoryAsyncClient#setPropertiesWithResponse(FileSmbProperties, String)} + * Generates a code sample for using {@link ShareDirectoryAsyncClient#setPropertiesWithResponse(FileSmbProperties, + * String)} */ public void setPropertiesWithResponse() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); @@ -364,18 +430,19 @@ public void setMetadataClear() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.setMetadata#map.clearMetadata shareDirectoryAsyncClient.setMetadata(null) - .doOnSuccess(response -> System.out.println("Clearing the directory metadata completed")); + .doOnSuccess(response -> System.out.println("Clearing the directory metadata completed")); // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.setMetadata#map.clearMetadata } /** - * Generates a code sample for using {@link ShareDirectoryAsyncClient#setMetadataWithResponse(Map)} to clear the metadata. + * Generates a code sample for using {@link ShareDirectoryAsyncClient#setMetadataWithResponse(Map)} to clear the + * metadata. */ public void setMetadataWithResponseClear() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.setMetadataWithResponse#map.clearMetadata shareDirectoryAsyncClient.setMetadataWithResponse(null).subscribe( - response -> System.out.printf("Clearing the directory metadata completed with status code %d", + response -> System.out.printf("Clearing the directory metadata completed with status code %d", response.getStatusCode())); // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.setMetadataWithResponse#map.clearMetadata } @@ -436,8 +503,9 @@ public void forceCloseHandleWithResponse() { public void forceCloseAllHandles() { ShareDirectoryAsyncClient shareDirectoryAsyncClient = createAsyncClientWithConnectionString(); // BEGIN: com.azure.storage.file.share.ShareDirectoryAsyncClient.forceCloseAllHandles#boolean - shareDirectoryAsyncClient.forceCloseAllHandles(true).subscribe(numberOfHandlesClosed -> - System.out.printf("Closed %d open handles on the directory%n", numberOfHandlesClosed)); + shareDirectoryAsyncClient.forceCloseAllHandles(true).subscribe(closeHandlesInfo -> + System.out.printf("Closed %d open handles on the directory%nFailed to close %d open handles on the " + + "directory%n", closeHandlesInfo.getClosedHandles(), closeHandlesInfo.getFailedHandles())); // END: com.azure.storage.file.share.ShareDirectoryAsyncClient.forceCloseAllHandles#boolean } diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareDirectoryJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareDirectoryJavaDocCodeSamples.java index b8e6da9f37df5..8dd9a9169c233 100644 --- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareDirectoryJavaDocCodeSamples.java +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareDirectoryJavaDocCodeSamples.java @@ -12,6 +12,7 @@ import com.azure.storage.file.share.models.ShareFileHttpHeaders; import com.azure.storage.file.share.models.HandleItem; import com.azure.storage.file.share.models.NtfsFileAttributes; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.sas.ShareFileSasPermission; import com.azure.storage.file.share.sas.ShareServiceSasSignatureValues; @@ -31,6 +32,8 @@ public class ShareDirectoryJavaDocCodeSamples { private String key1 = "key1"; private String value1 = "val1"; + private String leaseId = "leaseId"; + /** * Generates code sample for {@link ShareDirectoryClient} instantiation. */ @@ -166,7 +169,7 @@ public void createFile() { */ public void createFileMaxOverload() { ShareDirectoryClient shareDirectoryClient = createClientWithSASToken(); - // BEGIN: com.azure.storage.file.share.ShareDirectoryClient.createFile#com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-duration-context + // BEGIN: com.azure.storage.file.share.ShareDirectoryClient.createFile#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-duration-context ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() .setContentType("text/html") .setContentEncoding("gzip") @@ -184,7 +187,37 @@ public void createFileMaxOverload() { httpHeaders, smbProperties, filePermission, Collections.singletonMap("directory", "metadata"), Duration.ofSeconds(1), new Context(key1, value1)); System.out.println("Completed creating the file with status code: " + response.getStatusCode()); - // END: com.azure.storage.file.share.ShareDirectoryClient.createFile#com.azure.storage.file.share.ShareDirectoryAsyncClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-duration-context + // END: com.azure.storage.file.share.ShareDirectoryClient.createFile#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-duration-context + } + + /** + * Generates a code sample for using {@link ShareDirectoryClient#createFileWithResponse(String, long, ShareFileHttpHeaders, + * FileSmbProperties, String, Map, ShareRequestConditions, Duration, Context)} + */ + public void createFileWithLease() { + ShareDirectoryClient shareDirectoryClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareDirectoryClient.createFile#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-duration-context + ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() + .setContentType("text/html") + .setContentEncoding("gzip") + .setContentLanguage("en") + .setCacheControl("no-transform") + .setContentDisposition("attachment"); + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + + Response response = shareDirectoryClient.createFileWithResponse("myFile", 1024, + httpHeaders, smbProperties, filePermission, Collections.singletonMap("directory", "metadata"), + requestConditions, Duration.ofSeconds(1), new Context(key1, value1)); + System.out.println("Completed creating the file with status code: " + response.getStatusCode()); + // END: com.azure.storage.file.share.ShareDirectoryClient.createFile#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-duration-context } /** @@ -238,6 +271,19 @@ public void deleteFileWithResponse() { // END: com.azure.storage.file.share.ShareDirectoryClient.deleteFileWithResponse#string-duration-context } + /** + * Generates a code sample for using {@link ShareDirectoryClient#deleteFileWithResponse(String,ShareRequestConditions, Duration, Context)} + */ + public void deleteFileWithLease() { + ShareDirectoryClient shareDirectoryClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareDirectoryClient.deleteFileWithResponse#string-ShareRequestConditions-duration-context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = shareDirectoryClient.deleteFileWithResponse("myfile", requestConditions, + Duration.ofSeconds(1), new Context(key1, value1)); + System.out.println("Completed deleting the file with status code: " + response.getStatusCode()); + // END: com.azure.storage.file.share.ShareDirectoryClient.deleteFileWithResponse#string-ShareRequestConditions-duration-context + } + /** * Generates a code sample for using {@link ShareDirectoryClient#deleteSubdirectory(String)} */ @@ -432,6 +478,7 @@ public void forceCloseAllHandles() { CloseHandlesInfo closeHandlesInfo = shareDirectoryClient.forceCloseAllHandles(true, Duration.ofSeconds(30), Context.NONE); System.out.printf("Closed %d open handles on the directory%n", closeHandlesInfo.getClosedHandles()); + System.out.printf("Failed to close %d open handles on the directory%n", closeHandlesInfo.getFailedHandles()); // END: com.azure.storage.file.share.ShareDirectoryClient.forceCloseAllHandles#boolean-Duration-Context } diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareFileAsyncJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareFileAsyncJavaDocCodeSamples.java index 2766ec09bb08a..4e375c0044f3b 100644 --- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareFileAsyncJavaDocCodeSamples.java +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareFileAsyncJavaDocCodeSamples.java @@ -4,11 +4,13 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.storage.common.StorageSharedKeyCredential; +import com.azure.storage.file.share.models.PermissionCopyModeType; import com.azure.storage.file.share.models.ShareFileCopyInfo; import com.azure.storage.file.share.models.ShareFileHttpHeaders; import com.azure.storage.file.share.models.ShareFileProperties; import com.azure.storage.file.share.models.ShareFileRange; import com.azure.storage.file.share.models.NtfsFileAttributes; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.sas.ShareFileSasPermission; import com.azure.storage.file.share.sas.ShareServiceSasSignatureValues; import reactor.core.publisher.Flux; @@ -29,6 +31,7 @@ * Contains code snippets when generating javadocs through doclets for {@link ShareFileClient} and {@link ShareFileAsyncClient}. */ public class ShareFileAsyncJavaDocCodeSamples { + String leaseId = "leaseId"; /** * Generates code sample for {@link ShareFileAsyncClient} instantiation. @@ -129,6 +132,35 @@ public void createWithResponse() { // END: com.azure.storage.file.share.ShareFileAsyncClient.createWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Map } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#createWithResponse(long, ShareFileHttpHeaders, FileSmbProperties, String, Map, ShareRequestConditions)} + */ + public void createWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.createWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions + ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() + .setContentType("text/html") + .setContentEncoding("gzip") + .setContentLanguage("en") + .setCacheControl("no-transform") + .setContentDisposition("attachment"); + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + + shareFileAsyncClient.createWithResponse(1024, httpHeaders, smbProperties, filePermission, + Collections.singletonMap("directory", "metadata"), requestConditions) + .subscribe(response -> System.out.printf("Creating the file completed with status code %d", + response.getStatusCode())); + // END: com.azure.storage.file.share.ShareFileAsyncClient.createWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#beginCopy(String, Map, Duration)} */ @@ -147,6 +179,35 @@ public void beginCopy() { // END: com.azure.storage.file.share.ShareFileAsyncClient.beginCopy#string-map-duration } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#beginCopy(String, FileSmbProperties, String, PermissionCopyModeType, Boolean, Boolean, Map, Duration, ShareRequestConditions)} + */ + public void beginCopy2() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.beginCopy#string-filesmbproperties-string-permissioncopymodetype-boolean-boolean-map-duration-ShareRequestConditions + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + boolean ignoreReadOnly = false; // Default value + boolean setArchiveAttribute = true; // Default value + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + + PollerFlux poller = shareFileAsyncClient.beginCopy( + "https://{accountName}.file.core.windows.net?{SASToken}", + smbProperties, filePermission, PermissionCopyModeType.SOURCE, ignoreReadOnly, setArchiveAttribute, + Collections.singletonMap("file", "metadata"), Duration.ofSeconds(2), requestConditions); + + poller.subscribe(response -> { + final ShareFileCopyInfo value = response.getValue(); + System.out.printf("Copy source: %s. Status: %s.%n", value.getCopySourceUrl(), value.getCopyStatus()); + }, error -> System.err.println("Error: " + error), () -> System.out.println("Complete copying the file.")); + // END: com.azure.storage.file.share.ShareFileAsyncClient.beginCopy#string-filesmbproperties-string-permissioncopymodetype-boolean-boolean-map-duration-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#abortCopy(String)} */ @@ -170,6 +231,19 @@ public void abortCopyWithResponse() { // END: com.azure.storage.file.share.ShareFileAsyncClient.abortCopyWithResponse#string } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#abortCopyWithResponse(String, ShareRequestConditions)} + */ + public void abortCopyWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.abortCopyWithResponse#string-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.abortCopyWithResponse("someCopyId", requestConditions) + .subscribe(response -> System.out.printf("Abort copying the file completed with status code %d", + response.getStatusCode())); + // END: com.azure.storage.file.share.ShareFileAsyncClient.abortCopyWithResponse#string-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#upload(Flux, long)} */ @@ -192,7 +266,7 @@ public void uploadDataMaxOverloadAsync() { ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.uploadWithResponse#flux-long-long ByteBuffer defaultData = ByteBuffer.wrap("default".getBytes(StandardCharsets.UTF_8)); - shareFileAsyncClient.upload(Flux.just(defaultData), defaultData.remaining()).subscribe( + shareFileAsyncClient.uploadWithResponse(Flux.just(defaultData), defaultData.remaining(), 0L).subscribe( response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete deleting the file!") @@ -200,6 +274,23 @@ public void uploadDataMaxOverloadAsync() { // END: com.azure.storage.file.share.ShareFileAsyncClient.uploadWithResponse#flux-long-long } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#uploadWithResponse(Flux, long, Long, ShareRequestConditions)} + */ + public void uploadDataWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.uploadWithResponse#flux-long-long-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + ByteBuffer defaultData = ByteBuffer.wrap("default".getBytes(StandardCharsets.UTF_8)); + shareFileAsyncClient.uploadWithResponse(Flux.just(defaultData), defaultData.remaining(), 0L, requestConditions) + .subscribe( + response -> { }, + error -> System.err.print(error.toString()), + () -> System.out.println("Complete deleting the file!") + ); + // END: com.azure.storage.file.share.ShareFileAsyncClient.uploadWithResponse#flux-long-long-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#clearRange(long)} */ @@ -228,6 +319,21 @@ public void clearRangeAsyncMaxOverload() { // END: com.azure.storage.file.share.ShareFileAsyncClient.clearRange#long-long } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#clearRangeWithResponse(long, long, ShareRequestConditions)} + */ + public void clearRangeAsyncWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.clearRange#long-long-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.clearRangeWithResponse(1024, 1024, requestConditions).subscribe( + response -> { }, + error -> System.err.print(error.toString()), + () -> System.out.println("Complete clearing the range!") + ); + // END: com.azure.storage.file.share.ShareFileAsyncClient.clearRange#long-long-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#uploadFromFile(String)} */ @@ -242,6 +348,21 @@ public void uploadFileAsync() { // END: com.azure.storage.file.share.ShareFileAsyncClient.uploadFromFile#string } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#uploadFromFile(String, ShareRequestConditions)} + */ + public void uploadFileAsyncWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.uploadFromFile#string-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.uploadFromFile("someFilePath", requestConditions).subscribe( + response -> { }, + error -> System.err.print(error.toString()), + () -> System.out.println("Complete deleting the file!") + ); + // END: com.azure.storage.file.share.ShareFileAsyncClient.uploadFromFile#string-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#uploadRangeFromUrl(long, long, long, String)} */ @@ -270,6 +391,21 @@ public void uploadFileFromURLWithResponseAsync() { // END: com.azure.storage.file.share.ShareFileAsyncClient.uploadRangeFromUrlWithResponse#long-long-long-String } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#uploadRangeFromUrlWithResponse(long, long, long, String, ShareRequestConditions)} + */ + public void uploadFileFromURLWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.uploadRangeFromUrlWithResponse#long-long-long-String-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.uploadRangeFromUrlWithResponse(6, 8, 0, "sourceUrl", requestConditions).subscribe( + response -> { }, + error -> System.err.print(error.toString()), + () -> System.out.println("Completed upload range from url!") + ); + // END: com.azure.storage.file.share.ShareFileAsyncClient.uploadRangeFromUrlWithResponse#long-long-long-String-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#download()} */ @@ -298,6 +434,22 @@ public void downloadWithProperties() { // END: com.azure.storage.file.share.ShareFileAsyncClient.downloadWithResponse#ShareFileRange-Boolean } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#downloadWithResponse(ShareFileRange, Boolean, ShareRequestConditions)} + */ + public void downloadWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.downloadWithResponse#ShareFileRange-Boolean-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.downloadWithResponse(new ShareFileRange(1024, 2047L), false, requestConditions) + .subscribe(response -> + System.out.printf("Complete downloading the data with status code %d%n", response.getStatusCode()), + error -> System.err.println(error.getMessage()) + ); + // END: com.azure.storage.file.share.ShareFileAsyncClient.downloadWithResponse#ShareFileRange-Boolean-ShareRequestConditions + } + + /** * Generates a code sample for using {@link ShareFileAsyncClient#downloadToFile(String)} */ @@ -336,6 +488,28 @@ public void downloadFileAsyncMaxOverload() { // END: com.azure.storage.file.share.ShareFileAsyncClient.downloadToFileWithResponse#string-ShareFileRange } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#downloadToFileWithResponse(String, ShareFileRange, ShareRequestConditions)} + */ + public void downloadFileAsyncWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.downloadToFileWithResponse#string-ShareFileRange-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.downloadToFileWithResponse("somelocalfilepath", new ShareFileRange(1024, 2047L), + requestConditions) + .subscribe( + response -> { + if (Files.exists(Paths.get("somelocalfilepath"))) { + System.out.println("Successfully downloaded the file with status code " + + response.getStatusCode()); + } + }, + error -> System.err.print(error.toString()), + () -> System.out.println("Complete downloading the file!") + ); + // END: com.azure.storage.file.share.ShareFileAsyncClient.downloadToFileWithResponse#string-ShareFileRange-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#delete()} */ @@ -363,6 +537,20 @@ public void deleteWithResponse() { // END: com.azure.storage.file.share.ShareFileAsyncClient.deleteWithResponse } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#deleteWithResponse(ShareRequestConditions)} + */ + public void deleteWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.deleteWithResponse#ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.deleteWithResponse(requestConditions).subscribe( + response -> System.out.println("Complete deleting the file with status code:" + response.getStatusCode()), + error -> System.err.print(error.toString()) + ); + // END: com.azure.storage.file.share.ShareFileAsyncClient.deleteWithResponse#ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#getProperties()} */ @@ -390,6 +578,21 @@ public void getPropertiesWithResponse() { // END: com.azure.storage.file.share.ShareFileAsyncClient.getPropertiesWithResponse } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#getPropertiesWithResponse(ShareRequestConditions)} + */ + public void getPropertiesWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.getPropertiesWithResponse#ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.getPropertiesWithResponse(requestConditions) + .subscribe(response -> { + ShareFileProperties properties = response.getValue(); + System.out.printf("File latest modified date is %s.", properties.getLastModified()); + }); + // END: com.azure.storage.file.share.ShareFileAsyncClient.getPropertiesWithResponse#ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#setMetadata(Map)} */ @@ -402,7 +605,7 @@ public void setMetadataAsync() { } /** - * Generates a code sample for using {@link ShareFileAsyncClient#setMetadata(Map)} + * Generates a code sample for using {@link ShareFileAsyncClient#setMetadataWithResponse(Map)} */ public void setMetadataWithResponse() { ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); @@ -413,6 +616,19 @@ public void setMetadataWithResponse() { // END: com.azure.storage.file.share.ShareFileAsyncClient.setMetadataWithResponse#map } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#setMetadataWithResponse(Map, ShareRequestConditions)} + */ + public void setMetadataWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.setMetadataWithResponse#map-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.setMetadataWithResponse(Collections.singletonMap("file", "updatedMetadata"), requestConditions) + .subscribe(response -> System.out.printf("Setting the file metadata completed with status code %d", + response.getStatusCode())); + // END: com.azure.storage.file.share.ShareFileAsyncClient.setMetadataWithResponse#map-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#setMetadataWithResponse(Map)} to clear metadata. */ @@ -425,6 +641,20 @@ public void clearMetadataAsync() { // END: com.azure.storage.file.share.ShareFileAsyncClient.setMetadataWithResponse#map.clearMetadata } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#setMetadataWithResponse(Map, ShareRequestConditions)} to clear + * metadata. + */ + public void clearMetadataAsyncWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.setMetadataWithResponse#map-ShareRequestConditions.clearMetadata + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.setMetadataWithResponse(null, requestConditions).subscribe( + response -> System.out.printf("Setting the file metadata completed with status code %d", + response.getStatusCode())); + // END: com.azure.storage.file.share.ShareFileAsyncClient.setMetadataWithResponse#map-ShareRequestConditions.clearMetadata + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#setMetadata(Map)} to clear metadata. */ @@ -486,6 +716,32 @@ public void setHttpHeadersWithResponse() { // END: com.azure.storage.file.share.ShareFileAsyncClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#setPropertiesWithResponse(long, ShareFileHttpHeaders, FileSmbProperties, String, ShareRequestConditions)} + */ + public void setHttpHeadersWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions + ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() + .setContentType("text/html") + .setContentEncoding("gzip") + .setContentLanguage("en") + .setCacheControl("no-transform") + .setContentDisposition("attachment"); + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.setPropertiesWithResponse(1024, httpHeaders, smbProperties, filePermission, requestConditions) + .subscribe(response -> System.out.printf("Setting the file properties completed with status code %d", + response.getStatusCode())); + // END: com.azure.storage.file.share.ShareFileAsyncClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#setPropertiesWithResponse(long, ShareFileHttpHeaders, FileSmbProperties, String)} * to clear httpHeaders. @@ -499,6 +755,20 @@ public void clearHTTPHeadersAsync() { // END: com.azure.storage.file.share.ShareFileAsyncClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String.clearHttpHeaderspreserveSMBProperties } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#setPropertiesWithResponse(long, ShareFileHttpHeaders, FileSmbProperties, String, ShareRequestConditions)} + * to clear httpHeaders. + */ + public void clearHTTPHeadersAsyncWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions.clearHttpHeaderspreserveSMBProperties + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.setPropertiesWithResponse(1024, null, null, null, requestConditions) + .subscribe(response -> System.out.printf("Setting the file httpHeaders completed with status code %d", + response.getStatusCode())); + // END: com.azure.storage.file.share.ShareFileAsyncClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions.clearHttpHeaderspreserveSMBProperties + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#setProperties(long, ShareFileHttpHeaders, FileSmbProperties, String)} * to clear httpHeaders. @@ -534,6 +804,19 @@ public void listRangesAsyncMaxOverload() { // END: com.azure.storage.file.share.ShareFileAsyncClient.listRanges#ShareFileRange } + /** + * Generates a code sample for using {@link ShareFileAsyncClient#listRanges(ShareFileRange, ShareRequestConditions)} + */ + public void listRangesAsyncWithLease() { + ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.listRanges#ShareFileRange-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + shareFileAsyncClient.listRanges(new ShareFileRange(1024, 2048L), requestConditions) + .subscribe(result -> System.out.printf("List ranges completed with start: %d, end: %d", + result.getStart(), result.getEnd())); + // END: com.azure.storage.file.share.ShareFileAsyncClient.listRanges#ShareFileRange-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileAsyncClient#listHandles()} */ @@ -589,7 +872,8 @@ public void forceCloseAllHandles() { ShareFileAsyncClient shareFileAsyncClient = createAsyncClientWithConnectionString(); // BEGIN: com.azure.storage.file.share.ShareFileAsyncClient.forceCloseAllHandles shareFileAsyncClient.forceCloseAllHandles().subscribe(handlesClosedInfo -> - System.out.printf("Closed %d open handles on the file%n", handlesClosedInfo.getClosedHandles())); + System.out.printf("Closed %d open handles on the file.%nFailed to close %d open handles on the file%n", + handlesClosedInfo.getClosedHandles(), handlesClosedInfo.getFailedHandles())); // END: com.azure.storage.file.share.ShareFileAsyncClient.forceCloseAllHandles } diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareFileJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareFileJavaDocCodeSamples.java index 2bedb7be2761b..286b8a3a343ff 100644 --- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareFileJavaDocCodeSamples.java +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareFileJavaDocCodeSamples.java @@ -8,6 +8,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.storage.common.StorageSharedKeyCredential; import com.azure.storage.file.share.models.CloseHandlesInfo; +import com.azure.storage.file.share.models.PermissionCopyModeType; import com.azure.storage.file.share.models.ShareFileCopyInfo; import com.azure.storage.file.share.models.ShareFileHttpHeaders; import com.azure.storage.file.share.models.ShareFileInfo; @@ -17,6 +18,7 @@ import com.azure.storage.file.share.models.ShareFileUploadInfo; import com.azure.storage.file.share.models.ShareFileUploadRangeFromUrlInfo; import com.azure.storage.file.share.models.NtfsFileAttributes; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.sas.ShareFileSasPermission; import com.azure.storage.file.share.sas.ShareServiceSasSignatureValues; @@ -42,6 +44,7 @@ public class ShareFileJavaDocCodeSamples { private String key1 = "key1"; private String value1 = "val1"; + private String leaseId = "leaseId"; /** * Generates code sample for {@link ShareFileClient} instantiation. @@ -138,12 +141,43 @@ public void createWithResponse() { .setFilePermissionKey("filePermissionKey"); String filePermission = "filePermission"; // NOTE: filePermission and filePermissionKey should never be both set - Response response = fileClient.createWithResponse(1024, httpHeaders, smbProperties, filePermission, - Collections.singletonMap("directory", "metadata"), Duration.ofSeconds(1), new Context(key1, value1)); + Response response = fileClient.createWithResponse(1024, httpHeaders, smbProperties, + filePermission, Collections.singletonMap("directory", "metadata"), Duration.ofSeconds(1), + new Context(key1, value1)); System.out.printf("Creating the file completed with status code %d", response.getStatusCode()); // END: com.azure.storage.file.share.ShareFileClient.createWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Map-Duration-Context } + /** + * Generates a code sample for using {@link ShareFileClient#createWithResponse(long, ShareFileHttpHeaders, FileSmbProperties, + * String, Map, ShareRequestConditions, Duration, Context)} + */ + public void createWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.createWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-Duration-Context + ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() + .setContentType("text/html") + .setContentEncoding("gzip") + .setContentLanguage("en") + .setCacheControl("no-transform") + .setContentDisposition("attachment"); + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + + Response response = fileClient.createWithResponse(1024, httpHeaders, smbProperties, + filePermission, Collections.singletonMap("directory", "metadata"), requestConditions, Duration.ofSeconds(1), + new Context(key1, value1)); + System.out.printf("Creating the file completed with status code %d", response.getStatusCode()); + // END: com.azure.storage.file.share.ShareFileClient.createWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareFileClient#beginCopy(String, Map, Duration)} */ @@ -161,6 +195,34 @@ public void beginCopy() { // END: com.azure.storage.file.share.ShareFileClient.beginCopy#string-map-duration } + /** + * Generates a code sample for using {@link ShareFileClient#beginCopy(String, FileSmbProperties, String, PermissionCopyModeType, Boolean, Boolean, Map, Duration, ShareRequestConditions)} + */ + public void beginCopy2() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.beginCopy#string-filesmbproperties-string-permissioncopymodetype-boolean-boolean-map-duration-ShareRequestConditions + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + boolean ignoreReadOnly = false; // Default value + boolean setArchiveAttribute = true; // Default value + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + + SyncPoller poller = fileClient.beginCopy( + "https://{accountName}.file.core.windows.net?{SASToken}", smbProperties, filePermission, + PermissionCopyModeType.SOURCE, ignoreReadOnly, setArchiveAttribute, + Collections.singletonMap("file", "metadata"), Duration.ofSeconds(2), requestConditions); + + final PollResponse pollResponse = poller.poll(); + final ShareFileCopyInfo value = pollResponse.getValue(); + System.out.printf("Copy source: %s. Status: %s.%n", value.getCopySourceUrl(), value.getCopyStatus()); + // END: com.azure.storage.file.share.ShareFileClient.beginCopy#string-filesmbproperties-string-permissioncopymodetype-boolean-boolean-map-duration-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileClient#abortCopy(String)} */ @@ -184,6 +246,20 @@ public void abortCopyWithResponse() { // END: com.azure.storage.file.share.ShareFileClient.abortCopyWithResponse#string-duration-context } + /** + * Generates a code sample for using {@link ShareFileClient#abortCopyWithResponse(String, ShareRequestConditions, Duration, Context)} + */ + public void abortCopyWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.abortCopyWithResponse#string-ShareRequestConditions-duration-context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.abortCopyWithResponse("someCopyId", requestConditions, + Duration.ofSeconds(1), new Context(key1, value1)); + System.out.printf("Abort copying the file completed with status code %d", response.getStatusCode()); + // END: com.azure.storage.file.share.ShareFileClient.abortCopyWithResponse#string-ShareRequestConditions-duration-context + } + + /** * Generates a code sample for using {@link ShareFileClient#upload(InputStream, long)} */ @@ -214,6 +290,23 @@ public void uploadWithResponse() { // END: com.azure.storage.file.share.ShareFileClient.uploadWithResponse#InputStream-long-Long-Duration-Context } + /** + * Code snippet for {@link ShareFileClient#uploadWithResponse(InputStream, long, Long, ShareRequestConditions, Duration, Context)}. + */ + public void uploadWithLease() { + ShareFileClient fileClient = createClientWithCredential(); + byte[] data = "default".getBytes(StandardCharsets.UTF_8); + + // BEGIN: com.azure.storage.file.share.ShareFileClient.uploadWithResponse#InputStream-long-Long-ShareRequestConditions-Duration-Context + InputStream uploadData = new ByteArrayInputStream(data); + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.uploadWithResponse(uploadData, data.length, 0L, + requestConditions, Duration.ofSeconds(30), null); + System.out.printf("Completed uploading the data with response %d%n.", response.getStatusCode()); + System.out.printf("ETag of the file is %s%n", response.getValue().getETag()); + // END: com.azure.storage.file.share.ShareFileClient.uploadWithResponse#InputStream-long-Long-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareFileClient#clearRange(long)} */ @@ -237,6 +330,19 @@ public void clearRangeMaxOverload() { // END: com.azure.storage.file.share.ShareFileClient.clearRangeWithResponse#long-long-Duration-Context } + /** + * Generates a code sample for using {@link ShareFileClient#clearRangeWithResponse(long, long, ShareRequestConditions, Duration, Context)} + */ + public void clearRangeWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.clearRangeWithResponse#long-long-ShareRequestConditions-Duration-Context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.clearRangeWithResponse(1024, 1024, requestConditions, + Duration.ofSeconds(1), new Context(key1, value1)); + System.out.println("Complete clearing the range with status code: " + response.getStatusCode()); + // END: com.azure.storage.file.share.ShareFileClient.clearRangeWithResponse#long-long-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareFileClient#uploadFromFile(String)} */ @@ -247,6 +353,17 @@ public void uploadFile() { // END: com.azure.storage.file.share.ShareFileClient.uploadFromFile#string } + /** + * Generates a code sample for using {@link ShareFileClient#uploadFromFile(String, ShareRequestConditions)} + */ + public void uploadFileWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.uploadFromFile#string-ShareRequestConditions + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + fileClient.uploadFromFile("someFilePath", requestConditions); + // END: com.azure.storage.file.share.ShareFileClient.uploadFromFile#string-ShareRequestConditions + } + /** * Generates a code sample for using {@link ShareFileClient#download(OutputStream)} */ @@ -285,6 +402,28 @@ public void downloadWithPropertiesWithResponse() { // END: com.azure.storage.file.share.ShareFileClient.downloadWithResponse#OutputStream-ShareFileRange-Boolean-Duration-Context } + /** + * Generates a code sample for using {@link ShareFileClient#downloadWithResponse(OutputStream, ShareFileRange, Boolean, + * ShareRequestConditions, Duration, Context)} + */ + public void downloadWithPropertiesWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.downloadWithResponse#OutputStream-ShareFileRange-Boolean-ShareRequestConditions-Duration-Context + try { + ByteArrayOutputStream stream = new ByteArrayOutputStream(); + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.downloadWithResponse(stream, new ShareFileRange(1024, 2047L), false, + requestConditions, Duration.ofSeconds(30), new Context(key1, value1)); + + System.out.printf("Completed downloading file with status code %d%n", response.getStatusCode()); + System.out.printf("Content of the file is: %n%s%n", + new String(stream.toByteArray(), StandardCharsets.UTF_8)); + } catch (Throwable throwable) { + System.err.printf("Downloading failed with exception. Message: %s%n", throwable.getMessage()); + } + // END: com.azure.storage.file.share.ShareFileClient.downloadWithResponse#OutputStream-ShareFileRange-Boolean-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareFileClient#downloadToFile(String)} */ @@ -314,6 +453,23 @@ public void downloadFileMaxOverload() { // END: com.azure.storage.file.share.ShareFileClient.downloadToFileWithResponse#String-ShareFileRange-Duration-Context } + /** + * Generates a code sample for using {@link ShareFileClient#downloadToFileWithResponse(String, ShareFileRange, ShareRequestConditions, + * Duration, Context)} + */ + public void downloadFileWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.downloadToFileWithResponse#String-ShareFileRange-ShareRequestConditions-Duration-Context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = + fileClient.downloadToFileWithResponse("somelocalfilepath", new ShareFileRange(1024, 2047L), + requestConditions, Duration.ofSeconds(1), Context.NONE); + if (Files.exists(Paths.get("somelocalfilepath"))) { + System.out.println("Complete downloading the file with status code " + response.getStatusCode()); + } + // END: com.azure.storage.file.share.ShareFileClient.downloadToFileWithResponse#String-ShareFileRange-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareFileClient#uploadRangeFromUrl(long, long, long, String)} */ @@ -332,12 +488,26 @@ public void uploadFileFromURLAsync() { public void uploadFileFromURLWithResponseAsync() { ShareFileClient fileClient = createClientWithSASToken(); // BEGIN: com.azure.storage.file.share.ShareFileClient.uploadRangeFromUrlWithResponse#long-long-long-String-Duration-Context - Response response = fileClient.uploadRangeFromUrlWithResponse(6, 8, 0, "sourceUrl", - Duration.ofSeconds(1), Context.NONE); + Response response = + fileClient.uploadRangeFromUrlWithResponse(6, 8, 0, "sourceUrl", Duration.ofSeconds(1), Context.NONE); System.out.println("Completed upload range from url!"); // END: com.azure.storage.file.share.ShareFileClient.uploadRangeFromUrlWithResponse#long-long-long-String-Duration-Context } + /** + * Generates a code sample for using {@link ShareFileClient#uploadRangeFromUrlWithResponse(long, long, long, String, ShareRequestConditions, + * Duration, Context)} + */ + public void uploadFileFromURLWithLeaseAsync() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.uploadRangeFromUrlWithResponse#long-long-long-String-ShareRequestConditions-Duration-Context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.uploadRangeFromUrlWithResponse(6, 8, 0, + "sourceUrl", requestConditions, Duration.ofSeconds(1), Context.NONE); + System.out.println("Completed upload range from url!"); + // END: com.azure.storage.file.share.ShareFileClient.uploadRangeFromUrlWithResponse#long-long-long-String-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareFileClient#delete()} */ @@ -360,6 +530,19 @@ public void deleteWithResponse() { // END: com.azure.storage.file.share.ShareFileClient.deleteWithResponse#duration-context } + /** + * Generates a code sample for using {@link ShareFileClient#deleteWithResponse(ShareRequestConditions, Duration, Context)} + */ + public void deleteWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.deleteWithResponse#ShareRequestConditions-duration-context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.deleteWithResponse(requestConditions, Duration.ofSeconds(1), + new Context(key1, value1)); + System.out.println("Complete deleting the file with status code: " + response.getStatusCode()); + // END: com.azure.storage.file.share.ShareFileClient.deleteWithResponse#ShareRequestConditions-duration-context + } + /** * Generates a code sample for using {@link ShareFileClient#getProperties()} */ @@ -383,6 +566,20 @@ public void getPropertiesWithResponse() { // END: com.azure.storage.file.share.ShareFileClient.getPropertiesWithResponse#duration-context } + /** + * Generates a code sample for using {@link ShareFileClient#getPropertiesWithResponse(ShareRequestConditions, Duration, Context)} + */ + public void getPropertiesWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.getPropertiesWithResponse#ShareRequestConditions-duration-context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.getPropertiesWithResponse(requestConditions, + Duration.ofSeconds(1), new Context(key1, value1)); + System.out.printf("File latest modified date is %s.", response.getValue().getLastModified()); + // END: com.azure.storage.file.share.ShareFileClient.getPropertiesWithResponse#ShareRequestConditions-duration-context + } + + /** * Generates a code sample for using {@link ShareFileClient#setMetadata(Map)} */ @@ -406,6 +603,20 @@ public void setMetadataWithResponse() { // END: com.azure.storage.file.share.ShareFileClient.setMetadataWithResponse#map-duration-context } + /** + * Generates a code sample for using {@link ShareFileClient#setMetadataWithResponse(Map, ShareRequestConditions, Duration, Context)} + */ + public void setMetadataWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.setMetadataWithResponse#map-ShareRequestConditions-duration-context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.setMetadataWithResponse( + Collections.singletonMap("file", "updatedMetadata"), requestConditions, Duration.ofSeconds(1), + new Context(key1, value1)); + System.out.printf("Setting the file metadata completed with status code %d", response.getStatusCode()); + // END: com.azure.storage.file.share.ShareFileClient.setMetadataWithResponse#map-ShareRequestConditions-duration-context + } + /** * Generates a code sample for using {@link ShareFileClient#setMetadataWithResponse(Map, Duration, Context)} to clear * metadata. @@ -419,6 +630,20 @@ public void clearMetadataWithResponse() { // END: com.azure.storage.file.share.ShareFileClient.setMetadataWithResponse#map-duration-context.clearMetadata } + /** + * Generates a code sample for using {@link ShareFileClient#setMetadataWithResponse(Map, ShareRequestConditions, Duration, Context)} to clear + * metadata. + */ + public void clearMetadataWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.setMetadataWithResponse#map-ShareRequestConditions-duration-context.clearMetadata + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.setMetadataWithResponse(null, requestConditions, + Duration.ofSeconds(1), new Context(key1, value1)); + System.out.printf("Setting the file metadata completed with status code %d", response.getStatusCode()); + // END: com.azure.storage.file.share.ShareFileClient.setMetadataWithResponse#map-ShareRequestConditions-duration-context.clearMetadata + } + /** * Generates a code sample for using {@link ShareFileClient#setMetadata(Map)} to clear metadata. */ @@ -455,6 +680,33 @@ public void setHTTPHeaders() { // END: com.azure.storage.file.share.ShareFileClient.setProperties#long-ShareFileHttpHeaders-FileSmbProperties-String } + /** + * Generates a code sample for using {@link ShareFileClient#setPropertiesWithResponse(long, ShareFileHttpHeaders, + * FileSmbProperties, String, ShareRequestConditions, Duration, Context)} + */ + public void setHttpHeadersWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions-Duration-Context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() + .setContentType("text/html") + .setContentEncoding("gzip") + .setContentLanguage("en") + .setCacheControl("no-transform") + .setContentDisposition("attachment"); + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + fileClient.setPropertiesWithResponse(1024, httpHeaders, smbProperties, filePermission, requestConditions, null, + null); + System.out.println("Setting the file httpHeaders completed."); + // END: com.azure.storage.file.share.ShareFileClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareFileClient#setProperties(long, ShareFileHttpHeaders, FileSmbProperties, * String)} to clear httpHeaders and preserve SMB properties. @@ -506,6 +758,20 @@ public void clearHTTPHeaders() { // END: com.azure.storage.file.share.ShareFileClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-Duration-Context.clearHttpHeaderspreserveSMBProperties } + /** + * Generates a code sample for using {@link ShareFileClient#setPropertiesWithResponse(long, ShareFileHttpHeaders, + * FileSmbProperties, String, ShareRequestConditions, Duration, Context)} (long, FileHTTPHeaders)} to clear httpHeaders. + */ + public void clearHTTPHeadersWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions-Duration-Context.clearHttpHeaderspreserveSMBProperties + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = fileClient.setPropertiesWithResponse(1024, null, null, null, requestConditions, + Duration.ofSeconds(1), new Context(key1, value1)); + System.out.printf("Setting the file httpHeaders completed with status code %d", response.getStatusCode()); + // END: com.azure.storage.file.share.ShareFileClient.setPropertiesWithResponse#long-ShareFileHttpHeaders-FileSmbProperties-String-ShareRequestConditions-Duration-Context.clearHttpHeaderspreserveSMBProperties + } + /** * Generates a code sample for using {@link ShareFileClient#listRanges()} */ @@ -531,6 +797,20 @@ public void listRangesMaxOverload() { // END: com.azure.storage.file.share.ShareFileClient.listRanges#ShareFileRange-Duration-Context } + /** + * Generates a code sample for using {@link ShareFileClient#listRanges(ShareFileRange, ShareRequestConditions, Duration, Context)} + */ + public void listRangesWithLease() { + ShareFileClient fileClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareFileClient.listRanges#ShareFileRange-ShareRequestConditions-Duration-Context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Iterable ranges = fileClient.listRanges(new ShareFileRange(1024, 2048L), requestConditions, + Duration.ofSeconds(1), new Context(key1, value1)); + ranges.forEach(range -> + System.out.printf("List ranges completed with start: %d, end: %d", range.getStart(), range.getEnd())); + // END: com.azure.storage.file.share.ShareFileClient.listRanges#ShareFileRange-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareFileClient#listHandles()} */ @@ -591,6 +871,7 @@ public void forceCloseAllHandles() { // BEGIN: com.azure.storage.file.share.ShareFileClient.forceCloseAllHandles#Duration-Context CloseHandlesInfo closeHandlesInfo = fileClient.forceCloseAllHandles(Duration.ofSeconds(30), Context.NONE); System.out.printf("Closed %d open handles on the file%n", closeHandlesInfo.getClosedHandles()); + System.out.printf("Failed to close %d open handles on the file%n", closeHandlesInfo.getFailedHandles()); // END: com.azure.storage.file.share.ShareFileClient.forceCloseAllHandles#Duration-Context } diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareJavaDocCodeSamples.java index 161532fb173b5..6f4b4828e64e6 100644 --- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareJavaDocCodeSamples.java +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareJavaDocCodeSamples.java @@ -7,6 +7,7 @@ import com.azure.storage.common.StorageSharedKeyCredential; import com.azure.storage.file.share.models.ShareAccessPolicy; import com.azure.storage.file.share.models.ShareFileHttpHeaders; +import com.azure.storage.file.share.models.ShareRequestConditions; import com.azure.storage.file.share.models.ShareSignedIdentifier; import com.azure.storage.file.share.models.NtfsFileAttributes; import com.azure.storage.file.share.models.ShareInfo; @@ -33,6 +34,8 @@ public class ShareJavaDocCodeSamples { private String key1 = "key1"; private String value1 = "val1"; + private String leaseId = "leaseId"; + /** * Generates code sample for {@link ShareClient} instantiation. */ @@ -227,6 +230,35 @@ public void createFileWithResponse() { // END: com.azure.storage.file.share.ShareClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-Duration-Context } + /** + * Generates a code sample for using {@link ShareClient#createFileWithResponse(String, long, ShareFileHttpHeaders, FileSmbProperties, String, Map, ShareRequestConditions, Duration, Context)} + */ + public void createFileWithLease() { + ShareClient shareClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-Duration-Context + ShareFileHttpHeaders httpHeaders = new ShareFileHttpHeaders() + .setContentType("text/html") + .setContentEncoding("gzip") + .setContentLanguage("en") + .setCacheControl("no-transform") + .setContentDisposition("attachment"); + FileSmbProperties smbProperties = new FileSmbProperties() + .setNtfsFileAttributes(EnumSet.of(NtfsFileAttributes.READ_ONLY)) + .setFileCreationTime(OffsetDateTime.now()) + .setFileLastWriteTime(OffsetDateTime.now()) + .setFilePermissionKey("filePermissionKey"); + String filePermission = "filePermission"; + // NOTE: filePermission and filePermissionKey should never be both set + + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + + Response response = shareClient.createFileWithResponse("myfile", 1024, + httpHeaders, smbProperties, filePermission, Collections.singletonMap("directory", "metadata"), + requestConditions, Duration.ofSeconds(1), new Context(key1, value1)); + System.out.printf("Creating the file completed with status code %d", response.getStatusCode()); + // END: com.azure.storage.file.share.ShareClient.createFileWithResponse#String-long-ShareFileHttpHeaders-FileSmbProperties-String-Map-ShareRequestConditions-Duration-Context + } + /** * Generates a code sample for using {@link ShareClient#deleteDirectory(String)} */ @@ -273,6 +305,19 @@ public void deleteFileWithResponse() { // END: com.azure.storage.file.share.ShareClient.deleteFileWithResponse#string-duration-context } + /** + * Generates a code sample for using {@link ShareClient#deleteFileWithResponse(String, ShareRequestConditions, Duration, Context)} + */ + public void deleteFileWithLease() { + ShareClient shareClient = createClientWithSASToken(); + // BEGIN: com.azure.storage.file.share.ShareClient.deleteFileWithResponse#string-ShareRequestConditions-duration-context + ShareRequestConditions requestConditions = new ShareRequestConditions().setLeaseId(leaseId); + Response response = shareClient.deleteFileWithResponse("myfile", requestConditions, + Duration.ofSeconds(1), new Context(key1, value1)); + System.out.println("Complete deleting the file with status code: " + response.getStatusCode()); + // END: com.azure.storage.file.share.ShareClient.deleteFileWithResponse#string-ShareRequestConditions-duration-context + } + /** * Generates a code sample for using {@link ShareClient#delete} */ diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseAsyncClientJavaDocCodeSnippets.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseAsyncClientJavaDocCodeSnippets.java new file mode 100644 index 0000000000000..d303a7e96fb6d --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseAsyncClientJavaDocCodeSnippets.java @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.share.specialized; + +import com.azure.storage.file.share.ShareFileClientBuilder; + + +public class LeaseAsyncClientJavaDocCodeSnippets { + private ShareLeaseAsyncClient client = new ShareLeaseClientBuilder() + .fileAsyncClient(new ShareFileClientBuilder().resourcePath("file").buildFileAsyncClient()) + .buildAsyncClient(); + + /** + * Code snippets for {@link ShareLeaseAsyncClient#acquireLease()} + */ + public void acquireLeaseCodeSnippet() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.acquireLease + client.acquireLease().subscribe(response -> System.out.printf("Lease ID is %s%n", response)); + // END: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.acquireLease + } + + /** + * Code snippets for {@link ShareLeaseAsyncClient#releaseLease()} + */ + public void releaseLeaseCodeSnippet() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.releaseLease + client.releaseLease().subscribe(response -> System.out.println("Completed release lease")); + // END: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.releaseLease + } + + /** + * Code snippets for {@link ShareLeaseAsyncClient#breakLease()} + */ + public void breakLeaseCodeSnippet() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.breakLease + client.breakLease().subscribe(response -> + System.out.println("The lease has been successfully broken")); + // END: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.breakLease + } + + /** + * Code snippets for {@link ShareLeaseAsyncClient#changeLease(String)} + */ + public void changeLeaseCodeSnippet() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.changeLease#String + client.changeLease("proposedId").subscribe(response -> System.out.printf("Changed lease ID is %s%n", response)); + // END: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.changeLease#String + } + + /** + * Code snippets for {@link ShareLeaseAsyncClient#acquireLeaseWithResponse()} + */ + public void acquireLeaseWithResponseCodeSnippets() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.acquireLeaseWithResponse + client.acquireLeaseWithResponse().subscribe(response -> + System.out.printf("Lease ID is %s%n", response.getValue())); + // END: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.acquireLeaseWithResponse + } + + /** + * Code snippets for {@link ShareLeaseAsyncClient#releaseLeaseWithResponse()} + */ + public void releaseLeaseWithResponseCodeSnippets() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.releaseLeaseWithResponse + client.releaseLeaseWithResponse().subscribe(response -> + System.out.printf("Release lease completed with status %d%n", response.getStatusCode())); + // END: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.releaseLeaseWithResponse + } + + /** + * Code snippets for {@link ShareLeaseAsyncClient#breakLeaseWithResponse()} + */ + public void breakLeaseWithResponseCodeSnippets() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.breakLeaseWithResponse + client.breakLeaseWithResponse().subscribe(response -> + System.out.println("The lease has been successfully broken")); + // END: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.breakLeaseWithResponse + } + + /** + * Code snippets for {@link ShareLeaseAsyncClient#changeLeaseWithResponse(String)} + */ + public void changeLeaseWithResponseCodeSnippets() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.changeLeaseWithResponse#String + client.changeLeaseWithResponse("proposedId").subscribe(response -> + System.out.printf("Changed lease ID is %s%n", response.getValue())); + // END: com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.changeLeaseWithResponse#String + } +} diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseClientBuilderJavaDocCodeSnippets.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseClientBuilderJavaDocCodeSnippets.java new file mode 100644 index 0000000000000..e859af3c61abe --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseClientBuilderJavaDocCodeSnippets.java @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.share.specialized; + +import com.azure.storage.file.share.ShareFileAsyncClient; +import com.azure.storage.file.share.ShareFileClient; +import com.azure.storage.file.share.ShareFileClientBuilder; + +public class LeaseClientBuilderJavaDocCodeSnippets { + private ShareFileAsyncClient shareFileAsyncClient = new ShareFileClientBuilder() + .resourcePath("file") + .buildFileAsyncClient(); + + private ShareFileClient shareFileClient = new ShareFileClientBuilder() + .resourcePath("file") + .buildFileClient(); + + private String leaseId = "leaseId"; + + /** + * Code snippets for {@link ShareLeaseClientBuilder#buildClient()}. + */ + public void syncInstantiation() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.syncInstantiation + ShareLeaseClient fileLeaseClient = new ShareLeaseClientBuilder() + .fileClient(shareFileClient) + .buildClient(); + // END: com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.syncInstantiation + } + + /** + * Code snippets for {@link ShareLeaseClientBuilder#buildClient()}. + */ + public void syncInstantiationWithLeaseId() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.syncInstantiationWithLeaseId + ShareLeaseClient fileLeaseClient = new ShareLeaseClientBuilder() + .fileClient(shareFileClient) + .leaseId(leaseId) + .buildClient(); + // END: com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.syncInstantiationWithLeaseId + } + + /** + * Code snippets for {@link ShareLeaseClientBuilder#buildAsyncClient()}. + */ + public void asyncInstantiation() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.asyncInstantiation + ShareLeaseAsyncClient fileLeaseAsyncClient = new ShareLeaseClientBuilder() + .fileAsyncClient(shareFileAsyncClient) + .buildAsyncClient(); + // END: com.azure.storage.file.share.specialized.ShareLeaseClientBuilder.asyncInstantiation + } + + /** + * Code snippets for {@link ShareLeaseClientBuilder#buildAsyncClient()}. + */ + public void asyncInstantiationWithLeaseId() { + // BEGIN: com.azure.storage.file.specialized.ShareLeaseClientBuilder.asyncInstantiationWithLeaseId + ShareLeaseAsyncClient fileLeaseAsyncClient = new ShareLeaseClientBuilder() + .fileAsyncClient(shareFileAsyncClient) + .leaseId(leaseId) + .buildAsyncClient(); + // END: com.azure.storage.file.specialized.ShareLeaseClientBuilder.asyncInstantiationWithLeaseId + } +} diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseClientJavaDocCodeSnippets.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseClientJavaDocCodeSnippets.java new file mode 100644 index 0000000000000..3342ef050fd57 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/specialized/LeaseClientJavaDocCodeSnippets.java @@ -0,0 +1,99 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.share.specialized; + +import com.azure.core.util.Context; +import com.azure.storage.file.share.ShareFileClientBuilder; + +import java.time.Duration; + +public class LeaseClientJavaDocCodeSnippets { + private ShareLeaseClient client = new ShareLeaseClientBuilder() + .fileClient(new ShareFileClientBuilder().resourcePath("file").buildFileClient()) + .buildClient(); + private Duration timeout = Duration.ofSeconds(30); + private String key = "key"; + private String value = "value"; + + /** + * Code snippets for {@link ShareLeaseClient#acquireLease()} + */ + public void acquireLease() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClient.acquireLease + System.out.printf("Lease ID is %s%n", client.acquireLease()); + // END: com.azure.storage.file.share.specialized.ShareLeaseClient.acquireLease + } + + /** + * Code snippets for {@link ShareLeaseClient#releaseLease()} + */ + public void releaseLease() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClient.releaseLease + client.releaseLease(); + System.out.println("Release lease completed"); + // END: com.azure.storage.file.share.specialized.ShareLeaseClient.releaseLease + } + + /** + * Code snippets for {@link ShareLeaseClient#breakLease()} + */ + public void breakLease() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClient.breakLease + client.breakLease(); + System.out.println("The lease has been successfully broken"); + // END: com.azure.storage.file.share.specialized.ShareLeaseClient.breakLease + } + + /** + * Code snippets for {@link ShareLeaseClient#changeLease(String)} + */ + public void changeLease() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClient.changeLease#String + System.out.printf("Changed lease ID is %s%n", client.changeLease("proposedId")); + // END: com.azure.storage.file.share.specialized.ShareLeaseClient.changeLease#String + } + + /** + * Code snippets for {@link ShareLeaseClient#acquireLeaseWithResponse(Duration, Context)} + */ + public void acquireLeaseWithResponseCodeSnippets() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClient.acquireLeaseWithResponse#Duration-Context + System.out.printf("Lease ID is %s%n", client + .acquireLeaseWithResponse(timeout, new Context(key, value)) + .getValue()); + // END: com.azure.storage.file.share.specialized.ShareLeaseClient.acquireLeaseWithResponse#Duration-Context + } + + /** + * Code snippets for {@link ShareLeaseClient#releaseLeaseWithResponse(Duration, Context)} + */ + public void releaseLeaseWithResponseCodeSnippets() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClient.releaseLeaseWithResponse#Duration-Context + System.out.printf("Release lease completed with status %d%n", + client.releaseLeaseWithResponse(timeout, new Context(key, value)) + .getStatusCode()); + // END: com.azure.storage.file.share.specialized.ShareLeaseClient.releaseLeaseWithResponse#Duration-Context + } + + /** + * Code snippets for {@link ShareLeaseClient#breakLeaseWithResponse(Duration, Context)} + */ + public void breakLeaseWithResponseCodeSnippets() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClient.breakLeaseWithResponse#Duration-Context + client.breakLeaseWithResponse(timeout, new Context(key, value)); + System.out.println("The lease has been successfully broken"); + // END: com.azure.storage.file.share.specialized.ShareLeaseClient.breakLeaseWithResponse#Duration-Context + } + + /** + * Code snippets for {@link ShareLeaseClient#changeLeaseWithResponse(String, Duration, Context)} + */ + public void changeLeaseWithResponseCodeSnippets() { + // BEGIN: com.azure.storage.file.share.specialized.ShareLeaseClient.changeLeaseWithResponse#String-Duration-Context + System.out.printf("Changed lease ID is %s%n", + client.changeLeaseWithResponse("proposedId", timeout, new Context(key, value)) + .getValue()); + // END: com.azure.storage.file.share.specialized.ShareLeaseClient.changeLeaseWithResponse#String-Duration-Context + } +} diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/APISpec.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/APISpec.groovy index 30049b69ccbbe..1a37499ba3ced 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/APISpec.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/APISpec.groovy @@ -16,25 +16,46 @@ import com.azure.core.util.Configuration import com.azure.core.util.logging.ClientLogger import com.azure.storage.common.StorageSharedKeyCredential import com.azure.storage.file.share.models.ListSharesOptions +import com.azure.storage.file.share.specialized.ShareLeaseAsyncClient +import com.azure.storage.file.share.specialized.ShareLeaseClient +import com.azure.storage.file.share.specialized.ShareLeaseClientBuilder +import reactor.core.publisher.Flux +import org.junit.jupiter.api.Test import spock.lang.Specification +import java.nio.ByteBuffer +import java.nio.charset.StandardCharsets import java.time.Duration import java.time.OffsetDateTime class APISpec extends Specification { // Field common used for all APIs. static ClientLogger logger = new ClientLogger(APISpec.class) + + Integer entityNo = 0 // Used to generate stable share names for recording tests requiring multiple shares. + static def AZURE_TEST_MODE = "AZURE_TEST_MODE" URL testFolder = getClass().getClassLoader().getResource("testfiles") InterceptorManager interceptorManager TestResourceNamer testResourceName + // Prefixes for paths and shares + String sharePrefix = "jts" // java test share + + String pathPrefix = "javapath" + + public static final String defaultEndpointTemplate = "https://%s.file.core.windows.net/" + + static def PREMIUM_STORAGE = "PREMIUM_FILE_STORAGE_" + static StorageSharedKeyCredential premiumCredential static def PRIMARY_STORAGE = "AZURE_STORAGE_FILE_" protected static StorageSharedKeyCredential primaryCredential + // Primary Clients used for API tests ShareServiceClient primaryFileServiceClient ShareServiceAsyncClient primaryFileServiceAsyncClient - + ShareServiceClient premiumFileServiceClient + ShareServiceAsyncClient premiumFileServiceAsyncClient // Test name for test method name. String methodName @@ -45,10 +66,23 @@ class APISpec extends Specification { // If debugging is enabled, recordings cannot run as there can only be one proxy at a time. static boolean enableDebugging = false + /* + Note that this value is only used to check if we are depending on the received etag. This value will not actually + be used. + */ + static final String receivedLeaseID = "received" + + static final String garbageLeaseID = UUID.randomUUID().toString() + + def defaultData = ByteBuffer.wrap("default".getBytes(StandardCharsets.UTF_8)) + def defaultFlux = Flux.just(defaultData) + Long defaultDataLength = defaultData.remaining() + /** * Setup the File service clients commonly used for the API tests. */ def setup() { + premiumCredential = getCredential(PREMIUM_STORAGE) primaryCredential = getCredential(PRIMARY_STORAGE) String testName = reformat(specificationContext.currentIteration.getName()) String className = specificationContext.getCurrentSpec().getName() @@ -63,6 +97,11 @@ class APISpec extends Specification { connectionString = "DefaultEndpointsProtocol=https;AccountName=teststorage;" + "AccountKey=atestaccountkey;EndpointSuffix=core.windows.net" } + primaryFileServiceClient = setClient(primaryCredential) + primaryFileServiceAsyncClient = setAsyncClient(primaryCredential) + + premiumFileServiceClient = setClient(premiumCredential) + premiumFileServiceAsyncClient = setAsyncClient(premiumCredential) // Print out the test name to create breadcrumbs in our test logging in case anything hangs. System.out.printf("========================= %s.%s =========================%n", className, testName) @@ -133,6 +172,56 @@ class APISpec extends Specification { return testMode != TestMode.PLAYBACK } + def generateShareName() { + generateResourceName(sharePrefix, entityNo++) + } + + def generatePathName() { + generateResourceName(pathPrefix, entityNo++) + } + + private String generateResourceName(String prefix, int entityNo) { + return testResourceName.randomName(prefix + methodName + entityNo, 63) + } + + ShareServiceAsyncClient setAsyncClient(StorageSharedKeyCredential credential) { + try { + return getServiceAsyncClient(credential) + } catch (Exception ignore) { + return null + } + } + + ShareServiceAsyncClient getServiceAsyncClient(StorageSharedKeyCredential credential) { + return getServiceAsyncClient(credential, String.format(defaultEndpointTemplate, credential.getAccountName()), null) + } + + ShareServiceAsyncClient getServiceAsyncClient(StorageSharedKeyCredential credential, String endpoint, + HttpPipelinePolicy... policies) { + return getServiceClientBuilder(credential, endpoint, policies).buildAsyncClient() + } + + ShareServiceClient setClient(StorageSharedKeyCredential credential) { + try { + return getServiceClient(credential) + } catch (Exception ignore) { + return null + } + } + + ShareServiceClient getServiceClient(StorageSharedKeyCredential credential) { + // TODO : Remove this once its no longer preprod +// if (credential == premiumCredential) { +// return getServiceClient(credential, String.format("https://%s.file.preprod.core.windows.net/", credential.getAccountName()), null) +// } + return getServiceClient(credential, String.format(defaultEndpointTemplate, credential.getAccountName()), null) + } + + ShareServiceClient getServiceClient(StorageSharedKeyCredential credential, String endpoint, + HttpPipelinePolicy... policies) { + return getServiceClientBuilder(credential, endpoint, policies).buildClient() + } + def fileServiceBuilderHelper(final InterceptorManager interceptorManager) { ShareServiceClientBuilder shareServiceClientBuilder = new ShareServiceClientBuilder(); if (testMode != TestMode.PLAYBACK) { @@ -296,6 +385,58 @@ class APISpec extends Specification { return new ByteArrayInputStream(data) } + static ShareLeaseClient createLeaseClient(ShareFileClient fileClient) { + return createLeaseClient(fileClient, null) + } + + static ShareLeaseClient createLeaseClient(ShareFileClient fileClient, String leaseId) { + return new ShareLeaseClientBuilder() + .fileClient(fileClient) + .leaseId(leaseId) + .buildClient() + } + + static ShareLeaseAsyncClient createLeaseClient(ShareFileAsyncClient fileClient) { + return createLeaseClient(fileClient, null) + } + + static ShareLeaseAsyncClient createLeaseClient(ShareFileAsyncClient fileClient, String leaseId) { + return new ShareLeaseClientBuilder() + .fileAsyncClient(fileClient) + .leaseId(leaseId) + .buildAsyncClient() + } + + /** + * This helper method will acquire a lease on a blob to prepare for testing lease Id. We want to test + * against a valid lease in both the success and failure cases to guarantee that the results actually indicate + * proper setting of the header. If we pass null, though, we don't want to acquire a lease, as that will interfere + * with other AC tests. + * + * @param fc + * The blob on which to acquire a lease. + * @param leaseID + * The signalID. Values should only ever be {@code receivedLeaseID}, {@code garbageLeaseID}, or {@code null}. + * @return + * The actual lease Id of the blob if recievedLeaseID is passed, otherwise whatever was passed will be + * returned. + */ + def setupFileLeaseCondition(ShareFileClient fc, String leaseID) { + String responseLeaseId = null + if (leaseID == receivedLeaseID || leaseID == garbageLeaseID) { + responseLeaseId = createLeaseClient(fc).acquireLease() + } + if (leaseID == receivedLeaseID) { + return responseLeaseId + } else { + return leaseID + } + } + + String getRandomUUID() { + return testResourceName.randomUuid() + } + void sleepIfLive(long milliseconds) { if (testMode == TestMode.PLAYBACK) { return diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/DirectoryAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/DirectoryAPITests.groovy index 8d08c6f069c0a..b9a0f05d1be72 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/DirectoryAPITests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/DirectoryAPITests.groovy @@ -386,6 +386,7 @@ class DirectoryAPITests extends APISpec { then: handlesClosedInfo.getClosedHandles() == 0 + handlesClosedInfo.getFailedHandles() == 0 notThrown(ShareStorageException) } @@ -410,6 +411,7 @@ class DirectoryAPITests extends APISpec { then: notThrown(ShareStorageException) handlesClosedInfo.getClosedHandles() == 0 + handlesClosedInfo.getFailedHandles() == 0 } def "Create sub directory"() { diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/DirectoryAsyncAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/DirectoryAsyncAPITests.groovy index 3ca107b40e451..49630463741e3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/DirectoryAsyncAPITests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/DirectoryAsyncAPITests.groovy @@ -7,6 +7,7 @@ import com.azure.storage.common.implementation.Constants import com.azure.storage.common.StorageSharedKeyCredential import com.azure.storage.file.share.models.ShareErrorCode import com.azure.storage.file.share.models.ShareFileHttpHeaders +import com.azure.storage.file.share.models.ShareRequestConditions import com.azure.storage.file.share.models.ShareStorageException import com.azure.storage.file.share.models.NtfsFileAttributes import reactor.test.StepVerifier @@ -368,6 +369,7 @@ class DirectoryAsyncAPITests extends APISpec { StepVerifier.create(primaryDirectoryAsyncClient.forceCloseHandle("1")) .assertNext { assert it.getClosedHandles() == 0 + assert it.getFailedHandles() == 0 }.verifyComplete() } @@ -386,8 +388,10 @@ class DirectoryAsyncAPITests extends APISpec { expect: StepVerifier.create(primaryDirectoryAsyncClient.forceCloseAllHandles(false)) - .assertNext({ it.getClosedHandles() == 0 }) - .verifyComplete() + .assertNext { + assert it.getClosedHandles() == 0 + assert it.getFailedHandles() == 0 + }.verifyComplete() } def "Create sub directory"() { @@ -541,7 +545,28 @@ class DirectoryAsyncAPITests extends APISpec { "fileName" | -1 | null | testMetadata | ShareErrorCode.OUT_OF_RANGE_INPUT "fileName" | 1024 | new ShareFileHttpHeaders().setContentMd5(new byte[0]) | testMetadata | ShareErrorCode.INVALID_HEADER_VALUE "fileName" | 1024 | null | Collections.singletonMap("", "value") | ShareErrorCode.EMPTY_METADATA_KEY + } + def "Create file lease"() { + given: + primaryDirectoryAsyncClient.create().block() + primaryDirectoryAsyncClient.getFileClient("testCreateFile").create(512).block() + def leaseId = createLeaseClient(primaryDirectoryAsyncClient.getFileClient("testCreateFile")).acquireLease().block() + + expect: + StepVerifier.create(primaryDirectoryAsyncClient.createFileWithResponse("testCreateFile", 1024, null, null, null, + null, new ShareRequestConditions().setLeaseId(leaseId))).expectNextCount(1).verifyComplete() + } + + def "Create file lease fail"() { + given: + primaryDirectoryAsyncClient.create().block() + primaryDirectoryAsyncClient.getFileClient("testCreateFile").create(512).block() + createLeaseClient(primaryDirectoryAsyncClient.getFileClient("testCreateFile")).acquireLease().block() + + expect: + StepVerifier.create(primaryDirectoryAsyncClient.createFileWithResponse("testCreateFile", 1024, null, null, null, + null, new ShareRequestConditions().setLeaseId(getRandomUUID()))).verifyError(ShareStorageException) } def "Delete file"() { @@ -556,15 +581,30 @@ class DirectoryAsyncAPITests extends APISpec { }.verifyComplete() } - def "Delete file error"() { + def "Delete file lease"() { + given: + def fileName = "testCreateFile" + primaryDirectoryAsyncClient.create().block() + primaryDirectoryAsyncClient.createFile(fileName, 1024).block() + def leaseId = createLeaseClient(primaryDirectoryAsyncClient.getFileClient(fileName)).acquireLease().block() + + expect: + StepVerifier.create(primaryDirectoryAsyncClient.deleteFileWithResponse(fileName, + new ShareRequestConditions().setLeaseId(leaseId))) + .expectNextCount(1).verifyComplete() + } + + def "Delete file lease fail"() { given: + def fileName = "testCreateFile" primaryDirectoryAsyncClient.create().block() - when: - def deleteFileErrorVerifier = StepVerifier.create(primaryDirectoryAsyncClient.deleteFileWithResponse("testfile")) - then: - deleteFileErrorVerifier.verifyErrorSatisfies { - assert FileTestHelper.assertExceptionStatusCodeAndMessage(it, 404, ShareErrorCode.RESOURCE_NOT_FOUND) - } + primaryDirectoryAsyncClient.createFile(fileName, 1024).block() + createLeaseClient(primaryDirectoryAsyncClient.getFileClient(fileName)).acquireLease().block() + + expect: + StepVerifier.create(primaryDirectoryAsyncClient.deleteFileWithResponse(fileName, + new ShareRequestConditions().setLeaseId(getRandomUUID()))) + .verifyError(ShareStorageException) } def "Get snapshot id"() { diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileAPITests.groovy index 751530723e508..0b08f192fc929 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileAPITests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileAPITests.groovy @@ -10,6 +10,7 @@ import com.azure.core.util.polling.SyncPoller import com.azure.storage.common.StorageSharedKeyCredential import com.azure.storage.common.implementation.Constants import com.azure.storage.file.share.models.NtfsFileAttributes +import com.azure.storage.file.share.models.PermissionCopyModeType import com.azure.storage.file.share.models.ShareErrorCode import com.azure.storage.file.share.models.ShareFileCopyInfo import com.azure.storage.file.share.models.ShareFileHttpHeaders @@ -466,6 +467,37 @@ class FileAPITests extends APISpec { assert pollResponse.getValue().getCopyId() != null } + @Unroll + def "Start copy with args"() { + given: + primaryFileClient.create(1024) + def sourceURL = primaryFileClient.getFileUrl() + def filePermissionKey = shareClient.createPermission(filePermission) + // We recreate file properties for each test since we need to store the times for the test with getUTCNow() + smbProperties.setFileCreationTime(getUTCNow()) + .setFileLastWriteTime(getUTCNow()) + if (setFilePermissionKey) { + smbProperties.setFilePermissionKey(filePermissionKey) + } + + when: + SyncPoller poller = primaryFileClient.beginCopy(sourceURL, smbProperties, + setFilePermission ? filePermission : null, permissionType, ignoreReadOnly, + setArchiveAttribute, null, null, null) + + def pollResponse = poller.poll() + + then: + pollResponse.getValue().getCopyId() != null + + where: + setFilePermissionKey | setFilePermission | ignoreReadOnly | setArchiveAttribute | permissionType + true | false | false | false | PermissionCopyModeType.OVERRIDE + false | true | false | false | PermissionCopyModeType.OVERRIDE + false | false | true | false | PermissionCopyModeType.SOURCE + false | false | false | true | PermissionCopyModeType.SOURCE + } + @Ignore("There is a race condition in Poller where it misses the first observed event if there is a gap between the time subscribed and the time we start observing events.") def "Start copy error"() { given: @@ -679,6 +711,7 @@ class FileAPITests extends APISpec { then: handlesClosedInfo.getClosedHandles() == 0 + handlesClosedInfo.getFailedHandles() == 0 notThrown(ShareStorageException) } @@ -703,6 +736,7 @@ class FileAPITests extends APISpec { then: notThrown(ShareStorageException) handlesClosedInfo.getClosedHandles() == 0 + handlesClosedInfo.getFailedHandles() == 0 } def "Get snapshot id"() { diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileAsyncAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileAsyncAPITests.groovy index 667cbc3dce384..8d6ea4d9ee60c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileAsyncAPITests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileAsyncAPITests.groovy @@ -7,7 +7,11 @@ import com.azure.core.exception.HttpResponseException import com.azure.core.exception.UnexpectedLengthException import com.azure.core.util.FluxUtil import com.azure.core.util.polling.PollerFlux +import com.azure.core.util.polling.SyncPoller import com.azure.storage.common.StorageSharedKeyCredential + +import com.azure.storage.file.share.models.PermissionCopyModeType +import com.azure.storage.file.share.models.ShareRequestConditions import com.azure.storage.common.implementation.Constants import com.azure.storage.file.share.models.ShareStorageException import com.azure.storage.file.share.models.NtfsFileAttributes @@ -37,8 +41,6 @@ class FileAsyncAPITests extends APISpec { ShareClient shareClient String shareName String filePath - def defaultData = ByteBuffer.wrap("default".getBytes(StandardCharsets.UTF_8)) - Long dataLength = defaultData.remaining() static Map testMetadata static ShareFileHttpHeaders httpHeaders static FileSmbProperties smbProperties @@ -140,6 +142,32 @@ class FileAsyncAPITests extends APISpec { } } + def "Create lease"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.createWithResponse(defaultDataLength + 1, null, null, null, + null, new ShareRequestConditions().setLeaseId(leaseId))) + + then: + verifier.expectNextCount(1) + } + + def "Create lease fail"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.createWithResponse(defaultDataLength + 1, null, null, null, + null, new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + verifier.verifyError(ShareStorageException) + } + /* * Tests downloading a file using a default client that doesn't have a HttpClient passed to it. */ @@ -183,10 +211,10 @@ class FileAsyncAPITests extends APISpec { def "Upload and download data"() { given: - primaryFileAsyncClient.create(dataLength).block() + primaryFileAsyncClient.create(defaultDataLength).block() when: - def uploadVerifier = StepVerifier.create(primaryFileAsyncClient.uploadWithResponse(Flux.just(defaultData), dataLength, 0L)) + def uploadVerifier = StepVerifier.create(primaryFileAsyncClient.uploadWithResponse(Flux.just(defaultData), defaultDataLength, 0L)) def downloadVerifier = StepVerifier.create(primaryFileAsyncClient.downloadWithResponse(null, null)) then: @@ -197,7 +225,7 @@ class FileAsyncAPITests extends APISpec { downloadVerifier.assertNext({ response -> assert FileTestHelper.assertResponseStatusCode(response, 200) def headers = response.getDeserializedHeaders() - assert headers.getContentLength() == dataLength + assert headers.getContentLength() == defaultDataLength assert headers.getETag() assert headers.getLastModified() assert headers.getFilePermissionKey() @@ -222,8 +250,8 @@ class FileAsyncAPITests extends APISpec { primaryFileAsyncClient.create(1024).block() when: - def uploadVerifier = StepVerifier.create(primaryFileAsyncClient.uploadWithResponse(Flux.just(defaultData), dataLength, 1L)) - def downloadVerifier = StepVerifier.create(primaryFileAsyncClient.downloadWithResponse(new ShareFileRange(1, dataLength), true)) + def uploadVerifier = StepVerifier.create(primaryFileAsyncClient.uploadWithResponse(Flux.just(defaultData), defaultDataLength, 1L)) + def downloadVerifier = StepVerifier.create(primaryFileAsyncClient.downloadWithResponse(new ShareFileRange(1, defaultDataLength), true)) then: uploadVerifier.assertNext { @@ -232,7 +260,7 @@ class FileAsyncAPITests extends APISpec { downloadVerifier.assertNext { assert FileTestHelper.assertResponseStatusCode(it, 206) - assert it.getDeserializedHeaders().getContentLength() == dataLength + assert it.getDeserializedHeaders().getContentLength() == defaultDataLength FluxUtil.collectBytesInByteBufferStream(it.getValue()) .flatMap({ data -> assert data == defaultData.array()}) }.verifyComplete() @@ -243,7 +271,7 @@ class FileAsyncAPITests extends APISpec { def "Upload data error"() { when: - def updateDataErrorVerifier = StepVerifier.create(primaryFileAsyncClient.upload(Flux.just(defaultData), dataLength)) + def updateDataErrorVerifier = StepVerifier.create(primaryFileAsyncClient.upload(Flux.just(defaultData), defaultDataLength)) then: updateDataErrorVerifier.verifyErrorSatisfies { @@ -254,6 +282,32 @@ class FileAsyncAPITests extends APISpec { defaultData.clear() } + def "Upload lease"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.uploadWithResponse(defaultFlux, defaultDataLength, 0, + new ShareRequestConditions().setLeaseId(leaseId))) + + then: + verifier.expectNextCount(1) + } + + def "Upload lease fail"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.uploadWithResponse(defaultFlux, defaultDataLength, 0, + new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + verifier.verifyError(ShareStorageException) + } + @Unroll def "Upload data length mismatch"() { given: @@ -288,6 +342,30 @@ class FileAsyncAPITests extends APISpec { }) } + def "Download lease"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.downloadWithResponse(null, null, new ShareRequestConditions().setLeaseId(leaseId))) + + then: + verifier.expectNextCount(1) + } + + def "Download lease fail"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.downloadWithResponse(null, null, new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + verifier.verifyError(ShareStorageException) + } + def "Upload and clear range"() { given: def fullInfoString = "please clear the range" @@ -378,6 +456,30 @@ class FileAsyncAPITests extends APISpec { fullInfoData.clear() } + def "Clear range lease"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.clearRangeWithResponse(1, 0, new ShareRequestConditions().setLeaseId(leaseId))) + + then: + verifier.expectNextCount(1) + } + + def "Clear range lease fail"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.clearRangeWithResponse(1, 0, new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + verifier.verifyError(ShareStorageException) + } + def "Upload file does not exist"() { given: def uploadFile = new File(testFolder.getPath() + "/fakefile.txt") @@ -406,10 +508,12 @@ class FileAsyncAPITests extends APISpec { } primaryFileAsyncClient.create(data.length()).block() - primaryFileAsyncClient.upload(Flux.just(ByteBuffer.wrap(data.getBytes(StandardCharsets.UTF_8))), data.length()).block() + primaryFileAsyncClient.upload(Flux.just(ByteBuffer.wrap(data.getBytes(StandardCharsets.UTF_8))), + data.length()).block() when: - def downloadToFileErrorVerifier = StepVerifier.create(primaryFileAsyncClient.downloadToFile(downloadFile.getPath())) + def downloadToFileErrorVerifier = StepVerifier.create( + primaryFileAsyncClient.downloadToFile(downloadFile.getPath())) then: downloadToFileErrorVerifier.verifyErrorSatisfies({ it instanceof FileAlreadyExistsException }) @@ -445,6 +549,79 @@ class FileAsyncAPITests extends APISpec { FileTestHelper.deleteFilesIfExists(testFolder.getPath()) } + def "Upload from file lease"() { + setup: + primaryFileAsyncClient.create(1024).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + def fileName = testResourceName.randomName("file", 60) + def uploadFile = FileTestHelper.createRandomFileWithLength(1024, testFolder, fileName) + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.uploadFromFile(uploadFile, new ShareRequestConditions().setLeaseId(leaseId))) + + then: + verifier.verifyComplete() + + cleanup: + FileTestHelper.deleteFilesIfExists(testFolder.getPath()) + } + + def "Upload from file lease fail"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + def fileName = testResourceName.randomName("file", 60) + def uploadFile = FileTestHelper.createRandomFileWithLength(1024, testFolder, fileName) + + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.uploadFromFile(uploadFile, + new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + verifier.verifyError(ShareStorageException) + + cleanup: + FileTestHelper.deleteFilesIfExists(testFolder.getPath()) + } + + def "Download to file lease"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + primaryFileAsyncClient.uploadWithResponse(defaultFlux, defaultDataLength, 0).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + def downloadFile = new File(String.format("%s/%s.txt", testFolder.getPath(), methodName)) + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.downloadToFileWithResponse( + downloadFile.toPath().toString(), null, new ShareRequestConditions().setLeaseId(leaseId))) + + then: + verifier.expectNextCount(1) + verifier.verifyComplete() + + cleanup: + FileTestHelper.deleteFilesIfExists(testFolder.getPath()) + } + + def "Download to file lease fail"() { + setup: + primaryFileAsyncClient.create(defaultDataLength).block() + primaryFileAsyncClient.uploadWithResponse(defaultFlux, defaultDataLength, 0).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + def downloadFile = new File(String.format("%s/%s.txt", testFolder.getPath(), methodName)) + + when: + def verifier = StepVerifier.create(primaryFileAsyncClient.downloadToFileWithResponse( + downloadFile.toPath().toString(), null, new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + verifier.verifyError(HttpResponseException) + + cleanup: + FileTestHelper.deleteFilesIfExists(testFolder.getPath()) + } + def "Upload range from URL"() { given: primaryFileAsyncClient.create(1024).block() @@ -481,6 +658,76 @@ class FileAsyncAPITests extends APISpec { }).verifyComplete() } + def "Upload range from URL lease"() { + setup: + primaryFileAsyncClient.create(1024).block() + def data = "The quick brown fox jumps over the lazy dog" + def sourceOffset = 5 + def length = 5 + def destinationOffset = 0 + + primaryFileAsyncClient.upload(Flux.just(ByteBuffer.wrap(data.getBytes())), data.length()).block() + def credential = StorageSharedKeyCredential.fromConnectionString(connectionString) + def sasToken = new ShareServiceSasSignatureValues() + .setExpiryTime(getUTCNow().plusDays(1)) + .setPermissions(new ShareFileSasPermission().setReadPermission(true)) + .setShareName(primaryFileAsyncClient.getShareName()) + .setFilePath(primaryFileAsyncClient.getFilePath()) + .generateSasQueryParameters(credential) + .encode() + + when: + ShareFileAsyncClient client = fileBuilderHelper(interceptorManager, shareName, "destination") + .endpoint(primaryFileAsyncClient.getFileUrl().toString()) + .buildFileAsyncClient() + + client.create(1024).block() + def leaseId = createLeaseClient(client).acquireLease().block() + def verifier = StepVerifier.create(client.uploadRangeFromUrlWithResponse(length, destinationOffset, + sourceOffset, primaryFileAsyncClient.getFileUrl().toString() + "?" + sasToken, new ShareRequestConditions().setLeaseId(leaseId))) + + then: + verifier.expectNextCount(1) + verifier.verifyComplete() + + cleanup: + FileTestHelper.deleteFilesIfExists(testFolder.getPath()) + } + + def "Upload range from URL lease fail"() { + primaryFileAsyncClient.create(1024).block() + def data = "The quick brown fox jumps over the lazy dog" + def sourceOffset = 5 + def length = 5 + def destinationOffset = 0 + + primaryFileAsyncClient.upload(Flux.just(ByteBuffer.wrap(data.getBytes())), data.length()).block() + def credential = StorageSharedKeyCredential.fromConnectionString(connectionString) + def sasToken = new ShareServiceSasSignatureValues() + .setExpiryTime(getUTCNow().plusDays(1)) + .setPermissions(new ShareFileSasPermission().setReadPermission(true)) + .setShareName(primaryFileAsyncClient.getShareName()) + .setFilePath(primaryFileAsyncClient.getFilePath()) + .generateSasQueryParameters(credential) + .encode() + + when: + ShareFileAsyncClient client = fileBuilderHelper(interceptorManager, shareName, "destination") + .endpoint(primaryFileAsyncClient.getFileUrl().toString()) + .buildFileAsyncClient() + + client.create(1024).block() + createLeaseClient(client).acquireLease().block() + def verifier = StepVerifier.create(client.uploadRangeFromUrlWithResponse(length, destinationOffset, + sourceOffset, primaryFileAsyncClient.getFileUrl().toString() + "?" + sasToken, new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + verifier.verifyError(ShareStorageException) + + cleanup: + FileTestHelper.deleteFilesIfExists(testFolder.getPath()) + } + def "Start copy"() { given: primaryFileAsyncClient.create(1024).block() @@ -489,7 +736,8 @@ class FileAsyncAPITests extends APISpec { def sourceURL = primaryFileAsyncClient.getFileUrl() when: - PollerFlux poller = primaryFileAsyncClient.beginCopy(sourceURL, null, Duration.ofSeconds(1)) + PollerFlux poller = primaryFileAsyncClient.beginCopy(sourceURL, null, + Duration.ofSeconds(1)) def copyInfoVerifier = StepVerifier.create(poller) then: @@ -498,19 +746,95 @@ class FileAsyncAPITests extends APISpec { }.expectComplete().verify(Duration.ofMinutes(1)) } + @Unroll + def "Start copy with args"() { + given: + primaryFileAsyncClient.create(1024).block() + def sourceURL = primaryFileAsyncClient.getFileUrl() + def filePermissionKey = shareClient.createPermission(filePermission) + // We recreate file properties for each test since we need to store the times for the test with getUTCNow() + smbProperties.setFileCreationTime(getUTCNow()) + .setFileLastWriteTime(getUTCNow()) + if (setFilePermissionKey) { + smbProperties.setFilePermissionKey(filePermissionKey) + } + + when: + PollerFlux poller = primaryFileAsyncClient.beginCopy(sourceURL, smbProperties, + setFilePermission ? filePermission : null, permissionType, ignoreReadOnly, + setArchiveAttribute, null, null, null) + def copyInfoVerifier = StepVerifier.create(poller) + + then: + copyInfoVerifier.assertNext { + assert it.getValue().getCopyId() != null + }.expectComplete().verify(Duration.ofMinutes(1)) + + where: + setFilePermissionKey | setFilePermission | ignoreReadOnly | setArchiveAttribute | permissionType + true | false | false | false | PermissionCopyModeType.OVERRIDE + false | true | false | false | PermissionCopyModeType.OVERRIDE + false | false | true | false | PermissionCopyModeType.SOURCE + false | false | false | true | PermissionCopyModeType.SOURCE + } + @Ignore("There is a race condition in Poller where it misses the first observed event if there is a gap between the time subscribed and the time we start observing events.") def "Start copy error"() { given: primaryFileAsyncClient.create(1024).block() + // TODO: Need another test account if using SAS token for authentication. + // TODO: SasToken auth cannot be used until the logging redaction + def sourceURL = primaryFileAsyncClient.getFileUrl() + + when: + PollerFlux poller = primaryFileAsyncClient.beginCopy(sourceURL, null, + Duration.ofSeconds(1)) + def copyInfoVerifier = StepVerifier.create(poller) + + then: + copyInfoVerifier.assertNext { + assert it.getValue().getCopyId() != null + }.expectComplete().verify(Duration.ofMinutes(1)) + } + + @Ignore("There is a race condition in Poller where it misses the first observed event if there is a gap between the time subscribed and the time we start observing events.") + def "Start copy lease"() { + given: + primaryFileAsyncClient.create(1024).block() + // TODO: Need another test account if using SAS token for authentication. + // TODO: SasToken auth cannot be used until the logging redaction + def sourceURL = primaryFileAsyncClient.getFileUrl() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() when: - PollerFlux poller = primaryFileAsyncClient.beginCopy("some url", testMetadata, Duration.ofSeconds(1)) - def startCopyErrorVerifier = StepVerifier.create(poller) + PollerFlux poller = primaryFileAsyncClient.beginCopy(sourceURL, null, null, null, + false, false, null, Duration.ofSeconds(1), new ShareRequestConditions().setLeaseId(leaseId)) + def copyInfoVerifier = StepVerifier.create(poller) then: - startCopyErrorVerifier.expectErrorSatisfies({ - assert FileTestHelper.assertExceptionStatusCodeAndMessage(it, 400, ShareErrorCode.INVALID_HEADER_VALUE) - }).verify(Duration.ofSeconds(30)) + copyInfoVerifier.assertNext { + assert it.getValue().getCopyId() != null + }.expectComplete().verify(Duration.ofMinutes(1)) + } + + @Ignore("There is a race condition in Poller where it misses the first observed event if there is a gap between the time subscribed and the time we start observing events.") + def "Start copy lease fail"() { + given: + primaryFileAsyncClient.create(1024).block() + // TODO: Need another test account if using SAS token for authentication. + // TODO: SasToken auth cannot be used until the logging redaction + def sourceURL = primaryFileAsyncClient.getFileUrl() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + PollerFlux poller = primaryFileAsyncClient.beginCopy(sourceURL, null, null, null, + false, false, null, Duration.ofSeconds(1), new ShareRequestConditions().setLeaseId(getRandomUUID())) + def copyInfoVerifier = StepVerifier.create(poller) + + then: + copyInfoVerifier.assertNext { + assert it.getValue().getCopyId() != null + }.expectComplete().verify(Duration.ofMinutes(1)) } @Ignore @@ -539,6 +863,28 @@ class FileAsyncAPITests extends APISpec { } } + def "Delete file lease"() { + given: + primaryFileAsyncClient.create(1024).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + expect: + StepVerifier.create(primaryFileAsyncClient.deleteWithResponse(new ShareRequestConditions().setLeaseId(leaseId))) + .assertNext { + assert FileTestHelper.assertResponseStatusCode(it, 202) + }.verifyComplete() + } + + def "Delete file lease fail"() { + given: + primaryFileAsyncClient.create(1024).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + expect: + StepVerifier.create(primaryFileAsyncClient.deleteWithResponse(new ShareRequestConditions().setLeaseId(getRandomUUID()))) + .verifyError(ShareStorageException) + } + def "Get properties"() { given: primaryFileAsyncClient.create(1024).block() @@ -563,6 +909,31 @@ class FileAsyncAPITests extends APISpec { }.verifyComplete() } + def "Get properties lease"() { + given: + primaryFileAsyncClient.create(1024).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def getPropertiesVerifier = StepVerifier.create(primaryFileAsyncClient.getPropertiesWithResponse(new ShareRequestConditions().setLeaseId(leaseId))) + + then: + getPropertiesVerifier.expectNextCount(1).verifyComplete() + } + + def "Get properties lease fail"() { + given: + primaryFileAsyncClient.create(1024).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def getPropertiesVerifier = StepVerifier.create( + primaryFileAsyncClient.getPropertiesWithResponse(new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + getPropertiesVerifier.verifyError(HttpResponseException) + } + def "Get properties error"() { when: def getPropertiesErrorVerifier = StepVerifier.create(primaryFileAsyncClient.getProperties()) @@ -617,6 +988,27 @@ class FileAsyncAPITests extends APISpec { }.verifyComplete() } + def "Set httpHeaders lease"() { + given: + primaryFileAsyncClient.createWithResponse(1024, null, null, null, null).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + expect: + StepVerifier.create(primaryFileAsyncClient.setPropertiesWithResponse(512, null, null, null, new ShareRequestConditions().setLeaseId(leaseId))) + .expectNextCount(1).verifyComplete() + } + + def "Set httpHeaders lease fail"() { + given: + primaryFileAsyncClient.createWithResponse(1024, null, null, null, null).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + expect: + StepVerifier.create(primaryFileAsyncClient.setPropertiesWithResponse(512, null, null, null, new ShareRequestConditions().setLeaseId(getRandomUUID()))) + .verifyError(ShareStorageException) + } + + def "Set httpHeaders error"() { given: primaryFileAsyncClient.createWithResponse(1024, null, null, null, null).block() @@ -666,6 +1058,34 @@ class FileAsyncAPITests extends APISpec { } } + def "Set metadata lease"() { + given: + primaryFileAsyncClient.create(1024).block() + def metadata = Collections.singletonMap("key", "value") + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def setMetadataErrorVerifier = StepVerifier.create(primaryFileAsyncClient.setMetadataWithResponse(metadata, + new ShareRequestConditions().setLeaseId(leaseId))) + + then: + setMetadataErrorVerifier.expectNextCount(1).verifyComplete() + } + + def "Set metadata lease fail"() { + given: + primaryFileAsyncClient.create(1024).block() + def metadata = Collections.singletonMap("key", "value") + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + when: + def setMetadataErrorVerifier = StepVerifier.create(primaryFileAsyncClient.setMetadataWithResponse(metadata, + new ShareRequestConditions().setLeaseId(getRandomUUID()))) + + then: + setMetadataErrorVerifier.verifyError(ShareStorageException) + } + def "List ranges"() { given: primaryFileAsyncClient.createWithResponse(1024, null, null, null, null).block() @@ -702,6 +1122,38 @@ class FileAsyncAPITests extends APISpec { FileTestHelper.deleteFilesIfExists(testFolder.getPath()) } + def "List ranges lease"() { + given: + primaryFileAsyncClient.createWithResponse(1024, null, null, null, null).block() + def fileName = testResourceName.randomName("file", 60) + def uploadFile = FileTestHelper.createRandomFileWithLength(1024, testFolder, fileName) + primaryFileAsyncClient.uploadFromFile(uploadFile).block() + def leaseId = createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + expect: + StepVerifier.create(primaryFileAsyncClient.listRanges(null, new ShareRequestConditions().setLeaseId(leaseId))) + .expectNextCount(1).verifyComplete() + + cleanup: + FileTestHelper.deleteFilesIfExists(testFolder.getPath()) + } + + def "List ranges lease fail"() { + given: + primaryFileAsyncClient.createWithResponse(1024, null, null, null, null).block() + def fileName = testResourceName.randomName("file", 60) + def uploadFile = FileTestHelper.createRandomFileWithLength(1024, testFolder, fileName) + primaryFileAsyncClient.uploadFromFile(uploadFile).block() + createLeaseClient(primaryFileAsyncClient).acquireLease().block() + + expect: + StepVerifier.create(primaryFileAsyncClient.listRanges(null, new ShareRequestConditions().setLeaseId(getRandomUUID()))) + .verifyError(ShareStorageException) + + cleanup: + FileTestHelper.deleteFilesIfExists(testFolder.getPath()) + } + def "List handles"() { given: primaryFileAsyncClient.create(1024).block() @@ -728,6 +1180,7 @@ class FileAsyncAPITests extends APISpec { StepVerifier.create(primaryFileAsyncClient.forceCloseHandle("1")) .assertNext { assert it.getClosedHandles() == 0 + assert it.getFailedHandles() == 0 }.verifyComplete() } @@ -746,8 +1199,10 @@ class FileAsyncAPITests extends APISpec { expect: StepVerifier.create(primaryFileAsyncClient.forceCloseAllHandles()) - .assertNext({ it.getClosedHandles() == 0 }) - .verifyComplete() + .assertNext { + assert it.getClosedHandles() == 0 + assert it.getFailedHandles() == 0 + }.verifyComplete() } def "Get snapshot id"() { diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileSasClientTests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileSasClientTests.groovy index 31907521f4cb4..64078f5d0cc28 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileSasClientTests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileSasClientTests.groovy @@ -1,5 +1,6 @@ package com.azure.storage.file.share +import com.azure.storage.common.StorageSharedKeyCredential import com.azure.storage.common.implementation.Constants import com.azure.storage.common.sas.AccountSasPermission diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy index 43f863ae645c0..ca2cae7cb9763 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy @@ -167,6 +167,28 @@ class FileServiceAPITests extends APISpec { new ListSharesOptions().setPrefix("fileserviceapitestslistshareswithargs") .setIncludeMetadata(true).setIncludeSnapshots(true) | 4 | true | true } + def "List shares with premium share"() { + setup: + def premiumShareName = generateShareName() + premiumFileServiceClient.createShare(premiumShareName) + + when: + def shares = premiumFileServiceClient.listShares().iterator() + + then: + for (def shareItem : shares) { + if (shareItem.getName() == premiumShareName) { + shareItem.getProperties().getETag() + shareItem.getProperties().getMetadata() + shareItem.getProperties().getLastModified() + shareItem.getProperties().getNextAllowedQuotaDowngradeTime() + shareItem.getProperties().getProvisionedEgressMBps() + shareItem.getProperties().getProvisionedIngressMBps() + shareItem.getProperties().getProvisionedIops() + } + } + } + def "Set and get properties"() { given: def originalProperties = primaryFileServiceClient.getProperties() diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAsyncAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAsyncAPITests.groovy index 3222f9ac8d319..339982d282ea9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAsyncAPITests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAsyncAPITests.groovy @@ -192,6 +192,24 @@ class FileServiceAsyncAPITests extends APISpec { new ListSharesOptions().setPrefix("fileserviceasyncapitestslistshareswithargs").setIncludeMetadata(true).setIncludeSnapshots(true) | 4 | true | true } + def "List shares with premium share"() { + setup: + def premiumShareName = generateShareName() + premiumFileServiceAsyncClient.createShare(premiumShareName).block() + + when: + def shares = premiumFileServiceAsyncClient.listShares().filter({ item -> item.getName() == premiumShareName }) + def shareProperty = shares.blockFirst().getProperties() + + then: + shareProperty.getETag() + shareProperty.getLastModified() + shareProperty.getNextAllowedQuotaDowngradeTime() + shareProperty.getProvisionedEgressMBps() + shareProperty.getProvisionedIngressMBps() + shareProperty.getProvisionedIops() + } + def "Set and get properties"() { given: def originalProperties = primaryFileServiceAsyncClient.getProperties().block() diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAPITests.groovy index 296f27cf68775..51c266ac38a53 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAPITests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAPITests.groovy @@ -152,10 +152,8 @@ class ShareAPITests extends APISpec { } def "Create snapshot metadata error"() { - given: - primaryShareClient.create() - when: + primaryShareClient.create() primaryShareClient.createSnapshotWithResponse(Collections.singletonMap("", "value"), null, null) then: @@ -202,6 +200,24 @@ class ShareAPITests extends APISpec { FileTestHelper.assertExceptionStatusCodeAndMessage(e, 404, ShareErrorCode.SHARE_NOT_FOUND) } + def "Get properties premium"() { + given: + def premiumShareClient = premiumFileServiceClient.createShareWithResponse(generateShareName(), testMetadata, null, null, null).getValue() + + when: + def getPropertiesResponse = premiumShareClient.getPropertiesWithResponse(null, null) + def shareProperties = getPropertiesResponse.getValue() + + then: + FileTestHelper.assertResponseStatusCode(getPropertiesResponse, 200) + testMetadata == shareProperties.getMetadata() + shareProperties.getQuota() + shareProperties.getNextAllowedQuotaDowngradeTime() + shareProperties.getProvisionedEgressMBps() + shareProperties.getProvisionedIngressMBps() + shareProperties.getProvisionedIops() + } + def "Set quota"() { given: primaryShareClient.createWithResponse(null, 1, null, null) diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAsyncAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAsyncAPITests.groovy index 01a37811436bf..4bc1495228628 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAsyncAPITests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAsyncAPITests.groovy @@ -9,6 +9,7 @@ import com.azure.storage.common.implementation.Constants import com.azure.storage.file.share.models.ShareErrorCode import com.azure.storage.file.share.models.ShareFileHttpHeaders import com.azure.storage.file.share.models.NtfsFileAttributes +import com.azure.storage.file.share.models.ShareRequestConditions import com.azure.storage.file.share.models.ShareStorageException import reactor.test.StepVerifier import spock.lang.Ignore @@ -140,10 +141,8 @@ class ShareAsyncAPITests extends APISpec { } def "Create snapshot metadata error"() { - given: - primaryShareAsyncClient.create().block() - when: + primaryShareAsyncClient.create().block() def createSnapshotErrorVerifier = StepVerifier.create(primaryShareAsyncClient.createSnapshotWithResponse(Collections.singletonMap("", "value"))) then: @@ -191,6 +190,23 @@ class ShareAsyncAPITests extends APISpec { } } + def "Get properties premium"() { + given: + def premiumShare = premiumFileServiceAsyncClient.createShareWithResponse(generateShareName(), testMetadata, null).block().getValue() + when: + def getPropertiesVerifier = StepVerifier.create(premiumShare.getPropertiesWithResponse()) + then: + getPropertiesVerifier.assertNext { + assert FileTestHelper.assertResponseStatusCode(it, 200) + assert testMetadata == it.getValue().getMetadata() + assert it.getValue().getQuota() + assert it.getValue().getProvisionedIops() + assert it.getValue().getProvisionedIngressMBps() + assert it.getValue().getProvisionedEgressMBps() + assert it.getValue().getNextAllowedQuotaDowngradeTime() + }.verifyComplete() + } + def "Set quota"() { given: primaryShareAsyncClient.createWithResponse(null, 1).block() @@ -397,6 +413,30 @@ class ShareAsyncAPITests extends APISpec { } + def "Create file lease"() { + given: + primaryShareAsyncClient.create().block() + primaryShareAsyncClient.getFileClient("testCreateFile").create(512).block() + def leaseId = createLeaseClient(primaryShareAsyncClient.getFileClient("testCreateFile")).acquireLease().block() + + expect: + StepVerifier.create(primaryShareAsyncClient.createFileWithResponse("testCreateFile", 1024, null, null, null, + null, new ShareRequestConditions().setLeaseId(leaseId))) + .expectNextCount(1).verifyComplete() + } + + def "Create file lease fail"() { + given: + primaryShareAsyncClient.create().block() + primaryShareAsyncClient.getFileClient("testCreateFile").create(512).block() + createLeaseClient(primaryShareAsyncClient.getFileClient("testCreateFile")).acquireLease().block() + + expect: + StepVerifier.create(primaryShareAsyncClient.createFileWithResponse("testCreateFile", 1024, null, null, null, + null, new ShareRequestConditions().setLeaseId(getRandomUUID()))) + .verifyError(ShareStorageException) + } + def "Create file maxOverload"() { given: primaryShareAsyncClient.create().block() @@ -469,6 +509,32 @@ class ShareAsyncAPITests extends APISpec { } + def "Delete file lease"() { + given: + def fileName = "testCreateFile" + primaryShareAsyncClient.create().block() + primaryShareAsyncClient.createFile(fileName, 1024).block() + def leaseId = createLeaseClient(primaryShareAsyncClient.getFileClient(fileName)).acquireLease().block() + + expect: + StepVerifier.create(primaryShareAsyncClient.deleteFileWithResponse(fileName, + new ShareRequestConditions().setLeaseId(leaseId))) + .expectNextCount(1).verifyComplete() + } + + def "Delete file lease fail"() { + given: + def fileName = "testCreateFile" + primaryShareAsyncClient.create().block() + primaryShareAsyncClient.createFile(fileName, 1024).block() + createLeaseClient(primaryShareAsyncClient.getFileClient(fileName)).acquireLease().block() + + expect: + StepVerifier.create(primaryShareAsyncClient.deleteFileWithResponse(fileName, + new ShareRequestConditions().setLeaseId(getRandomUUID()))) + .verifyError(ShareStorageException) + } + def "Delete file error"() { given: primaryShareAsyncClient.create().block() @@ -491,14 +557,13 @@ class ShareAsyncAPITests extends APISpec { }.verifyComplete() } - @Ignore def "Create and get permission"() { given: primaryShareAsyncClient.create().block() def filePermissionKey = primaryShareAsyncClient.createPermission(filePermission).block() expect: - StepVerifier.create(primaryShareAsyncClient.setPermissionWithResponse(filePermissionKey)) + StepVerifier.create(primaryShareAsyncClient.getPermissionWithResponse(filePermissionKey)) .assertNext { assert FileTestHelper.assertResponseStatusCode(it, 200) }.verifyComplete() diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/specialized/LeaseAPITest.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/specialized/LeaseAPITest.groovy new file mode 100644 index 0000000000000..be2aab3e762ec --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/specialized/LeaseAPITest.groovy @@ -0,0 +1,173 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.storage.file.share.specialized + + +import com.azure.storage.file.share.APISpec +import com.azure.storage.file.share.FileSmbProperties +import com.azure.storage.file.share.ShareClient +import com.azure.storage.file.share.ShareFileClient +import com.azure.storage.file.share.models.LeaseDurationType +import com.azure.storage.file.share.models.LeaseStateType +import com.azure.storage.file.share.models.NtfsFileAttributes +import com.azure.storage.file.share.models.ShareFileHttpHeaders +import com.azure.storage.file.share.models.ShareStorageException +import spock.lang.Unroll + +import java.nio.charset.StandardCharsets + +class LeaseAPITest extends APISpec { + ShareFileClient primaryFileClient + ShareClient shareClient + String shareName + String filePath + def data = "default".getBytes(StandardCharsets.UTF_8) + def defaultData = getInputStream(data) + def dataLength = defaultData.available() + static Map testMetadata + static ShareFileHttpHeaders httpHeaders + static FileSmbProperties smbProperties + static String filePermission = "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)S:NO_ACCESS_CONTROL" + + def setup() { + shareName = testResourceName.randomName(methodName, 60) + filePath = testResourceName.randomName(methodName, 60) + shareClient = shareBuilderHelper(interceptorManager, shareName).buildClient() + shareClient.create() + primaryFileClient = fileBuilderHelper(interceptorManager, shareName, filePath).buildFileClient() + primaryFileClient.create(50) + testMetadata = Collections.singletonMap("testmetadata", "value") + httpHeaders = new ShareFileHttpHeaders().setContentLanguage("en") + .setContentType("application/octet-stream") + smbProperties = new FileSmbProperties().setNtfsFileAttributes(EnumSet. of(NtfsFileAttributes.NORMAL)) + } + + @Unroll + def "Acquire file lease"() { + setup: + def leaseClient = createLeaseClient(primaryFileClient, getRandomUUID()) + + when: + def leaseId = leaseClient.acquireLease() + + then: + leaseId != null + + when: + def response = primaryFileClient.getPropertiesWithResponse(null, null) + def properties = response.getValue() + + then: + properties.getLeaseState() == LeaseStateType.LEASED + properties.getLeaseDuration() == LeaseDurationType.INFINITE + } + + def "Acquire file lease error"() { + setup: + def fc = shareClient.getFileClient("garbage") + + when: + createLeaseClient(fc).acquireLease() + + then: + thrown(ShareStorageException) + } + + def "Release lease"() { + setup: + def leaseID = setupFileLeaseCondition(primaryFileClient, receivedLeaseID) + def headers = createLeaseClient(primaryFileClient, leaseID).releaseLeaseWithResponse(null, null).getHeaders() + + expect: + primaryFileClient.getProperties().getLeaseState() == LeaseStateType.AVAILABLE + } + + def "Release lease min"() { + setup: + def leaseID = setupFileLeaseCondition(primaryFileClient, receivedLeaseID) + + when: + createLeaseClient(primaryFileClient, leaseID).releaseLease() + + then: + notThrown(ShareStorageException) + } + + def "Release blob lease error"() { + setup: + def fc = shareClient.getFileClient("garbage") + + when: + createLeaseClient(fc, "id").releaseLease() + + then: + thrown(ShareStorageException) + } + + @Unroll + def "Break blob lease"() { + setup: + def leaseClient = createLeaseClient(primaryFileClient, getRandomUUID()) + leaseClient.acquireLease() + + when: + leaseClient.breakLease() + def leaseState = primaryFileClient.getProperties().getLeaseState() + + then: + leaseState == LeaseStateType.BROKEN + } + + def "Break blob lease min"() { + setup: + setupFileLeaseCondition(primaryFileClient, receivedLeaseID) + + when: + createLeaseClient(primaryFileClient).breakLease() + + then: + notThrown(ShareStorageException) + } + + def "Break blob lease error"() { + when: + createLeaseClient(primaryFileClient).breakLease() + + then: + thrown(ShareStorageException) + } + + def "Change blob lease"() { + setup: + def leaseClient = createLeaseClient(primaryFileClient, getRandomUUID()) + leaseClient.acquireLease() + def changeLeaseResponse = leaseClient.changeLeaseWithResponse(getRandomUUID(), null, null) + def leaseClient2 = createLeaseClient(primaryFileClient, changeLeaseResponse.getValue()) + + expect: + leaseClient2.releaseLeaseWithResponse(null, null).getStatusCode() == 200 + } + + def "Change blob lease min"() { + setup: + def leaseID = setupFileLeaseCondition(primaryFileClient, receivedLeaseID) + + when: + createLeaseClient(primaryFileClient, leaseID).changeLease(getRandomUUID()) + + then: + notThrown(ShareStorageException) + } + + def "Change blob lease error"() { + setup: + def fc = shareClient.getFileClient("garbage") + + when: + createLeaseClient(fc, "id").changeLease("id") + + then: + thrown(ShareStorageException) + } +} diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectory.json index cdbee8a8e0781..969bd1547907a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectory.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectory106377821d2b08c0?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectory802933472b57637b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "58a64ea2-b351-4753-875e-b30fa1495e9c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6f4b3826-4541-4e9e-98f6-10c69dd71d6b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5B3FFC80", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:56 GMT", + "ETag" : "0x8D77911B0A5AF3E", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f39-701a-001b-3088-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:56 GMT", - "x-ms-client-request-id" : "58a64ea2-b351-4753-875e-b30fa1495e9c" + "x-ms-request-id" : "172f86b0-101a-0047-42fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:37 GMT", + "x-ms-client-request-id" : "6f4b3826-4541-4e9e-98f6-10c69dd71d6b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectory106377821d2b08c0/directoryapitestscreatedirectory02107ec061c12eb6?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectory802933472b57637b/directoryapitestscreatedirectory16493caad0c825e2?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cce9f91a-1e6f-4196-ae2d-f10fe389fe94" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc8ea6ee-36dc-4415-882e-97f2c4bac2eb" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:41:56.9634744Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:56 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:38.2367159Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:38 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:41:56 GMT", - "ETag" : "0x8D7519F5B4CF5B8", + "Date" : "Wed, 04 Dec 2019 23:28:37 GMT", + "ETag" : "0x8D77911B0B675B7", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:41:56.9634744Z", + "x-ms-file-change-time" : "2019-12-04T23:28:38.2367159Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f3b-701a-001b-3188-831ee4000000", - "x-ms-client-request-id" : "cce9f91a-1e6f-4196-ae2d-f10fe389fe94", - "x-ms-file-last-write-time" : "2019-10-15T18:41:56.9634744Z" + "x-ms-request-id" : "172f86b4-101a-0047-45fa-aaf960000000", + "x-ms-client-request-id" : "fc8ea6ee-36dc-4415-882e-97f2c4bac2eb", + "x-ms-file-last-write-time" : "2019-12-04T23:28:38.2367159Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatedirectory106377821d2b08c0", "directoryapitestscreatedirectory02107ec061c12eb6" ] + "variables" : [ "directoryapitestscreatedirectory802933472b57637b", "directoryapitestscreatedirectory16493caad0c825e2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryError.json index 9d86c098c9783..e4313c2fa5297 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectoryerror2634373350d2e6?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectoryerror70965f8071547c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f6f12823-0899-46aa-bfc6-fc5952e02762" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ccf23e83-3544-4a08-8a87-a3fdeb3850b5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5C0D428C", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:58 GMT", + "ETag" : "0x8D77911B0DE4B81", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f50-701a-001b-3a88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:58 GMT", - "x-ms-client-request-id" : "f6f12823-0899-46aa-bfc6-fc5952e02762" + "x-ms-request-id" : "172f86ba-101a-0047-4afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:38 GMT", + "x-ms-client-request-id" : "ccf23e83-3544-4a08-8a87-a3fdeb3850b5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectoryerror5674572836c937/directoryapitestscreatedirectoryerror24005cd1c248ec?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectoryerror826706940cdecb/directoryapitestscreatedirectoryerror75926fb375ec92?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "df504706-50a2-400b-a823-e2ae6cdde2c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "65319962-aea0-4b58-9652-d1c696a1b43b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "c1ad4dc2-b01a-00ca-5988-83a3bb000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:c1ad4dc2-b01a-00ca-5988-83a3bb000000\nTime:2019-10-15T18:41:58.3044671Z", - "Date" : "Tue, 15 Oct 2019 18:41:58 GMT", - "x-ms-client-request-id" : "df504706-50a2-400b-a823-e2ae6cdde2c7", + "x-ms-request-id" : "172f86bc-101a-0047-4bfa-aaf960000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:172f86bc-101a-0047-4bfa-aaf960000000\nTime:2019-12-04T23:28:38.7007777Z", + "Date" : "Wed, 04 Dec 2019 23:28:38 GMT", + "x-ms-client-request-id" : "65319962-aea0-4b58-9652-d1c696a1b43b", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatedirectoryerror2634373350d2e6", "directoryapitestscreatedirectoryerror24005cd1c248ec", "directoryapitestscreatedirectoryerror5674572836c937" ] + "variables" : [ "directoryapitestscreatedirectoryerror70965f8071547c", "directoryapitestscreatedirectoryerror75926fb375ec92", "directoryapitestscreatedirectoryerror826706940cdecb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryPermissionAndKeyError0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryPermissionAndKeyError0.json index 451f97b5ea36b..d2e59bc76fce7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryPermissionAndKeyError0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryPermissionAndKeyError0.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorypermissionandkeyerror088544?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorypermissionandkeyerror044224?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "15a1f535-13e8-492a-be9c-5dad8b9fd540" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9f302ef5-d4a4-4fd2-9279-c250ee45b155" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5D495DBD", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:00 GMT", + "ETag" : "0x8D77911B1DB9740", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4dcd-b01a-00ca-6188-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:00 GMT", - "x-ms-client-request-id" : "15a1f535-13e8-492a-be9c-5dad8b9fd540" + "x-ms-request-id" : "172f86e9-101a-0047-72fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:39 GMT", + "x-ms-client-request-id" : "9f302ef5-d4a4-4fd2-9279-c250ee45b155" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatedirectorypermissionandkeyerror088544", "directoryapitestscreatedirectorypermissionandkeyerror062004" ] + "variables" : [ "directoryapitestscreatedirectorypermissionandkeyerror044224", "directoryapitestscreatedirectorypermissionandkeyerror077706" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryPermissionAndKeyError1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryPermissionAndKeyError1.json index e4868107b5087..8a2c9690e2301 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryPermissionAndKeyError1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryPermissionAndKeyError1.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorypermissionandkeyerror151974?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorypermissionandkeyerror198725?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8b57a55d-1e05-462c-879a-11220ef5431b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3dcd7236-860a-478a-8d53-74311a7205ca" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5D74A438", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:00 GMT", + "ETag" : "0x8D77911B2069ED2", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f60-701a-001b-4488-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:00 GMT", - "x-ms-client-request-id" : "8b57a55d-1e05-462c-879a-11220ef5431b" + "x-ms-request-id" : "172f86f0-101a-0047-78fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:39 GMT", + "x-ms-client-request-id" : "3dcd7236-860a-478a-8d53-74311a7205ca" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatedirectorypermissionandkeyerror151974", "directoryapitestscreatedirectorypermissionandkeyerror158419" ] + "variables" : [ "directoryapitestscreatedirectorypermissionandkeyerror198725", "directoryapitestscreatedirectorypermissionandkeyerror120889" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithFilePermission.json index b62788580602a..21ea9df64d8b4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithFilePermission.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorywithfilepermission4081301?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorywithfilepermission27785a4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8cda7204-a981-45c3-bf2d-7b184e2d61b7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54b22714-0b1d-4bca-8dda-7de7fecc5b78" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5C60F534", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:58 GMT", + "ETag" : "0x8D77911B15D3F90", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f57-701a-001b-3e88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:58 GMT", - "x-ms-client-request-id" : "8cda7204-a981-45c3-bf2d-7b184e2d61b7" + "x-ms-request-id" : "172f86ce-101a-0047-5bfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:38 GMT", + "x-ms-client-request-id" : "54b22714-0b1d-4bca-8dda-7de7fecc5b78" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorywithfilepermission4081301/directoryapitestscreatedirectorywithfilepermission3322102?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorywithfilepermission27785a4/directoryapitestscreatedirectorywithfilepermission3096554?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2624960a-f6eb-4ca8-939d-8c0b3f2bc893" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "732bc36c-7193-4949-acd6-e802367b1c51" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:41:58.8462922Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:58 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:39.4257876Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:39 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:41:58 GMT", - "ETag" : "0x8D7519F5C6C414A", + "Date" : "Wed, 04 Dec 2019 23:28:38 GMT", + "ETag" : "0x8D77911B16BE5D4", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:41:58.8462922Z", + "x-ms-file-change-time" : "2019-12-04T23:28:39.4257876Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4dc6-b01a-00ca-5d88-83a3bb000000", - "x-ms-client-request-id" : "2624960a-f6eb-4ca8-939d-8c0b3f2bc893", - "x-ms-file-last-write-time" : "2019-10-15T18:41:58.8462922Z" + "x-ms-request-id" : "172f86d0-101a-0047-5cfa-aaf960000000", + "x-ms-client-request-id" : "732bc36c-7193-4949-acd6-e802367b1c51", + "x-ms-file-last-write-time" : "2019-12-04T23:28:39.4257876Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatedirectorywithfilepermission4081301", "directoryapitestscreatedirectorywithfilepermission3322102" ] + "variables" : [ "directoryapitestscreatedirectorywithfilepermission27785a4", "directoryapitestscreatedirectorywithfilepermission3096554" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithFilePermissionKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithFilePermissionKey.json index 12e0722854ef0..1d14aec3244b6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithFilePermissionKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithFilePermissionKey.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorywithfilepermissionkey32249e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorywithfilepermissionkey94701e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "73355ff8-96a7-48cc-9ec6-40529f4a28df" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7a5f2d87-a484-44d3-ab71-1c9d7743491c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5C8B6AEE", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:59 GMT", + "ETag" : "0x8D77911B193E00B", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f5a-701a-001b-4088-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:59 GMT", - "x-ms-client-request-id" : "73355ff8-96a7-48cc-9ec6-40529f4a28df" + "x-ms-request-id" : "172f86d9-101a-0047-63fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:39 GMT", + "x-ms-client-request-id" : "7a5f2d87-a484-44d3-ab71-1c9d7743491c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorywithfilepermissionkey32249e?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorywithfilepermissionkey94701e?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c28a4851-61f1-441f-942b-7f0721b1d712", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "16a2f55a-a268-4e7b-954d-8c610b929c46", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4dc9-b01a-00ca-5f88-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:41:59 GMT", - "x-ms-client-request-id" : "c28a4851-61f1-441f-942b-7f0721b1d712" + "x-ms-request-id" : "172f86de-101a-0047-67fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:39 GMT", + "x-ms-client-request-id" : "16a2f55a-a268-4e7b-954d-8c610b929c46" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorywithfilepermissionkey32249e/directoryapitestscreatedirectorywithfilepermissionkey24868d?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorywithfilepermissionkey94701e/directoryapitestscreatedirectorywithfilepermissionkey71557c?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b40cfd03-c93d-4d08-adda-c871ca43e19f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8f2a3eb1-6abc-46f6-8811-61139611b46d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:41:59.8278888Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:59 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:39.7942170Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:39 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:41:59 GMT", - "ETag" : "0x8D7519F5D0208E8", + "Date" : "Wed, 04 Dec 2019 23:28:39 GMT", + "ETag" : "0x8D77911B1A41D9A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:41:59.8278888Z", + "x-ms-file-change-time" : "2019-12-04T23:28:39.7942170Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f5c-701a-001b-4188-831ee4000000", - "x-ms-client-request-id" : "b40cfd03-c93d-4d08-adda-c871ca43e19f", - "x-ms-file-last-write-time" : "2019-10-15T18:41:59.8278888Z" + "x-ms-request-id" : "172f86e1-101a-0047-6afa-aaf960000000", + "x-ms-client-request-id" : "8f2a3eb1-6abc-46f6-8811-61139611b46d", + "x-ms-file-last-write-time" : "2019-12-04T23:28:39.7952451Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatedirectorywithfilepermissionkey32249e", "directoryapitestscreatedirectorywithfilepermissionkey24868d", "2019-10-15T18:41:59.827888800Z", "2019-10-15T18:41:59.827888800Z" ] + "variables" : [ "directoryapitestscreatedirectorywithfilepermissionkey94701e", "directoryapitestscreatedirectorywithfilepermissionkey71557c", "2019-12-04T23:28:39.794217Z", "2019-12-04T23:28:39.795245100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithMetadata.json index d3ab33c1f6a11..ffca5edefc1b6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateDirectoryWithMetadata.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorywithmetadata9627734f4c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorywithmetadata456734ac10?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "38d022b8-a31b-4a18-b648-cdb510994033" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f74641c4-c126-4531-b7fd-8785f876da06" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5C37DF5D", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:58 GMT", + "ETag" : "0x8D77911B1251855", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f54-701a-001b-3c88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:58 GMT", - "x-ms-client-request-id" : "38d022b8-a31b-4a18-b648-cdb510994033" + "x-ms-request-id" : "172f86c4-101a-0047-52fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:38 GMT", + "x-ms-client-request-id" : "f74641c4-c126-4531-b7fd-8785f876da06" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatedirectorywithmetadata9627734f4c/directoryapitestscreatedirectorywithmetadata9699731651?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatedirectorywithmetadata456734ac10/directoryapitestscreatedirectorywithmetadata62966d6515?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c952dc0-9d2e-41e9-96be-5ec5c1a26b1d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8f2b7cab-32ae-44f2-b57e-d7f8900ab50f" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:41:58.5860397Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:58 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:39.0637204Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:39 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:41:58 GMT", - "ETag" : "0x8D7519F5C448B2D", + "Date" : "Wed, 04 Dec 2019 23:28:38 GMT", + "ETag" : "0x8D77911B134A694", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:41:58.5860397Z", + "x-ms-file-change-time" : "2019-12-04T23:28:39.0637204Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4dc4-b01a-00ca-5b88-83a3bb000000", - "x-ms-client-request-id" : "1c952dc0-9d2e-41e9-96be-5ec5c1a26b1d", - "x-ms-file-last-write-time" : "2019-10-15T18:41:58.5860397Z" + "x-ms-request-id" : "172f86c8-101a-0047-55fa-aaf960000000", + "x-ms-client-request-id" : "8f2b7cab-32ae-44f2-b57e-d7f8900ab50f", + "x-ms-file-last-write-time" : "2019-12-04T23:28:39.0637204Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatedirectorywithmetadata9627734f4c", "directoryapitestscreatedirectorywithmetadata9699731651" ] + "variables" : [ "directoryapitestscreatedirectorywithmetadata456734ac10", "directoryapitestscreatedirectorywithmetadata62966d6515" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFile.json index 0386549380b92..52eed0411e575 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFile.json @@ -1,84 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefile657091528c0e1b66240?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefile268666f1010ad0a7344?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f8e47c3f-4505-4746-9ab0-7730a3662045" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cd3c7202-58c4-4ab7-ba9a-1313d3e47f89" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F63716CA8", - "Connection" : "close", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "ETag" : "0x8D77911BBC7B8FC", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4e3f-b01a-00ca-3e88-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "x-ms-client-request-id" : "f8e47c3f-4505-4746-9ab0-7730a3662045" + "x-ms-request-id" : "172f8897-101a-0047-6afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:55 GMT", + "x-ms-client-request-id" : "cd3c7202-58c4-4ab7-ba9a-1313d3e47f89" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefile657091528c0e1b66240/directoryapitestscreatefile27671efcbf355944b4a?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefile268666f1010ad0a7344/directoryapitestscreatefile380613e768e6b26b942?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5925b26a-e173-48c7-9612-fdfdc5db0421" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb383038-d17b-46c8-b3a4-410e94540376" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:10.6917218Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:56.8969133Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:56 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "ETag" : "0x8D7519F637BB962", + "Date" : "Wed, 04 Dec 2019 23:28:56 GMT", + "ETag" : "0x8D77911BBD5C7AD", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:10.6917218Z", + "x-ms-file-change-time" : "2019-12-04T23:28:56.8969133Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0fd6-701a-001b-1e88-831ee4000000", - "x-ms-client-request-id" : "5925b26a-e173-48c7-9612-fdfdc5db0421", - "x-ms-file-last-write-time" : "2019-10-15T18:42:10.6917218Z" + "x-ms-request-id" : "172f889b-101a-0047-6dfa-aaf960000000", + "x-ms-client-request-id" : "eb383038-d17b-46c8-b3a4-410e94540376", + "x-ms-file-last-write-time" : "2019-12-04T23:28:56.8969133Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefile657091528c0e1b66240/directoryapitestscreatefile27671efcbf355944b4a%2ftestCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefile268666f1010ad0a7344/directoryapitestscreatefile380613e768e6b26b942%2ftestCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f31467ba-d62f-4e40-ab5e-ae02865cb295" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "75a9c33e-ae12-4f99-bf32-ab484f66885c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:10.7527800Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:56.9909428Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:56 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "ETag" : "0x8D7519F63850A78", + "Date" : "Wed, 04 Dec 2019 23:28:56 GMT", + "ETag" : "0x8D77911BBE420B4", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:10.7527800Z", + "x-ms-file-change-time" : "2019-12-04T23:28:56.9909428Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0fd7-701a-001b-1f88-831ee4000000", - "x-ms-client-request-id" : "f31467ba-d62f-4e40-ab5e-ae02865cb295", - "x-ms-file-last-write-time" : "2019-10-15T18:42:10.7527800Z" + "x-ms-request-id" : "172f889c-101a-0047-6efa-aaf960000000", + "x-ms-client-request-id" : "75a9c33e-ae12-4f99-bf32-ab484f66885c", + "x-ms-file-last-write-time" : "2019-12-04T23:28:56.9909428Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatefile657091528c0e1b66240", "directoryapitestscreatefile27671efcbf355944b4a" ] + "variables" : [ "directoryapitestscreatefile268666f1010ad0a7344", "directoryapitestscreatefile380613e768e6b26b942" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileInvalidArgs0.json index 47debad4603be..efe0c71851399 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileInvalidArgs0.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefileinvalidargs044726a2db1276?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefileinvalidargs061730caf14c40?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3728c96a-ec9a-458f-a36e-cad62e88ac6f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4fccfd42-57de-499f-8bf2-6ac7b87e83b7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F639D75E5", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "ETag" : "0x8D77911BC0CFF1E", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fdc-701a-001b-2488-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "x-ms-client-request-id" : "3728c96a-ec9a-458f-a36e-cad62e88ac6f" + "x-ms-request-id" : "172f88a3-101a-0047-75fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:56 GMT", + "x-ms-client-request-id" : "4fccfd42-57de-499f-8bf2-6ac7b87e83b7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefileinvalidargs044726a2db1276/directoryapitestscreatefileinvalidargs042283fda964ad?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefileinvalidargs061730caf14c40/directoryapitestscreatefileinvalidargs0744980ba7a6eb?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c9334275-c1c9-4798-a9d6-7acf2fdcace1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "56aa6596-85e9-4e86-a2a1-b72fa6d41fc1" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:11.0080261Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:11 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:57.3558800Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:57 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "ETag" : "0x8D7519F63ABFD05", + "Date" : "Wed, 04 Dec 2019 23:28:56 GMT", + "ETag" : "0x8D77911BC1BD010", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:11.0080261Z", + "x-ms-file-change-time" : "2019-12-04T23:28:57.3558800Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0fde-701a-001b-2588-831ee4000000", - "x-ms-client-request-id" : "c9334275-c1c9-4798-a9d6-7acf2fdcace1", - "x-ms-file-last-write-time" : "2019-10-15T18:42:11.0080261Z" + "x-ms-request-id" : "172f88a6-101a-0047-77fa-aaf960000000", + "x-ms-client-request-id" : "56aa6596-85e9-4e86-a2a1-b72fa6d41fc1", + "x-ms-file-last-write-time" : "2019-12-04T23:28:57.3558800Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefileinvalidargs044726a2db1276/directoryapitestscreatefileinvalidargs042283fda964ad%2ftestfile:", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefileinvalidargs061730caf14c40/directoryapitestscreatefileinvalidargs0744980ba7a6eb%2ftestfile:", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7f0a5994-ceb5-436d-8788-c39019366cc6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "efbce8f2-ff6a-4684-9733-09db54b2ed76" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "beee0fdf-701a-001b-2688-831ee4000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:beee0fdf-701a-001b-2688-831ee4000000\nTime:2019-10-15T18:42:11.0549523Z", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "x-ms-client-request-id" : "7f0a5994-ceb5-436d-8788-c39019366cc6", + "x-ms-request-id" : "172f88a9-101a-0047-7afa-aaf960000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:172f88a9-101a-0047-7afa-aaf960000000\nTime:2019-12-04T23:28:57.4457766Z", + "Date" : "Wed, 04 Dec 2019 23:28:56 GMT", + "x-ms-client-request-id" : "efbce8f2-ff6a-4684-9733-09db54b2ed76", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatefileinvalidargs044726a2db1276", "directoryapitestscreatefileinvalidargs042283fda964ad" ] + "variables" : [ "directoryapitestscreatefileinvalidargs061730caf14c40", "directoryapitestscreatefileinvalidargs0744980ba7a6eb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileInvalidArgs1.json index 8192dd6552538..41fa9cf1c3ad1 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileInvalidArgs1.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefileinvalidargs19696354b7d886?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefileinvalidargs1406263689c25b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7a8365fa-eb03-4b5c-a5c9-d009469901e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "02561088-34d0-4e8f-8f5d-480b0d76d757" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F63DD4D95", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:11 GMT", + "ETag" : "0x8D77911BC51A90F", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fe2-701a-001b-2988-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "x-ms-client-request-id" : "7a8365fa-eb03-4b5c-a5c9-d009469901e6" + "x-ms-request-id" : "172f88af-101a-0047-80fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:56 GMT", + "x-ms-client-request-id" : "02561088-34d0-4e8f-8f5d-480b0d76d757" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefileinvalidargs19696354b7d886/directoryapitestscreatefileinvalidargs1490105da82e8b?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefileinvalidargs1406263689c25b/directoryapitestscreatefileinvalidargs103762b6817f73?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f684f53b-8973-4c74-83e3-ccd15d011643" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "999113a3-2f37-46d2-936d-bf6e838ed5e0" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:11.3863907Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:11 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:57.8028816Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:57 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "ETag" : "0x8D7519F63E5B8E3", + "Date" : "Wed, 04 Dec 2019 23:28:56 GMT", + "ETag" : "0x8D77911BC600510", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:11.3863907Z", + "x-ms-file-change-time" : "2019-12-04T23:28:57.8028816Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0fe4-701a-001b-2a88-831ee4000000", - "x-ms-client-request-id" : "f684f53b-8973-4c74-83e3-ccd15d011643", - "x-ms-file-last-write-time" : "2019-10-15T18:42:11.3863907Z" + "x-ms-request-id" : "172f88b3-101a-0047-03fa-aaf960000000", + "x-ms-client-request-id" : "999113a3-2f37-46d2-936d-bf6e838ed5e0", + "x-ms-file-last-write-time" : "2019-12-04T23:28:57.8028816Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefileinvalidargs19696354b7d886/directoryapitestscreatefileinvalidargs1490105da82e8b%2ffileName", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefileinvalidargs1406263689c25b/directoryapitestscreatefileinvalidargs103762b6817f73%2ffileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7a1363d1-6e07-4930-a594-c194a527b3f1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cd8f063b-50a1-4160-8acb-04622ac3b162" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "beee0fe5-701a-001b-2b88-831ee4000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:beee0fe5-701a-001b-2b88-831ee4000000\nTime:2019-10-15T18:42:11.4273069Z", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "x-ms-client-request-id" : "7a1363d1-6e07-4930-a594-c194a527b3f1", + "x-ms-request-id" : "172f88b6-101a-0047-06fa-aaf960000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:172f88b6-101a-0047-06fa-aaf960000000\nTime:2019-12-04T23:28:57.8937784Z", + "Date" : "Wed, 04 Dec 2019 23:28:57 GMT", + "x-ms-client-request-id" : "cd8f063b-50a1-4160-8acb-04622ac3b162", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatefileinvalidargs19696354b7d886", "directoryapitestscreatefileinvalidargs1490105da82e8b" ] + "variables" : [ "directoryapitestscreatefileinvalidargs1406263689c25b", "directoryapitestscreatefileinvalidargs103762b6817f73" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverload.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverload.json index 834c0b3f16d43..5bcb2329322c3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverload.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverload.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverload6412479786664?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverload5271828b168e5?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f34561a0-4eae-4512-8b0d-eaca8649a728" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3f278ce8-51e4-45af-906e-62c7dc61ea39" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F63FDFCF2", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:11 GMT", + "ETag" : "0x8D77911BC94A59C", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fe8-701a-001b-2e88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "x-ms-client-request-id" : "f34561a0-4eae-4512-8b0d-eaca8649a728" + "x-ms-request-id" : "172f88bc-101a-0047-0cfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:57 GMT", + "x-ms-client-request-id" : "3f278ce8-51e4-45af-906e-62c7dc61ea39" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverload6412479786664/directoryapitestscreatefilemaxoverload951924e66418c?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverload5271828b168e5/directoryapitestscreatefilemaxoverload17597255a380a?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c1c02bfa-ed2e-484d-a2e8-93dbd150fd7b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1ba3395c-f9ca-473d-be90-e8684e41bae3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:11.5935927Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:11 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:58.2458851Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:58 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "ETag" : "0x8D7519F640556B7", + "Date" : "Wed, 04 Dec 2019 23:28:57 GMT", + "ETag" : "0x8D77911BCA39DE3", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:11.5935927Z", + "x-ms-file-change-time" : "2019-12-04T23:28:58.2458851Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0fea-701a-001b-2f88-831ee4000000", - "x-ms-client-request-id" : "c1c02bfa-ed2e-484d-a2e8-93dbd150fd7b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:11.5935927Z" + "x-ms-request-id" : "172f88be-101a-0047-0dfa-aaf960000000", + "x-ms-client-request-id" : "1ba3395c-f9ca-473d-be90-e8684e41bae3", + "x-ms-file-last-write-time" : "2019-12-04T23:28:58.2458851Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverload6412479786664/directoryapitestscreatefilemaxoverload951924e66418c%2ftestCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverload5271828b168e5/directoryapitestscreatefilemaxoverload17597255a380a%2ftestCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5a1d4b83-ec31-477e-ada9-c445fa660e5f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "62a6529c-8930-4dc7-b189-5317c503f71e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:11.6263644Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:11 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:58.2557621Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:58 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "ETag" : "0x8D7519F640A56DC", + "Date" : "Wed, 04 Dec 2019 23:28:57 GMT", + "ETag" : "0x8D77911BCA51FB5", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:11.6263644Z", + "x-ms-file-change-time" : "2019-12-04T23:28:58.2557621Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0feb-701a-001b-3088-831ee4000000", - "x-ms-client-request-id" : "5a1d4b83-ec31-477e-ada9-c445fa660e5f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:11.6263644Z" + "x-ms-request-id" : "172f88c0-101a-0047-0efa-aaf960000000", + "x-ms-client-request-id" : "62a6529c-8930-4dc7-b189-5317c503f71e", + "x-ms-file-last-write-time" : "2019-12-04T23:28:58.2557621Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatefilemaxoverload6412479786664", "directoryapitestscreatefilemaxoverload951924e66418c", "2019-10-15T18:42:11.626364400Z", "2019-10-15T18:42:11.626364400Z" ] + "variables" : [ "directoryapitestscreatefilemaxoverload5271828b168e5", "directoryapitestscreatefilemaxoverload17597255a380a", "2019-12-04T23:28:58.255762100Z", "2019-12-04T23:28:58.255762100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs0.json index a6e7a726be078..1f17941a8e5c5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs0.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs037891b9?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs055237b3?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b4dc5142-644e-46dc-982d-6659cc561030" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2cad9f3e-fdd8-4cd3-bbdc-52723b2cee6c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F64231A2C", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:11 GMT", + "ETag" : "0x8D77911BCD9C51D", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fee-701a-001b-3388-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "x-ms-client-request-id" : "b4dc5142-644e-46dc-982d-6659cc561030" + "x-ms-request-id" : "172f88c9-101a-0047-17fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:57 GMT", + "x-ms-client-request-id" : "2cad9f3e-fdd8-4cd3-bbdc-52723b2cee6c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs037891b9/directoryapitestscreatefilemaxoverloadinvalidargs0246737e?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs055237b3/directoryapitestscreatefilemaxoverloadinvalidargs048405e5?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "60be42d7-c4ef-49e9-8e01-b2308a7b0ebe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9817b42b-766c-43c9-9b1c-5a456057e84e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:11.9539381Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:11 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:58.6968842Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:58 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "ETag" : "0x8D7519F643C52B5", + "Date" : "Wed, 04 Dec 2019 23:28:57 GMT", + "ETag" : "0x8D77911BCE86F0A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:11.9539381Z", + "x-ms-file-change-time" : "2019-12-04T23:28:58.6968842Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0ff0-701a-001b-3488-831ee4000000", - "x-ms-client-request-id" : "60be42d7-c4ef-49e9-8e01-b2308a7b0ebe", - "x-ms-file-last-write-time" : "2019-10-15T18:42:11.9539381Z" + "x-ms-request-id" : "172f88cd-101a-0047-1afa-aaf960000000", + "x-ms-client-request-id" : "9817b42b-766c-43c9-9b1c-5a456057e84e", + "x-ms-file-last-write-time" : "2019-12-04T23:28:58.6968842Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs037891b9/directoryapitestscreatefilemaxoverloadinvalidargs0246737e%2ftestfile:", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs055237b3/directoryapitestscreatefilemaxoverloadinvalidargs048405e5%2ftestfile:", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4951e807-a760-4839-81b6-b427aad2079d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7e5dd896-697f-41af-918e-465fed3006c7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "beee0ff1-701a-001b-3588-831ee4000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:beee0ff1-701a-001b-3588-831ee4000000\nTime:2019-10-15T18:42:12.0038555Z", - "Date" : "Tue, 15 Oct 2019 18:42:11 GMT", - "x-ms-client-request-id" : "4951e807-a760-4839-81b6-b427aad2079d", + "x-ms-request-id" : "172f88ce-101a-0047-1bfa-aaf960000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:172f88ce-101a-0047-1bfa-aaf960000000\nTime:2019-12-04T23:28:58.7847819Z", + "Date" : "Wed, 04 Dec 2019 23:28:57 GMT", + "x-ms-client-request-id" : "7e5dd896-697f-41af-918e-465fed3006c7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatefilemaxoverloadinvalidargs037891b9", "directoryapitestscreatefilemaxoverloadinvalidargs0246737e" ] + "variables" : [ "directoryapitestscreatefilemaxoverloadinvalidargs055237b3", "directoryapitestscreatefilemaxoverloadinvalidargs048405e5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs1.json index 7ac1b2c908e0a..fb809c73e91a9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs1.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs16902142?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs18034133?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b06a78c4-c21a-494d-9eba-1fa41b2a6d91" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2e98e60b-113e-4e99-9b44-bde0fc2b2945" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F645E5CE3", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "ETag" : "0x8D77911BD1A5086", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0ff4-701a-001b-3888-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "x-ms-client-request-id" : "b06a78c4-c21a-494d-9eba-1fa41b2a6d91" + "x-ms-request-id" : "172f88d3-101a-0047-20fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:58 GMT", + "x-ms-client-request-id" : "2e98e60b-113e-4e99-9b44-bde0fc2b2945" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs16902142/directoryapitestscreatefilemaxoverloadinvalidargs155309e4?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs18034133/directoryapitestscreatefilemaxoverloadinvalidargs1334374f?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "08c87940-f5c8-4d51-a56b-0b03470798ee" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b24b1b98-89a0-41fd-a393-c52fb7ddadb5" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:12.2292039Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:59.1208912Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:59 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "ETag" : "0x8D7519F64665347", + "Date" : "Wed, 04 Dec 2019 23:28:58 GMT", + "ETag" : "0x8D77911BD2921D0", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:12.2292039Z", + "x-ms-file-change-time" : "2019-12-04T23:28:59.1208912Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0ff6-701a-001b-3988-831ee4000000", - "x-ms-client-request-id" : "08c87940-f5c8-4d51-a56b-0b03470798ee", - "x-ms-file-last-write-time" : "2019-10-15T18:42:12.2292039Z" + "x-ms-request-id" : "172f88d5-101a-0047-21fa-aaf960000000", + "x-ms-client-request-id" : "b24b1b98-89a0-41fd-a393-c52fb7ddadb5", + "x-ms-file-last-write-time" : "2019-12-04T23:28:59.1208912Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs16902142/directoryapitestscreatefilemaxoverloadinvalidargs155309e4%2ffileName", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs18034133/directoryapitestscreatefilemaxoverloadinvalidargs1334374f%2ffileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6883eb66-727d-412d-a626-9347527cc4e7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a28ca366-f0bf-420c-9857-3dd761881652" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "beee0ff7-701a-001b-3a88-831ee4000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:beee0ff7-701a-001b-3a88-831ee4000000\nTime:2019-10-15T18:42:12.2661052Z", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "x-ms-client-request-id" : "6883eb66-727d-412d-a626-9347527cc4e7", + "x-ms-request-id" : "172f88d9-101a-0047-25fa-aaf960000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:172f88d9-101a-0047-25fa-aaf960000000\nTime:2019-12-04T23:28:59.2097765Z", + "Date" : "Wed, 04 Dec 2019 23:28:58 GMT", + "x-ms-client-request-id" : "a28ca366-f0bf-420c-9857-3dd761881652", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatefilemaxoverloadinvalidargs16902142", "directoryapitestscreatefilemaxoverloadinvalidargs155309e4" ] + "variables" : [ "directoryapitestscreatefilemaxoverloadinvalidargs18034133", "directoryapitestscreatefilemaxoverloadinvalidargs1334374f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs2.json index 3d2bd4ed2245f..6410b13fcd95e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs2.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs2437321b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs289693e5?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c11c5b1e-270e-4f50-90c4-6bed5ae22a15" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1d3ced86-3947-44f0-ac38-152f8d117fdc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F64835306", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "ETag" : "0x8D77911BD5CFEA7", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0ffb-701a-001b-3d88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "x-ms-client-request-id" : "c11c5b1e-270e-4f50-90c4-6bed5ae22a15" + "x-ms-request-id" : "172f88e1-101a-0047-2dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:58 GMT", + "x-ms-client-request-id" : "1d3ced86-3947-44f0-ac38-152f8d117fdc" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs2437321b/directoryapitestscreatefilemaxoverloadinvalidargs295778ae?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs289693e5/directoryapitestscreatefilemaxoverloadinvalidargs2250751a?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "61e9680f-bb4a-4294-9540-16f15d43100c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7731e7d8-987d-465e-ad31-50f7c72b7734" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:12.4784446Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:59.5638852Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:59 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "ETag" : "0x8D7519F648C5B3E", + "Date" : "Wed, 04 Dec 2019 23:28:58 GMT", + "ETag" : "0x8D77911BD6CBA44", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:12.4784446Z", + "x-ms-file-change-time" : "2019-12-04T23:28:59.5638852Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0ffe-701a-001b-3e88-831ee4000000", - "x-ms-client-request-id" : "61e9680f-bb4a-4294-9540-16f15d43100c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:12.4784446Z" + "x-ms-request-id" : "172f88e4-101a-0047-2efa-aaf960000000", + "x-ms-client-request-id" : "7731e7d8-987d-465e-ad31-50f7c72b7734", + "x-ms-file-last-write-time" : "2019-12-04T23:28:59.5638852Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs2437321b/directoryapitestscreatefilemaxoverloadinvalidargs295778ae%2ffileName", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs289693e5/directoryapitestscreatefilemaxoverloadinvalidargs2250751a%2ffileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d02f6603-7ea0-4050-93da-351d149c8ca6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b5d42cbf-585f-4a53-9d5b-a4ab94b83808" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "310", "StatusCode" : "400", - "x-ms-request-id" : "beee0fff-701a-001b-3f88-831ee4000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:beee0fff-701a-001b-3f88-831ee4000000\nTime:2019-10-15T18:42:12.5183455Zx-ms-content-md5", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "x-ms-client-request-id" : "d02f6603-7ea0-4050-93da-351d149c8ca6", + "x-ms-request-id" : "172f88e5-101a-0047-2ffa-aaf960000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:172f88e5-101a-0047-2ffa-aaf960000000\nTime:2019-12-04T23:28:59.6507794Zx-ms-content-md5", + "Date" : "Wed, 04 Dec 2019 23:28:58 GMT", + "x-ms-client-request-id" : "b5d42cbf-585f-4a53-9d5b-a4ab94b83808", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatefilemaxoverloadinvalidargs2437321b", "directoryapitestscreatefilemaxoverloadinvalidargs295778ae" ] + "variables" : [ "directoryapitestscreatefilemaxoverloadinvalidargs289693e5", "directoryapitestscreatefilemaxoverloadinvalidargs2250751a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs3.json index c3cf2c16fe37a..c66899db81a80 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateFileMaxOverloadInvalidArgs3.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs33969935?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs3090630c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f5dee8b2-7354-4454-bc6c-7bb71ddcee8e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a65bc55e-6914-437b-b040-ac1b60fbb19d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F64A7FAFF", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "ETag" : "0x8D77911BDA1F709", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee1002-701a-001b-4288-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "x-ms-client-request-id" : "f5dee8b2-7354-4454-bc6c-7bb71ddcee8e" + "x-ms-request-id" : "172f88eb-101a-0047-34fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "a65bc55e-6914-437b-b040-ac1b60fbb19d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs33969935/directoryapitestscreatefilemaxoverloadinvalidargs33835387?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs3090630c/directoryapitestscreatefilemaxoverloadinvalidargs38055143?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4c8214fa-1335-4bc1-a694-1cd5eb01adaa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f594a5ee-1686-484c-a207-8ccb64a46aab" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:12.7056636Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:00.0078926Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:00 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "ETag" : "0x8D7519F64AF06FC", + "Date" : "Wed, 04 Dec 2019 23:28:59 GMT", + "ETag" : "0x8D77911BDB07A4E", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:12.7056636Z", + "x-ms-file-change-time" : "2019-12-04T23:29:00.0078926Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee1004-701a-001b-4388-831ee4000000", - "x-ms-client-request-id" : "4c8214fa-1335-4bc1-a694-1cd5eb01adaa", - "x-ms-file-last-write-time" : "2019-10-15T18:42:12.7056636Z" + "x-ms-request-id" : "172f88ee-101a-0047-36fa-aaf960000000", + "x-ms-client-request-id" : "f594a5ee-1686-484c-a207-8ccb64a46aab", + "x-ms-file-last-write-time" : "2019-12-04T23:29:00.0078926Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs33969935/directoryapitestscreatefilemaxoverloadinvalidargs33835387%2ffileName", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatefilemaxoverloadinvalidargs3090630c/directoryapitestscreatefilemaxoverloadinvalidargs38055143%2ffileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "832f0194-0b7b-4b28-946f-21ab933be420" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e1c16ed0-1197-4605-bbd6-c80ea441f0b5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "beee1005-701a-001b-4488-831ee4000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:beee1005-701a-001b-4488-831ee4000000\nTime:2019-10-15T18:42:12.7525722Zvalue", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "x-ms-client-request-id" : "832f0194-0b7b-4b28-946f-21ab933be420", + "x-ms-request-id" : "172f88ef-101a-0047-37fa-aaf960000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:172f88ef-101a-0047-37fa-aaf960000000\nTime:2019-12-04T23:29:00.1057760Zvalue", + "Date" : "Wed, 04 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "e1c16ed0-1197-4605-bbd6-c80ea441f0b5", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatefilemaxoverloadinvalidargs33969935", "directoryapitestscreatefilemaxoverloadinvalidargs33835387" ] + "variables" : [ "directoryapitestscreatefilemaxoverloadinvalidargs3090630c", "directoryapitestscreatefilemaxoverloadinvalidargs38055143" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectory.json index 2ad84e8d156b6..244b2e2bbc9ea 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectory.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectory3993118107cc0b0?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectory40723f354d882e1?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e1e9e830-163a-4574-8638-5d5f4c0a14cf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "546fa4a4-da38-4f08-aa03-a26d0908d516" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6229CF93", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:08 GMT", + "ETag" : "0x8D77911B9939AF0", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4e23-b01a-00ca-2988-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:08 GMT", - "x-ms-client-request-id" : "e1e9e830-163a-4574-8638-5d5f4c0a14cf" + "x-ms-request-id" : "172f8834-101a-0047-12fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:52 GMT", + "x-ms-client-request-id" : "546fa4a4-da38-4f08-aa03-a26d0908d516" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectory3993118107cc0b0/directoryapitestscreatesubdirectory285651fecb032de?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectory40723f354d882e1/directoryapitestscreatesubdirectory225967477c66482?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b5435924-f618-4b89-9760-e0be93f83b2f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "21a9932e-0afd-4ec0-bb55-eaf38532d1a4" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:08.5226277Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:08 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:53.2018415Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:53 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:08 GMT", - "ETag" : "0x8D7519F6230BF25", + "Date" : "Wed, 04 Dec 2019 23:28:52 GMT", + "ETag" : "0x8D77911B9A1F4EF", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:08.5226277Z", + "x-ms-file-change-time" : "2019-12-04T23:28:53.2018415Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0fbb-701a-001b-0988-831ee4000000", - "x-ms-client-request-id" : "b5435924-f618-4b89-9760-e0be93f83b2f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:08.5226277Z" + "x-ms-request-id" : "172f8836-101a-0047-13fa-aaf960000000", + "x-ms-client-request-id" : "21a9932e-0afd-4ec0-bb55-eaf38532d1a4", + "x-ms-file-last-write-time" : "2019-12-04T23:28:53.2018415Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectory3993118107cc0b0/directoryapitestscreatesubdirectory285651fecb032de%2ftestCreateSubDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectory40723f354d882e1/directoryapitestscreatesubdirectory225967477c66482%2ftestCreateSubDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "176c6f25-df91-40ae-94aa-627b1206bccd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5cb5c94e-c147-42f2-8dd9-4453982a2e33" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:08.5806833Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:08 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:53.2878506Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:53 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:08 GMT", - "ETag" : "0x8D7519F62399AF1", + "Date" : "Wed, 04 Dec 2019 23:28:52 GMT", + "ETag" : "0x8D77911B9AF14AA", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:08.5806833Z", + "x-ms-file-change-time" : "2019-12-04T23:28:53.2878506Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e25-b01a-00ca-2a88-83a3bb000000", - "x-ms-client-request-id" : "176c6f25-df91-40ae-94aa-627b1206bccd", - "x-ms-file-last-write-time" : "2019-10-15T18:42:08.5806833Z" + "x-ms-request-id" : "172f8839-101a-0047-15fa-aaf960000000", + "x-ms-client-request-id" : "5cb5c94e-c147-42f2-8dd9-4453982a2e33", + "x-ms-file-last-write-time" : "2019-12-04T23:28:53.2878506Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatesubdirectory3993118107cc0b0", "directoryapitestscreatesubdirectory285651fecb032de" ] + "variables" : [ "directoryapitestscreatesubdirectory40723f354d882e1", "directoryapitestscreatesubdirectory225967477c66482" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryFilePermission.json index 95956b826c4f1..02627eba257e0 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryFilePermission.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermission657870c6?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermission21509c72?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cc705624-f581-4b80-ad04-5f42319acf55" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c4b656b-a0e7-43d4-ad71-ec510109dd0f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F62B9D6B4", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "ETag" : "0x8D77911BAA0C4E7", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4e30-b01a-00ca-3388-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "x-ms-client-request-id" : "cc705624-f581-4b80-ad04-5f42319acf55" + "x-ms-request-id" : "172f885e-101a-0047-36fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:54 GMT", + "x-ms-client-request-id" : "5c4b656b-a0e7-43d4-ad71-ec510109dd0f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermission657870c6/directoryapitestscreatesubdirectoryfilepermission76424a9c?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermission21509c72/directoryapitestscreatesubdirectoryfilepermission6242429d?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8644ef8e-22a7-47cf-8351-eab3ff38fbc1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5cd12e7f-7a12-4236-b98c-39d111e15c6a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:09.4845561Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:54.9678624Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:54 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "ETag" : "0x8D7519F62C38679", + "Date" : "Wed, 04 Dec 2019 23:28:54 GMT", + "ETag" : "0x8D77911BAAF6E20", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:09.4845561Z", + "x-ms-file-change-time" : "2019-12-04T23:28:54.9678624Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0fc7-701a-001b-1388-831ee4000000", - "x-ms-client-request-id" : "8644ef8e-22a7-47cf-8351-eab3ff38fbc1", - "x-ms-file-last-write-time" : "2019-10-15T18:42:09.4845561Z" + "x-ms-request-id" : "172f8861-101a-0047-38fa-aaf960000000", + "x-ms-client-request-id" : "5cd12e7f-7a12-4236-b98c-39d111e15c6a", + "x-ms-file-last-write-time" : "2019-12-04T23:28:54.9678624Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermission657870c6/directoryapitestscreatesubdirectoryfilepermission76424a9c%2ftestCreateSubDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermission21509c72/directoryapitestscreatesubdirectoryfilepermission6242429d%2ftestCreateSubDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "862915b6-97f0-40fd-99fe-de614466cf3c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3fffd7b2-4196-4b81-bb8e-48b13e5d4f70" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:09.5426116Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:55.0588606Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:55 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "ETag" : "0x8D7519F62CC6244", + "Date" : "Wed, 04 Dec 2019 23:28:54 GMT", + "ETag" : "0x8D77911BABD50BE", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:09.5426116Z", + "x-ms-file-change-time" : "2019-12-04T23:28:55.0588606Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e32-b01a-00ca-3488-83a3bb000000", - "x-ms-client-request-id" : "862915b6-97f0-40fd-99fe-de614466cf3c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:09.5426116Z" + "x-ms-request-id" : "172f8865-101a-0047-3cfa-aaf960000000", + "x-ms-client-request-id" : "3fffd7b2-4196-4b81-bb8e-48b13e5d4f70", + "x-ms-file-last-write-time" : "2019-12-04T23:28:55.0588606Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatesubdirectoryfilepermission657870c6", "directoryapitestscreatesubdirectoryfilepermission76424a9c" ] + "variables" : [ "directoryapitestscreatesubdirectoryfilepermission21509c72", "directoryapitestscreatesubdirectoryfilepermission6242429d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryFilePermissionKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryFilePermissionKey.json index a05b3312bcfbf..63d0e0852a204 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryFilePermissionKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryFilePermissionKey.json @@ -1,104 +1,104 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermissionkey067165?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermissionkey85718a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b0206da5-7ddb-4825-a3ef-09dbf26f7a7f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "afadbb5a-2dd1-47fa-a1ff-4a8e521c9dbe" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F62DED971", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "ETag" : "0x8D77911BAE56ED9", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fc9-701a-001b-1588-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "x-ms-client-request-id" : "b0206da5-7ddb-4825-a3ef-09dbf26f7a7f" + "x-ms-request-id" : "172f886b-101a-0047-42fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:54 GMT", + "x-ms-client-request-id" : "afadbb5a-2dd1-47fa-a1ff-4a8e521c9dbe" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermissionkey067165/directoryapitestscreatesubdirectoryfilepermissionkey443875?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermissionkey85718a/directoryapitestscreatesubdirectoryfilepermissionkey180724?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d0670188-b0cd-458d-bc6e-af31149aadc1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "03f26208-fd0b-496d-8222-047ad6687264" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:09.7207836Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:55.4198612Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:55 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "ETag" : "0x8D7519F62E7921C", + "Date" : "Wed, 04 Dec 2019 23:28:54 GMT", + "ETag" : "0x8D77911BAF46654", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:09.7207836Z", + "x-ms-file-change-time" : "2019-12-04T23:28:55.4198612Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e34-b01a-00ca-3688-83a3bb000000", - "x-ms-client-request-id" : "d0670188-b0cd-458d-bc6e-af31149aadc1", - "x-ms-file-last-write-time" : "2019-10-15T18:42:09.7207836Z" + "x-ms-request-id" : "172f886f-101a-0047-45fa-aaf960000000", + "x-ms-client-request-id" : "03f26208-fd0b-496d-8222-047ad6687264", + "x-ms-file-last-write-time" : "2019-12-04T23:28:55.4198612Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermissionkey067165?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermissionkey85718a?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b2d75e4a-b09e-40a5-9630-d511a36ab8a5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "227b0d16-007f-4df3-848a-2279fd6a9369", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fcb-701a-001b-1688-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "x-ms-client-request-id" : "b2d75e4a-b09e-40a5-9630-d511a36ab8a5" + "x-ms-request-id" : "172f8872-101a-0047-48fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:54 GMT", + "x-ms-client-request-id" : "227b0d16-007f-4df3-848a-2279fd6a9369" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermissionkey067165/directoryapitestscreatesubdirectoryfilepermissionkey443875%2ftestCreateSubDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryfilepermissionkey85718a/directoryapitestscreatesubdirectoryfilepermissionkey180724%2ftestCreateSubDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ce95ccd6-d240-4081-b160-bb35940e0e5a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a6ee6a5d-da78-402f-914a-2f687485cc5a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:09.8965716Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:55.5053397Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:55 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "ETag" : "0x8D7519F630264D4", + "Date" : "Wed, 04 Dec 2019 23:28:54 GMT", + "ETag" : "0x8D77911BB017155", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:09.8965716Z", + "x-ms-file-change-time" : "2019-12-04T23:28:55.5053397Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e36-b01a-00ca-3788-83a3bb000000", - "x-ms-client-request-id" : "ce95ccd6-d240-4081-b160-bb35940e0e5a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:09.8965716Z" + "x-ms-request-id" : "172f8874-101a-0047-4afa-aaf960000000", + "x-ms-client-request-id" : "a6ee6a5d-da78-402f-914a-2f687485cc5a", + "x-ms-file-last-write-time" : "2019-12-04T23:28:55.5053397Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatesubdirectoryfilepermissionkey067165", "directoryapitestscreatesubdirectoryfilepermissionkey443875", "2019-10-15T18:42:09.896571600Z", "2019-10-15T18:42:09.896571600Z" ] + "variables" : [ "directoryapitestscreatesubdirectoryfilepermissionkey85718a", "directoryapitestscreatesubdirectoryfilepermissionkey180724", "2019-12-04T23:28:55.505339700Z", "2019-12-04T23:28:55.505339700Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryInvalidName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryInvalidName.json index 1c47dd3114acf..27991075ff865 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryInvalidName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryInvalidName.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryinvalidname11408f0c4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryinvalidname244289c27?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3972ba86-cb38-4b37-822d-9ef2893228c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "51ae2188-481d-4feb-9eb3-af5550e46f67" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F625403C5", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:08 GMT", + "ETag" : "0x8D77911B9D648FB", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fbd-701a-001b-0b88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:08 GMT", - "x-ms-client-request-id" : "3972ba86-cb38-4b37-822d-9ef2893228c7" + "x-ms-request-id" : "172f883f-101a-0047-1bfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:52 GMT", + "x-ms-client-request-id" : "51ae2188-481d-4feb-9eb3-af5550e46f67" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryinvalidname11408f0c4/directoryapitestscreatesubdirectoryinvalidname511965d8a?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryinvalidname244289c27/directoryapitestscreatesubdirectoryinvalidname70918182f?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4b58120e-f90d-4f28-994c-5b6734f57d86" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ad70d08-08d4-46fa-a2d5-fdb5d09c0916" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:08.8069015Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:08 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:53.6358471Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:53 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:08 GMT", - "ETag" : "0x8D7519F625C1F97", + "Date" : "Wed, 04 Dec 2019 23:28:52 GMT", + "ETag" : "0x8D77911B9E42E47", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:08.8069015Z", + "x-ms-file-change-time" : "2019-12-04T23:28:53.6358471Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e27-b01a-00ca-2c88-83a3bb000000", - "x-ms-client-request-id" : "4b58120e-f90d-4f28-994c-5b6734f57d86", - "x-ms-file-last-write-time" : "2019-10-15T18:42:08.8069015Z" + "x-ms-request-id" : "172f8841-101a-0047-1cfa-aaf960000000", + "x-ms-client-request-id" : "3ad70d08-08d4-46fa-a2d5-fdb5d09c0916", + "x-ms-file-last-write-time" : "2019-12-04T23:28:53.6358471Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectoryinvalidname11408f0c4/directoryapitestscreatesubdirectoryinvalidname511965d8a%2ftest%2fsubdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectoryinvalidname244289c27/directoryapitestscreatesubdirectoryinvalidname70918182f%2ftest%2fsubdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "92082035-719b-4b53-b51b-177c1edb3dbf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c024feff-902f-4f64-9755-6747c5143181" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ParentNotFound", "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "beee0fbf-701a-001b-0c88-831ee4000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:beee0fbf-701a-001b-0c88-831ee4000000\nTime:2019-10-15T18:42:08.8528547Z", - "Date" : "Tue, 15 Oct 2019 18:42:08 GMT", - "x-ms-client-request-id" : "92082035-719b-4b53-b51b-177c1edb3dbf", + "x-ms-request-id" : "172f8844-101a-0047-1ffa-aaf960000000", + "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:172f8844-101a-0047-1ffa-aaf960000000\nTime:2019-12-04T23:28:53.7397754Z", + "Date" : "Wed, 04 Dec 2019 23:28:52 GMT", + "x-ms-client-request-id" : "c024feff-902f-4f64-9755-6747c5143181", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatesubdirectoryinvalidname11408f0c4", "directoryapitestscreatesubdirectoryinvalidname511965d8a" ] + "variables" : [ "directoryapitestscreatesubdirectoryinvalidname244289c27", "directoryapitestscreatesubdirectoryinvalidname70918182f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryMetadata.json index 7def5531da7d2..233113715aa3c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryMetadata.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectorymetadata29585a173c5?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectorymetadata45918365bdc?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "83b968fe-003a-43e0-8f15-3d2c0aab63ec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a01c5c5-0579-41f4-bfd0-23af320d4aff" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F627802B2", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:08 GMT", + "ETag" : "0x8D77911BA1A3012", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4e29-b01a-00ca-2e88-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:08 GMT", - "x-ms-client-request-id" : "83b968fe-003a-43e0-8f15-3d2c0aab63ec" + "x-ms-request-id" : "172f8849-101a-0047-24fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:53 GMT", + "x-ms-client-request-id" : "0a01c5c5-0579-41f4-bfd0-23af320d4aff" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectorymetadata29585a173c5/directoryapitestscreatesubdirectorymetadata51569300c79?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectorymetadata45918365bdc/directoryapitestscreatesubdirectorymetadata1656273ba4c?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bc81145e-4818-44f0-bdb9-c4f882f30f4e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f15b1710-24e4-4fc9-9ad7-937d61c7966d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:09.0371237Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:54.0828572Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:54 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "ETag" : "0x8D7519F627F40A5", + "Date" : "Wed, 04 Dec 2019 23:28:53 GMT", + "ETag" : "0x8D77911BA28639C", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:09.0371237Z", + "x-ms-file-change-time" : "2019-12-04T23:28:54.0828572Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0fc1-701a-001b-0e88-831ee4000000", - "x-ms-client-request-id" : "bc81145e-4818-44f0-bdb9-c4f882f30f4e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:09.0371237Z" + "x-ms-request-id" : "172f884b-101a-0047-25fa-aaf960000000", + "x-ms-client-request-id" : "f15b1710-24e4-4fc9-9ad7-937d61c7966d", + "x-ms-file-last-write-time" : "2019-12-04T23:28:54.0828572Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectorymetadata29585a173c5/directoryapitestscreatesubdirectorymetadata51569300c79%2ftestCreateSubDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectorymetadata45918365bdc/directoryapitestscreatesubdirectorymetadata1656273ba4c%2ftestCreateSubDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dc69aade-2720-4250-ba40-13bec2c51f96" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2a16669b-8aac-4bb9-bdb9-6cd7528a3c54" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:09.0871724Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:54.1828607Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:54 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:08 GMT", - "ETag" : "0x8D7519F6286E3AC", + "Date" : "Wed, 04 Dec 2019 23:28:53 GMT", + "ETag" : "0x8D77911BA37A5FF", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:09.0871724Z", + "x-ms-file-change-time" : "2019-12-04T23:28:54.1828607Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e2b-b01a-00ca-2f88-83a3bb000000", - "x-ms-client-request-id" : "dc69aade-2720-4250-ba40-13bec2c51f96", - "x-ms-file-last-write-time" : "2019-10-15T18:42:09.0871724Z" + "x-ms-request-id" : "172f884c-101a-0047-26fa-aaf960000000", + "x-ms-client-request-id" : "2a16669b-8aac-4bb9-bdb9-6cd7528a3c54", + "x-ms-file-last-write-time" : "2019-12-04T23:28:54.1828607Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatesubdirectorymetadata29585a173c5", "directoryapitestscreatesubdirectorymetadata51569300c79" ] + "variables" : [ "directoryapitestscreatesubdirectorymetadata45918365bdc", "directoryapitestscreatesubdirectorymetadata1656273ba4c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryMetadataError.json index 77c7093c6bdaa..dec9088d4ea3e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsCreateSubDirectoryMetadataError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectorymetadataerror99031bc7?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectorymetadataerror8902899f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "05b95f28-dac1-4f35-81f2-af04cc2a514e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54844f5f-100a-4910-b8e6-1c135e8dc853" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F629BA593", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "ETag" : "0x8D77911BA5EB2B7", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fc3-701a-001b-1088-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "x-ms-client-request-id" : "05b95f28-dac1-4f35-81f2-af04cc2a514e" + "x-ms-request-id" : "172f8850-101a-0047-2afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:53 GMT", + "x-ms-client-request-id" : "54844f5f-100a-4910-b8e6-1c135e8dc853" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectorymetadataerror99031bc7/directoryapitestscreatesubdirectorymetadataerror77001a2c?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectorymetadataerror8902899f/directoryapitestscreatesubdirectorymetadataerror53242f00?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b5351670-cc31-476d-bf24-f31c20554a9c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1eed4f64-0452-4428-8168-bc010089e10b" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:09.2693482Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:09 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:54.5319025Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:54 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "ETag" : "0x8D7519F62A2AFEA", + "Date" : "Wed, 04 Dec 2019 23:28:53 GMT", + "ETag" : "0x8D77911BA6CE871", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:09.2693482Z", + "x-ms-file-change-time" : "2019-12-04T23:28:54.5319025Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e2d-b01a-00ca-3188-83a3bb000000", - "x-ms-client-request-id" : "b5351670-cc31-476d-bf24-f31c20554a9c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:09.2693482Z" + "x-ms-request-id" : "172f8855-101a-0047-2dfa-aaf960000000", + "x-ms-client-request-id" : "1eed4f64-0452-4428-8168-bc010089e10b", + "x-ms-file-last-write-time" : "2019-12-04T23:28:54.5319025Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestscreatesubdirectorymetadataerror99031bc7/directoryapitestscreatesubdirectorymetadataerror77001a2c%2ftestsubdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestscreatesubdirectorymetadataerror8902899f/directoryapitestscreatesubdirectorymetadataerror53242f00%2ftestsubdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fe106f91-5af2-4834-bd83-cc0735be8bc7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f16d2ee4-8fc1-468f-a209-0dcb5f1b106a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "beee0fc5-701a-001b-1188-831ee4000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:beee0fc5-701a-001b-1188-831ee4000000\nTime:2019-10-15T18:42:09.3042848Zvalue", - "Date" : "Tue, 15 Oct 2019 18:42:09 GMT", - "x-ms-client-request-id" : "fe106f91-5af2-4834-bd83-cc0735be8bc7", + "x-ms-request-id" : "172f8857-101a-0047-2ffa-aaf960000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:172f8857-101a-0047-2ffa-aaf960000000\nTime:2019-12-04T23:28:54.6207800Zvalue", + "Date" : "Wed, 04 Dec 2019 23:28:53 GMT", + "x-ms-client-request-id" : "f16d2ee4-8fc1-468f-a209-0dcb5f1b106a", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestscreatesubdirectorymetadataerror99031bc7", "directoryapitestscreatesubdirectorymetadataerror77001a2c" ] + "variables" : [ "directoryapitestscreatesubdirectorymetadataerror8902899f", "directoryapitestscreatesubdirectorymetadataerror53242f00" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteDirectory.json index c8490bf683d96..1d291bfb5e3e6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteDirectory.json @@ -1,73 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletedirectory1399935814b6e41d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletedirectory635480584268fc00?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c2ab6ac2-cfd0-43e7-8458-f390c0a7635b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e686e7c1-520b-425c-b592-3b7277ee1c6f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5D8C437D", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:00 GMT", + "ETag" : "0x8D77911B22E4B21", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4dd2-b01a-00ca-6488-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:00 GMT", - "x-ms-client-request-id" : "c2ab6ac2-cfd0-43e7-8458-f390c0a7635b" + "x-ms-request-id" : "172f86f7-101a-0047-7efa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:40 GMT", + "x-ms-client-request-id" : "e686e7c1-520b-425c-b592-3b7277ee1c6f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletedirectory1399935814b6e41d/directoryapitestsdeletedirectory50147e16cf59c62d?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletedirectory635480584268fc00/directoryapitestsdeletedirectory79637647aa828e91?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "178001c5-b7b3-4710-a504-982c63b3e276" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bd895a64-a812-411b-8f21-ac7a4729b8f1" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:00.8111875Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:00 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:40.7997839Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:40 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:00 GMT", - "ETag" : "0x8D7519F5D981303", + "Date" : "Wed, 04 Dec 2019 23:28:40 GMT", + "ETag" : "0x8D77911B23D8D8F", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:00.8111875Z", + "x-ms-file-change-time" : "2019-12-04T23:28:40.7997839Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f63-701a-001b-4688-831ee4000000", - "x-ms-client-request-id" : "178001c5-b7b3-4710-a504-982c63b3e276", - "x-ms-file-last-write-time" : "2019-10-15T18:42:00.8111875Z" + "x-ms-request-id" : "172f86fc-101a-0047-01fa-aaf960000000", + "x-ms-client-request-id" : "bd895a64-a812-411b-8f21-ac7a4729b8f1", + "x-ms-file-last-write-time" : "2019-12-04T23:28:40.7997839Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletedirectory1399935814b6e41d/directoryapitestsdeletedirectory50147e16cf59c62d?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletedirectory635480584268fc00/directoryapitestsdeletedirectory79637647aa828e91?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "808e2997-947e-47f2-a7f2-9ba68e82f752" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "46e640f4-5d93-44b8-ae73-2026507269af" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "c1ad4dd4-b01a-00ca-6588-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:00 GMT", - "x-ms-client-request-id" : "808e2997-947e-47f2-a7f2-9ba68e82f752" + "x-ms-request-id" : "172f86fe-101a-0047-03fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:40 GMT", + "x-ms-client-request-id" : "46e640f4-5d93-44b8-ae73-2026507269af" }, "Exception" : null } ], - "variables" : [ "directoryapitestsdeletedirectory1399935814b6e41d", "directoryapitestsdeletedirectory50147e16cf59c62d" ] + "variables" : [ "directoryapitestsdeletedirectory635480584268fc00", "directoryapitestsdeletedirectory79637647aa828e91" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteDirectoryError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteDirectoryError.json index b95e71f966fe4..83814e8a5eea7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteDirectoryError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteDirectoryError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletedirectoryerror8606385a3900ba?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletedirectoryerror5044964489c8e0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "593e770e-3a87-4171-b5c8-869bab17448b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6cf7ca40-b6fc-4070-91f0-1ecd01b4fca0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5DB4F137", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:01 GMT", + "ETag" : "0x8D77911B275DB9A", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f65-701a-001b-4888-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:01 GMT", - "x-ms-client-request-id" : "593e770e-3a87-4171-b5c8-869bab17448b" + "x-ms-request-id" : "172f8704-101a-0047-09fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:40 GMT", + "x-ms-client-request-id" : "6cf7ca40-b6fc-4070-91f0-1ecd01b4fca0" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletedirectoryerror8606385a3900ba/directoryapitestsdeletedirectoryerror93420c1e7a485b?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletedirectoryerror5044964489c8e0/directoryapitestsdeletedirectoryerror583777230cb115?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "625c03f1-9865-425f-afcd-ce92e63a27e4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5818bdab-6b52-4dba-bbea-e4ae75d29592" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "c1ad4dd6-b01a-00ca-6788-83a3bb000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:c1ad4dd6-b01a-00ca-6788-83a3bb000000\nTime:2019-10-15T18:42:01.6947013Z", - "Date" : "Tue, 15 Oct 2019 18:42:01 GMT", - "x-ms-client-request-id" : "625c03f1-9865-425f-afcd-ce92e63a27e4", + "x-ms-request-id" : "172f8706-101a-0047-0afa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8706-101a-0047-0afa-aaf960000000\nTime:2019-12-04T23:28:41.2827793Z", + "Date" : "Wed, 04 Dec 2019 23:28:40 GMT", + "x-ms-client-request-id" : "5818bdab-6b52-4dba-bbea-e4ae75d29592", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestsdeletedirectoryerror8606385a3900ba", "directoryapitestsdeletedirectoryerror93420c1e7a485b" ] + "variables" : [ "directoryapitestsdeletedirectoryerror5044964489c8e0", "directoryapitestsdeletedirectoryerror583777230cb115" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteFile.json index 8c559d00e134c..7fdb676858a70 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteFile.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletefile518335a08ebab791e47?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletefile507181c0b6458bb0748?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5802874b-2b6a-419b-9696-09b9587b92f2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af7a7d7a-ac3b-4a59-88fb-6aeaa7ef443c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F64CC0676", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "ETag" : "0x8D77911BDE42FF0", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee1008-701a-001b-4788-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "x-ms-client-request-id" : "5802874b-2b6a-419b-9696-09b9587b92f2" + "x-ms-request-id" : "172f88f5-101a-0047-3dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "af7a7d7a-ac3b-4a59-88fb-6aeaa7ef443c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletefile518335a08ebab791e47/directoryapitestsdeletefile9794359847edfedd14a?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletefile507181c0b6458bb0748/directoryapitestsdeletefile3009838ef947408474f?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "38e3aa70-ba94-4617-9a63-b3987503d378" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b4ef6b7b-0d9c-48a5-a0b7-2eaced76cdb0" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:12.9438935Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:00.4399009Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:00 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "ETag" : "0x8D7519F64D360D7", + "Date" : "Wed, 04 Dec 2019 23:28:59 GMT", + "ETag" : "0x8D77911BDF265A1", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:12.9438935Z", + "x-ms-file-change-time" : "2019-12-04T23:29:00.4399009Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee100a-701a-001b-4888-831ee4000000", - "x-ms-client-request-id" : "38e3aa70-ba94-4617-9a63-b3987503d378", - "x-ms-file-last-write-time" : "2019-10-15T18:42:12.9438935Z" + "x-ms-request-id" : "172f88f7-101a-0047-3efa-aaf960000000", + "x-ms-client-request-id" : "b4ef6b7b-0d9c-48a5-a0b7-2eaced76cdb0", + "x-ms-file-last-write-time" : "2019-12-04T23:29:00.4399009Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletefile518335a08ebab791e47/directoryapitestsdeletefile9794359847edfedd14a%2ftestCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletefile507181c0b6458bb0748/directoryapitestsdeletefile3009838ef947408474f%2ftestCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "65672725-8fe0-48f0-b43f-4e8591f859b0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c15c1bd7-b73b-4ac0-b356-57ca1c0c1abf" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:12.9899379Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:12 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:00.5309308Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:00 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:12 GMT", - "ETag" : "0x8D7519F64DA6773", + "Date" : "Wed, 04 Dec 2019 23:28:59 GMT", + "ETag" : "0x8D77911BE00497C", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:12.9899379Z", + "x-ms-file-change-time" : "2019-12-04T23:29:00.5309308Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee100b-701a-001b-4988-831ee4000000", - "x-ms-client-request-id" : "65672725-8fe0-48f0-b43f-4e8591f859b0", - "x-ms-file-last-write-time" : "2019-10-15T18:42:12.9899379Z" + "x-ms-request-id" : "172f88fa-101a-0047-41fa-aaf960000000", + "x-ms-client-request-id" : "c15c1bd7-b73b-4ac0-b356-57ca1c0c1abf", + "x-ms-file-last-write-time" : "2019-12-04T23:29:00.5309308Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletefile518335a08ebab791e47/directoryapitestsdeletefile9794359847edfedd14a%2ftestCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletefile507181c0b6458bb0748/directoryapitestsdeletefile3009838ef947408474f%2ftestCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c484bf2d-b084-418d-af14-cb5561fe7af8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb550145-7693-460a-bdb6-025d7691b30a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "beee100c-701a-001b-4a88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "x-ms-client-request-id" : "c484bf2d-b084-418d-af14-cb5561fe7af8" + "x-ms-request-id" : "172f88fb-101a-0047-42fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "eb550145-7693-460a-bdb6-025d7691b30a" }, "Exception" : null } ], - "variables" : [ "directoryapitestsdeletefile518335a08ebab791e47", "directoryapitestsdeletefile9794359847edfedd14a" ] + "variables" : [ "directoryapitestsdeletefile507181c0b6458bb0748", "directoryapitestsdeletefile3009838ef947408474f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteFileError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteFileError.json index 74ede7bf68e99..5730afb5ec68c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteFileError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteFileError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletefileerror98746260688c87d2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletefileerror02171736709f8a6d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7f04562c-e898-4a7d-bd4a-c164120a0544" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb138255-e3fe-4479-8ab5-ae0aadbac22b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F64F9B14B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:13 GMT", + "ETag" : "0x8D77911BE36E3D6", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee100f-701a-001b-4d88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "x-ms-client-request-id" : "7f04562c-e898-4a7d-bd4a-c164120a0544" + "x-ms-request-id" : "172f8905-101a-0047-4bfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:59 GMT", + "x-ms-client-request-id" : "fb138255-e3fe-4479-8ab5-ae0aadbac22b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletefileerror98746260688c87d2/directoryapitestsdeletefileerror92809b8c825031ab?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletefileerror02171736709f8a6d/directoryapitestsdeletefileerror117658694c6776d7?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e0598832-596e-44b5-b26d-ddd08519b801" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6baa7613-4005-4939-866d-84be86d94740" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:13.2491883Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:13 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:00.9839045Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:00 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "ETag" : "0x8D7519F6501F66B", + "Date" : "Wed, 04 Dec 2019 23:29:00 GMT", + "ETag" : "0x8D77911BE4567C5", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:13.2491883Z", + "x-ms-file-change-time" : "2019-12-04T23:29:00.9839045Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee1011-701a-001b-4e88-831ee4000000", - "x-ms-client-request-id" : "e0598832-596e-44b5-b26d-ddd08519b801", - "x-ms-file-last-write-time" : "2019-10-15T18:42:13.2491883Z" + "x-ms-request-id" : "172f8909-101a-0047-4efa-aaf960000000", + "x-ms-client-request-id" : "6baa7613-4005-4939-866d-84be86d94740", + "x-ms-file-last-write-time" : "2019-12-04T23:29:00.9839045Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletefileerror98746260688c87d2/directoryapitestsdeletefileerror92809b8c825031ab%2ftestfile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletefileerror02171736709f8a6d/directoryapitestsdeletefileerror117658694c6776d7%2ftestfile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ebb9e6ef-3465-4c23-8fb6-c8b31e3f44c3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ec1fa326-e2b5-4479-8387-62a31c55a3ac" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "beee1012-701a-001b-4f88-831ee4000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:beee1012-701a-001b-4f88-831ee4000000\nTime:2019-10-15T18:42:13.3030928Z", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "x-ms-client-request-id" : "ebb9e6ef-3465-4c23-8fb6-c8b31e3f44c3", + "x-ms-request-id" : "172f890b-101a-0047-50fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f890b-101a-0047-50fa-aaf960000000\nTime:2019-12-04T23:29:01.0697806Z", + "Date" : "Wed, 04 Dec 2019 23:29:00 GMT", + "x-ms-client-request-id" : "ec1fa326-e2b5-4479-8387-62a31c55a3ac", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestsdeletefileerror98746260688c87d2", "directoryapitestsdeletefileerror92809b8c825031ab" ] + "variables" : [ "directoryapitestsdeletefileerror02171736709f8a6d", "directoryapitestsdeletefileerror117658694c6776d7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteSubDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteSubDirectory.json index 5fc6b1d7f2629..6c14be9d894d6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteSubDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteSubDirectory.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletesubdirectory281856ea8fa7804?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletesubdirectory09172f785c13128?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad440840-5835-4fa2-ab7f-357dd381d4eb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ff660cb2-dcb7-4ef3-ac2e-f8c4f2a047b0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6318BC40", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "ETag" : "0x8D77911BB35B1EF", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fce-701a-001b-1888-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "x-ms-client-request-id" : "ad440840-5835-4fa2-ab7f-357dd381d4eb" + "x-ms-request-id" : "172f8879-101a-0047-4efa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:55 GMT", + "x-ms-client-request-id" : "ff660cb2-dcb7-4ef3-ac2e-f8c4f2a047b0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletesubdirectory281856ea8fa7804/directoryapitestsdeletesubdirectory2459583dc3452ae?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletesubdirectory09172f785c13128/directoryapitestsdeletesubdirectory48988ad70c31501?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "02142f9c-cb43-4b5f-8c5d-4d1c44a27c65" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0e7e18a-573d-430b-bd5e-f77f77047a6b" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:10.0991486Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:55.9439566Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:55 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "ETag" : "0x8D7519F63214DFE", + "Date" : "Wed, 04 Dec 2019 23:28:55 GMT", + "ETag" : "0x8D77911BB445ECE", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:10.0991486Z", + "x-ms-file-change-time" : "2019-12-04T23:28:55.9439566Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e38-b01a-00ca-3988-83a3bb000000", - "x-ms-client-request-id" : "02142f9c-cb43-4b5f-8c5d-4d1c44a27c65", - "x-ms-file-last-write-time" : "2019-10-15T18:42:10.0991486Z" + "x-ms-request-id" : "172f887c-101a-0047-50fa-aaf960000000", + "x-ms-client-request-id" : "c0e7e18a-573d-430b-bd5e-f77f77047a6b", + "x-ms-file-last-write-time" : "2019-12-04T23:28:55.9439566Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletesubdirectory281856ea8fa7804/directoryapitestsdeletesubdirectory2459583dc3452ae%2ftestSubCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletesubdirectory09172f785c13128/directoryapitestsdeletesubdirectory48988ad70c31501%2ftestSubCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "073bdf67-aa6f-487b-bafb-4b752fd19d97" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a5826a5b-5b42-46fe-984b-936f65190f7a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:10.1582054Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:56.0319091Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:56 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "ETag" : "0x8D7519F632A50E6", + "Date" : "Wed, 04 Dec 2019 23:28:55 GMT", + "ETag" : "0x8D77911BB51CA73", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:10.1582054Z", + "x-ms-file-change-time" : "2019-12-04T23:28:56.0319091Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0fd0-701a-001b-1988-831ee4000000", - "x-ms-client-request-id" : "073bdf67-aa6f-487b-bafb-4b752fd19d97", - "x-ms-file-last-write-time" : "2019-10-15T18:42:10.1582054Z" + "x-ms-request-id" : "172f887e-101a-0047-52fa-aaf960000000", + "x-ms-client-request-id" : "a5826a5b-5b42-46fe-984b-936f65190f7a", + "x-ms-file-last-write-time" : "2019-12-04T23:28:56.0319091Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletesubdirectory281856ea8fa7804/directoryapitestsdeletesubdirectory2459583dc3452ae%2ftestSubCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletesubdirectory09172f785c13128/directoryapitestsdeletesubdirectory48988ad70c31501%2ftestSubCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6be6964e-389d-4653-98b9-38fdae8aaae3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "10a7fb35-0052-4f8b-bf90-f8eed3e30b37" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "c1ad4e39-b01a-00ca-3a88-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "x-ms-client-request-id" : "6be6964e-389d-4653-98b9-38fdae8aaae3" + "x-ms-request-id" : "172f8881-101a-0047-55fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:55 GMT", + "x-ms-client-request-id" : "10a7fb35-0052-4f8b-bf90-f8eed3e30b37" }, "Exception" : null } ], - "variables" : [ "directoryapitestsdeletesubdirectory281856ea8fa7804", "directoryapitestsdeletesubdirectory2459583dc3452ae" ] + "variables" : [ "directoryapitestsdeletesubdirectory09172f785c13128", "directoryapitestsdeletesubdirectory48988ad70c31501" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteSubDirectoryError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteSubDirectoryError.json index 43fe67093f143..9e1cba5afe933 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteSubDirectoryError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsDeleteSubDirectoryError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletesubdirectoryerror148533ba0055?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletesubdirectoryerror30923793b2de?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c9d58ff9-faa6-407b-b37c-f74d099d5f9a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "659653fb-38a5-4713-9d32-2849b26858a9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F63472A88", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "ETag" : "0x8D77911BB8558C3", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fd2-701a-001b-1b88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "x-ms-client-request-id" : "c9d58ff9-faa6-407b-b37c-f74d099d5f9a" + "x-ms-request-id" : "172f888a-101a-0047-5efa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:55 GMT", + "x-ms-client-request-id" : "659653fb-38a5-4713-9d32-2849b26858a9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletesubdirectoryerror148533ba0055/directoryapitestsdeletesubdirectoryerror24083dca74ae?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletesubdirectoryerror30923793b2de/directoryapitestsdeletesubdirectoryerror43835b41de82?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1ba4ca96-d7d0-4b4b-8dbb-a42cd63f2a5a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3e9141a3-5275-4b56-a78c-2f7d3e3e8ab7" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:10.3974374Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:10 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:56.4638723Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:56 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "ETag" : "0x8D7519F634ED1E6", + "Date" : "Wed, 04 Dec 2019 23:28:55 GMT", + "ETag" : "0x8D77911BB93B403", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:10.3974374Z", + "x-ms-file-change-time" : "2019-12-04T23:28:56.4638723Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e3c-b01a-00ca-3c88-83a3bb000000", - "x-ms-client-request-id" : "1ba4ca96-d7d0-4b4b-8dbb-a42cd63f2a5a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:10.3974374Z" + "x-ms-request-id" : "172f888d-101a-0047-60fa-aaf960000000", + "x-ms-client-request-id" : "3e9141a3-5275-4b56-a78c-2f7d3e3e8ab7", + "x-ms-file-last-write-time" : "2019-12-04T23:28:56.4638723Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsdeletesubdirectoryerror148533ba0055/directoryapitestsdeletesubdirectoryerror24083dca74ae%2ftestsubdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsdeletesubdirectoryerror30923793b2de/directoryapitestsdeletesubdirectoryerror43835b41de82%2ftestsubdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ff285ee3-5fcc-4ce4-af2b-375a1a86beab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5cef198e-1f7c-4087-9f6b-d3910b3526e9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "beee0fd4-701a-001b-1c88-831ee4000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:beee0fd4-701a-001b-1c88-831ee4000000\nTime:2019-10-15T18:42:10.4693939Z", - "Date" : "Tue, 15 Oct 2019 18:42:10 GMT", - "x-ms-client-request-id" : "ff285ee3-5fcc-4ce4-af2b-375a1a86beab", + "x-ms-request-id" : "172f8890-101a-0047-63fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8890-101a-0047-63fa-aaf960000000\nTime:2019-12-04T23:28:56.5537855Z", + "Date" : "Wed, 04 Dec 2019 23:28:55 GMT", + "x-ms-client-request-id" : "5cef198e-1f7c-4087-9f6b-d3910b3526e9", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestsdeletesubdirectoryerror148533ba0055", "directoryapitestsdeletesubdirectoryerror24083dca74ae" ] + "variables" : [ "directoryapitestsdeletesubdirectoryerror30923793b2de", "directoryapitestsdeletesubdirectoryerror43835b41de82" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseAllHandlesMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseAllHandlesMin.json index d4b31a1d21eb5..7b96d0739cff6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseAllHandlesMin.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseAllHandlesMin.json @@ -1,74 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforcecloseallhandlesmin80457163854b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforcecloseallhandlesmin3327034e8f59?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2d925eef-a0d6-45d7-9956-a723ac6d61c0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09016e1f-f788-4ebf-9e36-c4b53f86fde5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D960710C96", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:16 GMT", + "ETag" : "0x8D77911B9509E00", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "bb1e057f-401a-0031-49c2-836ba1000000", - "Date" : "Wed, 16 Oct 2019 01:37:16 GMT", - "x-ms-client-request-id" : "2d925eef-a0d6-45d7-9956-a723ac6d61c0" + "x-ms-request-id" : "172f8828-101a-0047-07fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:51 GMT", + "x-ms-client-request-id" : "09016e1f-f788-4ebf-9e36-c4b53f86fde5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforcecloseallhandlesmin80457163854b/directoryapitestsforcecloseallhandlesmin66070f0ad0d7?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforcecloseallhandlesmin3327034e8f59/directoryapitestsforcecloseallhandlesmin27271debd27a?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b4157919-56bc-47a5-ac87-7313eaf6f2f9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d5f0e7ef-c2f8-4dd1-a039-5865b62c2d53" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:37:16.4399109Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:16 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:52.7668471Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:52 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:37:16 GMT", - "ETag" : "0x8D751D960774E05", + "Date" : "Wed, 04 Dec 2019 23:28:52 GMT", + "ETag" : "0x8D77911B95F94F7", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-16T01:37:16.4399109Z", + "x-ms-file-change-time" : "2019-12-04T23:28:52.7668471Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "bb1e0581-401a-0031-4ac2-836ba1000000", - "x-ms-client-request-id" : "b4157919-56bc-47a5-ac87-7313eaf6f2f9", - "x-ms-file-last-write-time" : "2019-10-16T01:37:16.4399109Z" + "x-ms-request-id" : "172f882b-101a-0047-09fa-aaf960000000", + "x-ms-client-request-id" : "d5f0e7ef-c2f8-4dd1-a039-5865b62c2d53", + "x-ms-file-last-write-time" : "2019-12-04T23:28:52.7668471Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforcecloseallhandlesmin80457163854b/directoryapitestsforcecloseallhandlesmin66070f0ad0d7?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforcecloseallhandlesmin3327034e8f59/directoryapitestsforcecloseallhandlesmin27271debd27a?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e3b8ca38-9f7d-44ff-8374-d5fb3449171c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7cff0e3b-bbbd-43aa-9dc6-27dff4bceb8f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-number-of-handles-closed" : "0", + "x-ms-number-of-handles-failed" : "0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "bb1e0582-401a-0031-4bc2-836ba1000000", - "Date" : "Wed, 16 Oct 2019 01:37:16 GMT", - "x-ms-client-request-id" : "e3b8ca38-9f7d-44ff-8374-d5fb3449171c" + "x-ms-request-id" : "172f882e-101a-0047-0cfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:52 GMT", + "x-ms-client-request-id" : "7cff0e3b-bbbd-43aa-9dc6-27dff4bceb8f" }, "Exception" : null } ], - "variables" : [ "directoryapitestsforcecloseallhandlesmin80457163854b", "directoryapitestsforcecloseallhandlesmin66070f0ad0d7" ] + "variables" : [ "directoryapitestsforcecloseallhandlesmin3327034e8f59", "directoryapitestsforcecloseallhandlesmin27271debd27a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseHandleInvalidHandleID.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseHandleInvalidHandleID.json index 98a4be82c2e4d..f926e42da5c21 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseHandleInvalidHandleID.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseHandleInvalidHandleID.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforceclosehandleinvalidhandleid48126180?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforceclosehandleinvalidhandleid741909fc?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cd972432-bd25-4327-a5e5-56b04a1fc012" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2b43c840-c190-498c-a150-020b8646c45f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D960573CAB", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:16 GMT", + "ETag" : "0x8D77911B906EB36", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "bb1e0578-401a-0031-44c2-836ba1000000", - "Date" : "Wed, 16 Oct 2019 01:37:16 GMT", - "x-ms-client-request-id" : "cd972432-bd25-4327-a5e5-56b04a1fc012" + "x-ms-request-id" : "172f881c-101a-0047-7cfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:51 GMT", + "x-ms-client-request-id" : "2b43c840-c190-498c-a150-020b8646c45f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforceclosehandleinvalidhandleid48126180/directoryapitestsforceclosehandleinvalidhandleid35967adf?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforceclosehandleinvalidhandleid741909fc/directoryapitestsforceclosehandleinvalidhandleid58524ca4?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "884ca218-b059-4c90-bec3-00cfffe18c5d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d44007a-04e1-4abe-8ce9-0509beda9e76" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:37:16.2697455Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:16 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:52.2778358Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:52 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:37:16 GMT", - "ETag" : "0x8D751D9605D56EF", + "Date" : "Wed, 04 Dec 2019 23:28:51 GMT", + "ETag" : "0x8D77911B914F6F6", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-16T01:37:16.2697455Z", + "x-ms-file-change-time" : "2019-12-04T23:28:52.2778358Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "bb1e057a-401a-0031-45c2-836ba1000000", - "x-ms-client-request-id" : "884ca218-b059-4c90-bec3-00cfffe18c5d", - "x-ms-file-last-write-time" : "2019-10-16T01:37:16.2697455Z" + "x-ms-request-id" : "172f881f-101a-0047-7efa-aaf960000000", + "x-ms-client-request-id" : "2d44007a-04e1-4abe-8ce9-0509beda9e76", + "x-ms-file-last-write-time" : "2019-12-04T23:28:52.2778358Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforceclosehandleinvalidhandleid48126180/directoryapitestsforceclosehandleinvalidhandleid35967adf?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforceclosehandleinvalidhandleid741909fc/directoryapitestsforceclosehandleinvalidhandleid58524ca4?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a8d52606-a499-4390-a616-96a690e90291" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e1c4fa6-d93d-47c6-ac29-95575f52e682" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "335", "StatusCode" : "400", - "x-ms-request-id" : "bb1e057b-401a-0031-46c2-836ba1000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:bb1e057b-401a-0031-46c2-836ba1000000\nTime:2019-10-16T01:37:16.3008208Zx-ms-handle-idinvalidHandleId", - "Date" : "Wed, 16 Oct 2019 01:37:16 GMT", - "x-ms-client-request-id" : "a8d52606-a499-4390-a616-96a690e90291", + "x-ms-request-id" : "172f8822-101a-0047-01fa-aaf960000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:172f8822-101a-0047-01fa-aaf960000000\nTime:2019-12-04T23:28:52.4247756Zx-ms-handle-idinvalidHandleId", + "Date" : "Wed, 04 Dec 2019 23:28:51 GMT", + "x-ms-client-request-id" : "6e1c4fa6-d93d-47c6-ac29-95575f52e682", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestsforceclosehandleinvalidhandleid48126180", "directoryapitestsforceclosehandleinvalidhandleid35967adf" ] + "variables" : [ "directoryapitestsforceclosehandleinvalidhandleid741909fc", "directoryapitestsforceclosehandleinvalidhandleid58524ca4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseHandleMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseHandleMin.json index d968bd1535d2b..9705df4c106b0 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseHandleMin.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsForceCloseHandleMin.json @@ -1,74 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforceclosehandlemin87889cf8bc579a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforceclosehandlemin43604f124f0d6c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "469eb4db-7b51-47b4-ae4b-4943b1999764" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "88c549c5-93db-4f16-beb6-a52ab0742497" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D95FFE0A19", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:15 GMT", + "ETag" : "0x8D77911B8BFA8D3", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "bb1e0572-401a-0031-3fc2-836ba1000000", - "Date" : "Wed, 16 Oct 2019 01:37:15 GMT", - "x-ms-client-request-id" : "469eb4db-7b51-47b4-ae4b-4943b1999764" + "x-ms-request-id" : "172f8810-101a-0047-71fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:51 GMT", + "x-ms-client-request-id" : "88c549c5-93db-4f16-beb6-a52ab0742497" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforceclosehandlemin87889cf8bc579a/directoryapitestsforceclosehandlemin28433a91d77d14?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforceclosehandlemin43604f124f0d6c/directoryapitestsforceclosehandlemin23677491a51afa?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aee8a28e-cf03-485b-825d-8fe514f9a677" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b2181c7b-322f-4b67-961c-cdab7e9b57d4" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:37:15.6851779Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:15 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:51.8109178Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:51 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:37:15 GMT", - "ETag" : "0x8D751D960042443", + "Date" : "Wed, 04 Dec 2019 23:28:51 GMT", + "ETag" : "0x8D77911B8CDB7FA", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-16T01:37:15.6851779Z", + "x-ms-file-change-time" : "2019-12-04T23:28:51.8109178Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "bb1e0574-401a-0031-40c2-836ba1000000", - "x-ms-client-request-id" : "aee8a28e-cf03-485b-825d-8fe514f9a677", - "x-ms-file-last-write-time" : "2019-10-16T01:37:15.6851779Z" + "x-ms-request-id" : "172f8812-101a-0047-72fa-aaf960000000", + "x-ms-client-request-id" : "b2181c7b-322f-4b67-961c-cdab7e9b57d4", + "x-ms-file-last-write-time" : "2019-12-04T23:28:51.8109178Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsforceclosehandlemin87889cf8bc579a/directoryapitestsforceclosehandlemin28433a91d77d14?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsforceclosehandlemin43604f124f0d6c/directoryapitestsforceclosehandlemin23677491a51afa?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "afe79992-4c59-49d3-9721-79ab5445de99" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "83bb5210-682f-4cb7-82e2-b8754bbfd9bd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-number-of-handles-closed" : "0", + "x-ms-number-of-handles-failed" : "0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "bb1e0575-401a-0031-41c2-836ba1000000", - "Date" : "Wed, 16 Oct 2019 01:37:15 GMT", - "x-ms-client-request-id" : "afe79992-4c59-49d3-9721-79ab5445de99" + "x-ms-request-id" : "172f8814-101a-0047-74fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:51 GMT", + "x-ms-client-request-id" : "83bb5210-682f-4cb7-82e2-b8754bbfd9bd" }, "Exception" : null } ], - "variables" : [ "directoryapitestsforceclosehandlemin87889cf8bc579a", "directoryapitestsforceclosehandlemin28433a91d77d14" ] + "variables" : [ "directoryapitestsforceclosehandlemin43604f124f0d6c", "directoryapitestsforceclosehandlemin23677491a51afa" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetDirectoryPath.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetDirectoryPath.json index 1b6419559bb93..f5854010cd181 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetDirectoryPath.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetDirectoryPath.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetdirectorypath3090350cd3befff9?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetdirectorypath930585cff8fa1ba7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "be39943c-0f03-406c-a129-60d1c1fcfa4b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1311a592-60a8-4e27-a2ac-2ba2f845e28e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F65515C8F", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:13 GMT", + "ETag" : "0x8D77911BEC9FC4D", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee101e-701a-001b-5888-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "x-ms-client-request-id" : "be39943c-0f03-406c-a129-60d1c1fcfa4b" + "x-ms-request-id" : "172f8921-101a-0047-62fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:00 GMT", + "x-ms-client-request-id" : "1311a592-60a8-4e27-a2ac-2ba2f845e28e" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetdirectorypath3090350cd3befff9", "directoryapitestsgetdirectorypath199142f99269be2f" ] + "variables" : [ "directoryapitestsgetdirectorypath930585cff8fa1ba7", "directoryapitestsgetdirectorypath71773027da71b0c8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetDirectoryURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetDirectoryURL.json index 9df27cfb4365a..c435279eab548 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetDirectoryURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetDirectoryURL.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetdirectoryurl08258651b01f836a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetdirectoryurl75076825ff46e584?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ddcd1f60-2756-4023-852b-5082dd08c014" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0cd2b622-1df0-4058-b3f0-2c1b506e77a9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5A16C46A", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:54 GMT", + "ETag" : "0x8D77911AFB8420E", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f26-701a-001b-2388-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:55 GMT", - "x-ms-client-request-id" : "ddcd1f60-2756-4023-852b-5082dd08c014" + "x-ms-request-id" : "172f868e-101a-0047-25fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:36 GMT", + "x-ms-client-request-id" : "0cd2b622-1df0-4058-b3f0-2c1b506e77a9" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetdirectoryurl08258651b01f836a", "directoryapitestsgetdirectoryurl5658553db0730a30" ] + "variables" : [ "directoryapitestsgetdirectoryurl75076825ff46e584", "directoryapitestsgetdirectoryurl250916cb6c2eeb7e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetFileClient.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetFileClient.json index 5b1885b05be98..a94c11635c046 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetFileClient.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetFileClient.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetfileclient3577826891a5e2bf5?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetfileclient430110d070df5ef2d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7623cb5a-19dc-4540-b599-2ba346d0e303" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "10072a70-b47e-465f-b649-76f2dd434694" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5B2345C5", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:56 GMT", + "ETag" : "0x8D77911B07D3FBB", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f35-701a-001b-2d88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:56 GMT", - "x-ms-client-request-id" : "7623cb5a-19dc-4540-b599-2ba346d0e303" + "x-ms-request-id" : "172f86a8-101a-0047-3bfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:37 GMT", + "x-ms-client-request-id" : "10072a70-b47e-465f-b649-76f2dd434694" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetfileclient3577826891a5e2bf5", "directoryapitestsgetfileclient00401d3caeb8d0a59" ] + "variables" : [ "directoryapitestsgetfileclient430110d070df5ef2d", "directoryapitestsgetfileclient7684936ddde335f3b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetProperties.json index 6358974860513..7d57761bb8cf3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetProperties.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetProperties.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetproperties198253afe8fb87180?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetproperties00758d77e70747dc7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d4356056-5109-4ff7-83db-e414379cd073" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7eba5610-4124-49b6-8fe0-4a4976a7d771" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5E331999", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:01 GMT", + "ETag" : "0x8D77911B2AF61CD", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f6a-701a-001b-4c88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:01 GMT", - "x-ms-client-request-id" : "d4356056-5109-4ff7-83db-e414379cd073" + "x-ms-request-id" : "172f8709-101a-0047-0dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:41 GMT", + "x-ms-client-request-id" : "7eba5610-4124-49b6-8fe0-4a4976a7d771" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetproperties198253afe8fb87180/directoryapitestsgetproperties857947825c7201747?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetproperties00758d77e70747dc7/directoryapitestsgetproperties22649cde408f3a2f8?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9effe449-8ba3-4a81-a4a0-ce634aa41861" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0be2781a-b5e3-4035-862c-a80ae369b640" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:01.8812188Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:01 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:41.6397541Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:41 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:01 GMT", - "ETag" : "0x8D7519F5E3B591C", + "Date" : "Wed, 04 Dec 2019 23:28:41 GMT", + "ETag" : "0x8D77911B2BDB8E5", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:01.8812188Z", + "x-ms-file-change-time" : "2019-12-04T23:28:41.6397541Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4dda-b01a-00ca-6988-83a3bb000000", - "x-ms-client-request-id" : "9effe449-8ba3-4a81-a4a0-ce634aa41861", - "x-ms-file-last-write-time" : "2019-10-15T18:42:01.8812188Z" + "x-ms-request-id" : "172f870c-101a-0047-0ffa-aaf960000000", + "x-ms-client-request-id" : "0be2781a-b5e3-4035-862c-a80ae369b640", + "x-ms-file-last-write-time" : "2019-12-04T23:28:41.6397541Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetproperties198253afe8fb87180/directoryapitestsgetproperties857947825c7201747?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetproperties00758d77e70747dc7/directoryapitestsgetproperties22649cde408f3a2f8?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "08c9d208-e9f1-4814-8259-9728d3eb88db" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2e75a756-d3d4-419f-ab34-b91ad394098e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:01.8812188Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:01 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:41.6397541Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:41 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:01 GMT", + "Date" : "Wed, 04 Dec 2019 23:28:41 GMT", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D7519F5E3B591C", + "ETag" : "0x8D77911B2BDB8E5", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:01.8812188Z", + "x-ms-file-change-time" : "2019-12-04T23:28:41.6397541Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f6c-701a-001b-4d88-831ee4000000", - "x-ms-client-request-id" : "08c9d208-e9f1-4814-8259-9728d3eb88db", - "x-ms-file-last-write-time" : "2019-10-15T18:42:01.8812188Z" + "x-ms-request-id" : "172f870f-101a-0047-12fa-aaf960000000", + "x-ms-client-request-id" : "2e75a756-d3d4-419f-ab34-b91ad394098e", + "x-ms-file-last-write-time" : "2019-12-04T23:28:41.6397541Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetproperties198253afe8fb87180", "directoryapitestsgetproperties857947825c7201747" ] + "variables" : [ "directoryapitestsgetproperties00758d77e70747dc7", "directoryapitestsgetproperties22649cde408f3a2f8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetPropertiesError.json index b69c865e975ab..6e34cab512ddd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetPropertiesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetPropertiesError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetpropertieserror25621b42118f566?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetpropertieserror53260b6b43b4924?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c7ecb514-e400-4fc6-995a-75596018ac52" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1e844e70-43ee-425c-aa47-8593917593ac" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5E5DA952", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "ETag" : "0x8D77911B2F54495", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4ddc-b01a-00ca-6b88-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "x-ms-client-request-id" : "c7ecb514-e400-4fc6-995a-75596018ac52" + "x-ms-request-id" : "172f8713-101a-0047-15fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:41 GMT", + "x-ms-client-request-id" : "1e844e70-43ee-425c-aa47-8593917593ac" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetpropertieserror25621b42118f566/directoryapitestsgetpropertieserror2563787cccd714f?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetpropertieserror53260b6b43b4924/directoryapitestsgetpropertieserror11525833dc17d67?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ed9d77eb-ba25-42a6-a361-90a7d9f34c69" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b6a15cf-045c-4e90-a024-64d7e99c0802" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "beee0f6e-701a-001b-4f88-831ee4000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:beee0f6e-701a-001b-4f88-831ee4000000\nTime:2019-10-15T18:42:02.1724927Z", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "x-ms-client-request-id" : "ed9d77eb-ba25-42a6-a361-90a7d9f34c69", + "x-ms-request-id" : "172f8716-101a-0047-17fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8716-101a-0047-17fa-aaf960000000\nTime:2019-12-04T23:28:42.0967776Z", + "Date" : "Wed, 04 Dec 2019 23:28:41 GMT", + "x-ms-client-request-id" : "6b6a15cf-045c-4e90-a024-64d7e99c0802", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetpropertieserror25621b42118f566", "directoryapitestsgetpropertieserror2563787cccd714f" ] + "variables" : [ "directoryapitestsgetpropertieserror53260b6b43b4924", "directoryapitestsgetpropertieserror11525833dc17d67" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetShareName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetShareName.json index d1c7fca4efae2..83ed3befca24a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetShareName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetShareName.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetsharename4317214e5703216b74?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetsharename718078994c86ce8314?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "97b1a7db-1654-4f63-aac4-ae9a4f8096f3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8bc1db29-8511-48d6-9e55-169c486bac60" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F653C96FE", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:13 GMT", + "ETag" : "0x8D77911BEA2EC0E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee1019-701a-001b-5588-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "x-ms-client-request-id" : "97b1a7db-1654-4f63-aac4-ae9a4f8096f3" + "x-ms-request-id" : "172f8919-101a-0047-5bfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:00 GMT", + "x-ms-client-request-id" : "8bc1db29-8511-48d6-9e55-169c486bac60" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetsharename4317214e5703216b74", "directoryapitestsgetsharename938462ae498ec66744" ] + "variables" : [ "directoryapitestsgetsharename718078994c86ce8314", "directoryapitestsgetsharename22331f0ceb5e4588b4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetShareSnapshotURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetShareSnapshotURL.json index 00acca52fdbf8..0f60d3df991d3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetShareSnapshotURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetShareSnapshotURL.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetsharesnapshoturl0163471ebc67e8?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetsharesnapshoturl760447c3f2d961?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8da10972-f525-47d1-9b30-81d28013a2e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "feb6b9e5-3915-4227-97b5-ddb92bdc8428" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5A940233", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:55 GMT", + "ETag" : "0x8D77911B01EF2E6", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f2c-701a-001b-2688-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:55 GMT", - "x-ms-client-request-id" : "8da10972-f525-47d1-9b30-81d28013a2e6" + "x-ms-request-id" : "172f8698-101a-0047-2dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:36 GMT", + "x-ms-client-request-id" : "feb6b9e5-3915-4227-97b5-ddb92bdc8428" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetsharesnapshoturl0163471ebc67e8?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetsharesnapshoturl760447c3f2d961?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "86103b3f-54e2-4a78-bd83-84930bc1b10c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a4aa1321-8326-4223-b636-b73d01fb9951" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:41:56.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:28:37.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5A940233", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:55 GMT", + "ETag" : "0x8D77911B01EF2E6", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f2e-701a-001b-2788-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:56 GMT", - "x-ms-client-request-id" : "86103b3f-54e2-4a78-bd83-84930bc1b10c" + "x-ms-request-id" : "172f869b-101a-0047-2ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:36 GMT", + "x-ms-client-request-id" : "a4aa1321-8326-4223-b636-b73d01fb9951" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetsharesnapshoturl0163471ebc67e8", "directoryapitestsgetsharesnapshoturl96745bb9230b09" ] + "variables" : [ "directoryapitestsgetsharesnapshoturl760447c3f2d961", "directoryapitestsgetsharesnapshoturl40528d88d82ff4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetSnapshotId.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetSnapshotId.json index e761c31399895..5b77435cc9112 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetSnapshotId.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetSnapshotId.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetsnapshotid07120dc95c79de97d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetsnapshotid9358877904ee9daeb?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ce19b3f0-6408-4344-be34-8fb53f8ba3ce" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8a7143bd-7e77-49d5-b52c-8327dea92c85" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F651CAB24", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:13 GMT", + "ETag" : "0x8D77911BE79925B", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee1015-701a-001b-5288-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "x-ms-client-request-id" : "ce19b3f0-6408-4344-be34-8fb53f8ba3ce" + "x-ms-request-id" : "172f8911-101a-0047-54fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:00 GMT", + "x-ms-client-request-id" : "8a7143bd-7e77-49d5-b52c-8327dea92c85" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetsnapshotid07120dc95c79de97d", "directoryapitestsgetsnapshotid7395303e31f19742d" ] + "variables" : [ "directoryapitestsgetsnapshotid9358877904ee9daeb", "directoryapitestsgetsnapshotid393164a2dba02a18d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetSubDirectoryClient.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetSubDirectoryClient.json index 573431388ab7d..6685878fae5b1 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetSubDirectoryClient.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsGetSubDirectoryClient.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestsgetsubdirectoryclient76676db69fba8?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestsgetsubdirectoryclient755788c4627a5?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20cb6ab8-1ef4-49a4-9aea-6cc1ef8f6b92" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc50e2df-cbeb-4b71-abeb-b6ccc4390ca3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5B0492B7", - "Last-Modified" : "Tue, 15 Oct 2019 18:41:56 GMT", + "ETag" : "0x8D77911B0551E51", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f31-701a-001b-2a88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:41:56 GMT", - "x-ms-client-request-id" : "20cb6ab8-1ef4-49a4-9aea-6cc1ef8f6b92" + "x-ms-request-id" : "172f86a0-101a-0047-34fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:37 GMT", + "x-ms-client-request-id" : "bc50e2df-cbeb-4b71-abeb-b6ccc4390ca3" }, "Exception" : null } ], - "variables" : [ "directoryapitestsgetsubdirectoryclient76676db69fba8", "directoryapitestsgetsubdirectoryclient99579c7f6c4bf" ] + "variables" : [ "directoryapitestsgetsubdirectoryclient755788c4627a5", "directoryapitestsgetsubdirectoryclient804793501682f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectories0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectories0.json index ebf029545b704..0219eb9587ac5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectories0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectories0.json @@ -1,220 +1,220 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories03016822b47f4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories0289809d15339?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5b1f3c3f-5cc7-4373-b27d-c6cd76dec26e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ba44471c-3b16-4a9c-9289-c8eb17cbf065" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5F630A17", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "ETag" : "0x8D77911B4D6FCF1", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f86-701a-001b-6088-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "x-ms-client-request-id" : "5b1f3c3f-5cc7-4373-b27d-c6cd76dec26e" + "x-ms-request-id" : "172f8760-101a-0047-59fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:44 GMT", + "x-ms-client-request-id" : "ba44471c-3b16-4a9c-9289-c8eb17cbf065" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories03016822b47f4/directoryapitestslistfilesanddirectories0968545d0529e?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories0289809d15339/directoryapitestslistfilesanddirectories040717a71b9be?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "357521bb-9212-46fe-bcc8-4fe7557f39b3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6337e833-0ce7-4528-a9c8-a5eea7ce8bea" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:03.8711393Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:45.2537903Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "ETag" : "0x8D7519F5F6AFC61", + "Date" : "Wed, 04 Dec 2019 23:28:44 GMT", + "ETag" : "0x8D77911B4E52E2F", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:03.8711393Z", + "x-ms-file-change-time" : "2019-12-04T23:28:45.2537903Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4df2-b01a-00ca-7d88-83a3bb000000", - "x-ms-client-request-id" : "357521bb-9212-46fe-bcc8-4fe7557f39b3", - "x-ms-file-last-write-time" : "2019-10-15T18:42:03.8711393Z" + "x-ms-request-id" : "172f8763-101a-0047-5bfa-aaf960000000", + "x-ms-client-request-id" : "6337e833-0ce7-4528-a9c8-a5eea7ce8bea", + "x-ms-file-last-write-time" : "2019-12-04T23:28:45.2537903Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories03016822b47f4/directoryapitestslistfilesanddirectories0968545d0529e%2fa", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories0289809d15339/directoryapitestslistfilesanddirectories040717a71b9be%2fa", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "67a611d8-a96f-4bde-a014-281efa683206" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "532f760a-11a5-4cb6-9829-6f2cd8267799" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:03.9342004Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:45.3608240Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "ETag" : "0x8D7519F5F749BB4", + "Date" : "Wed, 04 Dec 2019 23:28:44 GMT", + "ETag" : "0x8D77911B4F58330", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:03.9342004Z", + "x-ms-file-change-time" : "2019-12-04T23:28:45.3608240Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f88-701a-001b-6188-831ee4000000", - "x-ms-client-request-id" : "67a611d8-a96f-4bde-a014-281efa683206", - "x-ms-file-last-write-time" : "2019-10-15T18:42:03.9342004Z" + "x-ms-request-id" : "172f8766-101a-0047-5efa-aaf960000000", + "x-ms-client-request-id" : "532f760a-11a5-4cb6-9829-6f2cd8267799", + "x-ms-file-last-write-time" : "2019-12-04T23:28:45.3608240Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories03016822b47f4/directoryapitestslistfilesanddirectories0968545d0529e%2fb", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories0289809d15339/directoryapitestslistfilesanddirectories040717a71b9be%2fb", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b139604-0da3-4af8-985b-03a51fcc00a9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82adc1df-bce7-491f-b8f5-0faff64058a3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529285414812647424", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:03.9782429Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:45.4527858Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "ETag" : "0x8D7519F5F7B541D", + "Date" : "Wed, 04 Dec 2019 23:28:44 GMT", + "ETag" : "0x8D77911B5038B72", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:03.9782429Z", + "x-ms-file-change-time" : "2019-12-04T23:28:45.4527858Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4df3-b01a-00ca-7e88-83a3bb000000", - "x-ms-client-request-id" : "9b139604-0da3-4af8-985b-03a51fcc00a9", - "x-ms-file-last-write-time" : "2019-10-15T18:42:03.9782429Z" + "x-ms-request-id" : "172f8767-101a-0047-5ffa-aaf960000000", + "x-ms-client-request-id" : "82adc1df-bce7-491f-b8f5-0faff64058a3", + "x-ms-file-last-write-time" : "2019-12-04T23:28:45.4527858Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories03016822b47f4/directoryapitestslistfilesanddirectories0968545d0529e%2fc", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories0289809d15339/directoryapitestslistfilesanddirectories040717a71b9be%2fc", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d77899a9-1030-4dba-bd6d-d938eaf34393" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "14ca817d-7d48-4160-aab9-5316a60052ae" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529250230440558592", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.0202834Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:45.5447974Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F5F81BE52", + "Date" : "Wed, 04 Dec 2019 23:28:44 GMT", + "ETag" : "0x8D77911B51195A6", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:04.0202834Z", + "x-ms-file-change-time" : "2019-12-04T23:28:45.5447974Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f89-701a-001b-6288-831ee4000000", - "x-ms-client-request-id" : "d77899a9-1030-4dba-bd6d-d938eaf34393", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.0202834Z" + "x-ms-request-id" : "172f876a-101a-0047-62fa-aaf960000000", + "x-ms-client-request-id" : "14ca817d-7d48-4160-aab9-5316a60052ae", + "x-ms-file-last-write-time" : "2019-12-04T23:28:45.5447974Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories03016822b47f4/directoryapitestslistfilesanddirectories0968545d0529e%2fd?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories0289809d15339/directoryapitestslistfilesanddirectories040717a71b9be%2fd?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "99426864-7588-4a4e-9604-49de66ec4f3c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4b507756-513e-4910-89b7-69b9053c5dd5" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "16140971433240035328", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.0773382Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:45.6307974Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "ETag" : "0x8D7519F5F8A7306", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "ETag" : "0x8D77911B51EB506", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:04.0773382Z", + "x-ms-file-change-time" : "2019-12-04T23:28:45.6307974Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4df4-b01a-00ca-7f88-83a3bb000000", - "x-ms-client-request-id" : "99426864-7588-4a4e-9604-49de66ec4f3c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.0773382Z" + "x-ms-request-id" : "172f876c-101a-0047-64fa-aaf960000000", + "x-ms-client-request-id" : "4b507756-513e-4910-89b7-69b9053c5dd5", + "x-ms-file-last-write-time" : "2019-12-04T23:28:45.6307974Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories03016822b47f4/directoryapitestslistfilesanddirectories0968545d0529e%2fe?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories0289809d15339/directoryapitestslistfilesanddirectories040717a71b9be%2fe?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f2181c51-3a3d-4b65-bf4a-e4fa12025d3f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63358234-2fb2-4cca-8f3b-fe658573c733" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "16140936248867946496", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.1193793Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:45.7167975Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F5F90DD41", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "ETag" : "0x8D77911B52BD467", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:04.1193793Z", + "x-ms-file-change-time" : "2019-12-04T23:28:45.7167975Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f8a-701a-001b-6388-831ee4000000", - "x-ms-client-request-id" : "f2181c51-3a3d-4b65-bf4a-e4fa12025d3f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.1193793Z" + "x-ms-request-id" : "172f876d-101a-0047-65fa-aaf960000000", + "x-ms-client-request-id" : "63358234-2fb2-4cca-8f3b-fe658573c733", + "x-ms-file-last-write-time" : "2019-12-04T23:28:45.7167975Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories03016822b47f4/directoryapitestslistfilesanddirectories0968545d0529e?restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories0289809d15339/directoryapitestslistfilesanddirectories040717a71b9be?restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "078d9416-80e7-4da5-8eb9-4685f5aabf2e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fd14c05f-d020-4249-beb5-4cec5a24a778" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "c1ad4df7-b01a-00ca-0288-83a3bb000000", - "Body" : "a2b2c2de", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "x-ms-client-request-id" : "078d9416-80e7-4da5-8eb9-4685f5aabf2e", + "x-ms-request-id" : "172f8772-101a-0047-69fa-aaf960000000", + "Body" : "a2b2c2de", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "x-ms-client-request-id" : "fd14c05f-d020-4249-beb5-4cec5a24a778", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestslistfilesanddirectories03016822b47f4", "directoryapitestslistfilesanddirectories0968545d0529e" ] + "variables" : [ "directoryapitestslistfilesanddirectories0289809d15339", "directoryapitestslistfilesanddirectories040717a71b9be" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectories1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectories1.json index 173ded3343ca5..db21c80d13521 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectories1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectories1.json @@ -1,220 +1,220 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories1301115b9d6d8?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories11099088b3f61?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "39062b8e-767a-45da-9166-9529ed593aec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d0ebbf04-2aad-4dee-87e9-39b0ce0fece6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5FB079C6", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "ETag" : "0x8D77911B560ED71", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f8c-701a-001b-6588-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "x-ms-client-request-id" : "39062b8e-767a-45da-9166-9529ed593aec" + "x-ms-request-id" : "172f8778-101a-0047-6ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "x-ms-client-request-id" : "d0ebbf04-2aad-4dee-87e9-39b0ce0fece6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories1301115b9d6d8/directoryapitestslistfilesanddirectories145393cc586e4?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories11099088b3f61/directoryapitestslistfilesanddirectories129864d83d733?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bdd4f2ff-d708-49f0-a089-19814611cf6f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bb470936-337d-44c3-996c-789a23ddc8bd" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.4236734Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:46.1617924Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F5FBF4BBE", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "ETag" : "0x8D77911B56FBB04", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:04.4236734Z", + "x-ms-file-change-time" : "2019-12-04T23:28:46.1617924Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4dfa-b01a-00ca-0488-83a3bb000000", - "x-ms-client-request-id" : "bdd4f2ff-d708-49f0-a089-19814611cf6f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.4236734Z" + "x-ms-request-id" : "172f877a-101a-0047-70fa-aaf960000000", + "x-ms-client-request-id" : "bb470936-337d-44c3-996c-789a23ddc8bd", + "x-ms-file-last-write-time" : "2019-12-04T23:28:46.1617924Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories1301115b9d6d8/directoryapitestslistfilesanddirectories145393cc586e4%2fa", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories11099088b3f61/directoryapitestslistfilesanddirectories129864d83d733%2fa", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e0da070-25cb-48a9-8a78-69dd18aa4668" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bfedaf43-9238-467b-beef-09844ffb034c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.4757240Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:46.2508539Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F5FC73CF8", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "ETag" : "0x8D77911B57D51FB", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:04.4757240Z", + "x-ms-file-change-time" : "2019-12-04T23:28:46.2508539Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f8e-701a-001b-6688-831ee4000000", - "x-ms-client-request-id" : "4e0da070-25cb-48a9-8a78-69dd18aa4668", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.4757240Z" + "x-ms-request-id" : "172f877f-101a-0047-73fa-aaf960000000", + "x-ms-client-request-id" : "bfedaf43-9238-467b-beef-09844ffb034c", + "x-ms-file-last-write-time" : "2019-12-04T23:28:46.2508539Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories1301115b9d6d8/directoryapitestslistfilesanddirectories145393cc586e4%2fc", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories11099088b3f61/directoryapitestslistfilesanddirectories129864d83d733%2fc", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "60f0044e-0020-41eb-b4a7-db561c3c0b75" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5897adfc-365a-4492-ba79-13384e908256" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529285414812647424", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.5247702Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:46.3358448Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F5FCEB8D6", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "ETag" : "0x8D77911B58A49F0", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:04.5247702Z", + "x-ms-file-change-time" : "2019-12-04T23:28:46.3358448Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4dfb-b01a-00ca-0588-83a3bb000000", - "x-ms-client-request-id" : "60f0044e-0020-41eb-b4a7-db561c3c0b75", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.5247702Z" + "x-ms-request-id" : "172f8781-101a-0047-75fa-aaf960000000", + "x-ms-client-request-id" : "5897adfc-365a-4492-ba79-13384e908256", + "x-ms-file-last-write-time" : "2019-12-04T23:28:46.3358448Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories1301115b9d6d8/directoryapitestslistfilesanddirectories145393cc586e4%2fe", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories11099088b3f61/directoryapitestslistfilesanddirectories129864d83d733%2fe", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "df4b6ea5-ab17-4164-8e15-9642634339c2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "70057a46-3c49-4876-ac4c-f7e829eafb14" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529250230440558592", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.5648084Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:46.4277999Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F5FD4D4D4", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "ETag" : "0x8D77911B59851EF", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:04.5648084Z", + "x-ms-file-change-time" : "2019-12-04T23:28:46.4277999Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f8f-701a-001b-6788-831ee4000000", - "x-ms-client-request-id" : "df4b6ea5-ab17-4164-8e15-9642634339c2", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.5648084Z" + "x-ms-request-id" : "172f8784-101a-0047-78fa-aaf960000000", + "x-ms-client-request-id" : "70057a46-3c49-4876-ac4c-f7e829eafb14", + "x-ms-file-last-write-time" : "2019-12-04T23:28:46.4277999Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories1301115b9d6d8/directoryapitestslistfilesanddirectories145393cc586e4%2fb?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories11099088b3f61/directoryapitestslistfilesanddirectories129864d83d733%2fb?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7e8908cf-012b-49f8-92d9-fbfc6f28f2f8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d1a2064-7e3c-4f21-81c6-83dcd44dd887" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "16140971433240035328", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.6088513Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:46.5128043Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F5FDB8D41", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "ETag" : "0x8D77911B5A54A6B", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:04.6088513Z", + "x-ms-file-change-time" : "2019-12-04T23:28:46.5128043Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4dfc-b01a-00ca-0688-83a3bb000000", - "x-ms-client-request-id" : "7e8908cf-012b-49f8-92d9-fbfc6f28f2f8", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.6088513Z" + "x-ms-request-id" : "172f8785-101a-0047-79fa-aaf960000000", + "x-ms-client-request-id" : "0d1a2064-7e3c-4f21-81c6-83dcd44dd887", + "x-ms-file-last-write-time" : "2019-12-04T23:28:46.5128043Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories1301115b9d6d8/directoryapitestslistfilesanddirectories145393cc586e4%2fd?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories11099088b3f61/directoryapitestslistfilesanddirectories129864d83d733%2fd?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9676656f-fb0b-4d33-a28d-751468377780" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4add567b-3786-4124-87b4-412cf0b8034a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "16140936248867946496", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.6508919Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:46.6028041Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F5FE1F777", + "Date" : "Wed, 04 Dec 2019 23:28:45 GMT", + "ETag" : "0x8D77911B5B30609", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:04.6508919Z", + "x-ms-file-change-time" : "2019-12-04T23:28:46.6028041Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f90-701a-001b-6888-831ee4000000", - "x-ms-client-request-id" : "9676656f-fb0b-4d33-a28d-751468377780", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.6508919Z" + "x-ms-request-id" : "172f8787-101a-0047-7bfa-aaf960000000", + "x-ms-client-request-id" : "4add567b-3786-4124-87b4-412cf0b8034a", + "x-ms-file-last-write-time" : "2019-12-04T23:28:46.6028041Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectories1301115b9d6d8/directoryapitestslistfilesanddirectories145393cc586e4?restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectories11099088b3f61/directoryapitestslistfilesanddirectories129864d83d733?restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "800a99f8-1fd0-44ea-afc6-8f1a0d0d739e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "129527a8-794b-407f-9e32-1b905cdb8ec6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "c1ad4dfd-b01a-00ca-0788-83a3bb000000", - "Body" : "a2bc2de2", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "x-ms-client-request-id" : "800a99f8-1fd0-44ea-afc6-8f1a0d0d739e", + "x-ms-request-id" : "172f878a-101a-0047-7efa-aaf960000000", + "Body" : "a2bc2de2", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "x-ms-client-request-id" : "129527a8-794b-407f-9e32-1b905cdb8ec6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestslistfilesanddirectories1301115b9d6d8", "directoryapitestslistfilesanddirectories145393cc586e4" ] + "variables" : [ "directoryapitestslistfilesanddirectories11099088b3f61", "directoryapitestslistfilesanddirectories129864d83d733" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs0.json index be2bfb74fc0ed..c66ee01f14aca 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs0.json @@ -1,278 +1,278 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7ad0760c-3f82-419c-a5cf-ae8548e72b9a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "60fb76c8-ab36-4713-9bff-db384fd2f37b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6000A900", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "ETag" : "0x8D77911B5E5FBF3", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f92-701a-001b-6a88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "x-ms-client-request-id" : "7ad0760c-3f82-419c-a5cf-ae8548e72b9a" + "x-ms-request-id" : "172f8792-101a-0047-06fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "x-ms-client-request-id" : "60fb76c8-ab36-4713-9bff-db384fd2f37b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7121ec03-af6d-4613-8e11-3837486b6265" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3043db13-aa59-44ee-9e7a-44cbca8e9c7c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:04.9041365Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:04 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:47.0287961Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:04 GMT", - "ETag" : "0x8D7519F60089BD5", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "ETag" : "0x8D77911B5F40659", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:04.9041365Z", + "x-ms-file-change-time" : "2019-12-04T23:28:47.0287961Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4dff-b01a-00ca-0988-83a3bb000000", - "x-ms-client-request-id" : "7121ec03-af6d-4613-8e11-3837486b6265", - "x-ms-file-last-write-time" : "2019-10-15T18:42:04.9041365Z" + "x-ms-request-id" : "172f8795-101a-0047-08fa-aaf960000000", + "x-ms-client-request-id" : "3043db13-aa59-44ee-9e7a-44cbca8e9c7c", + "x-ms-file-last-write-time" : "2019-12-04T23:28:47.0287961Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee0?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e0?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "50607179-c965-4110-8848-478b10f4fd2c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d544e25-ee96-4b71-9441-affa3f5b9235" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.1183427Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:47.1208089Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F60294B43", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "ETag" : "0x8D77911B6021099", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:05.1183427Z", + "x-ms-file-change-time" : "2019-12-04T23:28:47.1208089Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f95-701a-001b-6b88-831ee4000000", - "x-ms-client-request-id" : "50607179-c965-4110-8848-478b10f4fd2c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.1183427Z" + "x-ms-request-id" : "172f8797-101a-0047-0afa-aaf960000000", + "x-ms-client-request-id" : "7d544e25-ee96-4b71-9441-affa3f5b9235", + "x-ms-file-last-write-time" : "2019-12-04T23:28:47.1208089Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee3", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e0%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e3", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ae0814dc-463e-4cd8-923d-628ec6c48e03" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eef7ddab-9c3b-47c7-8e69-561f306466aa" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529285414812647424", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.1924142Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:47.2138071Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F603498AE", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "ETag" : "0x8D77911B6104157", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:05.1924142Z", - "x-ms-file-parent-id" : "13835093239654252544", + "x-ms-file-change-time" : "2019-12-04T23:28:47.2138071Z", + "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e02-b01a-00ca-0c88-83a3bb000000", - "x-ms-client-request-id" : "ae0814dc-463e-4cd8-923d-628ec6c48e03", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.1924142Z" + "x-ms-request-id" : "172f8798-101a-0047-0bfa-aaf960000000", + "x-ms-client-request-id" : "eef7ddab-9c3b-47c7-8e69-561f306466aa", + "x-ms-file-last-write-time" : "2019-12-04T23:28:47.2138071Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee4", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e0%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5396954a-66f7-4de2-8b3b-1b003d213279" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef34117a-a3e6-41e9-9017-b683e9fd9e27" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529250230440558592", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.2314525Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:47.3058073Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F603A8D9D", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "ETag" : "0x8D77911B61E4B19", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:05.2314525Z", - "x-ms-file-parent-id" : "13835093239654252544", + "x-ms-file-change-time" : "2019-12-04T23:28:47.3058073Z", + "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "beee0f96-701a-001b-6c88-831ee4000000", - "x-ms-client-request-id" : "5396954a-66f7-4de2-8b3b-1b003d213279", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.2314525Z" + "x-ms-request-id" : "172f879c-101a-0047-0ffa-aaf960000000", + "x-ms-client-request-id" : "ef34117a-a3e6-41e9-9017-b683e9fd9e27", + "x-ms-file-last-write-time" : "2019-12-04T23:28:47.3058073Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee1?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e1?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ea123585-7625-4273-8f21-73305ab4ddd3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f7263abd-d2bc-4f5a-bae3-192f33219f8e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "16140971433240035328", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.2804992Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:47.4048079Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F60420980", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "ETag" : "0x8D77911B62D664F", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:05.2804992Z", + "x-ms-file-change-time" : "2019-12-04T23:28:47.4048079Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e03-b01a-00ca-0d88-83a3bb000000", - "x-ms-client-request-id" : "ea123585-7625-4273-8f21-73305ab4ddd3", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.2804992Z" + "x-ms-request-id" : "172f879d-101a-0047-10fa-aaf960000000", + "x-ms-client-request-id" : "f7263abd-d2bc-4f5a-bae3-192f33219f8e", + "x-ms-file-last-write-time" : "2019-12-04T23:28:47.4048079Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee1%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee5", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e1%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c985c243-bc8f-4bdf-b838-7fc5c69cb82b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "51b2fc56-443a-4697-beb9-47b9a52fc3c8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "16140936248867946496", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.3235414Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:47.4938433Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F60489AD6", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "ETag" : "0x8D77911B63AFC41", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:05.3235414Z", - "x-ms-file-parent-id" : "16140971433240035328", + "x-ms-file-change-time" : "2019-12-04T23:28:47.4938433Z", + "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "beee0f97-701a-001b-6d88-831ee4000000", - "x-ms-client-request-id" : "c985c243-bc8f-4bdf-b838-7fc5c69cb82b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.3235414Z" + "x-ms-request-id" : "172f879e-101a-0047-11fa-aaf960000000", + "x-ms-client-request-id" : "51b2fc56-443a-4697-beb9-47b9a52fc3c8", + "x-ms-file-last-write-time" : "2019-12-04T23:28:47.4938433Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee1%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee6", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e1%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e6", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aeee1efe-ad5e-4392-9997-e046d47c6838" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f84bbe15-4624-41fe-8fc4-f06b37fe494d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "10376363910205800448", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "17293892937846882304", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.3805962Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:47.5848099Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F60514F8A", + "Date" : "Wed, 04 Dec 2019 23:28:46 GMT", + "ETag" : "0x8D77911B648DDA3", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:05.3805962Z", - "x-ms-file-parent-id" : "16140971433240035328", + "x-ms-file-change-time" : "2019-12-04T23:28:47.5848099Z", + "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e04-b01a-00ca-0e88-83a3bb000000", - "x-ms-client-request-id" : "aeee1efe-ad5e-4392-9997-e046d47c6838", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.3805962Z" + "x-ms-request-id" : "172f879f-101a-0047-12fa-aaf960000000", + "x-ms-client-request-id" : "f84bbe15-4624-41fe-8fc4-f06b37fe494d", + "x-ms-file-last-write-time" : "2019-12-04T23:28:47.5848099Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0%2fdirectoryapitestslistfilesanddirectoriesargs056923d29ee2", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077%2fdirectoryapitestslistfilesanddirectoriesargs0794160830e2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b655e3a8-7a3e-44d7-849f-c1ddfd994b40" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84d396bd-62ad-4ccf-a30f-81c57b9cdfc7" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "10376328725833711616", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "9799903157902376960", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.4196332Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:47.6808109Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F6057446C", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "ETag" : "0x8D77911B65783AD", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:05.4196332Z", + "x-ms-file-change-time" : "2019-12-04T23:28:47.6808109Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f98-701a-001b-6e88-831ee4000000", - "x-ms-client-request-id" : "b655e3a8-7a3e-44d7-849f-c1ddfd994b40", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.4196332Z" + "x-ms-request-id" : "172f87a0-101a-0047-13fa-aaf960000000", + "x-ms-client-request-id" : "84d396bd-62ad-4ccf-a30f-81c57b9cdfc7", + "x-ms-file-last-write-time" : "2019-12-04T23:28:47.6808109Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs0314496c11b/directoryapitestslistfilesanddirectoriesargs0504370c3f0?restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs074631ac1b8/directoryapitestslistfilesanddirectoriesargs088719d3077?restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6b847f4b-fe08-4ffb-9ac7-527df5ffc471" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d282fa64-34c3-45bb-88ed-72663826b1d6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "c1ad4e06-b01a-00ca-0f88-83a3bb000000", - "Body" : "directoryapitestslistfilesanddirectoriesargs056923d29ee0directoryapitestslistfilesanddirectoriesargs056923d29ee1directoryapitestslistfilesanddirectoriesargs056923d29ee21024", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "x-ms-client-request-id" : "6b847f4b-fe08-4ffb-9ac7-527df5ffc471", + "x-ms-request-id" : "172f87a1-101a-0047-14fa-aaf960000000", + "Body" : "directoryapitestslistfilesanddirectoriesargs0794160830e0directoryapitestslistfilesanddirectoriesargs0794160830e1directoryapitestslistfilesanddirectoriesargs0794160830e21024", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "x-ms-client-request-id" : "d282fa64-34c3-45bb-88ed-72663826b1d6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestslistfilesanddirectoriesargs0314496c11b", "directoryapitestslistfilesanddirectoriesargs0504370c3f0", "directoryapitestslistfilesanddirectoriesargs056923d29ee" ] + "variables" : [ "directoryapitestslistfilesanddirectoriesargs074631ac1b8", "directoryapitestslistfilesanddirectoriesargs088719d3077", "directoryapitestslistfilesanddirectoriesargs0794160830e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs1.json index 90ddf4c5b7b14..26a8bbde93b41 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs1.json @@ -1,320 +1,320 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f0819b9a-5ecd-4fa8-add2-4bede69c9639" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5fa1dce-74cc-4f71-9c8e-a2db6cdfae67" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F607D989F", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "ETag" : "0x8D77911B68A524B", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f9a-701a-001b-7088-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "x-ms-client-request-id" : "f0819b9a-5ecd-4fa8-add2-4bede69c9639" + "x-ms-request-id" : "172f87af-101a-0047-1afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "x-ms-client-request-id" : "f5fa1dce-74cc-4f71-9c8e-a2db6cdfae67" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "701d5cbf-6121-4d51-81ab-2f9a7a4f7cd8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9ead5c68-04a9-42c7-8473-1d90121b2a0e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.7269299Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:48.1078410Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F60862833", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "ETag" : "0x8D77911B698AC8A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:05.7269299Z", + "x-ms-file-change-time" : "2019-12-04T23:28:48.1078410Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e08-b01a-00ca-1188-83a3bb000000", - "x-ms-client-request-id" : "701d5cbf-6121-4d51-81ab-2f9a7a4f7cd8", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.7269299Z" + "x-ms-request-id" : "172f87b1-101a-0047-1bfa-aaf960000000", + "x-ms-client-request-id" : "9ead5c68-04a9-42c7-8473-1d90121b2a0e", + "x-ms-file-last-write-time" : "2019-12-04T23:28:48.1078410Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad340?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc90?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d44ac1c5-5a14-463d-a814-1a6bc6c9e3c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82309288-bf30-4d47-b8fe-cebd0de9fe59" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.7889898Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:48.1948105Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F608FA06A", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "ETag" : "0x8D77911B6A5F1C9", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:05.7889898Z", + "x-ms-file-change-time" : "2019-12-04T23:28:48.1948105Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0f9c-701a-001b-7188-831ee4000000", - "x-ms-client-request-id" : "d44ac1c5-5a14-463d-a814-1a6bc6c9e3c7", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.7889898Z" + "x-ms-request-id" : "172f87b2-101a-0047-1cfa-aaf960000000", + "x-ms-client-request-id" : "82309288-bf30-4d47-b8fe-cebd0de9fe59", + "x-ms-file-last-write-time" : "2019-12-04T23:28:48.1948105Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad340%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad343", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc90%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc93", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "231a2ebe-c4d9-46ae-b413-c2b954c72b6e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f37c2a69-4d68-4650-a606-99bbedc00b8b" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529285414812647424", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.8530516Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:48.2838038Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F609966D4", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "ETag" : "0x8D77911B6B38616", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:05.8530516Z", - "x-ms-file-parent-id" : "13835093239654252544", + "x-ms-file-change-time" : "2019-12-04T23:28:48.2838038Z", + "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e09-b01a-00ca-1288-83a3bb000000", - "x-ms-client-request-id" : "231a2ebe-c4d9-46ae-b413-c2b954c72b6e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.8530516Z" + "x-ms-request-id" : "172f87b5-101a-0047-1efa-aaf960000000", + "x-ms-client-request-id" : "f37c2a69-4d68-4650-a606-99bbedc00b8b", + "x-ms-file-last-write-time" : "2019-12-04T23:28:48.2838038Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad340%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad344", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc90%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc94", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b5659a2b-aebc-44dd-80d5-f84b5bdeb8e3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d110fe8e-3de7-4976-a2fa-a6fef79a9364" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529250230440558592", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.8970941Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:48.3768070Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F60A01F3D", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "ETag" : "0x8D77911B6C1B706", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:05.8970941Z", - "x-ms-file-parent-id" : "13835093239654252544", + "x-ms-file-change-time" : "2019-12-04T23:28:48.3768070Z", + "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "beee0f9d-701a-001b-7288-831ee4000000", - "x-ms-client-request-id" : "b5659a2b-aebc-44dd-80d5-f84b5bdeb8e3", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.8970941Z" + "x-ms-request-id" : "172f87ba-101a-0047-22fa-aaf960000000", + "x-ms-client-request-id" : "d110fe8e-3de7-4976-a2fa-a6fef79a9364", + "x-ms-file-last-write-time" : "2019-12-04T23:28:48.3768070Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad341?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc91?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "40cfaabb-e9db-4ab0-bf54-5b61aae73d81" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "de252bd1-df45-4268-baaf-ea6703c9de73" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "16140971433240035328", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:05.9401354Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:48.4658528Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:05 GMT", - "ETag" : "0x8D7519F60A6B08A", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "ETag" : "0x8D77911B6CF4D60", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:05.9401354Z", + "x-ms-file-change-time" : "2019-12-04T23:28:48.4658528Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e0a-b01a-00ca-1388-83a3bb000000", - "x-ms-client-request-id" : "40cfaabb-e9db-4ab0-bf54-5b61aae73d81", - "x-ms-file-last-write-time" : "2019-10-15T18:42:05.9401354Z" + "x-ms-request-id" : "172f87bb-101a-0047-23fa-aaf960000000", + "x-ms-client-request-id" : "de252bd1-df45-4268-baaf-ea6703c9de73", + "x-ms-file-last-write-time" : "2019-12-04T23:28:48.4658528Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad341%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad345", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc91%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc95", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "caf2b158-ebe8-4ea2-82e3-06a56b3f90f5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0abe9454-ccc4-432c-8b16-ebd260abf6ee" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "16140936248867946496", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.1062967Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:48.5548687Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F60C00B37", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "ETag" : "0x8D77911B6DCE28F", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:06.1062967Z", - "x-ms-file-parent-id" : "16140971433240035328", + "x-ms-file-change-time" : "2019-12-04T23:28:48.5548687Z", + "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "beee0f9e-701a-001b-7388-831ee4000000", - "x-ms-client-request-id" : "caf2b158-ebe8-4ea2-82e3-06a56b3f90f5", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.1062967Z" + "x-ms-request-id" : "172f87bd-101a-0047-25fa-aaf960000000", + "x-ms-client-request-id" : "0abe9454-ccc4-432c-8b16-ebd260abf6ee", + "x-ms-file-last-write-time" : "2019-12-04T23:28:48.5548687Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad341%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad346", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc91%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc96", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "71d1ba79-ffe0-4741-88bd-9d1d05dbc9fc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca3a6e2b-811a-480f-8d06-6cbf258ada9c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "10376363910205800448", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "17293892937846882304", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.1643518Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:48.6418202Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F60C8E6FE", + "Date" : "Wed, 04 Dec 2019 23:28:47 GMT", + "ETag" : "0x8D77911B6EA271A", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:06.1643518Z", - "x-ms-file-parent-id" : "16140971433240035328", + "x-ms-file-change-time" : "2019-12-04T23:28:48.6418202Z", + "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e0b-b01a-00ca-1488-83a3bb000000", - "x-ms-client-request-id" : "71d1ba79-ffe0-4741-88bd-9d1d05dbc9fc", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.1643518Z" + "x-ms-request-id" : "172f87bf-101a-0047-27fa-aaf960000000", + "x-ms-client-request-id" : "ca3a6e2b-811a-480f-8d06-6cbf258ada9c", + "x-ms-file-last-write-time" : "2019-12-04T23:28:48.6418202Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a%2fdirectoryapitestslistfilesanddirectoriesargs1650395ad342", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c%2fdirectoryapitestslistfilesanddirectoriesargs162846b8dc92", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "89e7e986-2309-429d-9a56-a1da6eaf276b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "424d75a4-5fbe-43af-893b-b25cfc1b1112" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "10376328725833711616", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "9799903157902376960", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.2063923Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:48.7328085Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F60CF5133", + "Date" : "Wed, 04 Dec 2019 23:28:48 GMT", + "ETag" : "0x8D77911B6F80955", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:06.2063923Z", + "x-ms-file-change-time" : "2019-12-04T23:28:48.7328085Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0fa0-701a-001b-7488-831ee4000000", - "x-ms-client-request-id" : "89e7e986-2309-429d-9a56-a1da6eaf276b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.2063923Z" + "x-ms-request-id" : "172f87c1-101a-0047-29fa-aaf960000000", + "x-ms-client-request-id" : "424d75a4-5fbe-43af-893b-b25cfc1b1112", + "x-ms-file-last-write-time" : "2019-12-04T23:28:48.7328085Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a?prefix=directoryapitestslistfilesanddirectoriesargs&maxresults=1&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c?prefix=directoryapitestslistfilesanddirectoriesargs&maxresults=1&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "247abc2b-358f-42e2-8639-0301a9fd7606" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09d934f1-3c0b-4f0d-b829-0a040c3e8b01" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "c1ad4e0c-b01a-00ca-1588-83a3bb000000", - "Body" : "directoryapitestslistfilesanddirectoriesargs1directoryapitestslistfilesanddirectoriesargs1650395ad3401!76!ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjUwMzk1YWQzNDE-", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "x-ms-client-request-id" : "247abc2b-358f-42e2-8639-0301a9fd7606", + "x-ms-request-id" : "172f87c3-101a-0047-2bfa-aaf960000000", + "Body" : "directoryapitestslistfilesanddirectoriesargs1directoryapitestslistfilesanddirectoriesargs162846b8dc901!76!ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjI4NDZiOGRjOTE-", + "Date" : "Wed, 04 Dec 2019 23:28:48 GMT", + "x-ms-client-request-id" : "09d934f1-3c0b-4f0d-b829-0a040c3e8b01", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a?prefix=directoryapitestslistfilesanddirectoriesargs&marker=1%2176%21ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjUwMzk1YWQzNDE-&maxresults=1&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c?prefix=directoryapitestslistfilesanddirectoriesargs&marker=1%2176%21ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjI4NDZiOGRjOTE-&maxresults=1&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dee93c38-cacb-4713-af6a-dadc7cba2f31" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c131ebd-50e9-4e4d-b641-b99416e38ddb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "beee0fa1-701a-001b-7588-831ee4000000", - "Body" : "directoryapitestslistfilesanddirectoriesargs1!76!ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjUwMzk1YWQzNDE-1directoryapitestslistfilesanddirectoriesargs1650395ad3411!76!ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjUwMzk1YWQzNDI-", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "x-ms-client-request-id" : "dee93c38-cacb-4713-af6a-dadc7cba2f31", + "x-ms-request-id" : "172f87c5-101a-0047-2dfa-aaf960000000", + "Body" : "directoryapitestslistfilesanddirectoriesargs1!76!ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjI4NDZiOGRjOTE-1directoryapitestslistfilesanddirectoriesargs162846b8dc911!76!ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjI4NDZiOGRjOTI-", + "Date" : "Wed, 04 Dec 2019 23:28:48 GMT", + "x-ms-client-request-id" : "5c131ebd-50e9-4e4d-b641-b99416e38ddb", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs168547b2621/directoryapitestslistfilesanddirectoriesargs104919e383a?prefix=directoryapitestslistfilesanddirectoriesargs&marker=1%2176%21ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjUwMzk1YWQzNDI-&maxresults=1&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs126361cbfe7/directoryapitestslistfilesanddirectoriesargs1062336007c?prefix=directoryapitestslistfilesanddirectoriesargs&marker=1%2176%21ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjI4NDZiOGRjOTI-&maxresults=1&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "61fdf91a-5dac-4ffa-85b4-9fad8505b40a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1f9a180f-edf0-4307-ba31-9987cbe02a1c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "c1ad4e0d-b01a-00ca-1688-83a3bb000000", - "Body" : "directoryapitestslistfilesanddirectoriesargs1!76!ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjUwMzk1YWQzNDI-1directoryapitestslistfilesanddirectoriesargs1650395ad3421024", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "x-ms-client-request-id" : "61fdf91a-5dac-4ffa-85b4-9fad8505b40a", + "x-ms-request-id" : "172f87c6-101a-0047-2efa-aaf960000000", + "Body" : "directoryapitestslistfilesanddirectoriesargs1!76!ZGlyZWN0b3J5YXBpdGVzdHNsaXN0ZmlsZXNhbmRkaXJlY3Rvcmllc2FyZ3MxNjI4NDZiOGRjOTI-1directoryapitestslistfilesanddirectoriesargs162846b8dc921024", + "Date" : "Wed, 04 Dec 2019 23:28:48 GMT", + "x-ms-client-request-id" : "1f9a180f-edf0-4307-ba31-9987cbe02a1c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestslistfilesanddirectoriesargs168547b2621", "directoryapitestslistfilesanddirectoriesargs104919e383a", "directoryapitestslistfilesanddirectoriesargs1650395ad34" ] + "variables" : [ "directoryapitestslistfilesanddirectoriesargs126361cbfe7", "directoryapitestslistfilesanddirectoriesargs1062336007c", "directoryapitestslistfilesanddirectoriesargs162846b8dc9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs2.json index 7908aafbed774..fd601b3f3eb28 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListFilesAndDirectoriesArgs2.json @@ -1,278 +1,278 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad45f533-0322-4163-bcdf-3be8d0547d71" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f1aa92b1-4a62-49ae-a963-d0754fb74cf8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F60FD6F17", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "ETag" : "0x8D77911B752F93F", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fa3-701a-001b-7788-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "x-ms-client-request-id" : "ad45f533-0322-4163-bcdf-3be8d0547d71" + "x-ms-request-id" : "172f87d2-101a-0047-3afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:48 GMT", + "x-ms-client-request-id" : "f1aa92b1-4a62-49ae-a963-d0754fb74cf8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3f2dea3e-9077-4a96-8ce8-e8dcbe2b1deb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2782e98e-f2ee-4344-b278-e6d9cece7c67" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.5747491Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:49.4248178Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F61078623", + "Date" : "Wed, 04 Dec 2019 23:28:48 GMT", + "ETag" : "0x8D77911B761A0F2", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:06.5747491Z", + "x-ms-file-change-time" : "2019-12-04T23:28:49.4248178Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e0f-b01a-00ca-1888-83a3bb000000", - "x-ms-client-request-id" : "3f2dea3e-9077-4a96-8ce8-e8dcbe2b1deb", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.5747491Z" + "x-ms-request-id" : "172f87d5-101a-0047-3cfa-aaf960000000", + "x-ms-client-request-id" : "2782e98e-f2ee-4344-b278-e6d9cece7c67", + "x-ms-file-last-write-time" : "2019-12-04T23:28:49.4248178Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c00?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b0?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e8a67ac4-db68-40dc-a4bc-8075a49d315b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "18c91f42-d6f3-49fe-a206-e76432cf6cef" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "13835093239654252544", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.6207926Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:49.5158156Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F610E8CB6", + "Date" : "Wed, 04 Dec 2019 23:28:48 GMT", + "ETag" : "0x8D77911B76F838C", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:06.6207926Z", + "x-ms-file-change-time" : "2019-12-04T23:28:49.5158156Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0fa5-701a-001b-7888-831ee4000000", - "x-ms-client-request-id" : "e8a67ac4-db68-40dc-a4bc-8075a49d315b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.6207926Z" + "x-ms-request-id" : "172f87d7-101a-0047-3efa-aaf960000000", + "x-ms-client-request-id" : "18c91f42-d6f3-49fe-a206-e76432cf6cef", + "x-ms-file-last-write-time" : "2019-12-04T23:28:49.5158156Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c00%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c03", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b0%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b3", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a4bdbdf0-fa24-4ff0-9f83-7deab7fb9016" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "34c602f8-8311-43f3-8908-2dac7f712996" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529285414812647424", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.6738436Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:49.6068229Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F6116A504", + "Date" : "Wed, 04 Dec 2019 23:28:48 GMT", + "ETag" : "0x8D77911B77D6685", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:06.6738436Z", - "x-ms-file-parent-id" : "13835093239654252544", + "x-ms-file-change-time" : "2019-12-04T23:28:49.6068229Z", + "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e12-b01a-00ca-1b88-83a3bb000000", - "x-ms-client-request-id" : "a4bdbdf0-fa24-4ff0-9f83-7deab7fb9016", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.6738436Z" + "x-ms-request-id" : "172f87da-101a-0047-40fa-aaf960000000", + "x-ms-client-request-id" : "34c602f8-8311-43f3-8908-2dac7f712996", + "x-ms-file-last-write-time" : "2019-12-04T23:28:49.6068229Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c00%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c04", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b0%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "62a623bd-9eec-467a-9972-569aadd1f064" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ed9a257d-0ba6-424f-b125-4f69b0e0084d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "11529250230440558592", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.7308989Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:49.6978144Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F611F59BD", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "ETag" : "0x8D77911B78B48E0", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:06.7308989Z", - "x-ms-file-parent-id" : "13835093239654252544", + "x-ms-file-change-time" : "2019-12-04T23:28:49.6978144Z", + "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "beee0fa8-701a-001b-7b88-831ee4000000", - "x-ms-client-request-id" : "62a623bd-9eec-467a-9972-569aadd1f064", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.7308989Z" + "x-ms-request-id" : "172f87dc-101a-0047-42fa-aaf960000000", + "x-ms-client-request-id" : "ed9a257d-0ba6-424f-b125-4f69b0e0084d", + "x-ms-file-last-write-time" : "2019-12-04T23:28:49.6978144Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c01?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b1?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "57f1bc1f-dd7d-4ac4-82fd-d9c497c4b49f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3a2be0a-c900-4034-840d-c532e340288f" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", - "x-ms-file-id" : "16140971433240035328", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.7919576Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:49.7878414Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F6128AAD8", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "ETag" : "0x8D77911B799058E", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:06.7919576Z", + "x-ms-file-change-time" : "2019-12-04T23:28:49.7878414Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e13-b01a-00ca-1c88-83a3bb000000", - "x-ms-client-request-id" : "57f1bc1f-dd7d-4ac4-82fd-d9c497c4b49f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.7919576Z" + "x-ms-request-id" : "172f87de-101a-0047-44fa-aaf960000000", + "x-ms-client-request-id" : "c3a2be0a-c900-4034-840d-c532e340288f", + "x-ms-file-last-write-time" : "2019-12-04T23:28:49.7878414Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c01%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c05", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b1%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "628016e3-3839-4209-aed5-6edfbf76fa4b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a35ab21-20fa-4a61-bcea-878cd7124bb9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "16140936248867946496", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.8430070Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:49.8808237Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F613074F6", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "ETag" : "0x8D77911B7A735AD", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:06.8430070Z", - "x-ms-file-parent-id" : "16140971433240035328", + "x-ms-file-change-time" : "2019-12-04T23:28:49.8808237Z", + "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "beee0fa9-701a-001b-7c88-831ee4000000", - "x-ms-client-request-id" : "628016e3-3839-4209-aed5-6edfbf76fa4b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.8430070Z" + "x-ms-request-id" : "172f87df-101a-0047-45fa-aaf960000000", + "x-ms-client-request-id" : "0a35ab21-20fa-4a61-bcea-878cd7124bb9", + "x-ms-file-last-write-time" : "2019-12-04T23:28:49.8808237Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c01%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c06", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b1%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b6", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "45fe9ec4-8c74-4c62-b214-bede694210b6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "72c2f71e-2d98-41bd-a055-cca1d072a7d3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "10376363910205800448", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "17293892937846882304", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.8850471Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:49.9708670Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F6136DF27", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "ETag" : "0x8D77911B7B4F2FE", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:06.8850471Z", - "x-ms-file-parent-id" : "16140971433240035328", + "x-ms-file-change-time" : "2019-12-04T23:28:49.9708670Z", + "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e15-b01a-00ca-1d88-83a3bb000000", - "x-ms-client-request-id" : "45fe9ec4-8c74-4c62-b214-bede694210b6", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.8850471Z" + "x-ms-request-id" : "172f87e2-101a-0047-48fa-aaf960000000", + "x-ms-client-request-id" : "72c2f71e-2d98-41bd-a055-cca1d072a7d3", + "x-ms-file-last-write-time" : "2019-12-04T23:28:49.9708670Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445%2fdirectoryapitestslistfilesanddirectoriesargs274830fd2c02", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe%2fdirectoryapitestslistfilesanddirectoriesargs239353eb66b2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "be45780a-d5b0-4ee0-a4c8-c200255745d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5dacec55-2cb6-41aa-8b7b-c494e4efba10" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-file-id" : "10376328725833711616", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "9799903157902376960", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:06.9320932Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:06 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:50.0568264Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:50 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "ETag" : "0x8D7519F613E0CE4", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "ETag" : "0x8D77911B7C210C8", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:06.9320932Z", + "x-ms-file-change-time" : "2019-12-04T23:28:50.0568264Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "beee0faa-701a-001b-7d88-831ee4000000", - "x-ms-client-request-id" : "be45780a-d5b0-4ee0-a4c8-c200255745d8", - "x-ms-file-last-write-time" : "2019-10-15T18:42:06.9320932Z" + "x-ms-request-id" : "172f87e5-101a-0047-4bfa-aaf960000000", + "x-ms-client-request-id" : "5dacec55-2cb6-41aa-8b7b-c494e4efba10", + "x-ms-file-last-write-time" : "2019-12-04T23:28:50.0568264Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs232567f2204/directoryapitestslistfilesanddirectoriesargs20433483445?prefix=noOp&maxresults=3&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslistfilesanddirectoriesargs2435963b34a/directoryapitestslistfilesanddirectoriesargs270785d1ebe?prefix=noOp&maxresults=3&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "890b4a78-b8db-4853-a925-f94efd529ed5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c84a52bb-4f3f-4126-9ddf-a4c704cfaea0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "c1ad4e16-b01a-00ca-1e88-83a3bb000000", - "Body" : "noOp3", - "Date" : "Tue, 15 Oct 2019 18:42:06 GMT", - "x-ms-client-request-id" : "890b4a78-b8db-4853-a925-f94efd529ed5", + "x-ms-request-id" : "172f87e7-101a-0047-4dfa-aaf960000000", + "Body" : "noOp3", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "x-ms-client-request-id" : "c84a52bb-4f3f-4126-9ddf-a4c704cfaea0", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestslistfilesanddirectoriesargs232567f2204", "directoryapitestslistfilesanddirectoriesargs20433483445", "directoryapitestslistfilesanddirectoriesargs274830fd2c0" ] + "variables" : [ "directoryapitestslistfilesanddirectoriesargs2435963b34a", "directoryapitestslistfilesanddirectoriesargs270785d1ebe", "directoryapitestslistfilesanddirectoriesargs239353eb66b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandles0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandles0.json index 36b62b08fa51f..1a8defe0b30a1 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandles0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandles0.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslisthandles0032403dd4d05b12f04?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslisthandles030980d82bbdf87fdd4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7d970f82-7ea1-4de3-8ec4-2219f194a7bc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f4a42c63-a0fb-4f2b-96b2-9688ba03cbc3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6159FD83", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:07 GMT", + "ETag" : "0x8D77911B7F553F3", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fac-701a-001b-7f88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:07 GMT", - "x-ms-client-request-id" : "7d970f82-7ea1-4de3-8ec4-2219f194a7bc" + "x-ms-request-id" : "172f87f0-101a-0047-55fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "x-ms-client-request-id" : "f4a42c63-a0fb-4f2b-96b2-9688ba03cbc3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslisthandles0032403dd4d05b12f04/directoryapitestslisthandles01094872c315492c4e4?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslisthandles030980d82bbdf87fdd4/directoryapitestslisthandles00810071e3bb82a4a14?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9af71e14-bb92-4ef2-9e19-e2bbaa2bdd6a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "53a5dfa5-2a6f-44ce-a3af-9fcc11caf0d0" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:07.1713238Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:07 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:50.4838207Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:50 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:07 GMT", - "ETag" : "0x8D7519F61628DD6", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "ETag" : "0x8D77911B803383F", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:07.1713238Z", + "x-ms-file-change-time" : "2019-12-04T23:28:50.4838207Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4e18-b01a-00ca-2088-83a3bb000000", - "x-ms-client-request-id" : "9af71e14-bb92-4ef2-9e19-e2bbaa2bdd6a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:07.1713238Z" + "x-ms-request-id" : "172f87f4-101a-0047-58fa-aaf960000000", + "x-ms-client-request-id" : "53a5dfa5-2a6f-44ce-a3af-9fcc11caf0d0", + "x-ms-file-last-write-time" : "2019-12-04T23:28:50.4838207Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslisthandles0032403dd4d05b12f04/directoryapitestslisthandles01094872c315492c4e4?maxresults=2&comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslisthandles030980d82bbdf87fdd4/directoryapitestslisthandles00810071e3bb82a4a14?maxresults=2&comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad8220ee-6962-4414-b842-62577d3cc655" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1bd770d5-83d3-46d9-b128-e0dcf85473d6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "beee0fae-701a-001b-8088-831ee4000000", + "x-ms-request-id" : "172f87f5-101a-0047-59fa-aaf960000000", "Body" : "2", - "Date" : "Tue, 15 Oct 2019 18:42:07 GMT", - "x-ms-client-request-id" : "ad8220ee-6962-4414-b842-62577d3cc655", + "Date" : "Wed, 04 Dec 2019 23:28:49 GMT", + "x-ms-client-request-id" : "1bd770d5-83d3-46d9-b128-e0dcf85473d6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestslisthandles0032403dd4d05b12f04", "directoryapitestslisthandles01094872c315492c4e4" ] + "variables" : [ "directoryapitestslisthandles030980d82bbdf87fdd4", "directoryapitestslisthandles00810071e3bb82a4a14" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandles1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandles1.json index df9993328afdd..3e8324d0c0a5c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandles1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandles1.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslisthandles12390030558fa5db624?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslisthandles10286024c162ad42dd4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4ed80a44-bfed-457d-9116-5ed4ce7170ae" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4ab93490-b7cf-4c9c-a02d-6b452034fd67" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6196E194", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:07 GMT", + "ETag" : "0x8D77911B83F2E37", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4e1a-b01a-00ca-2288-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:07 GMT", - "x-ms-client-request-id" : "4ed80a44-bfed-457d-9116-5ed4ce7170ae" + "x-ms-request-id" : "172f87fb-101a-0047-5efa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:50 GMT", + "x-ms-client-request-id" : "4ab93490-b7cf-4c9c-a02d-6b452034fd67" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslisthandles12390030558fa5db624/directoryapitestslisthandles189556f4f9f842b1374?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslisthandles10286024c162ad42dd4/directoryapitestslisthandles194609a703009caec64?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "199fe4a9-43f9-41ae-b9a0-b79fb0c70ea5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "60219737-f05f-4eb0-b15e-5b23d19020ae" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:07.5737121Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:07 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:50.9738228Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:50 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:07 GMT", - "ETag" : "0x8D7519F619FF421", + "Date" : "Wed, 04 Dec 2019 23:28:50 GMT", + "ETag" : "0x8D77911B84DFCF4", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:07.5737121Z", + "x-ms-file-change-time" : "2019-12-04T23:28:50.9738228Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0fb2-701a-001b-0288-831ee4000000", - "x-ms-client-request-id" : "199fe4a9-43f9-41ae-b9a0-b79fb0c70ea5", - "x-ms-file-last-write-time" : "2019-10-15T18:42:07.5737121Z" + "x-ms-request-id" : "172f87ff-101a-0047-61fa-aaf960000000", + "x-ms-client-request-id" : "60219737-f05f-4eb0-b15e-5b23d19020ae", + "x-ms-file-last-write-time" : "2019-12-04T23:28:50.9738228Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslisthandles12390030558fa5db624/directoryapitestslisthandles189556f4f9f842b1374?comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslisthandles10286024c162ad42dd4/directoryapitestslisthandles194609a703009caec64?comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6b2cbff8-d550-40c8-95fe-78c5253df431" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "554de133-f708-4d46-accc-4c7910142b7e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "c1ad4e1c-b01a-00ca-2388-83a3bb000000", + "x-ms-request-id" : "172f8802-101a-0047-64fa-aaf960000000", "Body" : "", - "Date" : "Tue, 15 Oct 2019 18:42:07 GMT", - "x-ms-client-request-id" : "6b2cbff8-d550-40c8-95fe-78c5253df431", + "Date" : "Wed, 04 Dec 2019 23:28:50 GMT", + "x-ms-client-request-id" : "554de133-f708-4d46-accc-4c7910142b7e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestslisthandles12390030558fa5db624", "directoryapitestslisthandles189556f4f9f842b1374" ] + "variables" : [ "directoryapitestslisthandles10286024c162ad42dd4", "directoryapitestslisthandles194609a703009caec64" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandlesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandlesError.json index a54d4a7fa5af7..7a206557447f1 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandlesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsListHandlesError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslisthandleserror621408a8fa5d40e7?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslisthandleserror74198fe8749e4232?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d22e755e-d057-4c24-a05e-b1d91a89b779" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b8a21b36-10a2-4ad3-89b1-c9f4c9cb9b65" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F61DD5749", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:07 GMT", + "ETag" : "0x8D77911B880A432", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0fb4-701a-001b-0488-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:07 GMT", - "x-ms-client-request-id" : "d22e755e-d057-4c24-a05e-b1d91a89b779" + "x-ms-request-id" : "172f8806-101a-0047-68fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:50 GMT", + "x-ms-client-request-id" : "b8a21b36-10a2-4ad3-89b1-c9f4c9cb9b65" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestslisthandleserror621408a8fa5d40e7/directoryapitestslisthandleserror1070998a9fef3360?comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestslisthandleserror74198fe8749e4232/directoryapitestslisthandleserror748574d27e1d3a6a?comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c8b47bc-a99f-4bf4-bc10-d1823485ee1a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7ad9538a-4a75-44e5-afce-1c62701352db" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "c1ad4e1e-b01a-00ca-2588-83a3bb000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:c1ad4e1e-b01a-00ca-2588-83a3bb000000\nTime:2019-10-15T18:42:08.0757904Z", - "Date" : "Tue, 15 Oct 2019 18:42:07 GMT", - "x-ms-client-request-id" : "1c8b47bc-a99f-4bf4-bc10-d1823485ee1a", + "x-ms-request-id" : "172f880a-101a-0047-6bfa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f880a-101a-0047-6bfa-aaf960000000\nTime:2019-12-04T23:28:51.4617798Z", + "Date" : "Wed, 04 Dec 2019 23:28:50 GMT", + "x-ms-client-request-id" : "7ad9538a-4a75-44e5-afce-1c62701352db", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestslisthandleserror621408a8fa5d40e7", "directoryapitestslisthandleserror1070998a9fef3360" ] + "variables" : [ "directoryapitestslisthandleserror74198fe8749e4232", "directoryapitestslisthandleserror748574d27e1d3a6a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetMetadata.json index 196124613a690..004bd786c4880 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetMetadata.json @@ -1,136 +1,136 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetmetadata44419673edae9694f4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetmetadata137283d4d8d53830e4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ec44374b-5cf8-45db-b8be-868554443f87" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a85c40eb-2a87-4231-bdcb-134b07c66408" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5F09B0C1", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "ETag" : "0x8D77911B43083CE", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f7f-701a-001b-5a88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "x-ms-client-request-id" : "ec44374b-5cf8-45db-b8be-868554443f87" + "x-ms-request-id" : "172f8743-101a-0047-3ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:43 GMT", + "x-ms-client-request-id" : "a85c40eb-2a87-4231-bdcb-134b07c66408" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetmetadata44419673edae9694f4/directoryapitestssetmetadata36513e797dacd86984?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetmetadata137283d4d8d53830e4/directoryapitestssetmetadata08454dfd5b04189504?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "02ed3ad1-8fa0-477b-9744-8fe6afe37361" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d475859e-73e4-4321-9bdd-171915e5896e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:03.2855745Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:44.1707818Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:44 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "ETag" : "0x8D7519F5F11A2C1", + "Date" : "Wed, 04 Dec 2019 23:28:43 GMT", + "ETag" : "0x8D77911B43FED2A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:03.2855745Z", + "x-ms-file-change-time" : "2019-12-04T23:28:44.1707818Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4deb-b01a-00ca-7788-83a3bb000000", - "x-ms-client-request-id" : "02ed3ad1-8fa0-477b-9744-8fe6afe37361", - "x-ms-file-last-write-time" : "2019-10-15T18:42:03.2855745Z" + "x-ms-request-id" : "172f8747-101a-0047-42fa-aaf960000000", + "x-ms-client-request-id" : "d475859e-73e4-4321-9bdd-171915e5896e", + "x-ms-file-last-write-time" : "2019-12-04T23:28:44.1707818Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetmetadata44419673edae9694f4/directoryapitestssetmetadata36513e797dacd86984?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetmetadata137283d4d8d53830e4/directoryapitestssetmetadata08454dfd5b04189504?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a048aa15-f10e-4587-be56-ca64b33501b3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9985e288-6f1d-4283-b608-187223882ed1" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:03.2855745Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:44.1707818Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", + "Date" : "Wed, 04 Dec 2019 23:28:43 GMT", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D7519F5F11A2C1", + "ETag" : "0x8D77911B43FED2A", "x-ms-file-attributes" : "Directory", "x-ms-meta-testmetadata" : "value", - "x-ms-file-change-time" : "2019-10-15T18:42:03.2855745Z", + "x-ms-file-change-time" : "2019-12-04T23:28:44.1707818Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f81-701a-001b-5b88-831ee4000000", - "x-ms-client-request-id" : "a048aa15-f10e-4587-be56-ca64b33501b3", - "x-ms-file-last-write-time" : "2019-10-15T18:42:03.2855745Z" + "x-ms-request-id" : "172f8749-101a-0047-44fa-aaf960000000", + "x-ms-client-request-id" : "9985e288-6f1d-4283-b608-187223882ed1", + "x-ms-file-last-write-time" : "2019-12-04T23:28:44.1707818Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetmetadata44419673edae9694f4/directoryapitestssetmetadata36513e797dacd86984?restype=directory&comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetmetadata137283d4d8d53830e4/directoryapitestssetmetadata08454dfd5b04189504?restype=directory&comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ff9da1ba-75ee-4dae-8998-85a8f1906f7f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1360e3cb-af34-4ebc-935d-5cd1301471e2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5F233345", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "ETag" : "0x8D77911B45CC6CD", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "c1ad4dec-b01a-00ca-7888-83a3bb000000", + "x-ms-request-id" : "172f874c-101a-0047-47fa-aaf960000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "x-ms-client-request-id" : "ff9da1ba-75ee-4dae-8998-85a8f1906f7f" + "Date" : "Wed, 04 Dec 2019 23:28:43 GMT", + "x-ms-client-request-id" : "1360e3cb-af34-4ebc-935d-5cd1301471e2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetmetadata44419673edae9694f4/directoryapitestssetmetadata36513e797dacd86984?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetmetadata137283d4d8d53830e4/directoryapitestssetmetadata08454dfd5b04189504?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8e0da443-3197-4162-8a4e-75c92fd11441" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb42009b-651e-4f36-a12d-9f6353613041" }, "Response" : { "x-ms-meta-update" : "value", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:03.2855745Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:44.1707818Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", + "Date" : "Wed, 04 Dec 2019 23:28:43 GMT", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D7519F5F233345", + "ETag" : "0x8D77911B45CC6CD", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:03.4006853Z", + "x-ms-file-change-time" : "2019-12-04T23:28:44.3598541Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f82-701a-001b-5c88-831ee4000000", - "x-ms-client-request-id" : "8e0da443-3197-4162-8a4e-75c92fd11441", - "x-ms-file-last-write-time" : "2019-10-15T18:42:03.2855745Z" + "x-ms-request-id" : "172f874e-101a-0047-49fa-aaf960000000", + "x-ms-client-request-id" : "eb42009b-651e-4f36-a12d-9f6353613041", + "x-ms-file-last-write-time" : "2019-12-04T23:28:44.1707818Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestssetmetadata44419673edae9694f4", "directoryapitestssetmetadata36513e797dacd86984" ] + "variables" : [ "directoryapitestssetmetadata137283d4d8d53830e4", "directoryapitestssetmetadata08454dfd5b04189504" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetMetadataError.json index 28483909e767b..67f6c1bf66ded 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetMetadataError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetmetadataerror39195cb0aca7f737?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetmetadataerror736409feb2e6a76f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e049492d-dba5-46ee-bb81-26d8c21ea696" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "740c8c8b-ecab-4084-b76a-020dca80631b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5F4114E8", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "ETag" : "0x8D77911B48F6C6B", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4dee-b01a-00ca-7a88-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "x-ms-client-request-id" : "e049492d-dba5-46ee-bb81-26d8c21ea696" + "x-ms-request-id" : "172f8754-101a-0047-4efa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:44 GMT", + "x-ms-client-request-id" : "740c8c8b-ecab-4084-b76a-020dca80631b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetmetadataerror39195cb0aca7f737/directoryapitestssetmetadataerror10258f956a227620?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetmetadataerror736409feb2e6a76f/directoryapitestssetmetadataerror8390957205b13ad4?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "36435566-d3bd-47c0-8b41-1eb9732f3df9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c73c7626-5551-4ef0-93c8-059cd4772748" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:03.6479246Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:44.8008333Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:44 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "ETag" : "0x8D7519F5F48ED0E", + "Date" : "Wed, 04 Dec 2019 23:28:44 GMT", + "ETag" : "0x8D77911B4A0108D", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:03.6479246Z", + "x-ms-file-change-time" : "2019-12-04T23:28:44.8008333Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f84-701a-001b-5e88-831ee4000000", - "x-ms-client-request-id" : "36435566-d3bd-47c0-8b41-1eb9732f3df9", - "x-ms-file-last-write-time" : "2019-10-15T18:42:03.6479246Z" + "x-ms-request-id" : "172f8757-101a-0047-50fa-aaf960000000", + "x-ms-client-request-id" : "c73c7626-5551-4ef0-93c8-059cd4772748", + "x-ms-file-last-write-time" : "2019-12-04T23:28:44.8008333Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetmetadataerror39195cb0aca7f737/directoryapitestssetmetadataerror10258f956a227620?restype=directory&comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetmetadataerror736409feb2e6a76f/directoryapitestssetmetadataerror8390957205b13ad4?restype=directory&comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "351a1e5e-ecfd-4e0f-80ef-74a5f7a4970d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8f9bce01-17cb-48dc-99a4-3bd86ef0a390" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "c1ad4df0-b01a-00ca-7b88-83a3bb000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:c1ad4df0-b01a-00ca-7b88-83a3bb000000\nTime:2019-10-15T18:42:03.6996146Zvalue", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "x-ms-client-request-id" : "351a1e5e-ecfd-4e0f-80ef-74a5f7a4970d", + "x-ms-request-id" : "172f875a-101a-0047-53fa-aaf960000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:172f875a-101a-0047-53fa-aaf960000000\nTime:2019-12-04T23:28:44.8877796Zvalue", + "Date" : "Wed, 04 Dec 2019 23:28:44 GMT", + "x-ms-client-request-id" : "8f9bce01-17cb-48dc-99a4-3bd86ef0a390", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryapitestssetmetadataerror39195cb0aca7f737", "directoryapitestssetmetadataerror10258f956a227620" ] + "variables" : [ "directoryapitestssetmetadataerror736409feb2e6a76f", "directoryapitestssetmetadataerror8390957205b13ad4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesError0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesError0.json index 6ae074b61191e..5c13043b517b1 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesError0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesError0.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertieserror05799112836b91f?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertieserror083043b03099b83?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d9255f9b-3244-440e-99ae-3e32de18d763" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ab16e93-a81d-42fc-bf87-0eec090cdce4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5ECF0A70", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "ETag" : "0x8D77911B3C517EF", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f79-701a-001b-5688-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "x-ms-client-request-id" : "d9255f9b-3244-440e-99ae-3e32de18d763" + "x-ms-request-id" : "172f8732-101a-0047-30fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:42 GMT", + "x-ms-client-request-id" : "3ab16e93-a81d-42fc-bf87-0eec090cdce4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertieserror05799112836b91f/directoryapitestssetpropertieserror03804345c123e63?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertieserror083043b03099b83/directoryapitestssetpropertieserror034057b99b55a20?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "56ef1a03-b810-4b87-9626-45c85b6a88b3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5fb25a1-78e2-4d41-af7f-312089115ed7" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:02.9232244Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:43.4617780Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:43 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "ETag" : "0x8D7519F5EDA5874", + "Date" : "Wed, 04 Dec 2019 23:28:42 GMT", + "ETag" : "0x8D77911B3D3BDB4", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:02.9232244Z", + "x-ms-file-change-time" : "2019-12-04T23:28:43.4617780Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4de7-b01a-00ca-7388-83a3bb000000", - "x-ms-client-request-id" : "56ef1a03-b810-4b87-9626-45c85b6a88b3", - "x-ms-file-last-write-time" : "2019-10-15T18:42:02.9232244Z" + "x-ms-request-id" : "172f8736-101a-0047-33fa-aaf960000000", + "x-ms-client-request-id" : "f5fb25a1-78e2-4d41-af7f-312089115ed7", + "x-ms-file-last-write-time" : "2019-12-04T23:28:43.4617780Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestssetpropertieserror05799112836b91f", "directoryapitestssetpropertieserror03804345c123e63" ] + "variables" : [ "directoryapitestssetpropertieserror083043b03099b83", "directoryapitestssetpropertieserror034057b99b55a20" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesError1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesError1.json index 41262d2938433..8b642cd3568f2 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesError1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesError1.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertieserror177984705108ffa?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertieserror1041233f235c547?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "219cd65b-efc4-43ce-9dda-b6cf7a569c61" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2852b75e-3bee-48cd-9d64-525ff16e079e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5EED2113", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "ETag" : "0x8D77911B3FA5895", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f7c-701a-001b-5888-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "x-ms-client-request-id" : "219cd65b-efc4-43ce-9dda-b6cf7a569c61" + "x-ms-request-id" : "172f873b-101a-0047-38fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:43 GMT", + "x-ms-client-request-id" : "2852b75e-3bee-48cd-9d64-525ff16e079e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertieserror177984705108ffa/directoryapitestssetpropertieserror13327889e496796?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertieserror1041233f235c547/directoryapitestssetpropertieserror124280fc1c1f98d?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "df18b003-beda-45ba-a439-89a9765e4c3f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dd42b715-ba37-437f-b5ba-b7f580b4c08e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:03.0993953Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:03 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:43.8087769Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:43 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:03 GMT", - "ETag" : "0x8D7519F5EF53A21", + "Date" : "Wed, 04 Dec 2019 23:28:43 GMT", + "ETag" : "0x8D77911B408B059", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:03.0993953Z", + "x-ms-file-change-time" : "2019-12-04T23:28:43.8087769Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4de9-b01a-00ca-7588-83a3bb000000", - "x-ms-client-request-id" : "df18b003-beda-45ba-a439-89a9765e4c3f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:03.0993953Z" + "x-ms-request-id" : "172f873d-101a-0047-39fa-aaf960000000", + "x-ms-client-request-id" : "dd42b715-ba37-437f-b5ba-b7f580b4c08e", + "x-ms-file-last-write-time" : "2019-12-04T23:28:43.8087769Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestssetpropertieserror177984705108ffa", "directoryapitestssetpropertieserror13327889e496796" ] + "variables" : [ "directoryapitestssetpropertieserror1041233f235c547", "directoryapitestssetpropertieserror124280fc1c1f98d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesFilePermission.json index 94cd1385c5f77..c1a8c673d76d0 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesFilePermission.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertiesfilepermission59727cbb67?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertiesfilepermission0541649f4e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "168ad0c9-577d-48d2-bd5d-9149f6714a88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6102f714-361c-478e-ae51-82e6ed0d7b8f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5E7B71C6", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "ETag" : "0x8D77911B3286290", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4ddf-b01a-00ca-6d88-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "x-ms-client-request-id" : "168ad0c9-577d-48d2-bd5d-9149f6714a88" + "x-ms-request-id" : "172f871e-101a-0047-1ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:41 GMT", + "x-ms-client-request-id" : "6102f714-361c-478e-ae51-82e6ed0d7b8f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertiesfilepermission59727cbb67/directoryapitestssetpropertiesfilepermission88443d781e?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertiesfilepermission0541649f4e/directoryapitestssetpropertiesfilepermission061398eec1?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "431b11c5-50a2-4976-9625-01938c7f98ea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "da0ba0ba-accd-46fd-ad00-057925128f3a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:02.3566782Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:42.4327572Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:42 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "ETag" : "0x8D7519F5E83E5BE", + "Date" : "Wed, 04 Dec 2019 23:28:41 GMT", + "ETag" : "0x8D77911B336B994", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:02.3566782Z", + "x-ms-file-change-time" : "2019-12-04T23:28:42.4327572Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f72-701a-001b-5188-831ee4000000", - "x-ms-client-request-id" : "431b11c5-50a2-4976-9625-01938c7f98ea", - "x-ms-file-last-write-time" : "2019-10-15T18:42:02.3566782Z" + "x-ms-request-id" : "172f8720-101a-0047-20fa-aaf960000000", + "x-ms-client-request-id" : "da0ba0ba-accd-46fd-ad00-057925128f3a", + "x-ms-file-last-write-time" : "2019-12-04T23:28:42.4327572Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertiesfilepermission59727cbb67/directoryapitestssetpropertiesfilepermission88443d781e?restype=directory&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertiesfilepermission0541649f4e/directoryapitestssetpropertiesfilepermission061398eec1?restype=directory&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "002d3da5-ec25-48f6-b52c-24cf0f76f00e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a609020b-38b9-42a6-95b2-bc33f6fec297" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:02.3566782Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:42.4327572Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:42 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "ETag" : "0x8D7519F5E8D0FC2", + "Date" : "Wed, 04 Dec 2019 23:28:42 GMT", + "ETag" : "0x8D77911B349CE49", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:02.4167362Z", + "x-ms-file-change-time" : "2019-12-04T23:28:42.5578057Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4de1-b01a-00ca-6e88-83a3bb000000", - "x-ms-client-request-id" : "002d3da5-ec25-48f6-b52c-24cf0f76f00e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:02.3566782Z" + "x-ms-request-id" : "172f8722-101a-0047-22fa-aaf960000000", + "x-ms-client-request-id" : "a609020b-38b9-42a6-95b2-bc33f6fec297", + "x-ms-file-last-write-time" : "2019-12-04T23:28:42.4327572Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestssetpropertiesfilepermission59727cbb67", "directoryapitestssetpropertiesfilepermission88443d781e" ] + "variables" : [ "directoryapitestssetpropertiesfilepermission0541649f4e", "directoryapitestssetpropertiesfilepermission061398eec1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesFilePermissionKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesFilePermissionKey.json index f7261f9ee11f3..b03009d4e5a68 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesFilePermissionKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAPITestsSetPropertiesFilePermissionKey.json @@ -1,104 +1,104 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertiesfilepermissionkey91101fc79?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertiesfilepermissionkey5487480da?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1fee82ca-3d9d-447e-ae47-a96fb8df1536" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d9f7d39f-df9c-47f3-bc19-6665fefb8149" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F5EA2BF7F", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "ETag" : "0x8D77911B3739C61", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee0f75-701a-001b-5388-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "x-ms-client-request-id" : "1fee82ca-3d9d-447e-ae47-a96fb8df1536" + "x-ms-request-id" : "172f8729-101a-0047-29fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:42 GMT", + "x-ms-client-request-id" : "d9f7d39f-df9c-47f3-bc19-6665fefb8149" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertiesfilepermissionkey91101fc79?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertiesfilepermissionkey5487480da?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0dac861-7f35-48a7-9701-20c207539cf6", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54b4cf1c-4ecf-4d10-a01d-5324efc7aaa4", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c1ad4de3-b01a-00ca-7088-83a3bb000000", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "x-ms-client-request-id" : "c0dac861-7f35-48a7-9701-20c207539cf6" + "x-ms-request-id" : "172f872c-101a-0047-2bfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:28:42 GMT", + "x-ms-client-request-id" : "54b4cf1c-4ecf-4d10-a01d-5324efc7aaa4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertiesfilepermissionkey91101fc79/directoryapitestssetpropertiesfilepermissionkey786232a19?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertiesfilepermissionkey5487480da/directoryapitestssetpropertiesfilepermissionkey95436580b?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "08e537b6-800c-4dfa-8228-17b8adfe9e12" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f46d6803-c6bb-4f1c-92f5-83893b3cbfcb" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:02.6589699Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:43.0128451Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:43 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "ETag" : "0x8D7519F5EB20603", + "Date" : "Wed, 04 Dec 2019 23:28:42 GMT", + "ETag" : "0x8D77911B38F3D43", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:02.6589699Z", + "x-ms-file-change-time" : "2019-12-04T23:28:43.0128451Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "beee0f77-701a-001b-5488-831ee4000000", - "x-ms-client-request-id" : "08e537b6-800c-4dfa-8228-17b8adfe9e12", - "x-ms-file-last-write-time" : "2019-10-15T18:42:02.6589699Z" + "x-ms-request-id" : "172f872d-101a-0047-2cfa-aaf960000000", + "x-ms-client-request-id" : "f46d6803-c6bb-4f1c-92f5-83893b3cbfcb", + "x-ms-file-last-write-time" : "2019-12-04T23:28:43.0128451Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryapitestssetpropertiesfilepermissionkey91101fc79/directoryapitestssetpropertiesfilepermissionkey786232a19?restype=directory&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryapitestssetpropertiesfilepermissionkey5487480da/directoryapitestssetpropertiesfilepermissionkey95436580b?restype=directory&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "735c00a1-bda9-4934-b378-7514cc550cb8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d5fc9170-487f-4075-99ab-8250b85f3a11" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:02.6388342Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:02 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:28:42.9262219Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:28:43 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:02 GMT", - "ETag" : "0x8D7519F5EBA6C84", + "Date" : "Wed, 04 Dec 2019 23:28:42 GMT", + "ETag" : "0x8D77911B39D4441", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:02.7140228Z", + "x-ms-file-change-time" : "2019-12-04T23:28:43.1047745Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "c1ad4de5-b01a-00ca-7188-83a3bb000000", - "x-ms-client-request-id" : "735c00a1-bda9-4934-b378-7514cc550cb8", - "x-ms-file-last-write-time" : "2019-10-15T18:42:02.6388342Z" + "x-ms-request-id" : "172f872e-101a-0047-2dfa-aaf960000000", + "x-ms-client-request-id" : "d5fc9170-487f-4075-99ab-8250b85f3a11", + "x-ms-file-last-write-time" : "2019-12-04T23:28:42.9272109Z" }, "Exception" : null } ], - "variables" : [ "directoryapitestssetpropertiesfilepermissionkey91101fc79", "directoryapitestssetpropertiesfilepermissionkey786232a19", "2019-10-15T18:42:02.638834200Z", "2019-10-15T18:42:02.638834200Z" ] + "variables" : [ "directoryapitestssetpropertiesfilepermissionkey5487480da", "directoryapitestssetpropertiesfilepermissionkey95436580b", "2019-12-04T23:28:42.926221900Z", "2019-12-04T23:28:42.927210900Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirWithFilePermKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirWithFilePermKey.json index 3430790952249..aa25604ec17e9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirWithFilePermKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirWithFilePermKey.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirwithfilepermkey9497483cc?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirwithfilepermkey08297c45d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "114a09ca-18a5-4c80-9beb-c56462ac2e3c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "19bb1c97-d925-4d60-9f52-3dbda8cb683f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F666E00D8", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:15 GMT", + "ETag" : "0x8D77911C049226B", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c6b2-701a-00fe-6988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:15 GMT", - "x-ms-client-request-id" : "114a09ca-18a5-4c80-9beb-c56462ac2e3c" + "x-ms-request-id" : "172f8964-101a-0047-1bfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:03 GMT", + "x-ms-client-request-id" : "19bb1c97-d925-4d60-9f52-3dbda8cb683f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirwithfilepermkey9497483cc?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirwithfilepermkey08297c45d?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e6e63c99-5ffb-4a09-a67f-c2cfc46eabf9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8a1acc02-9bce-474b-a710-dbf1861d65f6", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c6bf-701a-00fe-7388-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:15 GMT", - "x-ms-client-request-id" : "e6e63c99-5ffb-4a09-a67f-c2cfc46eabf9" + "x-ms-request-id" : "172f8967-101a-0047-1dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:03 GMT", + "x-ms-client-request-id" : "8a1acc02-9bce-474b-a710-dbf1861d65f6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirwithfilepermkey9497483cc/directoryasyncapitestscreatedirwithfilepermkey721052024?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirwithfilepermkey08297c45d/directoryasyncapitestscreatedirwithfilepermkey322680b09?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ed4c33bd-8ed7-43c7-b993-f713bf409e79" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "53400280-9c73-4e36-8f9d-35aa611d6b83" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:15.9674697Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:15 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:04.4523397Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:04 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:15 GMT", - "ETag" : "0x8D7519F66A0BD49", + "Date" : "Wed, 04 Dec 2019 23:29:03 GMT", + "ETag" : "0x8D77911C056A585", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:15.9674697Z", + "x-ms-file-change-time" : "2019-12-04T23:29:04.4523397Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c6d7-701a-00fe-0a88-830c13000000", - "x-ms-client-request-id" : "ed4c33bd-8ed7-43c7-b993-f713bf409e79", - "x-ms-file-last-write-time" : "2019-10-15T18:42:15.9674697Z" + "x-ms-request-id" : "172f8969-101a-0047-1efa-aaf960000000", + "x-ms-client-request-id" : "53400280-9c73-4e36-8f9d-35aa611d6b83", + "x-ms-file-last-write-time" : "2019-12-04T23:29:04.4523397Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatedirwithfilepermkey9497483cc", "directoryasyncapitestscreatedirwithfilepermkey721052024", "2019-10-15T18:42:15.967469700Z", "2019-10-15T18:42:15.967469700Z" ] + "variables" : [ "directoryasyncapitestscreatedirwithfilepermkey08297c45d", "directoryasyncapitestscreatedirwithfilepermkey322680b09", "2019-12-04T23:29:04.452339700Z", "2019-12-04T23:29:04.452339700Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectory.json index 923eb98c4cf40..82ba0b5f4c72f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectory.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirectory80860dfa787425?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirectory71378691d8df71?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "476dfdd0-d147-4042-ac00-cc689b025130" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6fa5ebc3-cbdb-4160-bdcd-3957025ba94d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F65D2FA30", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:14 GMT", + "ETag" : "0x8D77911BF6EEEA3", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c67c-701a-00fe-3988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:14 GMT", - "x-ms-client-request-id" : "476dfdd0-d147-4042-ac00-cc689b025130" + "x-ms-request-id" : "172f8940-101a-0047-7dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:01 GMT", + "x-ms-client-request-id" : "6fa5ebc3-cbdb-4160-bdcd-3957025ba94d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirectory80860dfa787425/directoryasyncapitestscreatedirectory28501799fa29ae?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirectory71378691d8df71/directoryasyncapitestscreatedirectory527028c092ca01?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "222a85fa-b220-466f-80d2-5b3a045339b9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fd740af3-1c43-46bf-a6e1-10e6c28e5605" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:14.8016865Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:14 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:03.0579106Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:03 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:14 GMT", - "ETag" : "0x8D7519F65EEDAE1", + "Date" : "Wed, 04 Dec 2019 23:29:02 GMT", + "ETag" : "0x8D77911BF81DFA2", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:14.8016865Z", + "x-ms-file-change-time" : "2019-12-04T23:29:03.0579106Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c688-701a-00fe-4388-830c13000000", - "x-ms-client-request-id" : "222a85fa-b220-466f-80d2-5b3a045339b9", - "x-ms-file-last-write-time" : "2019-10-15T18:42:14.8016865Z" + "x-ms-request-id" : "172f8942-101a-0047-7efa-aaf960000000", + "x-ms-client-request-id" : "fd740af3-1c43-46bf-a6e1-10e6c28e5605", + "x-ms-file-last-write-time" : "2019-12-04T23:29:03.0579106Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatedirectory80860dfa787425", "directoryasyncapitestscreatedirectory28501799fa29ae" ] + "variables" : [ "directoryasyncapitestscreatedirectory71378691d8df71", "directoryasyncapitestscreatedirectory527028c092ca01" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryError.json index fe7f4e7b093dc..a13c8172119cc 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirectoryerror327173f2178?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirectoryerror81839d3ef02?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "35c020bf-fbb5-4320-bc77-da47b7a011ef" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b5e44c60-97f4-4e40-b4c5-75a2d8a473e3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F660FEB1E", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:15 GMT", + "ETag" : "0x8D77911BFAA7118", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c698-701a-00fe-5288-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:14 GMT", - "x-ms-client-request-id" : "35c020bf-fbb5-4320-bc77-da47b7a011ef" + "x-ms-request-id" : "172f8949-101a-0047-04fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:02 GMT", + "x-ms-client-request-id" : "b5e44c60-97f4-4e40-b4c5-75a2d8a473e3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirectoryerror191677164a0/directoryasyncapitestscreatedirectoryerror75785a13fbe?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirectoryerror58641e540cb/directoryasyncapitestscreatedirectoryerror458581dbdb8?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "70eb56ce-fcda-4655-bc8f-02e849f151a0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c2bd068-edbd-4acd-a5d6-7a9c3a3b246b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "8639c69f-701a-00fe-5888-830c13000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:8639c69f-701a-00fe-5888-830c13000000\nTime:2019-10-15T18:42:15.0714224Z", - "Date" : "Tue, 15 Oct 2019 18:42:14 GMT", - "x-ms-client-request-id" : "70eb56ce-fcda-4655-bc8f-02e849f151a0", + "x-ms-request-id" : "172f894b-101a-0047-05fa-aaf960000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:172f894b-101a-0047-05fa-aaf960000000\nTime:2019-12-04T23:29:03.4267819Z", + "Date" : "Wed, 04 Dec 2019 23:29:02 GMT", + "x-ms-client-request-id" : "6c2bd068-edbd-4acd-a5d6-7a9c3a3b246b", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatedirectoryerror327173f2178", "directoryasyncapitestscreatedirectoryerror75785a13fbe", "directoryasyncapitestscreatedirectoryerror191677164a0" ] + "variables" : [ "directoryasyncapitestscreatedirectoryerror81839d3ef02", "directoryasyncapitestscreatedirectoryerror458581dbdb8", "directoryasyncapitestscreatedirectoryerror58641e540cb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryWithFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryWithFilePermission.json index 13dbf1de379a7..9f85d8b05c42e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryWithFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryWithFilePermission.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirectorywithfilepermission82643?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirectorywithfilepermission11392?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a0d18d42-2b66-483c-8c88-0664369fe1ab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8248c5b1-050a-4947-9750-822e587e0fc1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6650D4B2", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:15 GMT", + "ETag" : "0x8D77911C013E13D", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c6ab-701a-00fe-6388-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:14 GMT", - "x-ms-client-request-id" : "a0d18d42-2b66-483c-8c88-0664369fe1ab" + "x-ms-request-id" : "172f895d-101a-0047-15fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:03 GMT", + "x-ms-client-request-id" : "8248c5b1-050a-4947-9750-822e587e0fc1" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirectorywithfilepermission82643/directoryasyncapitestscreatedirectorywithfilepermission52022?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirectorywithfilepermission11392/directoryasyncapitestscreatedirectorywithfilepermission64658?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e378b2e-1f22-479c-8ff2-a280224a2c5d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "89b09e54-8f30-4446-8d0a-088f501a8f63" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:15.4923530Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:15 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:04.1139157Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:04 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:15 GMT", - "ETag" : "0x8D7519F66583E0A", + "Date" : "Wed, 04 Dec 2019 23:29:03 GMT", + "ETag" : "0x8D77911C02301D5", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:15.4923530Z", + "x-ms-file-change-time" : "2019-12-04T23:29:04.1139157Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c6ad-701a-00fe-6488-830c13000000", - "x-ms-client-request-id" : "4e378b2e-1f22-479c-8ff2-a280224a2c5d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:15.4923530Z" + "x-ms-request-id" : "172f8960-101a-0047-17fa-aaf960000000", + "x-ms-client-request-id" : "89b09e54-8f30-4446-8d0a-088f501a8f63", + "x-ms-file-last-write-time" : "2019-12-04T23:29:04.1139157Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatedirectorywithfilepermission82643", "directoryasyncapitestscreatedirectorywithfilepermission52022" ] + "variables" : [ "directoryasyncapitestscreatedirectorywithfilepermission11392", "directoryasyncapitestscreatedirectorywithfilepermission64658" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryWithMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryWithMetadata.json index 8f30c0f93ec01..f7e94c2fb292d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryWithMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateDirectoryWithMetadata.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirectorywithmetadata54622f0e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirectorywithmetadata8142972a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3c873062-e47d-465e-9202-46f768f0a02b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0d472bc-d97b-4da3-9776-222b84c017c2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F66307378", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:15 GMT", + "ETag" : "0x8D77911BFDF15EC", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c6a6-701a-00fe-5f88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:14 GMT", - "x-ms-client-request-id" : "3c873062-e47d-465e-9202-46f768f0a02b" + "x-ms-request-id" : "172f8954-101a-0047-0dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:02 GMT", + "x-ms-client-request-id" : "c0d472bc-d97b-4da3-9776-222b84c017c2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatedirectorywithmetadata54622f0e/directoryasyncapitestscreatedirectorywithmetadata399157ae?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatedirectorywithmetadata8142972a/directoryasyncapitestscreatedirectorywithmetadata380086ee?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "70ed13b2-47e7-4590-b348-48fb2a51f5d7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fff31774-4f25-4648-8c5e-101b489fe9b9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:15.2911581Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:15 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:03.7639577Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:03 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:14 GMT", - "ETag" : "0x8D7519F66398ADD", + "Date" : "Wed, 04 Dec 2019 23:29:02 GMT", + "ETag" : "0x8D77911BFED9B99", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:15.2911581Z", + "x-ms-file-change-time" : "2019-12-04T23:29:03.7639577Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c6a8-701a-00fe-6088-830c13000000", - "x-ms-client-request-id" : "70ed13b2-47e7-4590-b348-48fb2a51f5d7", - "x-ms-file-last-write-time" : "2019-10-15T18:42:15.2911581Z" + "x-ms-request-id" : "172f8957-101a-0047-0ffa-aaf960000000", + "x-ms-client-request-id" : "fff31774-4f25-4648-8c5e-101b489fe9b9", + "x-ms-file-last-write-time" : "2019-12-04T23:29:03.7639577Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatedirectorywithmetadata54622f0e", "directoryasyncapitestscreatedirectorywithmetadata399157ae" ] + "variables" : [ "directoryasyncapitestscreatedirectorywithmetadata8142972a", "directoryasyncapitestscreatedirectorywithmetadata380086ee" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFile.json index 8722f4dd6e88d..6db8a2a786734 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFile.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefile1850117e01596465?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefile6982285113fc6d3e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6f930190-6965-4149-a18f-eb570d594aa8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e52d15e5-3283-4037-8119-a1e1fe51b45a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6D6F43E7", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:27 GMT", + "ETag" : "0x8D77911C98B20FF", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c93f-701a-00fe-4f88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "x-ms-client-request-id" : "6f930190-6965-4149-a18f-eb570d594aa8" + "x-ms-request-id" : "172f8ad7-101a-0047-55fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:19 GMT", + "x-ms-client-request-id" : "e52d15e5-3283-4037-8119-a1e1fe51b45a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefile1850117e01596465/directoryasyncapitestscreatefile928826087187ab77?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefile6982285113fc6d3e/directoryasyncapitestscreatefile112815631a9fcb91?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cdea6323-23be-4d53-b14e-8b44a44f9eeb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42abc456-50f5-4e11-934b-3a6b5405752e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:27.4348699Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:27 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:19.9920374Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:19 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "ETag" : "0x8D7519F6D76869B", + "Date" : "Wed, 04 Dec 2019 23:29:19 GMT", + "ETag" : "0x8D77911C999D0F6", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:27.4348699Z", + "x-ms-file-change-time" : "2019-12-04T23:29:19.9920374Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c944-701a-00fe-5388-830c13000000", - "x-ms-client-request-id" : "cdea6323-23be-4d53-b14e-8b44a44f9eeb", - "x-ms-file-last-write-time" : "2019-10-15T18:42:27.4348699Z" + "x-ms-request-id" : "172f8add-101a-0047-59fa-aaf960000000", + "x-ms-client-request-id" : "42abc456-50f5-4e11-934b-3a6b5405752e", + "x-ms-file-last-write-time" : "2019-12-04T23:29:19.9920374Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefile1850117e01596465/directoryasyncapitestscreatefile928826087187ab77%2ftestCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefile6982285113fc6d3e/directoryasyncapitestscreatefile112815631a9fcb91%2ftestCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b9794e43-fdd3-4f48-9cd8-027744548c6c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47708da1-3d59-480d-b4a2-a301f9cdb924" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:27.4889216Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:27 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:20.0900374Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:20 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "ETag" : "0x8D7519F6D7EC600", + "Date" : "Wed, 04 Dec 2019 23:29:19 GMT", + "ETag" : "0x8D77911C9A8C516", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:27.4889216Z", + "x-ms-file-change-time" : "2019-12-04T23:29:20.0900374Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c948-701a-00fe-5788-830c13000000", - "x-ms-client-request-id" : "b9794e43-fdd3-4f48-9cd8-027744548c6c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:27.4889216Z" + "x-ms-request-id" : "172f8ade-101a-0047-5afa-aaf960000000", + "x-ms-client-request-id" : "47708da1-3d59-480d-b4a2-a301f9cdb924", + "x-ms-file-last-write-time" : "2019-12-04T23:29:20.0900374Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatefile1850117e01596465", "directoryasyncapitestscreatefile928826087187ab77" ] + "variables" : [ "directoryasyncapitestscreatefile6982285113fc6d3e", "directoryasyncapitestscreatefile112815631a9fcb91" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileInvalidArgs0.json index 7231f27e165a9..b34db26a82857 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileInvalidArgs0.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs0859649f4e5?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs05192223eef?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fb024306-7589-42de-a2b2-2a686ed5aff4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "069bd32c-a98c-4bef-918c-390dabaa2a44" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6D939DC0", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:27 GMT", + "ETag" : "0x8D77911C9CFA41E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c951-701a-00fe-6088-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:27 GMT", - "x-ms-client-request-id" : "fb024306-7589-42de-a2b2-2a686ed5aff4" + "x-ms-request-id" : "172f8ae4-101a-0047-60fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "069bd32c-a98c-4bef-918c-390dabaa2a44" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs0859649f4e5/directoryasyncapitestscreatefileinvalidargs00254853dc6?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs05192223eef/directoryasyncapitestscreatefileinvalidargs039770e4f0e?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bb52bfa5-cceb-450a-9152-e45791f3417d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "85e2b24a-b4e4-4cb1-bd9b-612d021a77af" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:27.6720981Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:27 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:20.4390404Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:20 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:27 GMT", - "ETag" : "0x8D7519F6D9AB955", + "Date" : "Wed, 04 Dec 2019 23:29:20 GMT", + "ETag" : "0x8D77911C9DE0604", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:27.6720981Z", + "x-ms-file-change-time" : "2019-12-04T23:29:20.4390404Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c956-701a-00fe-6488-830c13000000", - "x-ms-client-request-id" : "bb52bfa5-cceb-450a-9152-e45791f3417d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:27.6720981Z" + "x-ms-request-id" : "172f8ae7-101a-0047-62fa-aaf960000000", + "x-ms-client-request-id" : "85e2b24a-b4e4-4cb1-bd9b-612d021a77af", + "x-ms-file-last-write-time" : "2019-12-04T23:29:20.4390404Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs0859649f4e5/directoryasyncapitestscreatefileinvalidargs00254853dc6%2ftestfile:", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs05192223eef/directoryasyncapitestscreatefileinvalidargs039770e4f0e%2ftestfile:", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9ff64b94-7d3a-47a8-9676-ac42bdf0c60a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4b995c01-5ddf-43be-abbb-32179d061e1c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "8639c95a-701a-00fe-6888-830c13000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:8639c95a-701a-00fe-6888-830c13000000\nTime:2019-10-15T18:42:28.0239010Z", - "Date" : "Tue, 15 Oct 2019 18:42:27 GMT", - "x-ms-client-request-id" : "9ff64b94-7d3a-47a8-9676-ac42bdf0c60a", + "x-ms-request-id" : "172f8aea-101a-0047-65fa-aaf960000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:172f8aea-101a-0047-65fa-aaf960000000\nTime:2019-12-04T23:29:20.5257833Z", + "Date" : "Wed, 04 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "4b995c01-5ddf-43be-abbb-32179d061e1c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatefileinvalidargs0859649f4e5", "directoryasyncapitestscreatefileinvalidargs00254853dc6" ] + "variables" : [ "directoryasyncapitestscreatefileinvalidargs05192223eef", "directoryasyncapitestscreatefileinvalidargs039770e4f0e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileInvalidArgs1.json index 102b8d3294158..7b13f0b02c1b2 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileInvalidArgs1.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs14688557b02?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs162762d0e6e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c1f7d028-0f74-4219-a236-42898380357e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b1fbd42b-1106-4c08-bb9b-51cbce3e99a2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6DECD046", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "ETag" : "0x8D77911CA0F9344", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c978-701a-00fe-0588-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:27 GMT", - "x-ms-client-request-id" : "c1f7d028-0f74-4219-a236-42898380357e" + "x-ms-request-id" : "172f8af2-101a-0047-6dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "b1fbd42b-1106-4c08-bb9b-51cbce3e99a2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs14688557b02/directoryasyncapitestscreatefileinvalidargs1206387eca1?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs162762d0e6e/directoryasyncapitestscreatefileinvalidargs150098647e4?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fb59c3cd-ffb8-494d-ad08-ea6a5737f479" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d77ce31-bfa6-4937-84ab-fa9bbc02aa96" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:28.2656711Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:20.8540339Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:20 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:27 GMT", - "ETag" : "0x8D7519F6DF54BC7", + "Date" : "Wed, 04 Dec 2019 23:29:20 GMT", + "ETag" : "0x8D77911CA1D58B3", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:28.2656711Z", + "x-ms-file-change-time" : "2019-12-04T23:29:20.8540339Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c97d-701a-00fe-0988-830c13000000", - "x-ms-client-request-id" : "fb59c3cd-ffb8-494d-ad08-ea6a5737f479", - "x-ms-file-last-write-time" : "2019-10-15T18:42:28.2656711Z" + "x-ms-request-id" : "172f8af6-101a-0047-6ffa-aaf960000000", + "x-ms-client-request-id" : "3d77ce31-bfa6-4937-84ab-fa9bbc02aa96", + "x-ms-file-last-write-time" : "2019-12-04T23:29:20.8540339Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs14688557b02/directoryasyncapitestscreatefileinvalidargs1206387eca1%2ffileName", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileinvalidargs162762d0e6e/directoryasyncapitestscreatefileinvalidargs150098647e4%2ffileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "81d3e4af-e9f9-44ce-b185-d01bde6883f9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bd409e0c-4f0d-461e-938b-4a8576256b6e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "8639c984-701a-00fe-1088-830c13000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:8639c984-701a-00fe-1088-830c13000000\nTime:2019-10-15T18:42:28.3311972Z", - "Date" : "Tue, 15 Oct 2019 18:42:27 GMT", - "x-ms-client-request-id" : "81d3e4af-e9f9-44ce-b185-d01bde6883f9", + "x-ms-request-id" : "172f8af9-101a-0047-72fa-aaf960000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:172f8af9-101a-0047-72fa-aaf960000000\nTime:2019-12-04T23:29:20.9357789Z", + "Date" : "Wed, 04 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "bd409e0c-4f0d-461e-938b-4a8576256b6e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatefileinvalidargs14688557b02", "directoryasyncapitestscreatefileinvalidargs1206387eca1" ] + "variables" : [ "directoryasyncapitestscreatefileinvalidargs162762d0e6e", "directoryasyncapitestscreatefileinvalidargs150098647e4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileLease.json new file mode 100644 index 0000000000000..1c2ee8854868c --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileLease.json @@ -0,0 +1,134 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilelease4536227878b9fa?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "88909e48-8508-46f8-8f30-78aa12721bcd" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E097A296B", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:16 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b6195-301a-0040-5126-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:11:16 GMT", + "x-ms-client-request-id" : "88909e48-8508-46f8-8f30-78aa12721bcd" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilelease4536227878b9fa/directoryasyncapitestscreatefilelease41365de1f7df1f?restype=directory", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0b02ff2a-108e-48d9-b587-266349082714" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:11:17.1132359Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:17 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:11:16 GMT", + "ETag" : "0x8D7833E09C1F7C7", + "x-ms-file-attributes" : "Directory", + "x-ms-file-change-time" : "2019-12-17T22:11:17.1132359Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b61b0-301a-0040-6a26-b59503000000", + "x-ms-client-request-id" : "0b02ff2a-108e-48d9-b587-266349082714", + "x-ms-file-last-write-time" : "2019-12-17T22:11:17.1132359Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilelease4536227878b9fa/directoryasyncapitestscreatefilelease41365de1f7df1f%2ftestCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "9f168851-1cf0-4831-8833-06e5c384e999" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:11:17.3422370Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:17 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:11:16 GMT", + "ETag" : "0x8D7833E09E4E922", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:11:17.3422370Z", + "x-ms-file-parent-id" : "13835128424026341376", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b61bb-301a-0040-7526-b59503000000", + "x-ms-client-request-id" : "9f168851-1cf0-4831-8833-06e5c384e999", + "x-ms-file-last-write-time" : "2019-12-17T22:11:17.3422370Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilelease4536227878b9fa/directoryasyncapitestscreatefilelease41365de1f7df1f/testCreateFile?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d57e90ee-d039-406d-85c4-a893709f1bf8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E09E4E922", + "x-ms-lease-id" : "d4a05df2-4adc-4e68-bbc4-dbd11137e704", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:17 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b61c0-301a-0040-7926-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:11:16 GMT", + "x-ms-client-request-id" : "d57e90ee-d039-406d-85c4-a893709f1bf8" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilelease4536227878b9fa/directoryasyncapitestscreatefilelease41365de1f7df1f%2ftestCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "f8a34c43-5fa1-4822-8658-64d94d85f673" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:11:17.6622837Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:17 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:11:17 GMT", + "ETag" : "0x8D7833E0A15BEF5", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:11:17.6622837Z", + "x-ms-file-parent-id" : "13835128424026341376", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b61cd-301a-0040-0626-b59503000000", + "x-ms-client-request-id" : "f8a34c43-5fa1-4822-8658-64d94d85f673", + "x-ms-file-last-write-time" : "2019-12-17T22:11:17.6622837Z" + }, + "Exception" : null + } ], + "variables" : [ "directoryasyncapitestscreatefilelease4536227878b9fa", "directoryasyncapitestscreatefilelease41365de1f7df1f" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileLeaseFail.json new file mode 100644 index 0000000000000..504705693ce53 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileLeaseFail.json @@ -0,0 +1,127 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileleasefail870167a3bff7?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "7f977c97-3a56-40df-be76-5fabbaba82d5" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E11A2F5D1", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:30 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "f5fde70e-f01a-0002-2e26-b52c83000000", + "Date" : "Tue, 17 Dec 2019 22:11:29 GMT", + "x-ms-client-request-id" : "7f977c97-3a56-40df-be76-5fabbaba82d5" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileleasefail870167a3bff7/directoryasyncapitestscreatefileleasefail275215d848ea?restype=directory", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "091871f0-f4be-412c-a121-5422ee549484" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:11:30.6042493Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:11:29 GMT", + "ETag" : "0x8D7833E11CC887D", + "x-ms-file-attributes" : "Directory", + "x-ms-file-change-time" : "2019-12-17T22:11:30.6042493Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "f5fde716-f01a-0002-3426-b52c83000000", + "x-ms-client-request-id" : "091871f0-f4be-412c-a121-5422ee549484", + "x-ms-file-last-write-time" : "2019-12-17T22:11:30.6042493Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileleasefail870167a3bff7/directoryasyncapitestscreatefileleasefail275215d848ea%2ftestCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "db305bef-c6e3-45ba-94a0-511329bd1ecd" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:11:30.7602409Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:11:29 GMT", + "ETag" : "0x8D7833E11E455E9", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:11:30.7602409Z", + "x-ms-file-parent-id" : "13835128424026341376", + "Content-Length" : "0", + "x-ms-request-id" : "f5fde71b-f01a-0002-3926-b52c83000000", + "x-ms-client-request-id" : "db305bef-c6e3-45ba-94a0-511329bd1ecd", + "x-ms-file-last-write-time" : "2019-12-17T22:11:30.7602409Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileleasefail870167a3bff7/directoryasyncapitestscreatefileleasefail275215d848ea/testCreateFile?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "a1417ada-0f5a-459f-a9ca-1a766f9831d6" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E11E455E9", + "x-ms-lease-id" : "b7acf7c5-f0af-47de-b592-003c02d9869f", + "Last-Modified" : "Tue, 17 Dec 2019 22:11:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "f5fde71c-f01a-0002-3a26-b52c83000000", + "Date" : "Tue, 17 Dec 2019 22:11:30 GMT", + "x-ms-client-request-id" : "a1417ada-0f5a-459f-a9ca-1a766f9831d6" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefileleasefail870167a3bff7/directoryasyncapitestscreatefileleasefail275215d848ea%2ftestCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "e5e050ec-0763-4c45-b1d8-697643adadea" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "f5fde71e-f01a-0002-3c26-b52c83000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:f5fde71e-f01a-0002-3c26-b52c83000000\nTime:2019-12-17T22:11:31.0297964Z", + "Date" : "Tue, 17 Dec 2019 22:11:30 GMT", + "x-ms-client-request-id" : "e5e050ec-0763-4c45-b1d8-697643adadea", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "directoryasyncapitestscreatefileleasefail870167a3bff7", "directoryasyncapitestscreatefileleasefail275215d848ea", "6f859877-29ba-4687-835a-6b8343a8dbec" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverload.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverload.json index 0877ebc477c91..6fd11b87a9706 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverload.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverload.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverload60453307b4b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverload26458fdfba7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "45ddebe4-4b48-4a74-ad75-71f741bd586b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "05c473da-ac8c-453a-aa60-613de5e7e936" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6E1214B5", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "ETag" : "0x8D77911CA4DFBD3", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c98d-701a-00fe-1988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:27 GMT", - "x-ms-client-request-id" : "45ddebe4-4b48-4a74-ad75-71f741bd586b" + "x-ms-request-id" : "172f8b01-101a-0047-7afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:20 GMT", + "x-ms-client-request-id" : "05c473da-ac8c-453a-aa60-613de5e7e936" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverload60453307b4b/directoryasyncapitestscreatefilemaxoverload7666972a05e?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverload26458fdfba7/directoryasyncapitestscreatefilemaxoverload3225597a753?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5c555b01-c82f-4466-92ec-f8ab226007ce" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "74c005a4-093c-4955-9d68-21b5a3c23836" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:28.5069036Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:21.2690808Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:21 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "ETag" : "0x8D7519F6E1A1AEC", + "Date" : "Wed, 04 Dec 2019 23:29:21 GMT", + "ETag" : "0x8D77911CA5CAD78", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:28.5069036Z", + "x-ms-file-change-time" : "2019-12-04T23:29:21.2690808Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c997-701a-00fe-2288-830c13000000", - "x-ms-client-request-id" : "5c555b01-c82f-4466-92ec-f8ab226007ce", - "x-ms-file-last-write-time" : "2019-10-15T18:42:28.5069036Z" + "x-ms-request-id" : "172f8b04-101a-0047-7cfa-aaf960000000", + "x-ms-client-request-id" : "74c005a4-093c-4955-9d68-21b5a3c23836", + "x-ms-file-last-write-time" : "2019-12-04T23:29:21.2690808Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverload60453307b4b/directoryasyncapitestscreatefilemaxoverload7666972a05e%2ftestCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverload26458fdfba7/directoryasyncapitestscreatefilemaxoverload3225597a753%2ftestCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "11c821e5-b717-4083-b20c-de1272f1aa49" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7f1f465-a1ba-41a2-b947-0545e8642b5f" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:28.5369286Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:21.2719596Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:21 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "ETag" : "0x8D7519F6E1EAFC6", + "Date" : "Wed, 04 Dec 2019 23:29:21 GMT", + "ETag" : "0x8D77911CA5D1DEC", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:28.5369286Z", + "x-ms-file-change-time" : "2019-12-04T23:29:21.2719596Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c9a0-701a-00fe-2b88-830c13000000", - "x-ms-client-request-id" : "11c821e5-b717-4083-b20c-de1272f1aa49", - "x-ms-file-last-write-time" : "2019-10-15T18:42:28.5369286Z" + "x-ms-request-id" : "172f8b07-101a-0047-7ffa-aaf960000000", + "x-ms-client-request-id" : "c7f1f465-a1ba-41a2-b947-0545e8642b5f", + "x-ms-file-last-write-time" : "2019-12-04T23:29:21.2719596Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatefilemaxoverload60453307b4b", "directoryasyncapitestscreatefilemaxoverload7666972a05e", "2019-10-15T18:42:28.536928600Z", "2019-10-15T18:42:28.536928600Z" ] + "variables" : [ "directoryasyncapitestscreatefilemaxoverload26458fdfba7", "directoryasyncapitestscreatefilemaxoverload3225597a753", "2019-12-04T23:29:21.271959600Z", "2019-12-04T23:29:21.271959600Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs0.json index c4be946ef2352..58413809caefd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs0.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs091312?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs061828?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aca977a0-41f6-44b1-b5df-fcfbd4431a69" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3bafb45d-9eef-4d80-8760-ec790da25af0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6E355CE2", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "ETag" : "0x8D77911CA900E2C", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c9b5-701a-00fe-4088-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "x-ms-client-request-id" : "aca977a0-41f6-44b1-b5df-fcfbd4431a69" + "x-ms-request-id" : "172f8b10-101a-0047-08fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "3bafb45d-9eef-4d80-8760-ec790da25af0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs091312/directoryasyncapitestscreatefilemaxoverloadinvalidargs096806?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs061828/directoryasyncapitestscreatefilemaxoverloadinvalidargs007834?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "55c21325-405a-4a69-a532-e2661bdea15b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "48527334-c8ed-4261-8615-67436a9055b7" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:28.7391277Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:21.7020396Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:21 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "ETag" : "0x8D7519F6E3D8A2D", + "Date" : "Wed, 04 Dec 2019 23:29:21 GMT", + "ETag" : "0x8D77911CA9EBDEC", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:28.7391277Z", + "x-ms-file-change-time" : "2019-12-04T23:29:21.7020396Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c9bb-701a-00fe-4588-830c13000000", - "x-ms-client-request-id" : "55c21325-405a-4a69-a532-e2661bdea15b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:28.7391277Z" + "x-ms-request-id" : "172f8b12-101a-0047-09fa-aaf960000000", + "x-ms-client-request-id" : "48527334-c8ed-4261-8615-67436a9055b7", + "x-ms-file-last-write-time" : "2019-12-04T23:29:21.7020396Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs091312/directoryasyncapitestscreatefilemaxoverloadinvalidargs096806%2ftestfile:", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs061828/directoryasyncapitestscreatefilemaxoverloadinvalidargs007834%2ftestfile:", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2bf7a64d-ac2f-4c53-b188-2781bf6e3559" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7ae8b2aa-ca47-43a0-8b3d-08f6dc2769b4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "8639c9bc-701a-00fe-4688-830c13000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:8639c9bc-701a-00fe-4688-830c13000000\nTime:2019-10-15T18:42:28.7896398Z", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "x-ms-client-request-id" : "2bf7a64d-ac2f-4c53-b188-2781bf6e3559", + "x-ms-request-id" : "172f8b15-101a-0047-0cfa-aaf960000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:172f8b15-101a-0047-0cfa-aaf960000000\nTime:2019-12-04T23:29:21.8017890Z", + "Date" : "Wed, 04 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "7ae8b2aa-ca47-43a0-8b3d-08f6dc2769b4", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatefilemaxoverloadinvalidargs091312", "directoryasyncapitestscreatefilemaxoverloadinvalidargs096806" ] + "variables" : [ "directoryasyncapitestscreatefilemaxoverloadinvalidargs061828", "directoryasyncapitestscreatefilemaxoverloadinvalidargs007834" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs1.json index 45fd8459dc8d9..76fc93fc36f3c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs1.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs145080?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs104631?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "91360eab-bedc-4da4-aa8f-476509f167b1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "41ca7a1b-545f-4c44-b193-654133f40a62" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6E598F9B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "ETag" : "0x8D77911CAD3CDAA", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c9c0-701a-00fe-4988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "x-ms-client-request-id" : "91360eab-bedc-4da4-aa8f-476509f167b1" + "x-ms-request-id" : "172f8b1b-101a-0047-12fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "41ca7a1b-545f-4c44-b193-654133f40a62" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs145080/directoryasyncapitestscreatefilemaxoverloadinvalidargs110846?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs104631/directoryasyncapitestscreatefilemaxoverloadinvalidargs112779?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d2aff6e4-5190-490e-bc18-10de61621cc1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b30ba4af-91b9-47c3-ae55-ae89e9eeaef6" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:28.9703506Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:28 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:22.1430469Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:22 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "ETag" : "0x8D7519F6E60D252", + "Date" : "Wed, 04 Dec 2019 23:29:21 GMT", + "ETag" : "0x8D77911CAE208C5", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:28.9703506Z", + "x-ms-file-change-time" : "2019-12-04T23:29:22.1430469Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c9c7-701a-00fe-4f88-830c13000000", - "x-ms-client-request-id" : "d2aff6e4-5190-490e-bc18-10de61621cc1", - "x-ms-file-last-write-time" : "2019-10-15T18:42:28.9703506Z" + "x-ms-request-id" : "172f8b1e-101a-0047-14fa-aaf960000000", + "x-ms-client-request-id" : "b30ba4af-91b9-47c3-ae55-ae89e9eeaef6", + "x-ms-file-last-write-time" : "2019-12-04T23:29:22.1430469Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs145080/directoryasyncapitestscreatefilemaxoverloadinvalidargs110846%2ffileName", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs104631/directoryasyncapitestscreatefilemaxoverloadinvalidargs112779%2ffileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1dc05968-1757-4a59-8454-128020d67a91" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "311e98ee-84c8-44bf-a3c9-400d64b3127e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "8639c9c8-701a-00fe-5088-830c13000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:8639c9c8-701a-00fe-5088-830c13000000\nTime:2019-10-15T18:42:29.0158575Z", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "x-ms-client-request-id" : "1dc05968-1757-4a59-8454-128020d67a91", + "x-ms-request-id" : "172f8b1f-101a-0047-15fa-aaf960000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:172f8b1f-101a-0047-15fa-aaf960000000\nTime:2019-12-04T23:29:22.2277851Z", + "Date" : "Wed, 04 Dec 2019 23:29:21 GMT", + "x-ms-client-request-id" : "311e98ee-84c8-44bf-a3c9-400d64b3127e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatefilemaxoverloadinvalidargs145080", "directoryasyncapitestscreatefilemaxoverloadinvalidargs110846" ] + "variables" : [ "directoryasyncapitestscreatefilemaxoverloadinvalidargs104631", "directoryasyncapitestscreatefilemaxoverloadinvalidargs112779" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs2.json index 2d0859a332598..ccd41ad5d4fbc 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs2.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs229836?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs219008?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c2527941-4f0d-48e6-a077-4149351eb3e3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f34dd9e1-c39d-4ce0-b8ae-bccc46f376df" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6E8DCBE0", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:29 GMT", + "ETag" : "0x8D77911CB13207C", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c9ce-701a-00fe-5688-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "x-ms-client-request-id" : "c2527941-4f0d-48e6-a077-4149351eb3e3" + "x-ms-request-id" : "172f8b25-101a-0047-1afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "f34dd9e1-c39d-4ce0-b8ae-bccc46f376df" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs229836/directoryasyncapitestscreatefilemaxoverloadinvalidargs234162?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs219008/directoryasyncapitestscreatefilemaxoverloadinvalidargs238279?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e794502b-539f-491a-9386-7c0b2cab2255" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63e27464-2bf9-49e2-bb14-e3046b5ee15d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:29.3146842Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:29 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:22.5600526Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:22 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "ETag" : "0x8D7519F6E955CDA", + "Date" : "Wed, 04 Dec 2019 23:29:22 GMT", + "ETag" : "0x8D77911CB21AA0E", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:29.3146842Z", + "x-ms-file-change-time" : "2019-12-04T23:29:22.5600526Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c9d2-701a-00fe-5988-830c13000000", - "x-ms-client-request-id" : "e794502b-539f-491a-9386-7c0b2cab2255", - "x-ms-file-last-write-time" : "2019-10-15T18:42:29.3146842Z" + "x-ms-request-id" : "172f8b29-101a-0047-1dfa-aaf960000000", + "x-ms-client-request-id" : "63e27464-2bf9-49e2-bb14-e3046b5ee15d", + "x-ms-file-last-write-time" : "2019-12-04T23:29:22.5600526Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs229836/directoryasyncapitestscreatefilemaxoverloadinvalidargs234162%2ffileName", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs219008/directoryasyncapitestscreatefilemaxoverloadinvalidargs238279%2ffileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8bcc8bd5-6769-4e94-bdd4-ad349d146573" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42b0d733-d8fd-4e93-8509-cedf3e70235e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "310", "StatusCode" : "400", - "x-ms-request-id" : "8639c9d4-701a-00fe-5b88-830c13000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:8639c9d4-701a-00fe-5b88-830c13000000\nTime:2019-10-15T18:42:29.3551850Zx-ms-content-md5", - "Date" : "Tue, 15 Oct 2019 18:42:28 GMT", - "x-ms-client-request-id" : "8bcc8bd5-6769-4e94-bdd4-ad349d146573", + "x-ms-request-id" : "172f8b2c-101a-0047-20fa-aaf960000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:172f8b2c-101a-0047-20fa-aaf960000000\nTime:2019-12-04T23:29:22.6427861Zx-ms-content-md5", + "Date" : "Wed, 04 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "42b0d733-d8fd-4e93-8509-cedf3e70235e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatefilemaxoverloadinvalidargs229836", "directoryasyncapitestscreatefilemaxoverloadinvalidargs234162" ] + "variables" : [ "directoryasyncapitestscreatefilemaxoverloadinvalidargs219008", "directoryasyncapitestscreatefilemaxoverloadinvalidargs238279" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs3.json index 8add8cc8c3787..bd2644677094b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateFileMaxOverloadInvalidArgs3.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs311243?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs381155?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7f2dc327-7507-4497-b86c-8004cf4cdbe4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e601301-1a41-4776-8f97-0663899e8f54" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6EB1FEAC", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:29 GMT", + "ETag" : "0x8D77911CB522564", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c9da-701a-00fe-6188-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "x-ms-client-request-id" : "7f2dc327-7507-4497-b86c-8004cf4cdbe4" + "x-ms-request-id" : "172f8b32-101a-0047-26fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "6e601301-1a41-4776-8f97-0663899e8f54" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs311243/directoryasyncapitestscreatefilemaxoverloadinvalidargs319064?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs381155/directoryasyncapitestscreatefilemaxoverloadinvalidargs389466?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "63f257e9-d88e-497a-9f3e-7827ec47eb33" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f99d67cd-33f2-4490-a402-078ecb603063" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:29.5719313Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:29 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:22.9690541Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:22 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "ETag" : "0x8D7519F6EBC9D91", + "Date" : "Wed, 04 Dec 2019 23:29:22 GMT", + "ETag" : "0x8D77911CB6012AD", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:29.5719313Z", + "x-ms-file-change-time" : "2019-12-04T23:29:22.9690541Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c9e2-701a-00fe-6888-830c13000000", - "x-ms-client-request-id" : "63f257e9-d88e-497a-9f3e-7827ec47eb33", - "x-ms-file-last-write-time" : "2019-10-15T18:42:29.5719313Z" + "x-ms-request-id" : "172f8b37-101a-0047-2afa-aaf960000000", + "x-ms-client-request-id" : "f99d67cd-33f2-4490-a402-078ecb603063", + "x-ms-file-last-write-time" : "2019-12-04T23:29:22.9690541Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs311243/directoryasyncapitestscreatefilemaxoverloadinvalidargs319064%2ffileName", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatefilemaxoverloadinvalidargs381155/directoryasyncapitestscreatefilemaxoverloadinvalidargs389466%2ffileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "95ada4cf-70fa-4915-9d7e-3161917c4c32" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d4176393-1b14-46cd-828d-5cc750ef1936" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "8639c9e6-701a-00fe-6c88-830c13000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:8639c9e6-701a-00fe-6c88-830c13000000\nTime:2019-10-15T18:42:29.6184391Zvalue", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "x-ms-client-request-id" : "95ada4cf-70fa-4915-9d7e-3161917c4c32", + "x-ms-request-id" : "172f8b39-101a-0047-2cfa-aaf960000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:172f8b39-101a-0047-2cfa-aaf960000000\nTime:2019-12-04T23:29:23.0527840Zvalue", + "Date" : "Wed, 04 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "d4176393-1b14-46cd-828d-5cc750ef1936", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatefilemaxoverloadinvalidargs311243", "directoryasyncapitestscreatefilemaxoverloadinvalidargs319064" ] + "variables" : [ "directoryasyncapitestscreatefilemaxoverloadinvalidargs381155", "directoryasyncapitestscreatefilemaxoverloadinvalidargs389466" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectory.json index 5d371c41c1802..212c17406da66 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectory.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectory40856461c297?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectory4119490373e2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e505c2b-2c24-4fc7-afc1-30a261a8c882" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c3a0788-ae49-4dd5-8cf6-e8becbc936d7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6BB5190B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:24 GMT", + "ETag" : "0x8D77911C764E5C8", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c87e-701a-00fe-1988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:24 GMT", - "x-ms-client-request-id" : "4e505c2b-2c24-4fc7-afc1-30a261a8c882" + "x-ms-request-id" : "172f8a7e-101a-0047-14fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "2c3a0788-ae49-4dd5-8cf6-e8becbc936d7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectory40856461c297/directoryasyncapitestscreatesubdirectory264922df197b?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectory4119490373e2/directoryasyncapitestscreatesubdirectory7543101365fe?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "04c43a9c-4ce2-4ae0-8b46-245e13f120f1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f8a806c1-36f3-42a9-be6c-b4aa5b493ce3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:24.5691045Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:24 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:16.3910430Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:16 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:24 GMT", - "ETag" : "0x8D7519F6BC13EA5", + "Date" : "Wed, 04 Dec 2019 23:29:16 GMT", + "ETag" : "0x8D77911C774591E", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:24.5691045Z", + "x-ms-file-change-time" : "2019-12-04T23:29:16.3910430Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c883-701a-00fe-1d88-830c13000000", - "x-ms-client-request-id" : "04c43a9c-4ce2-4ae0-8b46-245e13f120f1", - "x-ms-file-last-write-time" : "2019-10-15T18:42:24.5691045Z" + "x-ms-request-id" : "172f8a80-101a-0047-15fa-aaf960000000", + "x-ms-client-request-id" : "f8a806c1-36f3-42a9-be6c-b4aa5b493ce3", + "x-ms-file-last-write-time" : "2019-12-04T23:29:16.3910430Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectory40856461c297/directoryasyncapitestscreatesubdirectory264922df197b%2ftestCreateSubDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectory4119490373e2/directoryasyncapitestscreatesubdirectory7543101365fe%2ftestCreateSubDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2274430a-36d9-4cb3-9142-33ef199de98d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a443503f-9603-4fa4-a0d7-269f97d00816" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:24.6171509Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:24 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:16.4870146Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:16 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:24 GMT", - "ETag" : "0x8D7519F6BC89375", + "Date" : "Wed, 04 Dec 2019 23:29:16 GMT", + "ETag" : "0x8D77911C782FE02", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:24.6171509Z", + "x-ms-file-change-time" : "2019-12-04T23:29:16.4870146Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c885-701a-00fe-1f88-830c13000000", - "x-ms-client-request-id" : "2274430a-36d9-4cb3-9142-33ef199de98d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:24.6171509Z" + "x-ms-request-id" : "172f8a81-101a-0047-16fa-aaf960000000", + "x-ms-client-request-id" : "a443503f-9603-4fa4-a0d7-269f97d00816", + "x-ms-file-last-write-time" : "2019-12-04T23:29:16.4870146Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatesubdirectory40856461c297", "directoryasyncapitestscreatesubdirectory264922df197b" ] + "variables" : [ "directoryasyncapitestscreatesubdirectory4119490373e2", "directoryasyncapitestscreatesubdirectory7543101365fe" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryFilePermKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryFilePermKey.json index b2d1370823466..5f5c6e0b63c16 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryFilePermKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryFilePermKey.json @@ -1,104 +1,104 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermkey765132c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermkey4265851?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f17623a4-da3a-4a06-8f2b-23a6c7ef5148" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "34ef67c9-9ae1-4e35-bfc1-3c32cad6532e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6CECD473", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "ETag" : "0x8D77911C8AECB0A", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c901-701a-00fe-1588-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "x-ms-client-request-id" : "f17623a4-da3a-4a06-8f2b-23a6c7ef5148" + "x-ms-request-id" : "172f8ab4-101a-0047-38fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "34ef67c9-9ae1-4e35-bfc1-3c32cad6532e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermkey765132c?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermkey4265851?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2ba0deb1-c032-4112-ad93-f97c6f8a32d1", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c03bd1f3-990a-464c-bcbf-461b541ea4be", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c906-701a-00fe-1988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "x-ms-client-request-id" : "2ba0deb1-c032-4112-ad93-f97c6f8a32d1" + "x-ms-request-id" : "172f8ab6-101a-0047-39fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "c03bd1f3-990a-464c-bcbf-461b541ea4be" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermkey765132c/directoryasyncapitestscreatesubdirectoryfilepermkey31807e9?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermkey4265851/directoryasyncapitestscreatesubdirectoryfilepermkey586992c?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "334d94b2-9803-4b1d-b969-66e20abb289a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "edbd5bd7-e464-42fd-a239-594ce092bc45" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:26.6360987Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:18.6260260Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:18 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "ETag" : "0x8D7519F6CFCA49B", + "Date" : "Wed, 04 Dec 2019 23:29:18 GMT", + "ETag" : "0x8D77911C8C96124", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:26.6360987Z", + "x-ms-file-change-time" : "2019-12-04T23:29:18.6260260Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c90a-701a-00fe-1d88-830c13000000", - "x-ms-client-request-id" : "334d94b2-9803-4b1d-b969-66e20abb289a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:26.6360987Z" + "x-ms-request-id" : "172f8ab8-101a-0047-3bfa-aaf960000000", + "x-ms-client-request-id" : "edbd5bd7-e464-42fd-a239-594ce092bc45", + "x-ms-file-last-write-time" : "2019-12-04T23:29:18.6260260Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermkey765132c/directoryasyncapitestscreatesubdirectoryfilepermkey31807e9%2ftestCreateSubDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermkey4265851/directoryasyncapitestscreatesubdirectoryfilepermkey586992c%2ftestCreateSubDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f5dc16a6-7bc8-48ac-9658-c6fb004a164d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "907e5f35-a759-45d4-a0fa-2f41f5b52e92" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:26.6223557Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:18.5382190Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:18 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "ETag" : "0x8D7519F6CFA8BC5", + "Date" : "Wed, 04 Dec 2019 23:29:18 GMT", + "ETag" : "0x8D77911C8BBFB2E", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:26.6223557Z", + "x-ms-file-change-time" : "2019-12-04T23:29:18.5382190Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c90b-701a-00fe-1e88-830c13000000", - "x-ms-client-request-id" : "f5dc16a6-7bc8-48ac-9658-c6fb004a164d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:26.6223557Z" + "x-ms-request-id" : "172f8ab9-101a-0047-3cfa-aaf960000000", + "x-ms-client-request-id" : "907e5f35-a759-45d4-a0fa-2f41f5b52e92", + "x-ms-file-last-write-time" : "2019-12-04T23:29:18.5382190Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatesubdirectoryfilepermkey765132c", "directoryasyncapitestscreatesubdirectoryfilepermkey31807e9", "2019-10-15T18:42:26.622355700Z", "2019-10-15T18:42:26.622355700Z" ] + "variables" : [ "directoryasyncapitestscreatesubdirectoryfilepermkey4265851", "directoryasyncapitestscreatesubdirectoryfilepermkey586992c", "2019-12-04T23:29:18.538219Z", "2019-12-04T23:29:18.538219Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryFilePermission.json index 9a8e33e3237ea..1216485677d65 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryFilePermission.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermission32701?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermission16031?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d1e288df-6cc3-427d-ba62-f2603bc527f9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b9db685e-697a-431f-a867-37404faf6c63" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6CCB134C", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "ETag" : "0x8D77911C86B80A2", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c8f5-701a-00fe-0a88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "x-ms-client-request-id" : "d1e288df-6cc3-427d-ba62-f2603bc527f9" + "x-ms-request-id" : "172f8aa8-101a-0047-31fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:17 GMT", + "x-ms-client-request-id" : "b9db685e-697a-431f-a867-37404faf6c63" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermission32701/directoryasyncapitestscreatesubdirectoryfilepermission75592?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermission16031/directoryasyncapitestscreatesubdirectoryfilepermission91820?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d992e4ec-d7e7-4578-9c64-86d4248b4afd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4830e515-1c39-42d0-ba43-0d718dc054b2" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:26.3578298Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:18.1070142Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:18 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "ETag" : "0x8D7519F6CD22EBA", + "Date" : "Wed, 04 Dec 2019 23:29:17 GMT", + "ETag" : "0x8D77911C87A2F3E", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:26.3578298Z", + "x-ms-file-change-time" : "2019-12-04T23:29:18.1070142Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c8fa-701a-00fe-0e88-830c13000000", - "x-ms-client-request-id" : "d992e4ec-d7e7-4578-9c64-86d4248b4afd", - "x-ms-file-last-write-time" : "2019-10-15T18:42:26.3578298Z" + "x-ms-request-id" : "172f8aaa-101a-0047-32fa-aaf960000000", + "x-ms-client-request-id" : "4830e515-1c39-42d0-ba43-0d718dc054b2", + "x-ms-file-last-write-time" : "2019-12-04T23:29:18.1070142Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermission32701/directoryasyncapitestscreatesubdirectoryfilepermission75592%2ftestCreateSubDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryfilepermission16031/directoryasyncapitestscreatesubdirectoryfilepermission91820%2ftestCreateSubDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0bdb1132-d040-483c-ac15-f4d8a8efe13f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5b3b1602-36fa-47ee-88e3-466fdb787f02" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:26.4028739Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:18.1990253Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:18 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "ETag" : "0x8D7519F6CD90E43", + "Date" : "Wed, 04 Dec 2019 23:29:18 GMT", + "ETag" : "0x8D77911C888396D", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:26.4028739Z", + "x-ms-file-change-time" : "2019-12-04T23:29:18.1990253Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c8fb-701a-00fe-0f88-830c13000000", - "x-ms-client-request-id" : "0bdb1132-d040-483c-ac15-f4d8a8efe13f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:26.4028739Z" + "x-ms-request-id" : "172f8aad-101a-0047-34fa-aaf960000000", + "x-ms-client-request-id" : "5b3b1602-36fa-47ee-88e3-466fdb787f02", + "x-ms-file-last-write-time" : "2019-12-04T23:29:18.1990253Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatesubdirectoryfilepermission32701", "directoryasyncapitestscreatesubdirectoryfilepermission75592" ] + "variables" : [ "directoryasyncapitestscreatesubdirectoryfilepermission16031", "directoryasyncapitestscreatesubdirectoryfilepermission91820" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryInvalidName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryInvalidName.json index 465de5ae5d246..95bfb713ad294 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryInvalidName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryInvalidName.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryinvalidname6327090?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryinvalidname4700296?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "994370f9-ec0b-4b56-9151-71e3f25bd784" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ad44166a-3488-4756-946c-f0ae3e9800dd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6BDF8EEB", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:24 GMT", + "ETag" : "0x8D77911C7A98FD9", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c88e-701a-00fe-2788-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:24 GMT", - "x-ms-client-request-id" : "994370f9-ec0b-4b56-9151-71e3f25bd784" + "x-ms-request-id" : "172f8a86-101a-0047-1afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "ad44166a-3488-4756-946c-f0ae3e9800dd" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryinvalidname6327090/directoryasyncapitestscreatesubdirectoryinvalidname83403e1?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryinvalidname4700296/directoryasyncapitestscreatesubdirectoryinvalidname708728b?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fd0c0a21-046c-49cc-989e-e45c767cfc88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1d3b8d35-4ae1-452d-876a-73f66729c897" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:24.8113383Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:24 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:16.8350106Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:16 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:24 GMT", - "ETag" : "0x8D7519F6BE634E7", + "Date" : "Wed, 04 Dec 2019 23:29:16 GMT", + "ETag" : "0x8D77911C7B8179A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:24.8113383Z", + "x-ms-file-change-time" : "2019-12-04T23:29:16.8350106Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c893-701a-00fe-2b88-830c13000000", - "x-ms-client-request-id" : "fd0c0a21-046c-49cc-989e-e45c767cfc88", - "x-ms-file-last-write-time" : "2019-10-15T18:42:24.8113383Z" + "x-ms-request-id" : "172f8a88-101a-0047-1bfa-aaf960000000", + "x-ms-client-request-id" : "1d3b8d35-4ae1-452d-876a-73f66729c897", + "x-ms-file-last-write-time" : "2019-12-04T23:29:16.8350106Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectoryinvalidname6327090/directoryasyncapitestscreatesubdirectoryinvalidname83403e1%2ftest%2fsubdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectoryinvalidname4700296/directoryasyncapitestscreatesubdirectoryinvalidname708728b%2ftest%2fsubdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87584185-5890-45c0-a4ed-7f264e40011a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3a5c7fb1-a63b-4a51-b85e-7b90f999f813" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ParentNotFound", "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "8639c89a-701a-00fe-3288-830c13000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:8639c89a-701a-00fe-3288-830c13000000\nTime:2019-10-15T18:42:25.5325046Z", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "x-ms-client-request-id" : "87584185-5890-45c0-a4ed-7f264e40011a", + "x-ms-request-id" : "172f8a8b-101a-0047-1efa-aaf960000000", + "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:172f8a8b-101a-0047-1efa-aaf960000000\nTime:2019-12-04T23:29:16.9267886Z", + "Date" : "Wed, 04 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "3a5c7fb1-a63b-4a51-b85e-7b90f999f813", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatesubdirectoryinvalidname6327090", "directoryasyncapitestscreatesubdirectoryinvalidname83403e1" ] + "variables" : [ "directoryasyncapitestscreatesubdirectoryinvalidname4700296", "directoryasyncapitestscreatesubdirectoryinvalidname708728b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryMetadata.json index 553de457253b9..f89b93419c010 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryMetadata.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadata77232b34?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadata408451d5?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6a334685-5a66-4b55-97f7-f02bf1583196" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "30218d77-f0e7-4471-8d5f-d6a4e8c6b75b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6C68DDFF", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:25 GMT", + "ETag" : "0x8D77911C7EAB76D", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c8c2-701a-00fe-5988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "x-ms-client-request-id" : "6a334685-5a66-4b55-97f7-f02bf1583196" + "x-ms-request-id" : "172f8a8e-101a-0047-21fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:16 GMT", + "x-ms-client-request-id" : "30218d77-f0e7-4471-8d5f-d6a4e8c6b75b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadata77232b34/directoryasyncapitestscreatesubdirectorymetadata20549a4f?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadata408451d5/directoryasyncapitestscreatesubdirectorymetadata455367b3?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c4658ac3-445a-4bd6-aeb3-b8b074dd490c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7bbec0cd-41c4-4105-a21b-aaca83c810f8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:25.7322264Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:25 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:17.2590072Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:17 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "ETag" : "0x8D7519F6C72B918", + "Date" : "Wed, 04 Dec 2019 23:29:17 GMT", + "ETag" : "0x8D77911C7F8C9F8", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:25.7322264Z", + "x-ms-file-change-time" : "2019-12-04T23:29:17.2590072Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c8c7-701a-00fe-5d88-830c13000000", - "x-ms-client-request-id" : "c4658ac3-445a-4bd6-aeb3-b8b074dd490c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:25.7322264Z" + "x-ms-request-id" : "172f8a90-101a-0047-22fa-aaf960000000", + "x-ms-client-request-id" : "7bbec0cd-41c4-4105-a21b-aaca83c810f8", + "x-ms-file-last-write-time" : "2019-12-04T23:29:17.2590072Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadata77232b34/directoryasyncapitestscreatesubdirectorymetadata20549a4f%2ftestCreateSubDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadata408451d5/directoryasyncapitestscreatesubdirectorymetadata455367b3%2ftestCreateSubDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "31ac7ba2-6930-4628-bd4a-054a7e2ae05e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "96ca2cd1-5644-49dc-a873-06b8c3779db6" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:25.7762689Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:25 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:17.3450176Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:17 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "ETag" : "0x8D7519F6C797181", + "Date" : "Wed, 04 Dec 2019 23:29:17 GMT", + "ETag" : "0x8D77911C805E9C0", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:25.7762689Z", + "x-ms-file-change-time" : "2019-12-04T23:29:17.3450176Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c8cb-701a-00fe-6188-830c13000000", - "x-ms-client-request-id" : "31ac7ba2-6930-4628-bd4a-054a7e2ae05e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:25.7762689Z" + "x-ms-request-id" : "172f8a91-101a-0047-23fa-aaf960000000", + "x-ms-client-request-id" : "96ca2cd1-5644-49dc-a873-06b8c3779db6", + "x-ms-file-last-write-time" : "2019-12-04T23:29:17.3450176Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatesubdirectorymetadata77232b34", "directoryasyncapitestscreatesubdirectorymetadata20549a4f" ] + "variables" : [ "directoryasyncapitestscreatesubdirectorymetadata408451d5", "directoryasyncapitestscreatesubdirectorymetadata455367b3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryMetadataError.json index 9a7ccf7ab72aa..34c2f4199db9f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsCreateSubDirectoryMetadataError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadataerror329946?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadataerror59303f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9a91ee03-5d99-4fa8-b5d0-ecfec0e8dad0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "140163cf-98a7-4993-8c1e-5976507988ae" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6C8EE5EE", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:25 GMT", + "ETag" : "0x8D77911C82BB841", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c8d7-701a-00fe-6d88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "x-ms-client-request-id" : "9a91ee03-5d99-4fa8-b5d0-ecfec0e8dad0" + "x-ms-request-id" : "172f8a96-101a-0047-28fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:17 GMT", + "x-ms-client-request-id" : "140163cf-98a7-4993-8c1e-5976507988ae" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadataerror329946/directoryasyncapitestscreatesubdirectorymetadataerror957944?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadataerror59303f/directoryasyncapitestscreatesubdirectorymetadataerror88613e?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ddeb011f-0594-4e10-8cee-fbd053dffcfe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7b9abad-9b9b-4771-a16a-18cf967064e0" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:26.1035849Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:17.6900452Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:17 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "ETag" : "0x8D7519F6CAB6349", + "Date" : "Wed, 04 Dec 2019 23:29:17 GMT", + "ETag" : "0x8D77911C83A8F64", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:26.1035849Z", + "x-ms-file-change-time" : "2019-12-04T23:29:17.6900452Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c8e2-701a-00fe-7788-830c13000000", - "x-ms-client-request-id" : "ddeb011f-0594-4e10-8cee-fbd053dffcfe", - "x-ms-file-last-write-time" : "2019-10-15T18:42:26.1035849Z" + "x-ms-request-id" : "172f8a99-101a-0047-2afa-aaf960000000", + "x-ms-client-request-id" : "c7b9abad-9b9b-4771-a16a-18cf967064e0", + "x-ms-file-last-write-time" : "2019-12-04T23:29:17.6900452Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadataerror329946/directoryasyncapitestscreatesubdirectorymetadataerror957944%2ftestsubdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestscreatesubdirectorymetadataerror59303f/directoryasyncapitestscreatesubdirectorymetadataerror88613e%2ftestsubdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "105ecab5-e4cf-45a2-8653-87bfdb92ed70" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7150986c-da44-42dc-989c-c4a801ff00cd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "8639c8e9-701a-00fe-7e88-830c13000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:8639c8e9-701a-00fe-7e88-830c13000000\nTime:2019-10-15T18:42:26.1841308Zvalue", - "Date" : "Tue, 15 Oct 2019 18:42:25 GMT", - "x-ms-client-request-id" : "105ecab5-e4cf-45a2-8653-87bfdb92ed70", + "x-ms-request-id" : "172f8a9c-101a-0047-2dfa-aaf960000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:172f8a9c-101a-0047-2dfa-aaf960000000\nTime:2019-12-04T23:29:17.7767855Zvalue", + "Date" : "Wed, 04 Dec 2019 23:29:17 GMT", + "x-ms-client-request-id" : "7150986c-da44-42dc-989c-c4a801ff00cd", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestscreatesubdirectorymetadataerror329946", "directoryasyncapitestscreatesubdirectorymetadataerror957944" ] + "variables" : [ "directoryasyncapitestscreatesubdirectorymetadataerror59303f", "directoryasyncapitestscreatesubdirectorymetadataerror88613e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteDirectory.json index 1d44545f899fa..05033b0701105 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteDirectory.json @@ -1,73 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletedirectory5853868741a692?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletedirectory58704037bbe1ed?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "96aef797-2b1f-4560-8d8c-9f3a1bf85d7e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84196c80-47a9-49f3-a0d5-f6c46d5b9481" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F66CA8F97", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:16 GMT", + "ETag" : "0x8D77911C089AD94", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c6e9-701a-00fe-1c88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:15 GMT", - "x-ms-client-request-id" : "96aef797-2b1f-4560-8d8c-9f3a1bf85d7e" + "x-ms-request-id" : "172f896c-101a-0047-21fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:03 GMT", + "x-ms-client-request-id" : "84196c80-47a9-49f3-a0d5-f6c46d5b9481" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletedirectory5853868741a692/directoryasyncapitestsdeletedirectory0074032cf84961?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletedirectory58704037bbe1ed/directoryasyncapitestsdeletedirectory94052b715606b7?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "68beeb26-23a1-4dda-88ab-2d9091a006a2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "39c42e88-dc54-4002-938e-af1632b3a575" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:16.3231541Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:16 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:04.9009263Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:04 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:15 GMT", - "ETag" : "0x8D7519F66D70335", + "Date" : "Wed, 04 Dec 2019 23:29:03 GMT", + "ETag" : "0x8D77911C09B186F", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:16.3231541Z", + "x-ms-file-change-time" : "2019-12-04T23:29:04.9009263Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c6f1-701a-00fe-2388-830c13000000", - "x-ms-client-request-id" : "68beeb26-23a1-4dda-88ab-2d9091a006a2", - "x-ms-file-last-write-time" : "2019-10-15T18:42:16.3231541Z" + "x-ms-request-id" : "172f896e-101a-0047-22fa-aaf960000000", + "x-ms-client-request-id" : "39c42e88-dc54-4002-938e-af1632b3a575", + "x-ms-file-last-write-time" : "2019-12-04T23:29:04.9009263Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletedirectory5853868741a692/directoryasyncapitestsdeletedirectory0074032cf84961?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletedirectory58704037bbe1ed/directoryasyncapitestsdeletedirectory94052b715606b7?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b33821b5-1270-4955-b59b-8395aea35494" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "009577ad-691c-49d5-9d91-97a5595a68bb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8639c6f5-701a-00fe-2788-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:15 GMT", - "x-ms-client-request-id" : "b33821b5-1270-4955-b59b-8395aea35494" + "x-ms-request-id" : "172f896f-101a-0047-23fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "009577ad-691c-49d5-9d91-97a5595a68bb" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsdeletedirectory5853868741a692", "directoryasyncapitestsdeletedirectory0074032cf84961" ] + "variables" : [ "directoryasyncapitestsdeletedirectory58704037bbe1ed", "directoryasyncapitestsdeletedirectory94052b715606b7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteDirectoryError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteDirectoryError.json index 40468f354c9c8..e2eccae18517c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteDirectoryError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteDirectoryError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletedirectoryerror634437ea5d7?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletedirectoryerror1425377a69f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e4ccaec2-346e-4e9b-85f7-f4d719a6b582" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bcc8573f-0424-422f-8352-d58b9f7fff05" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F66F18222", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:16 GMT", + "ETag" : "0x8D77911C0CDE2C5", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c701-701a-00fe-3388-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", - "x-ms-client-request-id" : "e4ccaec2-346e-4e9b-85f7-f4d719a6b582" + "x-ms-request-id" : "172f8972-101a-0047-26fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "bcc8573f-0424-422f-8352-d58b9f7fff05" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletedirectoryerror634437ea5d7/directoryasyncapitestsdeletedirectoryerror6530568bb56?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletedirectoryerror1425377a69f/directoryasyncapitestsdeletedirectoryerror93478521401?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cdab6cc6-16af-40f1-8a37-dd9ebdc3f8ac" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "598432cf-51d3-4911-928a-bc1946945977" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "8639c706-701a-00fe-3788-830c13000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:8639c706-701a-00fe-3788-830c13000000\nTime:2019-10-15T18:42:16.6089056Z", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", - "x-ms-client-request-id" : "cdab6cc6-16af-40f1-8a37-dd9ebdc3f8ac", + "x-ms-request-id" : "172f8974-101a-0047-27fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8974-101a-0047-27fa-aaf960000000\nTime:2019-12-04T23:29:05.3257819Z", + "Date" : "Wed, 04 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "598432cf-51d3-4911-928a-bc1946945977", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsdeletedirectoryerror634437ea5d7", "directoryasyncapitestsdeletedirectoryerror6530568bb56" ] + "variables" : [ "directoryasyncapitestsdeletedirectoryerror1425377a69f", "directoryasyncapitestsdeletedirectoryerror93478521401" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFile.json index 1d03dab501b57..8812f94ec4cfc 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFile.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletefile145968db50354bea?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefile91734a52996e5a3a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f0bddac2-271b-4e62-8759-13f672c7ac0d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "31d9e8b2-053e-4589-a6df-90ca054a8e2e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6EDA02E4", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:29 GMT", + "ETag" : "0x8D77911CB9102FB", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c9f3-701a-00fe-7888-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "x-ms-client-request-id" : "f0bddac2-271b-4e62-8759-13f672c7ac0d" + "x-ms-request-id" : "172f8b41-101a-0047-33fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:22 GMT", + "x-ms-client-request-id" : "31d9e8b2-053e-4589-a6df-90ca054a8e2e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletefile145968db50354bea/directoryasyncapitestsdeletefile527674bce331148f?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefile91734a52996e5a3a/directoryasyncapitestsdeletefile170074a5a4cce8c9?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e29f9c64-1103-4885-8a28-2a0411a809cf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "979d9fc2-2bc2-4ee8-b3a0-d1865fb80b69" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:29.8201708Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:29 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:23.3860566Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:23 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "ETag" : "0x8D7519F6EE27E6C", + "Date" : "Wed, 04 Dec 2019 23:29:23 GMT", + "ETag" : "0x8D77911CB9FB3D6", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:29.8201708Z", + "x-ms-file-change-time" : "2019-12-04T23:29:23.3860566Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c9f5-701a-00fe-7988-830c13000000", - "x-ms-client-request-id" : "e29f9c64-1103-4885-8a28-2a0411a809cf", - "x-ms-file-last-write-time" : "2019-10-15T18:42:29.8201708Z" + "x-ms-request-id" : "172f8b44-101a-0047-35fa-aaf960000000", + "x-ms-client-request-id" : "979d9fc2-2bc2-4ee8-b3a0-d1865fb80b69", + "x-ms-file-last-write-time" : "2019-12-04T23:29:23.3860566Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletefile145968db50354bea/directoryasyncapitestsdeletefile527674bce331148f%2ftestCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefile91734a52996e5a3a/directoryasyncapitestsdeletefile170074a5a4cce8c9%2ftestCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4176aac8-8f6d-4f52-864a-b9aee7270867" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "637c5539-db0b-4446-9ea7-b6f83806a3ca" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:29.8822316Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:29 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:23.4770987Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:23 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "ETag" : "0x8D7519F6EEBF6AC", + "Date" : "Wed, 04 Dec 2019 23:29:23 GMT", + "ETag" : "0x8D77911CBAD982B", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:29.8822316Z", + "x-ms-file-change-time" : "2019-12-04T23:29:23.4770987Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c9f7-701a-00fe-7b88-830c13000000", - "x-ms-client-request-id" : "4176aac8-8f6d-4f52-864a-b9aee7270867", - "x-ms-file-last-write-time" : "2019-10-15T18:42:29.8822316Z" + "x-ms-request-id" : "172f8b47-101a-0047-38fa-aaf960000000", + "x-ms-client-request-id" : "637c5539-db0b-4446-9ea7-b6f83806a3ca", + "x-ms-file-last-write-time" : "2019-12-04T23:29:23.4770987Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletefile145968db50354bea/directoryasyncapitestsdeletefile527674bce331148f%2ftestCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefile91734a52996e5a3a/directoryasyncapitestsdeletefile170074a5a4cce8c9%2ftestCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0e556c0c-51c3-4be2-b8f1-08e55b7fac04" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4928c505-32be-44b2-9612-571001e291c8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8639c9fd-701a-00fe-0188-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "x-ms-client-request-id" : "0e556c0c-51c3-4be2-b8f1-08e55b7fac04" + "x-ms-request-id" : "172f8b48-101a-0047-39fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "4928c505-32be-44b2-9612-571001e291c8" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsdeletefile145968db50354bea", "directoryasyncapitestsdeletefile527674bce331148f" ] + "variables" : [ "directoryasyncapitestsdeletefile91734a52996e5a3a", "directoryasyncapitestsdeletefile170074a5a4cce8c9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileError.json index 295300ac9cb1b..5b7b465afe96e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletefileerror4117029fa2c6db?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefileerror672376ca2644ff?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bcb94af5-ed59-400a-b6e0-2d6a5717e9d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "65667bb7-299e-4a37-b21f-eeb2438f6ef6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6F0E8D61", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:30 GMT", + "ETag" : "0x8D77911CBE25746", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca04-701a-00fe-0788-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "x-ms-client-request-id" : "bcb94af5-ed59-400a-b6e0-2d6a5717e9d8" + "x-ms-request-id" : "172f8b4e-101a-0047-3ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "65667bb7-299e-4a37-b21f-eeb2438f6ef6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletefileerror4117029fa2c6db/directoryasyncapitestsdeletefileerror78381c1b8daf5e?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefileerror672376ca2644ff/directoryasyncapitestsdeletefileerror602090f8d42325?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6bc3312a-63de-4079-9894-ce92b7d5fbf7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b4d79817-9821-4e3b-9012-a2bb1f0f8299" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:30.1745127Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:30 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:23.9190650Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:23 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "ETag" : "0x8D7519F6F188FE7", + "Date" : "Wed, 04 Dec 2019 23:29:23 GMT", + "ETag" : "0x8D77911CBF1087A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:30.1745127Z", + "x-ms-file-change-time" : "2019-12-04T23:29:23.9190650Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639ca07-701a-00fe-0988-830c13000000", - "x-ms-client-request-id" : "6bc3312a-63de-4079-9894-ce92b7d5fbf7", - "x-ms-file-last-write-time" : "2019-10-15T18:42:30.1745127Z" + "x-ms-request-id" : "172f8b51-101a-0047-41fa-aaf960000000", + "x-ms-client-request-id" : "b4d79817-9821-4e3b-9012-a2bb1f0f8299", + "x-ms-file-last-write-time" : "2019-12-04T23:29:23.9190650Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletefileerror4117029fa2c6db/directoryasyncapitestsdeletefileerror78381c1b8daf5e%2ftestfile", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefileerror672376ca2644ff/directoryasyncapitestsdeletefileerror602090f8d42325%2ftestfile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d024c44c-4942-4d3a-8a59-4620c62aa67b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "05eace5e-0389-4d9b-92ad-66358b978e5f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "8639ca0a-701a-00fe-0c88-830c13000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:8639ca0a-701a-00fe-0c88-830c13000000\nTime:2019-10-15T18:42:30.3141098Z", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "x-ms-client-request-id" : "d024c44c-4942-4d3a-8a59-4620c62aa67b", + "x-ms-request-id" : "172f8b52-101a-0047-42fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8b52-101a-0047-42fa-aaf960000000\nTime:2019-12-04T23:29:24.0117795Z", + "Date" : "Wed, 04 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "05eace5e-0389-4d9b-92ad-66358b978e5f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsdeletefileerror4117029fa2c6db", "directoryasyncapitestsdeletefileerror78381c1b8daf5e" ] + "variables" : [ "directoryasyncapitestsdeletefileerror672376ca2644ff", "directoryasyncapitestsdeletefileerror602090f8d42325" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileLease.json new file mode 100644 index 0000000000000..6c5e25313b8b1 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileLease.json @@ -0,0 +1,124 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefilelease23320143a6f51c?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "b70a0bf0-0bfd-410f-931c-54970302d872" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783404D74CAB0", + "Last-Modified" : "Tue, 17 Dec 2019 22:27:29 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "126180d9-701a-0041-0e29-b5cadf000000", + "Date" : "Tue, 17 Dec 2019 22:27:29 GMT", + "x-ms-client-request-id" : "b70a0bf0-0bfd-410f-931c-54970302d872" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefilelease23320143a6f51c/directoryasyncapitestsdeletefilelease979647c45aa960?restype=directory", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "85d97a50-ac4b-423a-8a0c-6b95df31061d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:27:30.1647957Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:27:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:27:29 GMT", + "ETag" : "0x8D783404DBDDA55", + "x-ms-file-attributes" : "Directory", + "x-ms-file-change-time" : "2019-12-17T22:27:30.1647957Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "126180e4-701a-0041-1629-b5cadf000000", + "x-ms-client-request-id" : "85d97a50-ac4b-423a-8a0c-6b95df31061d", + "x-ms-file-last-write-time" : "2019-12-17T22:27:30.1647957Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefilelease23320143a6f51c/directoryasyncapitestsdeletefilelease979647c45aa960%2ftestCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "879703b1-d795-4537-8caa-8350ee7d83ea" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:27:30.3587939Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:27:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:27:29 GMT", + "ETag" : "0x8D783404DDB7463", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:27:30.3587939Z", + "x-ms-file-parent-id" : "13835128424026341376", + "Content-Length" : "0", + "x-ms-request-id" : "126180ea-701a-0041-1b29-b5cadf000000", + "x-ms-client-request-id" : "879703b1-d795-4537-8caa-8350ee7d83ea", + "x-ms-file-last-write-time" : "2019-12-17T22:27:30.3587939Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefilelease23320143a6f51c/directoryasyncapitestsdeletefilelease979647c45aa960/testCreateFile?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0cb5d573-2568-4e0b-924f-9b7b8ab5303e" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783404DDB7463", + "x-ms-lease-id" : "7c4350fb-6c71-4461-a4d0-8e78cea245dc", + "Last-Modified" : "Tue, 17 Dec 2019 22:27:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "126180f0-701a-0041-2129-b5cadf000000", + "Date" : "Tue, 17 Dec 2019 22:27:30 GMT", + "x-ms-client-request-id" : "0cb5d573-2568-4e0b-924f-9b7b8ab5303e" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefilelease23320143a6f51c/directoryasyncapitestsdeletefilelease979647c45aa960%2ftestCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "533de98d-e1e1-499a-a4e8-4b56c9db5de5" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "126180f9-701a-0041-2a29-b5cadf000000", + "Date" : "Tue, 17 Dec 2019 22:27:30 GMT", + "x-ms-client-request-id" : "533de98d-e1e1-499a-a4e8-4b56c9db5de5" + }, + "Exception" : null + } ], + "variables" : [ "directoryasyncapitestsdeletefilelease23320143a6f51c", "directoryasyncapitestsdeletefilelease979647c45aa960" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileLeaseFail.json new file mode 100644 index 0000000000000..d8e7849298a83 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteFileLeaseFail.json @@ -0,0 +1,127 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefileleasefail404982299ffb?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "14b534d7-dc3b-4d90-9666-03545b18f541" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D78340039E4853", + "Last-Modified" : "Tue, 17 Dec 2019 22:25:25 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "044850c6-301a-0032-0928-b5924c000000", + "Date" : "Tue, 17 Dec 2019 22:25:25 GMT", + "x-ms-client-request-id" : "14b534d7-dc3b-4d90-9666-03545b18f541" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefileleasefail404982299ffb/directoryasyncapitestsdeletefileleasefail997223a7d36d?restype=directory", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "143c2e47-c29b-4bd8-b0d5-3704121576b1" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:25:26.0868071Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:25:26 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:25:25 GMT", + "ETag" : "0x8D7834003C90DE7", + "x-ms-file-attributes" : "Directory", + "x-ms-file-change-time" : "2019-12-17T22:25:26.0868071Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "044850ce-301a-0032-0f28-b5924c000000", + "x-ms-client-request-id" : "143c2e47-c29b-4bd8-b0d5-3704121576b1", + "x-ms-file-last-write-time" : "2019-12-17T22:25:26.0868071Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefileleasefail404982299ffb/directoryasyncapitestsdeletefileleasefail997223a7d36d%2ftestCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "77ef82c0-bc85-4150-9ce8-9460cd7e7472" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "11529285414812647424", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:25:26.2048008Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:25:26 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:25:25 GMT", + "ETag" : "0x8D7834003DB0F08", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:25:26.2048008Z", + "x-ms-file-parent-id" : "13835128424026341376", + "Content-Length" : "0", + "x-ms-request-id" : "044850d2-301a-0032-1328-b5924c000000", + "x-ms-client-request-id" : "77ef82c0-bc85-4150-9ce8-9460cd7e7472", + "x-ms-file-last-write-time" : "2019-12-17T22:25:26.2048008Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefileleasefail404982299ffb/directoryasyncapitestsdeletefileleasefail997223a7d36d/testCreateFile?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "4b30e305-637f-4350-8b0a-dbd24771ffce" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7834003DB0F08", + "x-ms-lease-id" : "6b5ba10a-586e-41b1-99d6-12fb798b8641", + "Last-Modified" : "Tue, 17 Dec 2019 22:25:26 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "044850d8-301a-0032-1928-b5924c000000", + "Date" : "Tue, 17 Dec 2019 22:25:25 GMT", + "x-ms-client-request-id" : "4b30e305-637f-4350-8b0a-dbd24771ffce" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "http://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletefileleasefail404982299ffb/directoryasyncapitestsdeletefileleasefail997223a7d36d%2ftestCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "1c1b9f2c-d9ac-4992-8cc4-58ae4aff42df" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "044850da-301a-0032-1b28-b5924c000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:044850da-301a-0032-1b28-b5924c000000\nTime:2019-12-17T22:25:26.4684979Z", + "Date" : "Tue, 17 Dec 2019 22:25:25 GMT", + "x-ms-client-request-id" : "1c1b9f2c-d9ac-4992-8cc4-58ae4aff42df", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "directoryasyncapitestsdeletefileleasefail404982299ffb", "directoryasyncapitestsdeletefileleasefail997223a7d36d", "3fb67176-f9eb-4fc7-bd0c-063b90778e4e" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteSubDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteSubDirectory.json index 9b416dcaadcbb..0cb47906c8e98 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteSubDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteSubDirectory.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletesubdirectory73700abeb9d7?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletesubdirectory56996c443538?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "190fa7d6-c579-41b8-bd38-d877b53adb3d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7559d4f5-623f-4345-91d0-f91620d36821" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6D194679", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "ETag" : "0x8D77911C8FD38C0", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c914-701a-00fe-2788-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "x-ms-client-request-id" : "190fa7d6-c579-41b8-bd38-d877b53adb3d" + "x-ms-request-id" : "172f8abf-101a-0047-42fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:18 GMT", + "x-ms-client-request-id" : "7559d4f5-623f-4345-91d0-f91620d36821" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletesubdirectory73700abeb9d7/directoryasyncapitestsdeletesubdirectory163842882464?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletesubdirectory56996c443538/directoryasyncapitestsdeletesubdirectory0302457911f0?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fcb69376-4679-42de-ab48-be3d78025471" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "43659c03-7065-42de-b539-e87bac208670" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:26.8843392Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:19.0560254Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:19 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "ETag" : "0x8D7519F6D228580", + "Date" : "Wed, 04 Dec 2019 23:29:18 GMT", + "ETag" : "0x8D77911C90AFDFE", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:26.8843392Z", + "x-ms-file-change-time" : "2019-12-04T23:29:19.0560254Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c919-701a-00fe-2b88-830c13000000", - "x-ms-client-request-id" : "fcb69376-4679-42de-ab48-be3d78025471", - "x-ms-file-last-write-time" : "2019-10-15T18:42:26.8843392Z" + "x-ms-request-id" : "172f8ac1-101a-0047-43fa-aaf960000000", + "x-ms-client-request-id" : "43659c03-7065-42de-b539-e87bac208670", + "x-ms-file-last-write-time" : "2019-12-04T23:29:19.0560254Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletesubdirectory73700abeb9d7/directoryasyncapitestsdeletesubdirectory163842882464%2ftestSubCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletesubdirectory56996c443538/directoryasyncapitestsdeletesubdirectory0302457911f0%2ftestSubCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "599cf73e-b412-47e6-925b-431046d1f95d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e8e96766-9fa5-4f4b-ad9d-47ea3c95d693" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:26.9333858Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:26 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:19.1430275Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:19 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "ETag" : "0x8D7519F6D2A0162", + "Date" : "Wed, 04 Dec 2019 23:29:18 GMT", + "ETag" : "0x8D77911C9184483", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:26.9333858Z", + "x-ms-file-change-time" : "2019-12-04T23:29:19.1430275Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c91f-701a-00fe-3188-830c13000000", - "x-ms-client-request-id" : "599cf73e-b412-47e6-925b-431046d1f95d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:26.9333858Z" + "x-ms-request-id" : "172f8ac3-101a-0047-45fa-aaf960000000", + "x-ms-client-request-id" : "e8e96766-9fa5-4f4b-ad9d-47ea3c95d693", + "x-ms-file-last-write-time" : "2019-12-04T23:29:19.1430275Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletesubdirectory73700abeb9d7/directoryasyncapitestsdeletesubdirectory163842882464%2ftestSubCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletesubdirectory56996c443538/directoryasyncapitestsdeletesubdirectory0302457911f0%2ftestSubCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7fd093aa-92a4-4dca-95cd-f3ef8070638f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b212a2c1-6963-4de4-ac40-232e8cfb3d90" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8639c924-701a-00fe-3688-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "x-ms-client-request-id" : "7fd093aa-92a4-4dca-95cd-f3ef8070638f" + "x-ms-request-id" : "172f8ac5-101a-0047-47fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:19 GMT", + "x-ms-client-request-id" : "b212a2c1-6963-4de4-ac40-232e8cfb3d90" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsdeletesubdirectory73700abeb9d7", "directoryasyncapitestsdeletesubdirectory163842882464" ] + "variables" : [ "directoryasyncapitestsdeletesubdirectory56996c443538", "directoryasyncapitestsdeletesubdirectory0302457911f0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteSubDirectoryError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteSubDirectoryError.json index f151600e7da35..8c7ab24aeaca3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteSubDirectoryError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsDeleteSubDirectoryError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletesubdirectoryerror373012c080?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletesubdirectoryerror797748f9b9?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f2b6e94-81a0-45aa-a348-28efa9409d65" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e25a02ea-6a21-44df-8412-887923a4aa23" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6D4C22E8", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:27 GMT", + "ETag" : "0x8D77911C949F98B", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c92c-701a-00fe-3e88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "x-ms-client-request-id" : "8f2b6e94-81a0-45aa-a348-28efa9409d65" + "x-ms-request-id" : "172f8aca-101a-0047-4cfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:19 GMT", + "x-ms-client-request-id" : "e25a02ea-6a21-44df-8412-887923a4aa23" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletesubdirectoryerror373012c080/directoryasyncapitestsdeletesubdirectoryerror710240165f?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletesubdirectoryerror797748f9b9/directoryasyncapitestsdeletesubdirectoryerror08041d3147?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2799905a-5485-49c0-a905-4008e51b806a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "913b3c14-c512-4a5a-aa91-e3f50045931c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:27.2096524Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:27 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:19.5610356Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:19 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "ETag" : "0x8D7519F6D54290C", + "Date" : "Wed, 04 Dec 2019 23:29:19 GMT", + "ETag" : "0x8D77911C9580CF4", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:27.2096524Z", + "x-ms-file-change-time" : "2019-12-04T23:29:19.5610356Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c931-701a-00fe-4288-830c13000000", - "x-ms-client-request-id" : "2799905a-5485-49c0-a905-4008e51b806a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:27.2096524Z" + "x-ms-request-id" : "172f8ace-101a-0047-4efa-aaf960000000", + "x-ms-client-request-id" : "913b3c14-c512-4a5a-aa91-e3f50045931c", + "x-ms-file-last-write-time" : "2019-12-04T23:29:19.5610356Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsdeletesubdirectoryerror373012c080/directoryasyncapitestsdeletesubdirectoryerror710240165f%2ftestsubdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsdeletesubdirectoryerror797748f9b9/directoryasyncapitestsdeletesubdirectoryerror08041d3147%2ftestsubdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "873af737-4663-4e47-b9d6-888241f1ca24" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1544cfc5-5f56-4b30-894d-76ecd1ca8fbd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "8639c936-701a-00fe-4688-830c13000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:8639c936-701a-00fe-4688-830c13000000\nTime:2019-10-15T18:42:27.2541598Z", - "Date" : "Tue, 15 Oct 2019 18:42:26 GMT", - "x-ms-client-request-id" : "873af737-4663-4e47-b9d6-888241f1ca24", + "x-ms-request-id" : "172f8ad1-101a-0047-50fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8ad1-101a-0047-50fa-aaf960000000\nTime:2019-12-04T23:29:19.6567795Z", + "Date" : "Wed, 04 Dec 2019 23:29:19 GMT", + "x-ms-client-request-id" : "1544cfc5-5f56-4b30-894d-76ecd1ca8fbd", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsdeletesubdirectoryerror373012c080", "directoryasyncapitestsdeletesubdirectoryerror710240165f" ] + "variables" : [ "directoryasyncapitestsdeletesubdirectoryerror797748f9b9", "directoryasyncapitestsdeletesubdirectoryerror08041d3147" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseAllHandlesMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseAllHandlesMin.json index 57b2eb891aef7..2f0ffc2e42377 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseAllHandlesMin.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseAllHandlesMin.json @@ -1,74 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforcecloseallhandlesmin8453057832?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforcecloseallhandlesmin66022b8f80?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fd96b62d-9714-459d-8c66-6daa2591ca93" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a3296a8c-6443-478c-ba59-9456c26c8989" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D967D1B0B0", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:28 GMT", + "ETag" : "0x8D77911C724334E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a45f59ca-e01a-005a-4cc2-8336f7000000", - "Date" : "Wed, 16 Oct 2019 01:37:27 GMT", - "x-ms-client-request-id" : "fd96b62d-9714-459d-8c66-6daa2591ca93" + "x-ms-request-id" : "172f8a74-101a-0047-0cfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "a3296a8c-6443-478c-ba59-9456c26c8989" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforcecloseallhandlesmin8453057832/directoryasyncapitestsforcecloseallhandlesmin72708fb854?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforcecloseallhandlesmin66022b8f80/directoryasyncapitestsforcecloseallhandlesmin312642ab01?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cf48aab8-10f9-4992-a21d-68982c86d228" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f1bfb68-2eac-4c1a-b138-463d6853c107" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:37:28.8219376Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:28 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:15.9570045Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:15 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:37:27 GMT", - "ETag" : "0x8D751D967D8A6F0", + "Date" : "Wed, 04 Dec 2019 23:29:15 GMT", + "ETag" : "0x8D77911C7321E7D", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-16T01:37:28.8219376Z", + "x-ms-file-change-time" : "2019-12-04T23:29:15.9570045Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "a45f59cc-e01a-005a-4dc2-8336f7000000", - "x-ms-client-request-id" : "cf48aab8-10f9-4992-a21d-68982c86d228", - "x-ms-file-last-write-time" : "2019-10-16T01:37:28.8219376Z" + "x-ms-request-id" : "172f8a77-101a-0047-0efa-aaf960000000", + "x-ms-client-request-id" : "4f1bfb68-2eac-4c1a-b138-463d6853c107", + "x-ms-file-last-write-time" : "2019-12-04T23:29:15.9570045Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforcecloseallhandlesmin8453057832/directoryasyncapitestsforcecloseallhandlesmin72708fb854?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforcecloseallhandlesmin66022b8f80/directoryasyncapitestsforcecloseallhandlesmin312642ab01?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f8f33447-6923-4af0-a89e-67694a300280" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37dd3f88-58cf-4ea7-8b71-692396b3c667" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-number-of-handles-closed" : "0", + "x-ms-number-of-handles-failed" : "0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a45f59cd-e01a-005a-4ec2-8336f7000000", - "Date" : "Wed, 16 Oct 2019 01:37:28 GMT", - "x-ms-client-request-id" : "f8f33447-6923-4af0-a89e-67694a300280" + "x-ms-request-id" : "172f8a78-101a-0047-0ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "37dd3f88-58cf-4ea7-8b71-692396b3c667" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsforcecloseallhandlesmin8453057832", "directoryasyncapitestsforcecloseallhandlesmin72708fb854" ] + "variables" : [ "directoryasyncapitestsforcecloseallhandlesmin66022b8f80", "directoryasyncapitestsforcecloseallhandlesmin312642ab01" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseHandleInvalidHandleID.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseHandleInvalidHandleID.json index 5072f67749dfa..1d77cc647705a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseHandleInvalidHandleID.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseHandleInvalidHandleID.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforceclosehandleinvalidhandleid73609e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforceclosehandleinvalidhandleid222314?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ff11330b-262a-4cfa-9db6-8ea27edc73b7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "38a680a3-ea4f-473c-bd50-b977d1e6bf9c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D967AFA9DF", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:28 GMT", + "ETag" : "0x8D77911C6E29610", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a45f59c3-e01a-005a-47c2-8336f7000000", - "Date" : "Wed, 16 Oct 2019 01:37:27 GMT", - "x-ms-client-request-id" : "ff11330b-262a-4cfa-9db6-8ea27edc73b7" + "x-ms-request-id" : "172f8a6b-101a-0047-05fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "38a680a3-ea4f-473c-bd50-b977d1e6bf9c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforceclosehandleinvalidhandleid73609e/directoryasyncapitestsforceclosehandleinvalidhandleid323200?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforceclosehandleinvalidhandleid222314/directoryasyncapitestsforceclosehandleinvalidhandleid26220f?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "03f98b1c-167f-41ec-a95b-9b0dfcd92ee4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b42a14a3-0fd8-4342-a4eb-a73d642e2935" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:37:28.6137366Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:28 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:15.5290448Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:15 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:37:27 GMT", - "ETag" : "0x8D751D967B8E216", + "Date" : "Wed, 04 Dec 2019 23:29:15 GMT", + "ETag" : "0x8D77911C6F0D150", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-16T01:37:28.6137366Z", + "x-ms-file-change-time" : "2019-12-04T23:29:15.5290448Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "a45f59c6-e01a-005a-48c2-8336f7000000", - "x-ms-client-request-id" : "03f98b1c-167f-41ec-a95b-9b0dfcd92ee4", - "x-ms-file-last-write-time" : "2019-10-16T01:37:28.6137366Z" + "x-ms-request-id" : "172f8a6e-101a-0047-07fa-aaf960000000", + "x-ms-client-request-id" : "b42a14a3-0fd8-4342-a4eb-a73d642e2935", + "x-ms-file-last-write-time" : "2019-12-04T23:29:15.5290448Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforceclosehandleinvalidhandleid73609e/directoryasyncapitestsforceclosehandleinvalidhandleid323200?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforceclosehandleinvalidhandleid222314/directoryasyncapitestsforceclosehandleinvalidhandleid26220f?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a1e9d3b5-b656-4567-98da-f60b8728ba49" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ce3cfa16-efa4-4efe-a635-b542ccd27860" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "335", "StatusCode" : "400", - "x-ms-request-id" : "a45f59c7-e01a-005a-49c2-8336f7000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:a45f59c7-e01a-005a-49c2-8336f7000000\nTime:2019-10-16T01:37:28.6583131Zx-ms-handle-idinvalidHandleId", - "Date" : "Wed, 16 Oct 2019 01:37:27 GMT", - "x-ms-client-request-id" : "a1e9d3b5-b656-4567-98da-f60b8728ba49", + "x-ms-request-id" : "172f8a6f-101a-0047-08fa-aaf960000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:172f8a6f-101a-0047-08fa-aaf960000000\nTime:2019-12-04T23:29:15.6257773Zx-ms-handle-idinvalidHandleId", + "Date" : "Wed, 04 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "ce3cfa16-efa4-4efe-a635-b542ccd27860", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsforceclosehandleinvalidhandleid73609e", "directoryasyncapitestsforceclosehandleinvalidhandleid323200" ] + "variables" : [ "directoryasyncapitestsforceclosehandleinvalidhandleid222314", "directoryasyncapitestsforceclosehandleinvalidhandleid26220f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseHandleMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseHandleMin.json index fa4e0ce83430c..f8d6e7f9c66fe 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseHandleMin.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsForceCloseHandleMin.json @@ -1,74 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforceclosehandlemin927216e8ded4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforceclosehandlemin93228ba488b9?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3f82fc18-8a93-428a-8b84-20a6451d30d4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1697c5b5-bb02-4bc0-a6c0-d21871998e8b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D9D310C1AE", - "Last-Modified" : "Wed, 16 Oct 2019 01:40:28 GMT", + "ETag" : "0x8D77911C69F99C2", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fd2a8f62-c01a-012f-0ac2-83f719000000", - "Date" : "Wed, 16 Oct 2019 01:40:28 GMT", - "x-ms-client-request-id" : "3f82fc18-8a93-428a-8b84-20a6451d30d4" + "x-ms-request-id" : "172f8a5d-101a-0047-78fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "1697c5b5-bb02-4bc0-a6c0-d21871998e8b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforceclosehandlemin927216e8ded4/directoryasyncapitestsforceclosehandlemin31252b983ed6?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforceclosehandlemin93228ba488b9/directoryasyncapitestsforceclosehandlemin18685369c172?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c4553bfe-2a3e-4aa0-b0a0-e246b6f927a2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b549d9ae-0c43-492e-844e-f53917bc1b74" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:40:29.0085072Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:40:29 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:15.0900026Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:15 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:40:28 GMT", - "ETag" : "0x8D751D9D33EF0D0", + "Date" : "Wed, 04 Dec 2019 23:29:14 GMT", + "ETag" : "0x8D77911C6ADD33A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-16T01:40:29.0085072Z", + "x-ms-file-change-time" : "2019-12-04T23:29:15.0900026Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "fd2a8f65-c01a-012f-0bc2-83f719000000", - "x-ms-client-request-id" : "c4553bfe-2a3e-4aa0-b0a0-e246b6f927a2", - "x-ms-file-last-write-time" : "2019-10-16T01:40:29.0085072Z" + "x-ms-request-id" : "172f8a61-101a-0047-7bfa-aaf960000000", + "x-ms-client-request-id" : "b549d9ae-0c43-492e-844e-f53917bc1b74", + "x-ms-file-last-write-time" : "2019-12-04T23:29:15.0900026Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsforceclosehandlemin927216e8ded4/directoryasyncapitestsforceclosehandlemin31252b983ed6?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsforceclosehandlemin93228ba488b9/directoryasyncapitestsforceclosehandlemin18685369c172?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a5920881-f3c6-45fe-b00e-6f776d7dedc3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "57166725-aad2-4945-9261-9ca1e2a2a4c6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-number-of-handles-closed" : "0", + "x-ms-number-of-handles-failed" : "0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "fd2a8f67-c01a-012f-0cc2-83f719000000", - "Date" : "Wed, 16 Oct 2019 01:40:28 GMT", - "x-ms-client-request-id" : "a5920881-f3c6-45fe-b00e-6f776d7dedc3" + "x-ms-request-id" : "172f8a64-101a-0047-7efa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:15 GMT", + "x-ms-client-request-id" : "57166725-aad2-4945-9261-9ca1e2a2a4c6" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsforceclosehandlemin927216e8ded4", "directoryasyncapitestsforceclosehandlemin31252b983ed6" ] + "variables" : [ "directoryasyncapitestsforceclosehandlemin93228ba488b9", "directoryasyncapitestsforceclosehandlemin18685369c172" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetDirectoryPath.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetDirectoryPath.json index 3507234f0bd5a..5ea9086105d7f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetDirectoryPath.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetDirectoryPath.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetdirectorypath471345c579811?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetdirectorypath63207e4eadb71?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4b148d8f-88d4-4712-bbd9-62c2915c6ab5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dd9269f2-07a8-49d0-ba0a-82f9efc662f9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6F715F39", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:30 GMT", + "ETag" : "0x8D77911CC72B07D", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca1e-701a-00fe-1e88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:30 GMT", - "x-ms-client-request-id" : "4b148d8f-88d4-4712-bbd9-62c2915c6ab5" + "x-ms-request-id" : "172f8b66-101a-0047-53fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:24 GMT", + "x-ms-client-request-id" : "dd9269f2-07a8-49d0-ba0a-82f9efc662f9" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsgetdirectorypath471345c579811", "directoryasyncapitestsgetdirectorypath850938bf9962c" ] + "variables" : [ "directoryasyncapitestsgetdirectorypath63207e4eadb71", "directoryasyncapitestsgetdirectorypath0720581189e6a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetDirectoryURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetDirectoryURL.json index 01d24f0b2ef17..60a1c7768bdb5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetDirectoryURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetDirectoryURL.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetdirectoryurl6803016ce1c51c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetdirectoryurl06647ab64df865?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "183acef5-8708-4e3b-ac7a-b621c95b481e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9221b8df-a6cf-4a69-9da6-38dcda53f8cc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6568BACF", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:13 GMT", + "ETag" : "0x8D77911BEF57933", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee1022-701a-001b-5b88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "x-ms-client-request-id" : "183acef5-8708-4e3b-ac7a-b621c95b481e" + "x-ms-request-id" : "172f892a-101a-0047-6afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:01 GMT", + "x-ms-client-request-id" : "9221b8df-a6cf-4a69-9da6-38dcda53f8cc" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsgetdirectoryurl6803016ce1c51c", "directoryasyncapitestsgetdirectoryurl44434843b585bb" ] + "variables" : [ "directoryasyncapitestsgetdirectoryurl06647ab64df865", "directoryasyncapitestsgetdirectoryurl9993794a5636f6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetFileClient.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetFileClient.json index e383492a78a2e..d7b3844d42b47 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetFileClient.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetFileClient.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetfileclient366909f3e1ee4dd?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetfileclient14942791153b860?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "45f9205c-3006-4bb5-92a2-7b2672b247bf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8c510e07-c8a8-41ba-83bc-fec1de741110" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F65BAD860", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:14 GMT", + "ETag" : "0x8D77911BF44D16E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c675-701a-00fe-3488-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:13 GMT", - "x-ms-client-request-id" : "45f9205c-3006-4bb5-92a2-7b2672b247bf" + "x-ms-request-id" : "172f8939-101a-0047-77fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:01 GMT", + "x-ms-client-request-id" : "8c510e07-c8a8-41ba-83bc-fec1de741110" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsgetfileclient366909f3e1ee4dd", "directoryasyncapitestsgetfileclient772368e5df71574" ] + "variables" : [ "directoryasyncapitestsgetfileclient14942791153b860", "directoryasyncapitestsgetfileclient45727c8784e1a35" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetProperties.json index 2d77801050b20..3587ba7e1b429 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetProperties.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetProperties.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetproperties472082fb1a58625?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetproperties2885325dc280274?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5ee7d562-67dd-443b-af6d-0e857f6d955d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1363d6f0-d7e6-4d92-91a8-5e9f6f2caa05" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F67145505", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:16 GMT", + "ETag" : "0x8D77911C1006482", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c718-701a-00fe-4988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", - "x-ms-client-request-id" : "5ee7d562-67dd-443b-af6d-0e857f6d955d" + "x-ms-request-id" : "172f8977-101a-0047-2afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:04 GMT", + "x-ms-client-request-id" : "1363d6f0-d7e6-4d92-91a8-5e9f6f2caa05" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetproperties472082fb1a58625/directoryasyncapitestsgetproperties637565bdb14e145?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetproperties2885325dc280274/directoryasyncapitestsgetproperties31459d940830582?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "14e30e2a-aa00-4bd2-a870-408b52ffcd8e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8c34fa7e-3ad1-4327-aa13-71e433b2b913" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:16.7685842Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:16 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:05.6570008Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:05 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", - "ETag" : "0x8D7519F671AFAD2", + "Date" : "Wed, 04 Dec 2019 23:29:04 GMT", + "ETag" : "0x8D77911C10E7698", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:16.7685842Z", + "x-ms-file-change-time" : "2019-12-04T23:29:05.6570008Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c71d-701a-00fe-4d88-830c13000000", - "x-ms-client-request-id" : "14e30e2a-aa00-4bd2-a870-408b52ffcd8e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:16.7685842Z" + "x-ms-request-id" : "172f8979-101a-0047-2bfa-aaf960000000", + "x-ms-client-request-id" : "8c34fa7e-3ad1-4327-aa13-71e433b2b913", + "x-ms-file-last-write-time" : "2019-12-04T23:29:05.6570008Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetproperties472082fb1a58625/directoryasyncapitestsgetproperties637565bdb14e145?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetproperties2885325dc280274/directoryasyncapitestsgetproperties31459d940830582?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6f7ef6f6-007c-4260-bf9d-09e5a88ce51e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c6ef1c40-b7ac-42fb-a213-6fef5a671e8b" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:16.7685842Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:16 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:05.6570008Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:05 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:04 GMT", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D7519F671AFAD2", + "ETag" : "0x8D77911C10E7698", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:16.7685842Z", + "x-ms-file-change-time" : "2019-12-04T23:29:05.6570008Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c724-701a-00fe-5488-830c13000000", - "x-ms-client-request-id" : "6f7ef6f6-007c-4260-bf9d-09e5a88ce51e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:16.7685842Z" + "x-ms-request-id" : "172f897b-101a-0047-2cfa-aaf960000000", + "x-ms-client-request-id" : "c6ef1c40-b7ac-42fb-a213-6fef5a671e8b", + "x-ms-file-last-write-time" : "2019-12-04T23:29:05.6570008Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsgetproperties472082fb1a58625", "directoryasyncapitestsgetproperties637565bdb14e145" ] + "variables" : [ "directoryasyncapitestsgetproperties2885325dc280274", "directoryasyncapitestsgetproperties31459d940830582" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetPropertiesError.json index 81353485dd243..a761bda1e36fd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetPropertiesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetPropertiesError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetpropertieserror1046970a39aa?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetpropertieserror81763280976c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fe10939e-fb2a-484e-a3d3-f623adced746" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab9a8083-2a57-4af8-be3b-897359d66342" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F673727D4", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:16 GMT", + "ETag" : "0x8D77911C1427665", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c72c-701a-00fe-5c88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", - "x-ms-client-request-id" : "fe10939e-fb2a-484e-a3d3-f623adced746" + "x-ms-request-id" : "172f897e-101a-0047-2ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "ab9a8083-2a57-4af8-be3b-897359d66342" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetpropertieserror1046970a39aa/directoryasyncapitestsgetpropertieserror84677ab178b9?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetpropertieserror81763280976c/directoryasyncapitestsgetpropertieserror0407500db382?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bd259768-68e5-40a4-9d1f-94ab7db06b62" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "17e97a1e-4cbb-4afd-a884-45673e2b1886" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "8639c731-701a-00fe-6088-830c13000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:8639c731-701a-00fe-6088-830c13000000\nTime:2019-10-15T18:42:17.0493299Z", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", - "x-ms-client-request-id" : "bd259768-68e5-40a4-9d1f-94ab7db06b62", + "x-ms-request-id" : "172f8980-101a-0047-30fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8980-101a-0047-30fa-aaf960000000\nTime:2019-12-04T23:29:06.1047772Z", + "Date" : "Wed, 04 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "17e97a1e-4cbb-4afd-a884-45673e2b1886", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsgetpropertieserror1046970a39aa", "directoryasyncapitestsgetpropertieserror84677ab178b9" ] + "variables" : [ "directoryasyncapitestsgetpropertieserror81763280976c", "directoryasyncapitestsgetpropertieserror0407500db382" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetShareName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetShareName.json index 9f3bc50213d7e..f80c3d8eb1397 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetShareName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetShareName.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetsharename71236805164b8c2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetsharename578380ac1b7f1b2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2149eb48-a81b-4f9d-a0d1-76d161c69fbc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "01e48108-8563-4ed7-996e-e3c3bcb40a01" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6F5DF97D", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:30 GMT", + "ETag" : "0x8D77911CC4B049F", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca17-701a-00fe-1888-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:30 GMT", - "x-ms-client-request-id" : "2149eb48-a81b-4f9d-a0d1-76d161c69fbc" + "x-ms-request-id" : "172f8b5e-101a-0047-4dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:24 GMT", + "x-ms-client-request-id" : "01e48108-8563-4ed7-996e-e3c3bcb40a01" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsgetsharename71236805164b8c2", "directoryasyncapitestsgetsharename66095527a400c9e" ] + "variables" : [ "directoryasyncapitestsgetsharename578380ac1b7f1b2", "directoryasyncapitestsgetsharename366893a2aa50b7c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetSnapshotId.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetSnapshotId.json index 098ae707548de..236e0bcc3c06b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetSnapshotId.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetSnapshotId.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetsnapshotid77007ea8f50ec85?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetsnapshotid23039d30e3c056a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ce768678-9f15-49e1-b681-27d145d59f52" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8c16dc84-60fc-4dc4-a669-28fc844baf2d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6F47D3F3", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:30 GMT", + "ETag" : "0x8D77911CC23A666", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca10-701a-00fe-1288-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:29 GMT", - "x-ms-client-request-id" : "ce768678-9f15-49e1-b681-27d145d59f52" + "x-ms-request-id" : "172f8b58-101a-0047-48fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:23 GMT", + "x-ms-client-request-id" : "8c16dc84-60fc-4dc4-a669-28fc844baf2d" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsgetsnapshotid77007ea8f50ec85", "directoryasyncapitestsgetsnapshotid535424b0c6cb995" ] + "variables" : [ "directoryasyncapitestsgetsnapshotid23039d30e3c056a", "directoryasyncapitestsgetsnapshotid411586652a9630d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetSubDirectoryClient.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetSubDirectoryClient.json index adb06f9f1020f..e3493f2eb600e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetSubDirectoryClient.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsGetSubDirectoryClient.json @@ -1,26 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestsgetsubdirectoryclient69162d96d3d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestsgetsubdirectoryclient58546beafbb?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bdbcaff2-9840-4a14-9130-72683bce1af3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc07362b-1af1-4d6f-af8c-0f651e1639eb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F658FFB6E", - "Connection" : "close", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:14 GMT", + "ETag" : "0x8D77911BF1D258B", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "beee1026-701a-001b-5e88-831ee4000000", - "Date" : "Tue, 15 Oct 2019 18:42:14 GMT", - "x-ms-client-request-id" : "bdbcaff2-9840-4a14-9130-72683bce1af3" + "x-ms-request-id" : "172f8931-101a-0047-70fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:01 GMT", + "x-ms-client-request-id" : "fc07362b-1af1-4d6f-af8c-0f651e1639eb" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestsgetsubdirectoryclient69162d96d3d", "directoryasyncapitestsgetsubdirectoryclient874715edf87" ] + "variables" : [ "directoryasyncapitestsgetsubdirectoryclient58546beafbb", "directoryasyncapitestsgetsubdirectoryclient29875d2afc9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectories0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectories0.json index c8aafb1f14a23..275169c3c8951 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectories0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectories0.json @@ -1,220 +1,220 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories078523acc6?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories028371608d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e663bbdf-c4c1-4e69-bba2-3a126211f48f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "92027b06-babd-4b62-b725-233bbf04198d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6847062F", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "ETag" : "0x8D77911C2D683EB", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c76d-701a-00fe-1688-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "x-ms-client-request-id" : "e663bbdf-c4c1-4e69-bba2-3a126211f48f" + "x-ms-request-id" : "172f89b2-101a-0047-5cfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "92027b06-babd-4b62-b725-233bbf04198d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories078523acc6/directoryasyncapitestslistfilesanddirectories0364353aea?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories028371608d/directoryasyncapitestslistfilesanddirectories0504067d7e?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6c1dfea2-f4f7-4b00-b276-1ba94659a5f2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2e0de1b9-7b80-4904-806d-e8fef00047b4" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.7935387Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:08.7389532Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:08 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "ETag" : "0x8D7519F684FF69B", + "Date" : "Wed, 04 Dec 2019 23:29:08 GMT", + "ETag" : "0x8D77911C2E4BB5C", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:18.7935387Z", + "x-ms-file-change-time" : "2019-12-04T23:29:08.7389532Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c770-701a-00fe-1888-830c13000000", - "x-ms-client-request-id" : "6c1dfea2-f4f7-4b00-b276-1ba94659a5f2", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.7935387Z" + "x-ms-request-id" : "172f89b5-101a-0047-5efa-aaf960000000", + "x-ms-client-request-id" : "2e0de1b9-7b80-4904-806d-e8fef00047b4", + "x-ms-file-last-write-time" : "2019-12-04T23:29:08.7389532Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories078523acc6/directoryasyncapitestslistfilesanddirectories0364353aea%2fa", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories028371608d/directoryasyncapitestslistfilesanddirectories0504067d7e%2fa", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4f0b69ca-c9d6-4701-b5d1-5e6c7efbd761" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c05de32a-578b-40f2-b40f-469951643306" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.8545965Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:08.8290050Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:08 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "ETag" : "0x8D7519F685947AD", + "Date" : "Wed, 04 Dec 2019 23:29:08 GMT", + "ETag" : "0x8D77911C2F27902", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:18.8545965Z", + "x-ms-file-change-time" : "2019-12-04T23:29:08.8290050Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c772-701a-00fe-1a88-830c13000000", - "x-ms-client-request-id" : "4f0b69ca-c9d6-4701-b5d1-5e6c7efbd761", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.8545965Z" + "x-ms-request-id" : "172f89b6-101a-0047-5ffa-aaf960000000", + "x-ms-client-request-id" : "c05de32a-578b-40f2-b40f-469951643306", + "x-ms-file-last-write-time" : "2019-12-04T23:29:08.8290050Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories078523acc6/directoryasyncapitestslistfilesanddirectories0364353aea%2fb", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories028371608d/directoryasyncapitestslistfilesanddirectories0504067d7e%2fb", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "201b558f-2b8c-4a2a-9f0b-97759b547ae0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "18b222d3-1d8e-45b5-ad4d-0348f2483b7c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.8986404Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:08.9139602Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:08 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "ETag" : "0x8D7519F68600024", + "Date" : "Wed, 04 Dec 2019 23:29:08 GMT", + "ETag" : "0x8D77911C2FF6F92", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:18.8986404Z", + "x-ms-file-change-time" : "2019-12-04T23:29:08.9139602Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c775-701a-00fe-1d88-830c13000000", - "x-ms-client-request-id" : "201b558f-2b8c-4a2a-9f0b-97759b547ae0", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.8986404Z" + "x-ms-request-id" : "172f89b8-101a-0047-61fa-aaf960000000", + "x-ms-client-request-id" : "18b222d3-1d8e-45b5-ad4d-0348f2483b7c", + "x-ms-file-last-write-time" : "2019-12-04T23:29:08.9139602Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories078523acc6/directoryasyncapitestslistfilesanddirectories0364353aea%2fc", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories028371608d/directoryasyncapitestslistfilesanddirectories0504067d7e%2fc", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7d047d5d-aa14-462c-9af9-93d7661a767e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5e287c7d-3d84-4a62-9a1a-ac3771609a88" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.9516904Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:09.0039524Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "ETag" : "0x8D7519F68681868", + "Date" : "Wed, 04 Dec 2019 23:29:08 GMT", + "ETag" : "0x8D77911C30D2AE4", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:18.9516904Z", + "x-ms-file-change-time" : "2019-12-04T23:29:09.0039524Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c776-701a-00fe-1e88-830c13000000", - "x-ms-client-request-id" : "7d047d5d-aa14-462c-9af9-93d7661a767e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.9516904Z" + "x-ms-request-id" : "172f89ba-101a-0047-63fa-aaf960000000", + "x-ms-client-request-id" : "5e287c7d-3d84-4a62-9a1a-ac3771609a88", + "x-ms-file-last-write-time" : "2019-12-04T23:29:09.0039524Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories078523acc6/directoryasyncapitestslistfilesanddirectories0364353aea%2fd?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories028371608d/directoryasyncapitestslistfilesanddirectories0504067d7e%2fd?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a0d3362a-d812-49f0-9309-be2a1692a860" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "da81c553-12a6-4925-86ae-2f63dc75feac" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.9947331Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:09.0949615Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "ETag" : "0x8D7519F686EA9C3", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "ETag" : "0x8D77911C31B0DEF", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:18.9947331Z", + "x-ms-file-change-time" : "2019-12-04T23:29:09.0949615Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c778-701a-00fe-2088-830c13000000", - "x-ms-client-request-id" : "a0d3362a-d812-49f0-9309-be2a1692a860", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.9947331Z" + "x-ms-request-id" : "172f89bc-101a-0047-65fa-aaf960000000", + "x-ms-client-request-id" : "da81c553-12a6-4925-86ae-2f63dc75feac", + "x-ms-file-last-write-time" : "2019-12-04T23:29:09.0949615Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories078523acc6/directoryasyncapitestslistfilesanddirectories0364353aea%2fe?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories028371608d/directoryasyncapitestslistfilesanddirectories0504067d7e%2fe?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "15e6dd4b-32d8-4d17-bd3d-4cf9d3ab5ed8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63a906dc-eafd-4820-a999-6c75227ab445" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:19.0347708Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:09.1819509Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "ETag" : "0x8D7519F6874C5BC", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "ETag" : "0x8D77911C32853F5", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:19.0347708Z", + "x-ms-file-change-time" : "2019-12-04T23:29:09.1819509Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c779-701a-00fe-2188-830c13000000", - "x-ms-client-request-id" : "15e6dd4b-32d8-4d17-bd3d-4cf9d3ab5ed8", - "x-ms-file-last-write-time" : "2019-10-15T18:42:19.0347708Z" + "x-ms-request-id" : "172f89bf-101a-0047-68fa-aaf960000000", + "x-ms-client-request-id" : "63a906dc-eafd-4820-a999-6c75227ab445", + "x-ms-file-last-write-time" : "2019-12-04T23:29:09.1819509Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories078523acc6/directoryasyncapitestslistfilesanddirectories0364353aea?restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories028371608d/directoryasyncapitestslistfilesanddirectories0504067d7e?restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "314f2e36-5eb5-4526-a6e4-4e9a11ba153e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5e0bcb85-0247-4280-81e5-643bdbd78be2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c77c-701a-00fe-2488-830c13000000", - "Body" : "a2b2c2de", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "x-ms-client-request-id" : "314f2e36-5eb5-4526-a6e4-4e9a11ba153e", + "x-ms-request-id" : "172f89c2-101a-0047-6bfa-aaf960000000", + "Body" : "a2b2c2de", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "x-ms-client-request-id" : "5e0bcb85-0247-4280-81e5-643bdbd78be2", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestslistfilesanddirectories078523acc6", "directoryasyncapitestslistfilesanddirectories0364353aea" ] + "variables" : [ "directoryasyncapitestslistfilesanddirectories028371608d", "directoryasyncapitestslistfilesanddirectories0504067d7e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectories1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectories1.json index 702b9f6cc89b3..94208818b5f09 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectories1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectories1.json @@ -1,220 +1,220 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1778486bcf?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1893478e8b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2c387bdd-da39-4020-9f94-f5475e02a97a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf110aff-6de6-4e6e-a506-c16b13000498" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6895FD0E", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "ETag" : "0x8D77911C35C2E99", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c780-701a-00fe-2888-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "x-ms-client-request-id" : "2c387bdd-da39-4020-9f94-f5475e02a97a" + "x-ms-request-id" : "172f89c7-101a-0047-70fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "x-ms-client-request-id" : "cf110aff-6de6-4e6e-a506-c16b13000498" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1778486bcf/directoryasyncapitestslistfilesanddirectories193095808c?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1893478e8b/directoryasyncapitestslistfilesanddirectories16301405c4?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c870222-db03-4522-8f4f-740bcac708a6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dee0cdda-81c0-49bc-85ce-9ffac11db16a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:19.4351576Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:09.6139593Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "ETag" : "0x8D7519F68B1DDD8", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "ETag" : "0x8D77911C36A3F49", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:19.4351576Z", + "x-ms-file-change-time" : "2019-12-04T23:29:09.6139593Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c782-701a-00fe-2988-830c13000000", - "x-ms-client-request-id" : "1c870222-db03-4522-8f4f-740bcac708a6", - "x-ms-file-last-write-time" : "2019-10-15T18:42:19.4351576Z" + "x-ms-request-id" : "172f89cb-101a-0047-72fa-aaf960000000", + "x-ms-client-request-id" : "dee0cdda-81c0-49bc-85ce-9ffac11db16a", + "x-ms-file-last-write-time" : "2019-12-04T23:29:09.6139593Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1778486bcf/directoryasyncapitestslistfilesanddirectories193095808c%2fa", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1893478e8b/directoryasyncapitestslistfilesanddirectories16301405c4%2fa", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c2b708b2-cfc7-4625-8c5f-97258a9bb56a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "feec978f-9a92-4ec8-aef4-48a358487680" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:19.6293440Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:09.7039614Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F68CF7F40", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "ETag" : "0x8D77911C377FAFE", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:19.6293440Z", + "x-ms-file-change-time" : "2019-12-04T23:29:09.7039614Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c788-701a-00fe-2f88-830c13000000", - "x-ms-client-request-id" : "c2b708b2-cfc7-4625-8c5f-97258a9bb56a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:19.6293440Z" + "x-ms-request-id" : "172f89cd-101a-0047-74fa-aaf960000000", + "x-ms-client-request-id" : "feec978f-9a92-4ec8-aef4-48a358487680", + "x-ms-file-last-write-time" : "2019-12-04T23:29:09.7039614Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1778486bcf/directoryasyncapitestslistfilesanddirectories193095808c%2fc", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1893478e8b/directoryasyncapitestslistfilesanddirectories16301405c4%2fc", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "54f390ed-264c-4910-a64b-31c77bed2223" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3542315a-cc66-40eb-aaff-a12ef110c156" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:19.6733870Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:09.7929656Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F68D637AE", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "ETag" : "0x8D77911C3858FB8", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:19.6733870Z", + "x-ms-file-change-time" : "2019-12-04T23:29:09.7929656Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c78a-701a-00fe-3188-830c13000000", - "x-ms-client-request-id" : "54f390ed-264c-4910-a64b-31c77bed2223", - "x-ms-file-last-write-time" : "2019-10-15T18:42:19.6733870Z" + "x-ms-request-id" : "172f89d0-101a-0047-77fa-aaf960000000", + "x-ms-client-request-id" : "3542315a-cc66-40eb-aaff-a12ef110c156", + "x-ms-file-last-write-time" : "2019-12-04T23:29:09.7929656Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1778486bcf/directoryasyncapitestslistfilesanddirectories193095808c%2fe", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1893478e8b/directoryasyncapitestslistfilesanddirectories16301405c4%2fe", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ab499a15-21cc-479c-a61e-1d37bea940c5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "27b01448-3dae-4f7b-85ca-c8f27eb87bef" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:19.7214333Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:09.8810004Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F68DD8C7D", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "ETag" : "0x8D77911C392FE94", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:19.7214333Z", + "x-ms-file-change-time" : "2019-12-04T23:29:09.8810004Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c78b-701a-00fe-3288-830c13000000", - "x-ms-client-request-id" : "ab499a15-21cc-479c-a61e-1d37bea940c5", - "x-ms-file-last-write-time" : "2019-10-15T18:42:19.7214333Z" + "x-ms-request-id" : "172f89d3-101a-0047-7afa-aaf960000000", + "x-ms-client-request-id" : "27b01448-3dae-4f7b-85ca-c8f27eb87bef", + "x-ms-file-last-write-time" : "2019-12-04T23:29:09.8810004Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1778486bcf/directoryasyncapitestslistfilesanddirectories193095808c%2fb?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1893478e8b/directoryasyncapitestslistfilesanddirectories16301405c4%2fb?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0579fb63-6885-492b-ac50-128b8c7ae922" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93bdd736-13dc-4fd7-802f-3385ec4da203" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:19.7674782Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:09.9740026Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:09 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F68E4931E", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "ETag" : "0x8D77911C3A12F7A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:19.7674782Z", + "x-ms-file-change-time" : "2019-12-04T23:29:09.9740026Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c78d-701a-00fe-3388-830c13000000", - "x-ms-client-request-id" : "0579fb63-6885-492b-ac50-128b8c7ae922", - "x-ms-file-last-write-time" : "2019-10-15T18:42:19.7674782Z" + "x-ms-request-id" : "172f89d4-101a-0047-7bfa-aaf960000000", + "x-ms-client-request-id" : "93bdd736-13dc-4fd7-802f-3385ec4da203", + "x-ms-file-last-write-time" : "2019-12-04T23:29:09.9740026Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1778486bcf/directoryasyncapitestslistfilesanddirectories193095808c%2fd?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1893478e8b/directoryasyncapitestslistfilesanddirectories16301405c4%2fd?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ee896747-436d-4e20-bb82-2af00a330cb0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37d789bb-79cc-4c0a-b4be-6c25e08143c9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:19.8115231Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:10.0719682Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:10 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F68EB4B9F", + "Date" : "Wed, 04 Dec 2019 23:29:09 GMT", + "ETag" : "0x8D77911C3B02242", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:19.8115231Z", + "x-ms-file-change-time" : "2019-12-04T23:29:10.0719682Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c78f-701a-00fe-3588-830c13000000", - "x-ms-client-request-id" : "ee896747-436d-4e20-bb82-2af00a330cb0", - "x-ms-file-last-write-time" : "2019-10-15T18:42:19.8115231Z" + "x-ms-request-id" : "172f89d6-101a-0047-7dfa-aaf960000000", + "x-ms-client-request-id" : "37d789bb-79cc-4c0a-b4be-6c25e08143c9", + "x-ms-file-last-write-time" : "2019-12-04T23:29:10.0719682Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1778486bcf/directoryasyncapitestslistfilesanddirectories193095808c?restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectories1893478e8b/directoryasyncapitestslistfilesanddirectories16301405c4?restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a32e2bab-4274-44ca-879a-9f6797b5c995" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63c41d93-2521-437a-bf35-1bcc20ad9ea8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c791-701a-00fe-3788-830c13000000", - "Body" : "a2bc2de2", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "x-ms-client-request-id" : "a32e2bab-4274-44ca-879a-9f6797b5c995", + "x-ms-request-id" : "172f89d9-101a-0047-80fa-aaf960000000", + "Body" : "a2bc2de2", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "63c41d93-2521-437a-bf35-1bcc20ad9ea8", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestslistfilesanddirectories1778486bcf", "directoryasyncapitestslistfilesanddirectories193095808c" ] + "variables" : [ "directoryasyncapitestslistfilesanddirectories1893478e8b", "directoryasyncapitestslistfilesanddirectories16301405c4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs0.json index d6f2770a88ced..41c02a501b9e0 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs0.json @@ -1,278 +1,278 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "50c39bd7-7f9e-4ac1-96e3-1e8dab14112f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "26f3cef1-a809-440c-880c-529ebd75b0c6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F690506D1", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:19 GMT", + "ETag" : "0x8D77911C3E3120C", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c795-701a-00fe-3b88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "x-ms-client-request-id" : "50c39bd7-7f9e-4ac1-96e3-1e8dab14112f" + "x-ms-request-id" : "172f89df-101a-0047-06fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "x-ms-client-request-id" : "26f3cef1-a809-440c-880c-529ebd75b0c6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "06007666-e6a8-46ef-81ce-a6b9507b8926" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cac9fe56-5bfe-4b45-aabe-923ef64ceec1" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.0377390Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:10.5020092Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:10 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F690DD02E", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "ETag" : "0x8D77911C3F1C0BC", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:20.0377390Z", + "x-ms-file-change-time" : "2019-12-04T23:29:10.5020092Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c79b-701a-00fe-3f88-830c13000000", - "x-ms-client-request-id" : "06007666-e6a8-46ef-81ce-a6b9507b8926", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.0377390Z" + "x-ms-request-id" : "172f89e4-101a-0047-0afa-aaf960000000", + "x-ms-client-request-id" : "cac9fe56-5bfe-4b45-aabe-923ef64ceec1", + "x-ms-file-last-write-time" : "2019-12-04T23:29:10.5020092Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241850?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f0?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "adf8ce18-9916-483e-9af0-760b65c3cc3c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e1363b12-92f0-4096-9b92-0f55d38181d3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.0967953Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:10.5919616Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:10 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F6916D311", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "ETag" : "0x8D77911C3FF7A80", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:20.0967953Z", + "x-ms-file-change-time" : "2019-12-04T23:29:10.5919616Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c79f-701a-00fe-4388-830c13000000", - "x-ms-client-request-id" : "adf8ce18-9916-483e-9af0-760b65c3cc3c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.0967953Z" + "x-ms-request-id" : "172f89e5-101a-0047-0bfa-aaf960000000", + "x-ms-client-request-id" : "e1363b12-92f0-4096-9b92-0f55d38181d3", + "x-ms-file-last-write-time" : "2019-12-04T23:29:10.5919616Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241850%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241853", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f0%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f3", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b6e2d45-aac9-42d3-b5a7-4465c3aa720a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47f77f6e-1ae0-4627-94e3-f0e7f555b4a7" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.1488460Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:10.6829707Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:10 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F691EC44C", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "ETag" : "0x8D77911C40D5D8B", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.1488460Z", + "x-ms-file-change-time" : "2019-12-04T23:29:10.6829707Z", "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "8639c7a0-701a-00fe-4488-830c13000000", - "x-ms-client-request-id" : "2b6e2d45-aac9-42d3-b5a7-4465c3aa720a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.1488460Z" + "x-ms-request-id" : "172f89e7-101a-0047-0dfa-aaf960000000", + "x-ms-client-request-id" : "47f77f6e-1ae0-4627-94e3-f0e7f555b4a7", + "x-ms-file-last-write-time" : "2019-12-04T23:29:10.6829707Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241850%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241854", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f0%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "10fc1d0a-5a6e-481a-b2af-03232e53d4ea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8fbe8afb-7ccd-4576-b6c2-ccb3c623428d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.1968933Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:10.7729638Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:10 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F69261925", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "ETag" : "0x8D77911C41B18E6", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.1968933Z", + "x-ms-file-change-time" : "2019-12-04T23:29:10.7729638Z", "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "8639c7a3-701a-00fe-4788-830c13000000", - "x-ms-client-request-id" : "10fc1d0a-5a6e-481a-b2af-03232e53d4ea", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.1968933Z" + "x-ms-request-id" : "172f89eb-101a-0047-10fa-aaf960000000", + "x-ms-client-request-id" : "8fbe8afb-7ccd-4576-b6c2-ccb3c623428d", + "x-ms-file-last-write-time" : "2019-12-04T23:29:10.7729638Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241851?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f1?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b0668dbb-d3a4-4b8f-a5b1-ab4b2818ba39" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ba04c843-1653-42ce-9ae6-74088069d386" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.2629570Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:10.8799640Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:10 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F69302DC2", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "ETag" : "0x8D77911C42B6C98", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:20.2629570Z", + "x-ms-file-change-time" : "2019-12-04T23:29:10.8799640Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c7a5-701a-00fe-4988-830c13000000", - "x-ms-client-request-id" : "b0668dbb-d3a4-4b8f-a5b1-ab4b2818ba39", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.2629570Z" + "x-ms-request-id" : "172f89ed-101a-0047-12fa-aaf960000000", + "x-ms-client-request-id" : "ba04c843-1653-42ce-9ae6-74088069d386", + "x-ms-file-last-write-time" : "2019-12-04T23:29:10.8799640Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241851%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241855", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f1%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3d5250a1-b163-4c35-bdfb-a4d0ae0cd444" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2272ac5d-48d8-431f-9b0c-f19c8feae6e5" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.3049961Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:10.9709659Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:10 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F693697E9", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "ETag" : "0x8D77911C4394F5B", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.3049961Z", + "x-ms-file-change-time" : "2019-12-04T23:29:10.9709659Z", "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "8639c7a6-701a-00fe-4a88-830c13000000", - "x-ms-client-request-id" : "3d5250a1-b163-4c35-bdfb-a4d0ae0cd444", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.3049961Z" + "x-ms-request-id" : "172f89f1-101a-0047-16fa-aaf960000000", + "x-ms-client-request-id" : "2272ac5d-48d8-431f-9b0c-f19c8feae6e5", + "x-ms-file-last-write-time" : "2019-12-04T23:29:10.9709659Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241851%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241856", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f1%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f6", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a4b7ee7f-f980-4462-babb-a27d4b6b82d4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "33fc4419-f58a-416b-ab86-2b7c8d2ae390" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "17293892937846882304", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.3680577Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:11.0639713Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:11 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F69403741", + "Date" : "Wed, 04 Dec 2019 23:29:10 GMT", + "ETag" : "0x8D77911C4478061", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.3680577Z", + "x-ms-file-change-time" : "2019-12-04T23:29:11.0639713Z", "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "8639c7aa-701a-00fe-4e88-830c13000000", - "x-ms-client-request-id" : "a4b7ee7f-f980-4462-babb-a27d4b6b82d4", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.3680577Z" + "x-ms-request-id" : "172f89f3-101a-0047-18fa-aaf960000000", + "x-ms-client-request-id" : "33fc4419-f58a-416b-ab86-2b7c8d2ae390", + "x-ms-file-last-write-time" : "2019-12-04T23:29:11.0639713Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590%2fdirectoryasyncapitestslistfilesanddirectoriesargs036241852", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510%2fdirectoryasyncapitestslistfilesanddirectoriesargs0105827f2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5988ffbf-f51b-4669-a05e-4b5f4fdc8c43" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aa56ef13-b12a-4c79-956b-266483a8dcbb" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "9799903157902376960", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.4231093Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:11.1519771Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:11 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "ETag" : "0x8D7519F69489DB5", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "ETag" : "0x8D77911C454EE1B", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.4231093Z", + "x-ms-file-change-time" : "2019-12-04T23:29:11.1519771Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c7ae-701a-00fe-5288-830c13000000", - "x-ms-client-request-id" : "5988ffbf-f51b-4669-a05e-4b5f4fdc8c43", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.4231093Z" + "x-ms-request-id" : "172f89f4-101a-0047-19fa-aaf960000000", + "x-ms-client-request-id" : "aa56ef13-b12a-4c79-956b-266483a8dcbb", + "x-ms-file-last-write-time" : "2019-12-04T23:29:11.1519771Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs082187ca/directoryasyncapitestslistfilesanddirectoriesargs04777590?prefix=directoryasyncapitestslistfilesanddirectoriesargs&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs096583fb/directoryasyncapitestslistfilesanddirectoriesargs09146510?prefix=directoryasyncapitestslistfilesanddirectoriesargs&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3e07ea84-21e9-40e5-806b-d9c756ff3d51" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fcea25af-20fc-40c8-b3cb-511a7294d722" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c7b2-701a-00fe-5688-830c13000000", - "Body" : "directoryasyncapitestslistfilesanddirectoriesargsdirectoryasyncapitestslistfilesanddirectoriesargs036241850directoryasyncapitestslistfilesanddirectoriesargs036241851directoryasyncapitestslistfilesanddirectoriesargs0362418521024", - "Date" : "Tue, 15 Oct 2019 18:42:19 GMT", - "x-ms-client-request-id" : "3e07ea84-21e9-40e5-806b-d9c756ff3d51", + "x-ms-request-id" : "172f89f6-101a-0047-1bfa-aaf960000000", + "Body" : "directoryasyncapitestslistfilesanddirectoriesargsdirectoryasyncapitestslistfilesanddirectoriesargs0105827f0directoryasyncapitestslistfilesanddirectoriesargs0105827f1directoryasyncapitestslistfilesanddirectoriesargs0105827f21024", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "x-ms-client-request-id" : "fcea25af-20fc-40c8-b3cb-511a7294d722", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestslistfilesanddirectoriesargs082187ca", "directoryasyncapitestslistfilesanddirectoriesargs04777590", "directoryasyncapitestslistfilesanddirectoriesargs03624185" ] + "variables" : [ "directoryasyncapitestslistfilesanddirectoriesargs096583fb", "directoryasyncapitestslistfilesanddirectoriesargs09146510", "directoryasyncapitestslistfilesanddirectoriesargs0105827f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs1.json index f7eae8065461b..747908b38c388 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs1.json @@ -1,320 +1,320 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "85d0dd17-612e-493f-8915-872fc38f49e4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "80770533-537b-44e8-9854-7704530e461f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F69647C48", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "ETag" : "0x8D77911C48740EE", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c7bb-701a-00fe-5f88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "x-ms-client-request-id" : "85d0dd17-612e-493f-8915-872fc38f49e4" + "x-ms-request-id" : "172f89fc-101a-0047-21fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "x-ms-client-request-id" : "80770533-537b-44e8-9854-7704530e461f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e8aba405-0df6-4390-85db-3b15b679d1c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "02836f5d-ad35-4ea3-b2d6-38dcd78808e4" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.6593357Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:11.5809737Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:11 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "ETag" : "0x8D7519F696CA94D", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "ETag" : "0x8D77911C49663C9", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:20.6593357Z", + "x-ms-file-change-time" : "2019-12-04T23:29:11.5809737Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c7bd-701a-00fe-6088-830c13000000", - "x-ms-client-request-id" : "e8aba405-0df6-4390-85db-3b15b679d1c7", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.6593357Z" + "x-ms-request-id" : "172f8a00-101a-0047-24fa-aaf960000000", + "x-ms-client-request-id" : "02836f5d-ad35-4ea3-b2d6-38dcd78808e4", + "x-ms-file-last-write-time" : "2019-12-04T23:29:11.5809737Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f80?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f0?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b67588eb-6310-430e-883a-2b9044a1fdb6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "107be0b5-5851-48eb-ac81-f514258a3889" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.6993746Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:11.6729707Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:11 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "ETag" : "0x8D7519F6972C552", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "ETag" : "0x8D77911C4A46D6B", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:20.6993746Z", + "x-ms-file-change-time" : "2019-12-04T23:29:11.6729707Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c7be-701a-00fe-6188-830c13000000", - "x-ms-client-request-id" : "b67588eb-6310-430e-883a-2b9044a1fdb6", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.6993746Z" + "x-ms-request-id" : "172f8a02-101a-0047-26fa-aaf960000000", + "x-ms-client-request-id" : "107be0b5-5851-48eb-ac81-f514258a3889", + "x-ms-file-last-write-time" : "2019-12-04T23:29:11.6729707Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f80%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f83", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f0%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f3", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a751e2f7-32cc-4c37-b80d-229b0c7eeeb8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "850c1fb3-e497-4ab1-b582-2a6b569fb67f" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.7444175Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:11.7769704Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:11 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "ETag" : "0x8D7519F6979A4CF", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "ETag" : "0x8D77911C4B44BE8", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.7444175Z", + "x-ms-file-change-time" : "2019-12-04T23:29:11.7769704Z", "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "8639c7c0-701a-00fe-6388-830c13000000", - "x-ms-client-request-id" : "a751e2f7-32cc-4c37-b80d-229b0c7eeeb8", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.7444175Z" + "x-ms-request-id" : "172f8a05-101a-0047-29fa-aaf960000000", + "x-ms-client-request-id" : "850c1fb3-e497-4ab1-b582-2a6b569fb67f", + "x-ms-file-last-write-time" : "2019-12-04T23:29:11.7769704Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f80%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f84", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f0%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0d627aff-eb5c-497d-8072-e9a0fe5a9e0b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7e8ed1ad-e816-4952-97f0-e2ffad8c0107" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.7994710Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:11.8679822Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:11 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "ETag" : "0x8D7519F69820B56", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "ETag" : "0x8D77911C4C22F0E", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.7994710Z", + "x-ms-file-change-time" : "2019-12-04T23:29:11.8679822Z", "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "8639c7c3-701a-00fe-6688-830c13000000", - "x-ms-client-request-id" : "0d627aff-eb5c-497d-8072-e9a0fe5a9e0b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.7994710Z" + "x-ms-request-id" : "172f8a07-101a-0047-2bfa-aaf960000000", + "x-ms-client-request-id" : "7e8ed1ad-e816-4952-97f0-e2ffad8c0107", + "x-ms-file-last-write-time" : "2019-12-04T23:29:11.8679822Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f81?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f1?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "84921f63-29c9-417d-9054-8dfbe9943d6f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "46aa84f6-8b91-4d8e-b413-70f1f7972a74" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.8395084Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:11.9579780Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:11 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "ETag" : "0x8D7519F6988274C", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "ETag" : "0x8D77911C4CFEA84", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:20.8395084Z", + "x-ms-file-change-time" : "2019-12-04T23:29:11.9579780Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c7c7-701a-00fe-6a88-830c13000000", - "x-ms-client-request-id" : "84921f63-29c9-417d-9054-8dfbe9943d6f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.8395084Z" + "x-ms-request-id" : "172f8a0a-101a-0047-2dfa-aaf960000000", + "x-ms-client-request-id" : "46aa84f6-8b91-4d8e-b413-70f1f7972a74", + "x-ms-file-last-write-time" : "2019-12-04T23:29:11.9579780Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f81%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f85", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f1%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e5d6c754-b33a-46d7-b53c-9f409a8e635f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e7d97f23-6705-41ab-890a-a910d208353f" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.8905576Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:12.0479770Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:12 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "ETag" : "0x8D7519F698FF168", + "Date" : "Wed, 04 Dec 2019 23:29:11 GMT", + "ETag" : "0x8D77911C4DDA61A", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.8905576Z", + "x-ms-file-change-time" : "2019-12-04T23:29:12.0479770Z", "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "8639c7cb-701a-00fe-6e88-830c13000000", - "x-ms-client-request-id" : "e5d6c754-b33a-46d7-b53c-9f409a8e635f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.8905576Z" + "x-ms-request-id" : "172f8a0d-101a-0047-30fa-aaf960000000", + "x-ms-client-request-id" : "e7d97f23-6705-41ab-890a-a910d208353f", + "x-ms-file-last-write-time" : "2019-12-04T23:29:12.0479770Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f81%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f86", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f1%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f6", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8dd75b32-e0f9-4a0a-8c21-b76c23ca11ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "be9f7268-704d-4d1e-b040-077384c7cf96" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "17293892937846882304", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:20.9335986Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:20 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:12.1409770Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:12 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "ETag" : "0x8D7519F699682B2", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "ETag" : "0x8D77911C4EBD6EA", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:20.9335986Z", + "x-ms-file-change-time" : "2019-12-04T23:29:12.1409770Z", "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "8639c7cf-701a-00fe-7288-830c13000000", - "x-ms-client-request-id" : "8dd75b32-e0f9-4a0a-8c21-b76c23ca11ed", - "x-ms-file-last-write-time" : "2019-10-15T18:42:20.9335986Z" + "x-ms-request-id" : "172f8a10-101a-0047-33fa-aaf960000000", + "x-ms-client-request-id" : "be9f7268-704d-4d1e-b040-077384c7cf96", + "x-ms-file-last-write-time" : "2019-12-04T23:29:12.1409770Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd%2fdirectoryasyncapitestslistfilesanddirectoriesargs192624f82", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6%2fdirectoryasyncapitestslistfilesanddirectoriesargs1277919f2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "903b55b5-35a0-4503-bdf7-b44be081723a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "62f8fe1b-72e5-4791-86cd-90750d31b4c7" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "9799903157902376960", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.0016638Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:12.2329736Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:12 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "ETag" : "0x8D7519F69A0E57E", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "ETag" : "0x8D77911C4F9E088", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:21.0016638Z", + "x-ms-file-change-time" : "2019-12-04T23:29:12.2329736Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c7d5-701a-00fe-7888-830c13000000", - "x-ms-client-request-id" : "903b55b5-35a0-4503-bdf7-b44be081723a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.0016638Z" + "x-ms-request-id" : "172f8a11-101a-0047-34fa-aaf960000000", + "x-ms-client-request-id" : "62f8fe1b-72e5-4791-86cd-90750d31b4c7", + "x-ms-file-last-write-time" : "2019-12-04T23:29:12.2329736Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd?prefix=directoryasyncapitestslistfilesanddirectoriesargs&maxresults=1&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6?prefix=directoryasyncapitestslistfilesanddirectoriesargs&maxresults=1&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "34706b53-fdad-47e6-8d30-5f2cf89d61a2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "92399e84-8df5-49bb-8822-6bb7535b1692" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c7d7-701a-00fe-7a88-830c13000000", - "Body" : "directoryasyncapitestslistfilesanddirectoriesargs1directoryasyncapitestslistfilesanddirectoriesargs192624f801!80!ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczE5MjYyNGY4MQ--", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "x-ms-client-request-id" : "34706b53-fdad-47e6-8d30-5f2cf89d61a2", + "x-ms-request-id" : "172f8a15-101a-0047-38fa-aaf960000000", + "Body" : "directoryasyncapitestslistfilesanddirectoriesargs1directoryasyncapitestslistfilesanddirectoriesargs1277919f01!80!ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczEyNzc5MTlmMQ--", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "92399e84-8df5-49bb-8822-6bb7535b1692", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd?prefix=directoryasyncapitestslistfilesanddirectoriesargs&marker=1%2180%21ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczE5MjYyNGY4MQ--&maxresults=1&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6?prefix=directoryasyncapitestslistfilesanddirectoriesargs&marker=1%2180%21ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczEyNzc5MTlmMQ--&maxresults=1&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "61319e29-10f0-44d0-8b4c-d5999c735d99" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4479aad2-7389-4395-9ea2-7b4ad2c907c4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c7e5-701a-00fe-0888-830c13000000", - "Body" : "directoryasyncapitestslistfilesanddirectoriesargs1!80!ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczE5MjYyNGY4MQ--1directoryasyncapitestslistfilesanddirectoriesargs192624f811!80!ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczE5MjYyNGY4Mg--", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "x-ms-client-request-id" : "61319e29-10f0-44d0-8b4c-d5999c735d99", + "x-ms-request-id" : "172f8a18-101a-0047-3bfa-aaf960000000", + "Body" : "directoryasyncapitestslistfilesanddirectoriesargs1!80!ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczEyNzc5MTlmMQ--1directoryasyncapitestslistfilesanddirectoriesargs1277919f11!80!ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczEyNzc5MTlmMg--", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "4479aad2-7389-4395-9ea2-7b4ad2c907c4", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs11561327/directoryasyncapitestslistfilesanddirectoriesargs156636cd?prefix=directoryasyncapitestslistfilesanddirectoriesargs&marker=1%2180%21ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczE5MjYyNGY4Mg--&maxresults=1&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs124757d2/directoryasyncapitestslistfilesanddirectoriesargs197052f6?prefix=directoryasyncapitestslistfilesanddirectoriesargs&marker=1%2180%21ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczEyNzc5MTlmMg--&maxresults=1&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7c16cb51-6c28-46e0-864b-1ba03dbeda61" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca3a5ee6-7c17-44fa-9e6d-bedb504bd6d5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c7ea-701a-00fe-0d88-830c13000000", - "Body" : "directoryasyncapitestslistfilesanddirectoriesargs1!80!ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczE5MjYyNGY4Mg--1directoryasyncapitestslistfilesanddirectoriesargs192624f821024", - "Date" : "Tue, 15 Oct 2019 18:42:20 GMT", - "x-ms-client-request-id" : "7c16cb51-6c28-46e0-864b-1ba03dbeda61", + "x-ms-request-id" : "172f8a1a-101a-0047-3dfa-aaf960000000", + "Body" : "directoryasyncapitestslistfilesanddirectoriesargs1!80!ZGlyZWN0b3J5YXN5bmNhcGl0ZXN0c2xpc3RmaWxlc2FuZGRpcmVjdG9yaWVzYXJnczEyNzc5MTlmMg--1directoryasyncapitestslistfilesanddirectoriesargs1277919f21024", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "ca3a5ee6-7c17-44fa-9e6d-bedb504bd6d5", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestslistfilesanddirectoriesargs11561327", "directoryasyncapitestslistfilesanddirectoriesargs156636cd", "directoryasyncapitestslistfilesanddirectoriesargs192624f8" ] + "variables" : [ "directoryasyncapitestslistfilesanddirectoriesargs124757d2", "directoryasyncapitestslistfilesanddirectoriesargs197052f6", "directoryasyncapitestslistfilesanddirectoriesargs1277919f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs2.json index 1fd53595a041e..5107ad766bc8f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListFilesAndDirectoriesArgs2.json @@ -1,278 +1,278 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "498842f8-019b-49c5-a150-d68a05d87bbc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "45c3f917-1adf-4dea-8e75-a76d4cbafd70" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F69F08B21", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "ETag" : "0x8D77911C54512A6", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c7f1-701a-00fe-1488-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "x-ms-client-request-id" : "498842f8-019b-49c5-a150-d68a05d87bbc" + "x-ms-request-id" : "172f8a20-101a-0047-43fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "x-ms-client-request-id" : "45c3f917-1adf-4dea-8e75-a76d4cbafd70" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "27b9cde1-70a5-4559-ba7e-dd4cd1c35420" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cc1190fc-00c3-42ee-aa37-445ed0cb6fe1" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.5682090Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:12.8189770Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:12 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F69F7582A", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "ETag" : "0x8D77911C5534B4A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:21.5682090Z", + "x-ms-file-change-time" : "2019-12-04T23:29:12.8189770Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c7f6-701a-00fe-1888-830c13000000", - "x-ms-client-request-id" : "27b9cde1-70a5-4559-ba7e-dd4cd1c35420", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.5682090Z" + "x-ms-request-id" : "172f8a22-101a-0047-44fa-aaf960000000", + "x-ms-client-request-id" : "cc1190fc-00c3-42ee-aa37-445ed0cb6fe1", + "x-ms-file-last-write-time" : "2019-12-04T23:29:12.8189770Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693320?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a50?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "74c5d568-b31d-4912-b821-bf925a25f11e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d86fd03-8086-44e9-924e-35705e3b01c9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.6232614Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:12.9069779Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:12 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F69FFBEA6", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "ETag" : "0x8D77911C560B8D3", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:21.6232614Z", + "x-ms-file-change-time" : "2019-12-04T23:29:12.9069779Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c7fa-701a-00fe-1c88-830c13000000", - "x-ms-client-request-id" : "74c5d568-b31d-4912-b821-bf925a25f11e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.6232614Z" + "x-ms-request-id" : "172f8a26-101a-0047-48fa-aaf960000000", + "x-ms-client-request-id" : "2d86fd03-8086-44e9-924e-35705e3b01c9", + "x-ms-file-last-write-time" : "2019-12-04T23:29:12.9069779Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693320%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693323", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a50%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a53", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ecfcffd9-08aa-449f-93cc-6effc7141c70" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "009b99a6-b3a9-498d-9565-8083a95a13ae" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.6693068Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:12.9999887Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:12 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F6A06C54C", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "ETag" : "0x8D77911C56EEA0F", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:21.6693068Z", + "x-ms-file-change-time" : "2019-12-04T23:29:12.9999887Z", "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "8639c7fe-701a-00fe-2088-830c13000000", - "x-ms-client-request-id" : "ecfcffd9-08aa-449f-93cc-6effc7141c70", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.6693068Z" + "x-ms-request-id" : "172f8a28-101a-0047-4afa-aaf960000000", + "x-ms-client-request-id" : "009b99a6-b3a9-498d-9565-8083a95a13ae", + "x-ms-file-last-write-time" : "2019-12-04T23:29:12.9999887Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693320%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693324", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a50%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a54", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "72a53816-bc6c-47a5-89bd-38cd986f7333" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4d68c030-d417-4356-b4d6-a9505bb9bc22" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "10376363910205800448", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.7143500Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:13.0949940Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:13 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F6A0DA4CC", + "Date" : "Wed, 04 Dec 2019 23:29:12 GMT", + "ETag" : "0x8D77911C57D6934", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:21.7143500Z", + "x-ms-file-change-time" : "2019-12-04T23:29:13.0949940Z", "x-ms-file-parent-id" : "11529285414812647424", "Content-Length" : "0", - "x-ms-request-id" : "8639c802-701a-00fe-2488-830c13000000", - "x-ms-client-request-id" : "72a53816-bc6c-47a5-89bd-38cd986f7333", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.7143500Z" + "x-ms-request-id" : "172f8a2b-101a-0047-4dfa-aaf960000000", + "x-ms-client-request-id" : "4d68c030-d417-4356-b4d6-a9505bb9bc22", + "x-ms-file-last-write-time" : "2019-12-04T23:29:13.0949940Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693321?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a51?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7557090b-a061-49f3-8c3a-7df8c55174ff" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7baccecc-c33c-49f2-81cf-3bf29577d3a1" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "14988049928633188352", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.7533874Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:13.1859859Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:13 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F6A1399B2", + "Date" : "Wed, 04 Dec 2019 23:29:13 GMT", + "ETag" : "0x8D77911C58B4B93", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:21.7533874Z", + "x-ms-file-change-time" : "2019-12-04T23:29:13.1859859Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c806-701a-00fe-2888-830c13000000", - "x-ms-client-request-id" : "7557090b-a061-49f3-8c3a-7df8c55174ff", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.7533874Z" + "x-ms-request-id" : "172f8a2d-101a-0047-4ffa-aaf960000000", + "x-ms-client-request-id" : "7baccecc-c33c-49f2-81cf-3bf29577d3a1", + "x-ms-file-last-write-time" : "2019-12-04T23:29:13.1859859Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693321%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693325", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a51%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a55", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f1c37a5b-795b-42b0-8131-8f281dcdb69d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9cd71390-aee2-4d1b-ab5d-f444bc62223a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "12682206919419494400", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.8014338Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:13.2889850Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:13 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F6A1AEE82", + "Date" : "Wed, 04 Dec 2019 23:29:13 GMT", + "ETag" : "0x8D77911C59B02FA", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:21.8014338Z", + "x-ms-file-change-time" : "2019-12-04T23:29:13.2889850Z", "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "8639c80a-701a-00fe-2c88-830c13000000", - "x-ms-client-request-id" : "f1c37a5b-795b-42b0-8131-8f281dcdb69d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.8014338Z" + "x-ms-request-id" : "172f8a30-101a-0047-51fa-aaf960000000", + "x-ms-client-request-id" : "9cd71390-aee2-4d1b-ab5d-f444bc62223a", + "x-ms-file-last-write-time" : "2019-12-04T23:29:13.2889850Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693321%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693326", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a51%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a56", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7a288ce2-0c63-4f68-bcdf-eff5332daa10" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "658bc8ee-a5da-4865-a166-11d9ad922c70" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "17293892937846882304", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.8424732Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:13.3799860Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:13 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F6A21319C", + "Date" : "Wed, 04 Dec 2019 23:29:13 GMT", + "ETag" : "0x8D77911C5A8E5B4", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:21.8424732Z", + "x-ms-file-change-time" : "2019-12-04T23:29:13.3799860Z", "x-ms-file-parent-id" : "14988049928633188352", "Content-Length" : "0", - "x-ms-request-id" : "8639c80f-701a-00fe-3188-830c13000000", - "x-ms-client-request-id" : "7a288ce2-0c63-4f68-bcdf-eff5332daa10", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.8424732Z" + "x-ms-request-id" : "172f8a33-101a-0047-54fa-aaf960000000", + "x-ms-client-request-id" : "658bc8ee-a5da-4865-a166-11d9ad922c70", + "x-ms-file-last-write-time" : "2019-12-04T23:29:13.3799860Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d%2fdirectoryasyncapitestslistfilesanddirectoriesargs208693322", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d%2fdirectoryasyncapitestslistfilesanddirectoriesargs267684a52", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "88fdfe22-0122-4ed2-85fd-c9aca379daa7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b61b2731-f7b3-4ffa-b290-2cfa70d11f2e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "9799903157902376960", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:21.8925215Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:13.4690435Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:13 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F6A28D49F", + "Date" : "Wed, 04 Dec 2019 23:29:13 GMT", + "ETag" : "0x8D77911C5B67C83", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:21.8925215Z", + "x-ms-file-change-time" : "2019-12-04T23:29:13.4690435Z", "x-ms-file-parent-id" : "13835128424026341376", "Content-Length" : "0", - "x-ms-request-id" : "8639c815-701a-00fe-3788-830c13000000", - "x-ms-client-request-id" : "88fdfe22-0122-4ed2-85fd-c9aca379daa7", - "x-ms-file-last-write-time" : "2019-10-15T18:42:21.8925215Z" + "x-ms-request-id" : "172f8a35-101a-0047-56fa-aaf960000000", + "x-ms-client-request-id" : "b61b2731-f7b3-4ffa-b290-2cfa70d11f2e", + "x-ms-file-last-write-time" : "2019-12-04T23:29:13.4690435Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs24944803/directoryasyncapitestslistfilesanddirectoriesargs2667425d?prefix=directoryasyncapitestslistfilesanddirectoriesargsnoops&maxresults=1&restype=directory&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslistfilesanddirectoriesargs293604a7/directoryasyncapitestslistfilesanddirectoriesargs2658176d?prefix=directoryasyncapitestslistfilesanddirectoriesargsnoops&maxresults=1&restype=directory&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8d331e53-1bec-4ade-8fe2-d5d60899fcaa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8ecd8ebb-bc91-49e4-a6e9-f3e64956f14f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c816-701a-00fe-3888-830c13000000", - "Body" : "directoryasyncapitestslistfilesanddirectoriesargsnoops1", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "x-ms-client-request-id" : "8d331e53-1bec-4ade-8fe2-d5d60899fcaa", + "x-ms-request-id" : "172f8a3c-101a-0047-5bfa-aaf960000000", + "Body" : "directoryasyncapitestslistfilesanddirectoriesargsnoops1", + "Date" : "Wed, 04 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "8ecd8ebb-bc91-49e4-a6e9-f3e64956f14f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestslistfilesanddirectoriesargs24944803", "directoryasyncapitestslistfilesanddirectoriesargs2667425d", "directoryasyncapitestslistfilesanddirectoriesargs20869332" ] + "variables" : [ "directoryasyncapitestslistfilesanddirectoriesargs293604a7", "directoryasyncapitestslistfilesanddirectoriesargs2658176d", "directoryasyncapitestslistfilesanddirectoriesargs267684a5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandles0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandles0.json index 6861df9049cd0..d2534afb696d3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandles0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandles0.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslisthandles066282aeb427ceab?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslisthandles077963ec9b77939b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8b54ac8e-15a5-434c-aca1-cc3f20446483" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9e7dc80-7c4b-4201-b468-286a5af6817e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6A432C5A", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:22 GMT", + "ETag" : "0x8D77911C5E830AF", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c821-701a-00fe-4388-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "x-ms-client-request-id" : "8b54ac8e-15a5-434c-aca1-cc3f20446483" + "x-ms-request-id" : "172f8a40-101a-0047-5ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "e9e7dc80-7c4b-4201-b468-286a5af6817e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslisthandles066282aeb427ceab/directoryasyncapitestslisthandles048348cbebbe7535?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslisthandles077963ec9b77939b/directoryasyncapitestslisthandles0588027b58376ccb?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d38981b4-a5fd-4a00-b34a-5371a847a040" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1e7ca860-6fad-4926-a78c-bde316fd2201" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:22.1227441Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:22 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:13.9190045Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:13 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:21 GMT", - "ETag" : "0x8D7519F6A4BF5B1", + "Date" : "Wed, 04 Dec 2019 23:29:13 GMT", + "ETag" : "0x8D77911C5FB251D", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:22.1227441Z", + "x-ms-file-change-time" : "2019-12-04T23:29:13.9190045Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c823-701a-00fe-4488-830c13000000", - "x-ms-client-request-id" : "d38981b4-a5fd-4a00-b34a-5371a847a040", - "x-ms-file-last-write-time" : "2019-10-15T18:42:22.1227441Z" + "x-ms-request-id" : "172f8a42-101a-0047-60fa-aaf960000000", + "x-ms-client-request-id" : "1e7ca860-6fad-4926-a78c-bde316fd2201", + "x-ms-file-last-write-time" : "2019-12-04T23:29:13.9190045Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslisthandles066282aeb427ceab/directoryasyncapitestslisthandles048348cbebbe7535?maxresults=2&comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslisthandles077963ec9b77939b/directoryasyncapitestslisthandles0588027b58376ccb?maxresults=2&comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0df1ccb-3dc6-4dd3-b34f-1fd9746f2650" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6f435657-08fb-43ca-9e1f-b21d3c6643c6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c827-701a-00fe-4888-830c13000000", + "x-ms-request-id" : "172f8a43-101a-0047-61fa-aaf960000000", "Body" : "2", - "Date" : "Tue, 15 Oct 2019 18:42:22 GMT", - "x-ms-client-request-id" : "c0df1ccb-3dc6-4dd3-b34f-1fd9746f2650", + "Date" : "Wed, 04 Dec 2019 23:29:13 GMT", + "x-ms-client-request-id" : "6f435657-08fb-43ca-9e1f-b21d3c6643c6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestslisthandles066282aeb427ceab", "directoryasyncapitestslisthandles048348cbebbe7535" ] + "variables" : [ "directoryasyncapitestslisthandles077963ec9b77939b", "directoryasyncapitestslisthandles0588027b58376ccb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandles1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandles1.json index 4a0a1b5fe0e0d..3ea2525528ed5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandles1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandles1.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslisthandles136861735a9cd0bb?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslisthandles163927b22313c5d3?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "31e79295-2118-4da0-8f7b-33e32a224009" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d5421e1-34a5-4321-b62b-04410c7047b9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6AB1E7FF", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:22 GMT", + "ETag" : "0x8D77911C62D01C0", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c837-701a-00fe-5788-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:22 GMT", - "x-ms-client-request-id" : "31e79295-2118-4da0-8f7b-33e32a224009" + "x-ms-request-id" : "172f8a4a-101a-0047-68fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "8d5421e1-34a5-4321-b62b-04410c7047b9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslisthandles136861735a9cd0bb/directoryasyncapitestslisthandles1954881f1a9dfa85?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslisthandles163927b22313c5d3/directoryasyncapitestslisthandles101143847bdd57b1?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b783dc6b-a184-44d3-85e5-fd81b1582fcb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "50becb00-04d9-4803-9893-7efae069b314" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:22.8394347Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:22 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:14.3390328Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:14 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:22 GMT", - "ETag" : "0x8D7519F6AB9516B", + "Date" : "Wed, 04 Dec 2019 23:29:14 GMT", + "ETag" : "0x8D77911C63B3C78", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:22.8394347Z", + "x-ms-file-change-time" : "2019-12-04T23:29:14.3390328Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c83a-701a-00fe-5988-830c13000000", - "x-ms-client-request-id" : "b783dc6b-a184-44d3-85e5-fd81b1582fcb", - "x-ms-file-last-write-time" : "2019-10-15T18:42:22.8394347Z" + "x-ms-request-id" : "172f8a4e-101a-0047-6bfa-aaf960000000", + "x-ms-client-request-id" : "50becb00-04d9-4803-9893-7efae069b314", + "x-ms-file-last-write-time" : "2019-12-04T23:29:14.3390328Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslisthandles136861735a9cd0bb/directoryasyncapitestslisthandles1954881f1a9dfa85?comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslisthandles163927b22313c5d3/directoryasyncapitestslisthandles101143847bdd57b1?comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5fef6d87-04d0-4b04-836c-382869f44219" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "346a1d54-896f-4ece-8cdc-53a9dfdf0865" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c83b-701a-00fe-5a88-830c13000000", + "x-ms-request-id" : "172f8a4f-101a-0047-6cfa-aaf960000000", "Body" : "", - "Date" : "Tue, 15 Oct 2019 18:42:22 GMT", - "x-ms-client-request-id" : "5fef6d87-04d0-4b04-836c-382869f44219", + "Date" : "Wed, 04 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "346a1d54-896f-4ece-8cdc-53a9dfdf0865", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestslisthandles136861735a9cd0bb", "directoryasyncapitestslisthandles1954881f1a9dfa85" ] + "variables" : [ "directoryasyncapitestslisthandles163927b22313c5d3", "directoryasyncapitestslisthandles101143847bdd57b1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandlesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandlesError.json index b685bef7a7247..365138dba3769 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandlesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsListHandlesError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslisthandleserror21281cf3d3d78?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslisthandleserror51268b58e6760?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dd423f91-223e-48aa-97c9-0abc08b00ab6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "244e719e-cd07-401a-80ae-8edc779a7310" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6AD3F755", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:23 GMT", + "ETag" : "0x8D77911C66DDB6B", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c841-701a-00fe-5f88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:22 GMT", - "x-ms-client-request-id" : "dd423f91-223e-48aa-97c9-0abc08b00ab6" + "x-ms-request-id" : "172f8a55-101a-0047-71fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "244e719e-cd07-401a-80ae-8edc779a7310" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestslisthandleserror21281cf3d3d78/directoryasyncapitestslisthandleserror89743a991bd6b?comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestslisthandleserror51268b58e6760/directoryasyncapitestslisthandleserror41559c6d8f878?comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c191461-ff5a-4c24-9def-dc61d800e90a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5fb37398-485e-4aff-b30b-d7c0343a7cb3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "8639c844-701a-00fe-6188-830c13000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:8639c844-701a-00fe-6188-830c13000000\nTime:2019-10-15T18:42:24.0560809Z", - "Date" : "Tue, 15 Oct 2019 18:42:23 GMT", - "x-ms-client-request-id" : "0c191461-ff5a-4c24-9def-dc61d800e90a", + "x-ms-request-id" : "172f8a58-101a-0047-73fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8a58-101a-0047-73fa-aaf960000000\nTime:2019-12-04T23:29:14.7577836Z", + "Date" : "Wed, 04 Dec 2019 23:29:14 GMT", + "x-ms-client-request-id" : "5fb37398-485e-4aff-b30b-d7c0343a7cb3", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestslisthandleserror21281cf3d3d78", "directoryasyncapitestslisthandleserror89743a991bd6b" ] + "variables" : [ "directoryasyncapitestslisthandleserror51268b58e6760", "directoryasyncapitestslisthandleserror41559c6d8f878" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetMetadata.json index 5a7f51cc2caaf..0a4053de5a6c9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetMetadata.json @@ -1,136 +1,136 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetmetadata0922508da55977dc?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetmetadata2162765638a99ead?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "01d87566-9d84-42b6-b012-447dc4a7af58" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d68834ee-fe73-4b3f-b99e-b50ddc656961" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F67F50161", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "ETag" : "0x8D77911C23C8DC6", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c75b-701a-00fe-0688-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "x-ms-client-request-id" : "01d87566-9d84-42b6-b012-447dc4a7af58" + "x-ms-request-id" : "172f8999-101a-0047-46fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "d68834ee-fe73-4b3f-b99e-b50ddc656961" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetmetadata0922508da55977dc/directoryasyncapitestssetmetadata082780a7789f157a?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetmetadata2162765638a99ead/directoryasyncapitestssetmetadata568679449ba10680?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f04f3dce-e477-43ad-adc1-635a373de495" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d4069999-7e67-44b4-88f0-35d6d22bedde" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.2540179Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:07.7279409Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:07 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "ETag" : "0x8D7519F67FDA393", + "Date" : "Wed, 04 Dec 2019 23:29:07 GMT", + "ETag" : "0x8D77911C24A76B1", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:18.2540179Z", + "x-ms-file-change-time" : "2019-12-04T23:29:07.7279409Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c75d-701a-00fe-0788-830c13000000", - "x-ms-client-request-id" : "f04f3dce-e477-43ad-adc1-635a373de495", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.2540179Z" + "x-ms-request-id" : "172f899b-101a-0047-47fa-aaf960000000", + "x-ms-client-request-id" : "d4069999-7e67-44b4-88f0-35d6d22bedde", + "x-ms-file-last-write-time" : "2019-12-04T23:29:07.7279409Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetmetadata0922508da55977dc/directoryasyncapitestssetmetadata082780a7789f157a?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetmetadata2162765638a99ead/directoryasyncapitestssetmetadata568679449ba10680?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2fc0dbc4-1a88-42aa-88a0-3131d4422500" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fe5573b8-3111-4613-a8e7-c5bffffbedc3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.2540179Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:07.7279409Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:07 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:07 GMT", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D7519F67FDA393", + "ETag" : "0x8D77911C24A76B1", "x-ms-file-attributes" : "Directory", "x-ms-meta-testmetadata" : "value", - "x-ms-file-change-time" : "2019-10-15T18:42:18.2540179Z", + "x-ms-file-change-time" : "2019-12-04T23:29:07.7279409Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c75e-701a-00fe-0888-830c13000000", - "x-ms-client-request-id" : "2fc0dbc4-1a88-42aa-88a0-3131d4422500", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.2540179Z" + "x-ms-request-id" : "172f899c-101a-0047-48fa-aaf960000000", + "x-ms-client-request-id" : "fe5573b8-3111-4613-a8e7-c5bffffbedc3", + "x-ms-file-last-write-time" : "2019-12-04T23:29:07.7279409Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetmetadata0922508da55977dc/directoryasyncapitestssetmetadata082780a7789f157a?restype=directory&comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetmetadata2162765638a99ead/directoryasyncapitestssetmetadata568679449ba10680?restype=directory&comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "89d127a0-9ca5-4723-8b19-31d4d6962d2f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1cddd1a3-e1ef-48b6-a7cf-52c860a08842" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F680AED4E", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "ETag" : "0x8D77911C2657A93", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8639c75f-701a-00fe-0988-830c13000000", + "x-ms-request-id" : "172f899e-101a-0047-4afa-aaf960000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "x-ms-client-request-id" : "89d127a0-9ca5-4723-8b19-31d4d6962d2f" + "Date" : "Wed, 04 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "1cddd1a3-e1ef-48b6-a7cf-52c860a08842" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetmetadata0922508da55977dc/directoryasyncapitestssetmetadata082780a7789f157a?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetmetadata2162765638a99ead/directoryasyncapitestssetmetadata568679449ba10680?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fe93a9fb-87a9-483c-a132-512e737038a9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "24f31217-7405-4884-bf00-a7f92daec6bf" }, "Response" : { "x-ms-meta-update" : "value", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.2540179Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:07.7279409Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:07 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:07 GMT", "x-ms-server-encrypted" : "true", - "ETag" : "0x8D7519F680AED4E", + "ETag" : "0x8D77911C2657A93", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:18.3411022Z", + "x-ms-file-change-time" : "2019-12-04T23:29:07.9049875Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c760-701a-00fe-0a88-830c13000000", - "x-ms-client-request-id" : "fe93a9fb-87a9-483c-a132-512e737038a9", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.2540179Z" + "x-ms-request-id" : "172f89a0-101a-0047-4cfa-aaf960000000", + "x-ms-client-request-id" : "24f31217-7405-4884-bf00-a7f92daec6bf", + "x-ms-file-last-write-time" : "2019-12-04T23:29:07.7279409Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestssetmetadata0922508da55977dc", "directoryasyncapitestssetmetadata082780a7789f157a" ] + "variables" : [ "directoryasyncapitestssetmetadata2162765638a99ead", "directoryasyncapitestssetmetadata568679449ba10680" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetMetadataError.json index 66c8e718e9a8c..2d0399f818d0c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetMetadataError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetmetadataerror3657385bb959c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetmetadataerror38572371983e9?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cdf1fab2-4b90-45bf-8242-592930aa2f7f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f8406f6-33bc-4765-96c2-e689102c847d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F68276873", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "ETag" : "0x8D77911C296946F", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c766-701a-00fe-1088-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "x-ms-client-request-id" : "cdf1fab2-4b90-45bf-8242-592930aa2f7f" + "x-ms-request-id" : "172f89a7-101a-0047-53fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "5f8406f6-33bc-4765-96c2-e689102c847d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetmetadataerror3657385bb959c/directoryasyncapitestssetmetadataerror141708c24fbd1?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetmetadataerror38572371983e9/directoryasyncapitestssetmetadataerror99007252902f4?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1fb14141-7a10-4c5f-bbf0-2a0de1fc2b1d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d75d64d0-f0f7-42a9-bdcc-655c080a3978" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.5773292Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:08.3229437Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:08 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "ETag" : "0x8D7519F682EF8EC", + "Date" : "Wed, 04 Dec 2019 23:29:08 GMT", + "ETag" : "0x8D77911C2A540FD", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:18.5773292Z", + "x-ms-file-change-time" : "2019-12-04T23:29:08.3229437Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c768-701a-00fe-1188-830c13000000", - "x-ms-client-request-id" : "1fb14141-7a10-4c5f-bbf0-2a0de1fc2b1d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.5773292Z" + "x-ms-request-id" : "172f89aa-101a-0047-54fa-aaf960000000", + "x-ms-client-request-id" : "d75d64d0-f0f7-42a9-bdcc-655c080a3978", + "x-ms-file-last-write-time" : "2019-12-04T23:29:08.3229437Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetmetadataerror3657385bb959c/directoryasyncapitestssetmetadataerror141708c24fbd1?restype=directory&comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetmetadataerror38572371983e9/directoryasyncapitestssetmetadataerror99007252902f4?restype=directory&comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "41509c27-f6b3-4d4b-bcda-86332371a67f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d31633e0-f3ad-4e0e-9aa8-d2a37d9a756d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "8639c769-701a-00fe-1288-830c13000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:8639c769-701a-00fe-1288-830c13000000\nTime:2019-10-15T18:42:18.6188436Zvalue", - "Date" : "Tue, 15 Oct 2019 18:42:18 GMT", - "x-ms-client-request-id" : "41509c27-f6b3-4d4b-bcda-86332371a67f", + "x-ms-request-id" : "172f89ab-101a-0047-55fa-aaf960000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:172f89ab-101a-0047-55fa-aaf960000000\nTime:2019-12-04T23:29:08.4077826Zvalue", + "Date" : "Wed, 04 Dec 2019 23:29:08 GMT", + "x-ms-client-request-id" : "d31633e0-f3ad-4e0e-9aa8-d2a37d9a756d", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestssetmetadataerror3657385bb959c", "directoryasyncapitestssetmetadataerror141708c24fbd1" ] + "variables" : [ "directoryasyncapitestssetmetadataerror38572371983e9", "directoryasyncapitestssetmetadataerror99007252902f4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesError.json index d03df0982e6f1..ad85ca2d252ad 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesError.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertieserror83603d7030c4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertieserror20668ddc8a4c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4698cb5e-1ebb-4797-b2d3-cf98f76450d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cdb07c6c-d4be-4162-af0d-a33e7af0d765" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F67D4C743", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:17 GMT", + "ETag" : "0x8D77911C2085E8F", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c752-701a-00fe-7e88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "x-ms-client-request-id" : "4698cb5e-1ebb-4797-b2d3-cf98f76450d8" + "x-ms-request-id" : "172f8991-101a-0047-3ffa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:07 GMT", + "x-ms-client-request-id" : "cdb07c6c-d4be-4162-af0d-a33e7af0d765" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertieserror83603d7030c4/directoryasyncapitestssetpropertieserror6270865c6d86?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertieserror20668ddc8a4c/directoryasyncapitestssetpropertieserror413433b10a73?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "08d0be39-d616-4cf3-8839-99661264c7ab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8bebd206-9d58-47b1-bfa0-c1a50650dddb" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:18.0448153Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:18 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:07.3869854Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:07 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "ETag" : "0x8D7519F67DDB799", + "Date" : "Wed, 04 Dec 2019 23:29:07 GMT", + "ETag" : "0x8D77911C216701E", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:18.0448153Z", + "x-ms-file-change-time" : "2019-12-04T23:29:07.3869854Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c755-701a-00fe-8088-830c13000000", - "x-ms-client-request-id" : "08d0be39-d616-4cf3-8839-99661264c7ab", - "x-ms-file-last-write-time" : "2019-10-15T18:42:18.0448153Z" + "x-ms-request-id" : "172f8993-101a-0047-40fa-aaf960000000", + "x-ms-client-request-id" : "8bebd206-9d58-47b1-bfa0-c1a50650dddb", + "x-ms-file-last-write-time" : "2019-12-04T23:29:07.3869854Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestssetpropertieserror83603d7030c4", "directoryasyncapitestssetpropertieserror6270865c6d86" ] + "variables" : [ "directoryasyncapitestssetpropertieserror20668ddc8a4c", "directoryasyncapitestssetpropertieserror413433b10a73" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesFilePermission.json index 965d87f62dbc5..0b99c4972a30e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesFilePermission.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermission131279d0?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermission113842b4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1af74134-17b4-47b5-bde9-798ea604b1b4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e66c2f9e-7da0-4846-bc1e-c50b01fb2da4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F67656F3D", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:17 GMT", + "ETag" : "0x8D77911C1782C84", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c739-701a-00fe-6788-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", - "x-ms-client-request-id" : "1af74134-17b4-47b5-bde9-798ea604b1b4" + "x-ms-request-id" : "172f8983-101a-0047-33fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "e66c2f9e-7da0-4846-bc1e-c50b01fb2da4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermission131279d0/directoryasyncapitestssetpropertiesfilepermission16841a0f?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermission113842b4/directoryasyncapitestssetpropertiesfilepermission781861ad?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b1122462-363b-431f-9ffc-0e2836c8de7e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a6d00a07-5ba1-49c7-ad2c-12c437840549" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:17.3781721Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:17 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:06.4469433Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:06 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:16 GMT", - "ETag" : "0x8D7519F6777FED9", + "Date" : "Wed, 04 Dec 2019 23:29:06 GMT", + "ETag" : "0x8D77911C186FFB9", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:17.3781721Z", + "x-ms-file-change-time" : "2019-12-04T23:29:06.4469433Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c73c-701a-00fe-6988-830c13000000", - "x-ms-client-request-id" : "b1122462-363b-431f-9ffc-0e2836c8de7e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:17.3781721Z" + "x-ms-request-id" : "172f8985-101a-0047-34fa-aaf960000000", + "x-ms-client-request-id" : "a6d00a07-5ba1-49c7-ad2c-12c437840549", + "x-ms-file-last-write-time" : "2019-12-04T23:29:06.4469433Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermission131279d0/directoryasyncapitestssetpropertiesfilepermission16841a0f?restype=directory&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermission113842b4/directoryasyncapitestssetpropertiesfilepermission781861ad?restype=directory&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3005dd90-551d-4e3d-8e30-1f384554fbc5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d0069dc9-addc-47e4-a6ec-d8063a5c652e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:17.3781721Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:17 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:06.4469433Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:06 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "ETag" : "0x8D7519F678A04B1", + "Date" : "Wed, 04 Dec 2019 23:29:06 GMT", + "ETag" : "0x8D77911C1953209", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:17.4962865Z", + "x-ms-file-change-time" : "2019-12-04T23:29:06.5399817Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c73e-701a-00fe-6b88-830c13000000", - "x-ms-client-request-id" : "3005dd90-551d-4e3d-8e30-1f384554fbc5", - "x-ms-file-last-write-time" : "2019-10-15T18:42:17.3781721Z" + "x-ms-request-id" : "172f8986-101a-0047-35fa-aaf960000000", + "x-ms-client-request-id" : "d0069dc9-addc-47e4-a6ec-d8063a5c652e", + "x-ms-file-last-write-time" : "2019-12-04T23:29:06.4469433Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestssetpropertiesfilepermission131279d0", "directoryasyncapitestssetpropertiesfilepermission16841a0f" ] + "variables" : [ "directoryasyncapitestssetpropertiesfilepermission113842b4", "directoryasyncapitestssetpropertiesfilepermission781861ad" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesFilePermissionKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesFilePermissionKey.json index 5860c4d475646..182adedfe4081 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesFilePermissionKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/DirectoryAsyncAPITestsSetPropertiesFilePermissionKey.json @@ -1,104 +1,104 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermissionkey80467f?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermissionkey386785?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9a075626-33d7-4c66-adfb-b8b865253d93" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f153beb-973c-4f07-80de-ca1b5bc1b8b3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F67A7DFC9", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:17 GMT", + "ETag" : "0x8D77911C1B9A257", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c743-701a-00fe-7088-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "x-ms-client-request-id" : "9a075626-33d7-4c66-adfb-b8b865253d93" + "x-ms-request-id" : "172f8989-101a-0047-38fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "4f153beb-973c-4f07-80de-ca1b5bc1b8b3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermissionkey80467f?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermissionkey386785?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "db609f3b-4b59-4a61-b9c3-21c8b633e05f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f42abb7f-bbf6-4123-9ac5-4b832daa59b6", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639c747-701a-00fe-7388-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "x-ms-client-request-id" : "db609f3b-4b59-4a61-b9c3-21c8b633e05f" + "x-ms-request-id" : "172f898b-101a-0047-39fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:06 GMT", + "x-ms-client-request-id" : "f42abb7f-bbf6-4123-9ac5-4b832daa59b6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermissionkey80467f/directoryasyncapitestssetpropertiesfilepermissionkey779264?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermissionkey386785/directoryasyncapitestssetpropertiesfilepermissionkey682388?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "728d364a-4d31-4e04-8e38-55709c2359e5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "79b1bb3a-4359-4be1-8f77-9147bbb9526f" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:17.7965763Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:17 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:06.9629347Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:06 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "ETag" : "0x8D7519F67B7D6C3", + "Date" : "Wed, 04 Dec 2019 23:29:06 GMT", + "ETag" : "0x8D77911C1D5BBA3", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:17.7965763Z", + "x-ms-file-change-time" : "2019-12-04T23:29:06.9629347Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c749-701a-00fe-7588-830c13000000", - "x-ms-client-request-id" : "728d364a-4d31-4e04-8e38-55709c2359e5", - "x-ms-file-last-write-time" : "2019-10-15T18:42:17.7965763Z" + "x-ms-request-id" : "172f898c-101a-0047-3afa-aaf960000000", + "x-ms-client-request-id" : "79b1bb3a-4359-4be1-8f77-9147bbb9526f", + "x-ms-file-last-write-time" : "2019-12-04T23:29:06.9629347Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermissionkey80467f/directoryasyncapitestssetpropertiesfilepermissionkey779264?restype=directory&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/directoryasyncapitestssetpropertiesfilepermissionkey386785/directoryasyncapitestssetpropertiesfilepermissionkey682388?restype=directory&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "074b3a62-a8db-4ecc-88c6-d15101855b1f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1bd8c9c5-37e7-4052-a71d-e7232bfddea4" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:17.7816494Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:17 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:06.8750204Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:07 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:17 GMT", - "ETag" : "0x8D7519F67C0645B", + "Date" : "Wed, 04 Dec 2019 23:29:07 GMT", + "ETag" : "0x8D77911C1E30286", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:42:17.8526299Z", + "x-ms-file-change-time" : "2019-12-04T23:29:07.0499462Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639c74c-701a-00fe-7888-830c13000000", - "x-ms-client-request-id" : "074b3a62-a8db-4ecc-88c6-d15101855b1f", - "x-ms-file-last-write-time" : "2019-10-15T18:42:17.7816494Z" + "x-ms-request-id" : "172f898d-101a-0047-3bfa-aaf960000000", + "x-ms-client-request-id" : "1bd8c9c5-37e7-4052-a71d-e7232bfddea4", + "x-ms-file-last-write-time" : "2019-12-04T23:29:06.8750204Z" }, "Exception" : null } ], - "variables" : [ "directoryasyncapitestssetpropertiesfilepermissionkey80467f", "directoryasyncapitestssetpropertiesfilepermissionkey779264", "2019-10-15T18:42:17.781649400Z", "2019-10-15T18:42:17.781649400Z" ] + "variables" : [ "directoryasyncapitestssetpropertiesfilepermissionkey386785", "directoryasyncapitestssetpropertiesfilepermissionkey682388", "2019-12-04T23:29:06.875020400Z", "2019-12-04T23:29:06.875020400Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsClearRangeError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsClearRangeError.json index f7cabea913f62..7d6fa1069d78a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsClearRangeError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsClearRangeError.json @@ -1,100 +1,100 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsclearrangeerror7434739d0d0d3a37745?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsclearrangeerror5795615a9ddd520984f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5d267f8b-1fbf-4796-90d8-850b2baa8c0b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63728772-55c8-4cf5-abe3-6ac0d18ae338" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F71BA58BC", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "ETag" : "0x8D77911CFFA0275", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639cac4-701a-00fe-2e88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "x-ms-client-request-id" : "5d267f8b-1fbf-4796-90d8-850b2baa8c0b" + "x-ms-request-id" : "172f8bf8-101a-0047-53fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "63728772-55c8-4cf5-abe3-6ac0d18ae338" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsclearrangeerror7434739d0d0d3a37745/fileapitestsclearrangeerror721341239e1f7888940", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsclearrangeerror5795615a9ddd520984f/fileapitestsclearrangeerror48479655b497c1ac547", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "73719543-cf6c-4aa8-ba8d-8640ae1f82dc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "de311882-f80f-4d60-b723-0af5446759c9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:34.6488304Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:30.7891162Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:30 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "ETag" : "0x8D7519F71C349F0", + "Date" : "Wed, 04 Dec 2019 23:29:30 GMT", + "ETag" : "0x8D77911D00951DA", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:34.6488304Z", + "x-ms-file-change-time" : "2019-12-04T23:29:30.7891162Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639cac7-701a-00fe-3088-830c13000000", - "x-ms-client-request-id" : "73719543-cf6c-4aa8-ba8d-8640ae1f82dc", - "x-ms-file-last-write-time" : "2019-10-15T18:42:34.6488304Z" + "x-ms-request-id" : "172f8bfa-101a-0047-54fa-aaf960000000", + "x-ms-client-request-id" : "de311882-f80f-4d60-b723-0af5446759c9", + "x-ms-file-last-write-time" : "2019-12-04T23:29:30.7891162Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsclearrangeerror7434739d0d0d3a37745/fileapitestsclearrangeerror721341239e1f7888940?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsclearrangeerror5795615a9ddd520984f/fileapitestsclearrangeerror48479655b497c1ac547?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "38fa6974-0a5d-4f5e-96d8-ced222527148", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "97549cf6-42f2-460a-965b-227e8344cd4d", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F71CB8955", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "ETag" : "0x8D77911D0169800", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639cacb-701a-00fe-3488-830c13000000", + "x-ms-request-id" : "172f8bfc-101a-0047-55fa-aaf960000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "x-ms-client-request-id" : "38fa6974-0a5d-4f5e-96d8-ced222527148", + "Date" : "Wed, 04 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "97549cf6-42f2-460a-965b-227e8344cd4d", "Content-MD5" : "A5momLrihyOacM8O00uT1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsclearrangeerror7434739d0d0d3a37745/fileapitestsclearrangeerror721341239e1f7888940?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsclearrangeerror5795615a9ddd520984f/fileapitestsclearrangeerror48479655b497c1ac547?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0fd0a4f3-af91-4f3d-9c9e-1ab243a0bef1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0480dccc-b0c1-4778-845a-344c94803139" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidRange", "retry-after" : "0", "Content-Length" : "249", "StatusCode" : "416", - "x-ms-request-id" : "8639cacc-701a-00fe-3588-830c13000000", - "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:8639cacc-701a-00fe-3588-830c13000000\nTime:2019-10-15T18:42:34.9325574Z", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "x-ms-client-request-id" : "0fd0a4f3-af91-4f3d-9c9e-1ab243a0bef1", + "x-ms-request-id" : "172f8bfd-101a-0047-56fa-aaf960000000", + "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:172f8bfd-101a-0047-56fa-aaf960000000\nTime:2019-12-04T23:29:30.9727854Z", + "Date" : "Wed, 04 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "0480dccc-b0c1-4778-845a-344c94803139", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestsclearrangeerror7434739d0d0d3a37745", "fileapitestsclearrangeerror721341239e1f7888940" ] + "variables" : [ "fileapitestsclearrangeerror5795615a9ddd520984f", "fileapitestsclearrangeerror48479655b497c1ac547" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsClearRangeErrorArgs.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsClearRangeErrorArgs.json index 9cd09182af46f..484dc29f5eb54 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsClearRangeErrorArgs.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsClearRangeErrorArgs.json @@ -1,100 +1,100 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsclearrangeerrorargs35810bcd62a8dc949?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsclearrangeerrorargs07978d12ea158f046?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0adde99a-ad51-4e0d-8ca9-20b707003bae" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77ca9f6b-b2bd-40b1-b43f-985956caadf3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7203338B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:35 GMT", + "ETag" : "0x8D77911D04DEF03", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639cad7-701a-00fe-3e88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "x-ms-client-request-id" : "0adde99a-ad51-4e0d-8ca9-20b707003bae" + "x-ms-request-id" : "172f8c05-101a-0047-5cfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:30 GMT", + "x-ms-client-request-id" : "77ca9f6b-b2bd-40b1-b43f-985956caadf3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsclearrangeerrorargs35810bcd62a8dc949/fileapitestsclearrangeerrorargs61916237bcacc0db2", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsclearrangeerrorargs07978d12ea158f046/fileapitestsclearrangeerrorargs839040023c70a8da5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "83f81fa6-b09b-482d-800e-1ec10ef5ff69" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e3d44e37-bc91-4ba0-9b92-214905ddc96e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:35.1262904Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:35 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:31.3441092Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:31 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "ETag" : "0x8D7519F720C24B8", + "Date" : "Wed, 04 Dec 2019 23:29:30 GMT", + "ETag" : "0x8D77911D05E0144", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:35.1262904Z", + "x-ms-file-change-time" : "2019-12-04T23:29:31.3441092Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639cada-701a-00fe-4088-830c13000000", - "x-ms-client-request-id" : "83f81fa6-b09b-482d-800e-1ec10ef5ff69", - "x-ms-file-last-write-time" : "2019-10-15T18:42:35.1262904Z" + "x-ms-request-id" : "172f8c08-101a-0047-5efa-aaf960000000", + "x-ms-client-request-id" : "e3d44e37-bc91-4ba0-9b92-214905ddc96e", + "x-ms-file-last-write-time" : "2019-12-04T23:29:31.3441092Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsclearrangeerrorargs35810bcd62a8dc949/fileapitestsclearrangeerrorargs61916237bcacc0db2?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsclearrangeerrorargs07978d12ea158f046/fileapitestsclearrangeerrorargs839040023c70a8da5?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f3f2bfd-141e-4512-a62a-da9df918c5aa", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b1a3d858-0dd1-4b61-a1ab-1740ef635151", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F72128EF2", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:35 GMT", + "ETag" : "0x8D77911D06B6F19", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639cae0-701a-00fe-4688-830c13000000", + "x-ms-request-id" : "172f8c0a-101a-0047-60fa-aaf960000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "x-ms-client-request-id" : "8f3f2bfd-141e-4512-a62a-da9df918c5aa", + "Date" : "Wed, 04 Dec 2019 23:29:31 GMT", + "x-ms-client-request-id" : "b1a3d858-0dd1-4b61-a1ab-1740ef635151", "Content-MD5" : "A5momLrihyOacM8O00uT1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsclearrangeerrorargs35810bcd62a8dc949/fileapitestsclearrangeerrorargs61916237bcacc0db2?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsclearrangeerrorargs07978d12ea158f046/fileapitestsclearrangeerrorargs839040023c70a8da5?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "31545602-a9e8-4005-8a41-7668c4ec88e5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9a74addc-c5a6-47fd-a66d-bab3ca997344" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidRange", "retry-after" : "0", "Content-Length" : "249", "StatusCode" : "416", - "x-ms-request-id" : "8639cae1-701a-00fe-4788-830c13000000", - "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:8639cae1-701a-00fe-4788-830c13000000\nTime:2019-10-15T18:42:35.2228374Z", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "x-ms-client-request-id" : "31545602-a9e8-4005-8a41-7668c4ec88e5", + "x-ms-request-id" : "172f8c0c-101a-0047-62fa-aaf960000000", + "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:172f8c0c-101a-0047-62fa-aaf960000000\nTime:2019-12-04T23:29:31.5157852Z", + "Date" : "Wed, 04 Dec 2019 23:29:31 GMT", + "x-ms-client-request-id" : "9a74addc-c5a6-47fd-a66d-bab3ca997344", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestsclearrangeerrorargs35810bcd62a8dc949", "fileapitestsclearrangeerrorargs61916237bcacc0db2" ] + "variables" : [ "fileapitestsclearrangeerrorargs07978d12ea158f046", "fileapitestsclearrangeerrorargs839040023c70a8da5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFile.json index 7462ba5cb03ad..29a24380af395 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFile.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilefileapitestscreatefiledbf76988e71d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilefileapitestscreatefiled1b532802c22?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3bf255f4-91e7-442c-9f01-6fa6ba119fe0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "01e93f50-1181-42ad-9c16-a19edbddb7a7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F700A4290", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:31 GMT", + "ETag" : "0x8D77911CCF80D67", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca34-701a-00fe-3088-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "x-ms-client-request-id" : "3bf255f4-91e7-442c-9f01-6fa6ba119fe0" + "x-ms-request-id" : "172f8b7f-101a-0047-69fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "01e93f50-1181-42ad-9c16-a19edbddb7a7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilefileapitestscreatefiledbf76988e71d/fileapitestscreatefilefileapitestscreatefiledbf01183cd06", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilefileapitestscreatefiled1b532802c22/fileapitestscreatefilefileapitestscreatefiled1b906811151", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3c93594f-94a9-46bd-a2c1-259faade1d6e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d8305dd6-3e4d-4774-8059-7dac59f734fe" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:31.8090920Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:31 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:25.7411221Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:25 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "ETag" : "0x8D7519F7011FAA8", + "Date" : "Wed, 04 Dec 2019 23:29:25 GMT", + "ETag" : "0x8D77911CD070E95", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:31.8090920Z", + "x-ms-file-change-time" : "2019-12-04T23:29:25.7411221Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639ca38-701a-00fe-3388-830c13000000", - "x-ms-client-request-id" : "3c93594f-94a9-46bd-a2c1-259faade1d6e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:31.8090920Z" + "x-ms-request-id" : "172f8b82-101a-0047-6bfa-aaf960000000", + "x-ms-client-request-id" : "d8305dd6-3e4d-4774-8059-7dac59f734fe", + "x-ms-file-last-write-time" : "2019-12-04T23:29:25.7411221Z" }, "Exception" : null } ], - "variables" : [ "fileapitestscreatefilefileapitestscreatefiledbf76988e71d", "fileapitestscreatefilefileapitestscreatefiledbf01183cd06" ] + "variables" : [ "fileapitestscreatefilefileapitestscreatefiled1b532802c22", "fileapitestscreatefilefileapitestscreatefiled1b906811151" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileError.json index 0b5c46b75b505..355add8f311bb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefileerror264113e7dd7f3320c42?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefileerror50835d9de2ddff67a4a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "07d44074-8a5c-4df0-9a90-ef435b5e3f97" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9cd6f06c-8fa2-4504-badc-9529736e4b66" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F70243996", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:31 GMT", + "ETag" : "0x8D77911CD2D270D", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca3c-701a-00fe-3788-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "x-ms-client-request-id" : "07d44074-8a5c-4df0-9a90-ef435b5e3f97" + "x-ms-request-id" : "172f8b8a-101a-0047-72fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "9cd6f06c-8fa2-4504-badc-9529736e4b66" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefileerror264113e7dd7f3320c42/fileapitestscreatefileerror90542371775ed4f374d", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefileerror50835d9de2ddff67a4a/fileapitestscreatefileerror8225882e56f9b8ea247", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "27e321e3-6ae2-477b-993b-a261354e49d0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "124fb7b4-8748-4fa1-9c59-7b14dd15520a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "8639ca3e-701a-00fe-3888-830c13000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:8639ca3e-701a-00fe-3888-830c13000000\nTime:2019-10-15T18:42:31.9667033Z", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "x-ms-client-request-id" : "27e321e3-6ae2-477b-993b-a261354e49d0", + "x-ms-request-id" : "172f8b8e-101a-0047-75fa-aaf960000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:172f8b8e-101a-0047-75fa-aaf960000000\nTime:2019-12-04T23:29:26.0727856Z", + "Date" : "Wed, 04 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "124fb7b4-8748-4fa1-9c59-7b14dd15520a", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestscreatefileerror264113e7dd7f3320c42", "fileapitestscreatefileerror90542371775ed4f374d" ] + "variables" : [ "fileapitestscreatefileerror50835d9de2ddff67a4a", "fileapitestscreatefileerror8225882e56f9b8ea247" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFilePermissionAndKeyError0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFilePermissionAndKeyError0.json index 61d1a6a03d657..f70176cd97a01 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFilePermissionAndKeyError0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFilePermissionAndKeyError0.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilepermissionandkeyerror08979026725?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilepermissionandkeyerror0783789cdea?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad6909d1-b9af-4016-9654-8871bb7ad08c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dbdc5d65-ff09-4f53-8b0b-7642799c319b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7099FB96", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:32 GMT", + "ETag" : "0x8D77911CE13DD63", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca5c-701a-00fe-5088-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "x-ms-client-request-id" : "ad6909d1-b9af-4016-9654-8871bb7ad08c" + "x-ms-request-id" : "172f8bb3-101a-0047-17fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:27 GMT", + "x-ms-client-request-id" : "dbdc5d65-ff09-4f53-8b0b-7642799c319b" }, "Exception" : null } ], - "variables" : [ "fileapitestscreatefilepermissionandkeyerror08979026725", "fileapitestscreatefilepermissionandkeyerror01059529962" ] + "variables" : [ "fileapitestscreatefilepermissionandkeyerror0783789cdea", "fileapitestscreatefilepermissionandkeyerror015007fc189" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFilePermissionAndKeyError1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFilePermissionAndKeyError1.json index f340cdc8098fa..e8a8389193c2d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFilePermissionAndKeyError1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFilePermissionAndKeyError1.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilepermissionandkeyerror10446175fab?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilepermissionandkeyerror133146ce3c0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c97ce9a8-2653-469b-bae4-0231404e52cd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "076f4956-09fb-4fc7-8cad-8fd62b221992" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F70B307FE", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:32 GMT", + "ETag" : "0x8D77911CE3BD7B2", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca66-701a-00fe-5888-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "x-ms-client-request-id" : "c97ce9a8-2653-469b-bae4-0231404e52cd" + "x-ms-request-id" : "172f8bba-101a-0047-1dfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:27 GMT", + "x-ms-client-request-id" : "076f4956-09fb-4fc7-8cad-8fd62b221992" }, "Exception" : null } ], - "variables" : [ "fileapitestscreatefilepermissionandkeyerror10446175fab", "fileapitestscreatefilepermissionandkeyerror19774570dae" ] + "variables" : [ "fileapitestscreatefilepermissionandkeyerror133146ce3c0", "fileapitestscreatefilepermissionandkeyerror16844582eb7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsError.json index 214a9da7e01ea..ced398f7c2f5e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilewithargserror825773b898c1268?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilewithargserror015135ebc4a2333?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8b3c2df-1790-4ee7-866d-3919f77f97ca" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b18b019c-5d88-4b3b-b00b-2e4187732272" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F707F8F45", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:32 GMT", + "ETag" : "0x8D77911CDE07177", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca57-701a-00fe-4c88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "x-ms-client-request-id" : "b8b3c2df-1790-4ee7-866d-3919f77f97ca" + "x-ms-request-id" : "172f8bab-101a-0047-10fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "b18b019c-5d88-4b3b-b00b-2e4187732272" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilewithargserror825773b898c1268/fileapitestscreatefilewithargserror31410277cdcfbe9", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilewithargserror015135ebc4a2333/fileapitestscreatefilewithargserror286655f640e46a2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "da1a1cea-fa59-4450-ace0-aa1ad21c94e2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "208fc885-a4fd-4705-af38-bdcab3881340" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "8639ca59-701a-00fe-4d88-830c13000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:8639ca59-701a-00fe-4d88-830c13000000\nTime:2019-10-15T18:42:32.5692801Z", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "x-ms-client-request-id" : "da1a1cea-fa59-4450-ace0-aa1ad21c94e2", + "x-ms-request-id" : "172f8bad-101a-0047-11fa-aaf960000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:172f8bad-101a-0047-11fa-aaf960000000\nTime:2019-12-04T23:29:27.2547898Z", + "Date" : "Wed, 04 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "208fc885-a4fd-4705-af38-bdcab3881340", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestscreatefilewithargserror825773b898c1268", "fileapitestscreatefilewithargserror31410277cdcfbe9" ] + "variables" : [ "fileapitestscreatefilewithargserror015135ebc4a2333", "fileapitestscreatefilewithargserror286655f640e46a2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsFp.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsFp.json index 93455c4394cc7..d636f510933c6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsFp.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsFp.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilewithargsfp76365ddc6d80ce62?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilewithargsfp8870402c8acd76f0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "16d7fdcf-b88f-4763-aecb-9462cbcfc6f9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63e63512-e94b-4ab8-bd20-b3b31f507551" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F706486A4", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:32 GMT", + "ETag" : "0x8D77911CDAB5791", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca4f-701a-00fe-4588-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "x-ms-client-request-id" : "16d7fdcf-b88f-4763-aecb-9462cbcfc6f9" + "x-ms-request-id" : "172f8ba0-101a-0047-06fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "63e63512-e94b-4ab8-bd20-b3b31f507551" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilewithargsfp76365ddc6d80ce62/fileapitestscreatefilewithargsfp4068739adc001b68", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilewithargsfp8870402c8acd76f0/fileapitestscreatefilewithargsfp6996148a47ae332c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "112a6551-fadf-4223-aa93-2c78744a7b2c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8ff6d8f5-e893-4282-a0da-29bf91f7f764" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:32.3747736Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:32 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:26.8238008Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:26 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "ETag" : "0x8D7519F70684B98", + "Date" : "Wed, 04 Dec 2019 23:29:26 GMT", + "ETag" : "0x8D77911CDAC42B8", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:32.3747736Z", + "x-ms-file-change-time" : "2019-12-04T23:29:26.8238008Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639ca53-701a-00fe-4888-830c13000000", - "x-ms-client-request-id" : "112a6551-fadf-4223-aa93-2c78744a7b2c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:32.3747736Z" + "x-ms-request-id" : "172f8ba2-101a-0047-07fa-aaf960000000", + "x-ms-client-request-id" : "8ff6d8f5-e893-4282-a0da-29bf91f7f764", + "x-ms-file-last-write-time" : "2019-12-04T23:29:26.8238008Z" }, "Exception" : null } ], - "variables" : [ "fileapitestscreatefilewithargsfp76365ddc6d80ce62", "fileapitestscreatefilewithargsfp4068739adc001b68", "2019-10-15T18:42:32.374773600Z", "2019-10-15T18:42:32.374773600Z" ] + "variables" : [ "fileapitestscreatefilewithargsfp8870402c8acd76f0", "fileapitestscreatefilewithargsfp6996148a47ae332c", "2019-12-04T23:29:26.823800800Z", "2019-12-04T23:29:26.823800800Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsFpk.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsFpk.json index 108c7e0106ee4..78f49060c4b09 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsFpk.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsCreateFileWithArgsFpk.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilewithargsfpk488050c6db30dc4e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilewithargsfpk9403868bceb57475?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "38da453f-ea35-4276-997c-c25862224679" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dd71aa89-ea01-484a-bc51-a5a766aca8e1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F703E096F", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:32 GMT", + "ETag" : "0x8D77911CD69941A", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca47-701a-00fe-3f88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "x-ms-client-request-id" : "38da453f-ea35-4276-997c-c25862224679" + "x-ms-request-id" : "172f8b94-101a-0047-7bfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "dd71aa89-ea01-484a-bc51-a5a766aca8e1" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilewithargsfpk488050c6db30dc4e?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilewithargsfpk9403868bceb57475?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "84344e0b-3d40-4130-b0b8-42af15c4cbc9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c745812a-6703-4255-8597-3be106b524aa", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca4a-701a-00fe-4188-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "x-ms-client-request-id" : "84344e0b-3d40-4130-b0b8-42af15c4cbc9" + "x-ms-request-id" : "172f8b98-101a-0047-7efa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:26 GMT", + "x-ms-client-request-id" : "c745812a-6703-4255-8597-3be106b524aa" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestscreatefilewithargsfpk488050c6db30dc4e/fileapitestscreatefilewithargsfpk278108de1cbd4c9e", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestscreatefilewithargsfpk9403868bceb57475/fileapitestscreatefilewithargsfpk540153c40f45ad27", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20cdb7ac-9921-4e73-8e23-7e81ae9016f6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e82e3da-6878-4ce1-8a88-9a56e8105a96" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:32.1855256Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:32 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:26.4715727Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:26 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "ETag" : "0x8D7519F704B6B18", + "Date" : "Wed, 04 Dec 2019 23:29:26 GMT", + "ETag" : "0x8D77911CD7683CF", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:32.1855256Z", + "x-ms-file-change-time" : "2019-12-04T23:29:26.4715727Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639ca4b-701a-00fe-4288-830c13000000", - "x-ms-client-request-id" : "20cdb7ac-9921-4e73-8e23-7e81ae9016f6", - "x-ms-file-last-write-time" : "2019-10-15T18:42:32.1855256Z" + "x-ms-request-id" : "172f8b9a-101a-0047-80fa-aaf960000000", + "x-ms-client-request-id" : "8e82e3da-6878-4ce1-8a88-9a56e8105a96", + "x-ms-file-last-write-time" : "2019-12-04T23:29:26.4715727Z" }, "Exception" : null } ], - "variables" : [ "fileapitestscreatefilewithargsfpk488050c6db30dc4e", "fileapitestscreatefilewithargsfpk278108de1cbd4c9e", "2019-10-15T18:42:32.185525600Z", "2019-10-15T18:42:32.185525600Z" ] + "variables" : [ "fileapitestscreatefilewithargsfpk9403868bceb57475", "fileapitestscreatefilewithargsfpk540153c40f45ad27", "2019-12-04T23:29:26.471572700Z", "2019-12-04T23:29:26.471572700Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDeleteFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDeleteFile.json index 278f5d04145ff..44a378ef2dcb3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDeleteFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDeleteFile.json @@ -1,73 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsdeletefilefileapitestsdeletefile5fc143714901?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsdeletefilefileapitestsdeletefile0ca41694ed59?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d587621a-10d0-413c-8c8b-c2193e8aa30e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "14d3e489-a0fb-4306-b8ec-0e6ecbe31bdd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F76102A82", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:41 GMT", + "ETag" : "0x8D77911D35B9943", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6f1-f01a-00ef-4988-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:41 GMT", - "x-ms-client-request-id" : "d587621a-10d0-413c-8c8b-c2193e8aa30e" + "x-ms-request-id" : "77a6753d-f01a-002d-6cfa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "14d3e489-a0fb-4306-b8ec-0e6ecbe31bdd" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsdeletefilefileapitestsdeletefile5fc143714901/fileapitestsdeletefilefileapitestsdeletefile5fc916822b10", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsdeletefilefileapitestsdeletefile0ca41694ed59/fileapitestsdeletefilefileapitestsdeletefile0ca74893f4aa", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aeefff1b-5d8c-470a-839e-15d5dd88c62a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f182f03c-851b-45e9-94c4-55252a491636" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:41.9198466Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:41 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:36.4611518Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:36 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:41 GMT", - "ETag" : "0x8D7519F7618C202", + "Date" : "Wed, 04 Dec 2019 23:29:35 GMT", + "ETag" : "0x8D77911D36ACDBE", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:41.9198466Z", + "x-ms-file-change-time" : "2019-12-04T23:29:36.4611518Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e6f3-f01a-00ef-4a88-833b08000000", - "x-ms-client-request-id" : "aeefff1b-5d8c-470a-839e-15d5dd88c62a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:41.9198466Z" + "x-ms-request-id" : "77a67540-f01a-002d-6dfa-aa2148000000", + "x-ms-client-request-id" : "f182f03c-851b-45e9-94c4-55252a491636", + "x-ms-file-last-write-time" : "2019-12-04T23:29:36.4611518Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsdeletefilefileapitestsdeletefile5fc143714901/fileapitestsdeletefilefileapitestsdeletefile5fc916822b10", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsdeletefilefileapitestsdeletefile0ca41694ed59/fileapitestsdeletefilefileapitestsdeletefile0ca74893f4aa", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7954e940-908f-4198-ac90-34d8e8db98c8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ae5f296b-634e-4589-a2fe-a2c2bd9c246a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "89e9e6f4-f01a-00ef-4b88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:41 GMT", - "x-ms-client-request-id" : "7954e940-908f-4198-ac90-34d8e8db98c8" + "x-ms-request-id" : "77a67541-f01a-002d-6efa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "ae5f296b-634e-4589-a2fe-a2c2bd9c246a" }, "Exception" : null } ], - "variables" : [ "fileapitestsdeletefilefileapitestsdeletefile5fc143714901", "fileapitestsdeletefilefileapitestsdeletefile5fc916822b10" ] + "variables" : [ "fileapitestsdeletefilefileapitestsdeletefile0ca41694ed59", "fileapitestsdeletefilefileapitestsdeletefile0ca74893f4aa" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDeleteFileError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDeleteFileError.json index 46e6841c3e2b8..a45ae4319f986 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDeleteFileError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDeleteFileError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsdeletefileerror678935be0eac7477849?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsdeletefileerror703574a25a873f04f41?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0079e62e-e8a3-4776-a9ce-53ab1ccb1c9d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f9902b5a-b85f-43ae-a611-c1a60aa7671e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F76365991", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:42 GMT", + "ETag" : "0x8D77911D39D0F38", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6f7-f01a-00ef-4e88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", - "x-ms-client-request-id" : "0079e62e-e8a3-4776-a9ce-53ab1ccb1c9d" + "x-ms-request-id" : "77a67546-f01a-002d-73fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "f9902b5a-b85f-43ae-a611-c1a60aa7671e" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsdeletefileerror678935be0eac7477849/fileapitestsdeletefileerror5448297b7ef3a3d134c", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsdeletefileerror703574a25a873f04f41/fileapitestsdeletefileerror3746086068615fd1e4c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8d1c0ce0-5bd6-4a88-bc4c-ab322cce12ff" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "85941b6b-eb9b-4705-acd9-f51061713fc9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "89e9e6fa-f01a-00ef-5088-833b08000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:89e9e6fa-f01a-00ef-5088-833b08000000\nTime:2019-10-15T18:42:42.3930501Z", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", - "x-ms-client-request-id" : "8d1c0ce0-5bd6-4a88-bc4c-ab322cce12ff", + "x-ms-request-id" : "77a6754a-f01a-002d-76fa-aa2148000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:77a6754a-f01a-002d-76fa-aa2148000000\nTime:2019-12-04T23:29:36.8745131Z", + "Date" : "Wed, 04 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "85941b6b-eb9b-4705-acd9-f51061713fc9", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestsdeletefileerror678935be0eac7477849", "fileapitestsdeletefileerror5448297b7ef3a3d134c" ] + "variables" : [ "fileapitestsdeletefileerror703574a25a873f04f41", "fileapitestsdeletefileerror3746086068615fd1e4c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDownloadDataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDownloadDataError.json index ba0b90454001d..7e8495a5c7768 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDownloadDataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsDownloadDataError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsdownloaddataerror915719700909747014?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsdownloaddataerror553051e9dc06ceda84?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cf9149d2-f323-4b0b-a47c-1f04363b2713" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "befa2be7-2f36-4f7f-a16a-da90811cc27e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F72F4DF9E", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:36 GMT", + "ETag" : "0x8D77911D169B37C", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6bb-f01a-00ef-2288-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:36 GMT", - "x-ms-client-request-id" : "cf9149d2-f323-4b0b-a47c-1f04363b2713" + "x-ms-request-id" : "77a67502-f01a-002d-38fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "befa2be7-2f36-4f7f-a16a-da90811cc27e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsdownloaddataerror915719700909747014/fileapitestsdownloaddataerror27737636ea0c41dc14", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsdownloaddataerror553051e9dc06ceda84/fileapitestsdownloaddataerror54987e90ba77045764", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c49795d-82ba-4fd2-9700-1c19480698ab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1501f2c0-ea21-452e-850f-9bb93c784d0e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "89e9e6bd-f01a-00ef-2388-833b08000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:89e9e6bd-f01a-00ef-2388-833b08000000\nTime:2019-10-15T18:42:36.7245814Z", - "Date" : "Tue, 15 Oct 2019 18:42:36 GMT", - "x-ms-client-request-id" : "0c49795d-82ba-4fd2-9700-1c19480698ab", + "x-ms-request-id" : "77a67506-f01a-002d-3bfa-aa2148000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:77a67506-f01a-002d-3bfa-aa2148000000\nTime:2019-12-04T23:29:33.1854822Z", + "Date" : "Wed, 04 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "1501f2c0-ea21-452e-850f-9bb93c784d0e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestsdownloaddataerror915719700909747014", "fileapitestsdownloaddataerror27737636ea0c41dc14" ] + "variables" : [ "fileapitestsdownloaddataerror553051e9dc06ceda84", "fileapitestsdownloaddataerror54987e90ba77045764" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseAllHandlesMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseAllHandlesMin.json index 6263d744a0f76..21766062fcbaf 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseAllHandlesMin.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseAllHandlesMin.json @@ -1,74 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforcecloseallhandlesmin69862d2640e35dd?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforcecloseallhandlesmin0686300fa07b127?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "39b79ff5-5b8d-4ba0-bb65-4418c5667108" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bb9ac4e2-ebc1-446f-a6b0-36c6ddb38e65" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D9722605B8", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:46 GMT", + "ETag" : "0x8D77911D7622F70", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d23ffd0-401a-0075-7cc2-83b7cd000000", - "Date" : "Wed, 16 Oct 2019 01:37:45 GMT", - "x-ms-client-request-id" : "39b79ff5-5b8d-4ba0-bb65-4418c5667108" + "x-ms-request-id" : "77a675b9-f01a-002d-53fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:42 GMT", + "x-ms-client-request-id" : "bb9ac4e2-ebc1-446f-a6b0-36c6ddb38e65" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforcecloseallhandlesmin69862d2640e35dd/fileapitestsforcecloseallhandlesmin9808236c7868dd3", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforcecloseallhandlesmin0686300fa07b127/fileapitestsforcecloseallhandlesmin626708e1f74f0ff", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "94a7349c-1766-4d73-883e-db692dc36066" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37a80949-9f88-4f84-ae8d-6a4b676e7f42" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:37:46.1567722Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:46 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:43.2141911Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:43 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:37:45 GMT", - "ETag" : "0x8D751D9722DBCEA", + "Date" : "Wed, 04 Dec 2019 23:29:42 GMT", + "ETag" : "0x8D77911D7713C57", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-16T01:37:46.1567722Z", + "x-ms-file-change-time" : "2019-12-04T23:29:43.2141911Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "0d23ffd2-401a-0075-7dc2-83b7cd000000", - "x-ms-client-request-id" : "94a7349c-1766-4d73-883e-db692dc36066", - "x-ms-file-last-write-time" : "2019-10-16T01:37:46.1567722Z" + "x-ms-request-id" : "77a675bb-f01a-002d-54fa-aa2148000000", + "x-ms-client-request-id" : "37a80949-9f88-4f84-ae8d-6a4b676e7f42", + "x-ms-file-last-write-time" : "2019-12-04T23:29:43.2141911Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforcecloseallhandlesmin69862d2640e35dd/fileapitestsforcecloseallhandlesmin9808236c7868dd3?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforcecloseallhandlesmin0686300fa07b127/fileapitestsforcecloseallhandlesmin626708e1f74f0ff?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0dc7bb4e-9743-4ade-b817-cb8e2e244795" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc182e33-2e4a-45eb-a5c1-881f4eb6ec0f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-number-of-handles-closed" : "0", + "x-ms-number-of-handles-failed" : "0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d23ffd3-401a-0075-7ec2-83b7cd000000", - "Date" : "Wed, 16 Oct 2019 01:37:46 GMT", - "x-ms-client-request-id" : "0dc7bb4e-9743-4ade-b817-cb8e2e244795" + "x-ms-request-id" : "77a675bc-f01a-002d-55fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:42 GMT", + "x-ms-client-request-id" : "fc182e33-2e4a-45eb-a5c1-881f4eb6ec0f" }, "Exception" : null } ], - "variables" : [ "fileapitestsforcecloseallhandlesmin69862d2640e35dd", "fileapitestsforcecloseallhandlesmin9808236c7868dd3" ] + "variables" : [ "fileapitestsforcecloseallhandlesmin0686300fa07b127", "fileapitestsforcecloseallhandlesmin626708e1f74f0ff" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseHandleInvalidHandleID.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseHandleInvalidHandleID.json index b2bf227c2d250..ee689fcb22669 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseHandleInvalidHandleID.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseHandleInvalidHandleID.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforceclosehandleinvalidhandleid3008320931e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforceclosehandleinvalidhandleid1483071ad2d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bcc53399-c3b2-444d-95f7-2922cca27e09" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d9bccf9b-0e25-49e7-b36a-dc39ac7e0a1d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D972052F58", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:45 GMT", + "ETag" : "0x8D77911D71EBDC0", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d23ffca-401a-0075-77c2-83b7cd000000", - "Date" : "Wed, 16 Oct 2019 01:37:45 GMT", - "x-ms-client-request-id" : "bcc53399-c3b2-444d-95f7-2922cca27e09" + "x-ms-request-id" : "77a675b1-f01a-002d-4dfa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "d9bccf9b-0e25-49e7-b36a-dc39ac7e0a1d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforceclosehandleinvalidhandleid3008320931e/fileapitestsforceclosehandleinvalidhandleid796634fb438", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforceclosehandleinvalidhandleid1483071ad2d/fileapitestsforceclosehandleinvalidhandleid25808af2322", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e71a45c-4e57-47f9-9a08-2708cf18e1b4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d427171-502c-4ae3-ac8f-7bdeda9d4f7d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:37:45.9355579Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:45 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:42.7752325Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:42 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:37:45 GMT", - "ETag" : "0x8D751D9720BFBBB", + "Date" : "Wed, 04 Dec 2019 23:29:42 GMT", + "ETag" : "0x8D77911D72E4185", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-16T01:37:45.9355579Z", + "x-ms-file-change-time" : "2019-12-04T23:29:42.7752325Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "0d23ffcc-401a-0075-78c2-83b7cd000000", - "x-ms-client-request-id" : "4e71a45c-4e57-47f9-9a08-2708cf18e1b4", - "x-ms-file-last-write-time" : "2019-10-16T01:37:45.9355579Z" + "x-ms-request-id" : "77a675b4-f01a-002d-4efa-aa2148000000", + "x-ms-client-request-id" : "3d427171-502c-4ae3-ac8f-7bdeda9d4f7d", + "x-ms-file-last-write-time" : "2019-12-04T23:29:42.7752325Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforceclosehandleinvalidhandleid3008320931e/fileapitestsforceclosehandleinvalidhandleid796634fb438?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforceclosehandleinvalidhandleid1483071ad2d/fileapitestsforceclosehandleinvalidhandleid25808af2322?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3e4c12de-c821-46cc-9544-a28b05811641" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "094a84f6-a210-46ad-bf41-095e0e821421" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "335", "StatusCode" : "400", - "x-ms-request-id" : "0d23ffcd-401a-0075-79c2-83b7cd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:0d23ffcd-401a-0075-79c2-83b7cd000000\nTime:2019-10-16T01:37:45.9981054Zx-ms-handle-idinvalidHandleId", - "Date" : "Wed, 16 Oct 2019 01:37:45 GMT", - "x-ms-client-request-id" : "3e4c12de-c821-46cc-9544-a28b05811641", + "x-ms-request-id" : "77a675b5-f01a-002d-4ffa-aa2148000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:77a675b5-f01a-002d-4ffa-aa2148000000\nTime:2019-12-04T23:29:42.8615560Zx-ms-handle-idinvalidHandleId", + "Date" : "Wed, 04 Dec 2019 23:29:42 GMT", + "x-ms-client-request-id" : "094a84f6-a210-46ad-bf41-095e0e821421", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestsforceclosehandleinvalidhandleid3008320931e", "fileapitestsforceclosehandleinvalidhandleid796634fb438" ] + "variables" : [ "fileapitestsforceclosehandleinvalidhandleid1483071ad2d", "fileapitestsforceclosehandleinvalidhandleid25808af2322" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseHandleMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseHandleMin.json index 8d5c7bddeedf9..8ece7f55aa4b3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseHandleMin.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsForceCloseHandleMin.json @@ -1,74 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforceclosehandlemin11963be1d234cca16?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforceclosehandlemin83492356532495e63?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d6215f68-576a-4628-848c-7f0e3ea43bca" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "81964058-fca6-4a3b-8032-36ad0918985d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D971DEB247", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:45 GMT", + "ETag" : "0x8D77911D6DDE417", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d23ffc4-401a-0075-72c2-83b7cd000000", - "Date" : "Wed, 16 Oct 2019 01:37:45 GMT", - "x-ms-client-request-id" : "d6215f68-576a-4628-848c-7f0e3ea43bca" + "x-ms-request-id" : "77a675ab-f01a-002d-48fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "81964058-fca6-4a3b-8032-36ad0918985d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforceclosehandlemin11963be1d234cca16/fileapitestsforceclosehandlemin735842f045df03f21", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforceclosehandlemin83492356532495e63/fileapitestsforceclosehandlemin550589b461e8d51ea", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b30300fd-e5d9-4594-bf2e-f629ca955d7e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fa4ffe16-4229-4e55-b4ed-58b467495a66" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:37:45.6833123Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:37:45 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:42.3471878Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:42 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:37:45 GMT", - "ETag" : "0x8D751D971E57E63", + "Date" : "Wed, 04 Dec 2019 23:29:41 GMT", + "ETag" : "0x8D77911D6ECF106", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-16T01:37:45.6833123Z", + "x-ms-file-change-time" : "2019-12-04T23:29:42.3471878Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "0d23ffc6-401a-0075-73c2-83b7cd000000", - "x-ms-client-request-id" : "b30300fd-e5d9-4594-bf2e-f629ca955d7e", - "x-ms-file-last-write-time" : "2019-10-16T01:37:45.6833123Z" + "x-ms-request-id" : "77a675ad-f01a-002d-49fa-aa2148000000", + "x-ms-client-request-id" : "fa4ffe16-4229-4e55-b4ed-58b467495a66", + "x-ms-file-last-write-time" : "2019-12-04T23:29:42.3471878Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsforceclosehandlemin11963be1d234cca16/fileapitestsforceclosehandlemin735842f045df03f21?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsforceclosehandlemin83492356532495e63/fileapitestsforceclosehandlemin550589b461e8d51ea?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5a563b74-efa4-4ff7-aa11-be7e642bf940" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6277f6fe-6eed-4b4b-b2cf-91fa5329b6b1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-number-of-handles-closed" : "0", + "x-ms-number-of-handles-failed" : "0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d23ffc7-401a-0075-74c2-83b7cd000000", - "Date" : "Wed, 16 Oct 2019 01:37:45 GMT", - "x-ms-client-request-id" : "5a563b74-efa4-4ff7-aa11-be7e642bf940" + "x-ms-request-id" : "77a675ae-f01a-002d-4afa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "6277f6fe-6eed-4b4b-b2cf-91fa5329b6b1" }, "Exception" : null } ], - "variables" : [ "fileapitestsforceclosehandlemin11963be1d234cca16", "fileapitestsforceclosehandlemin735842f045df03f21" ] + "variables" : [ "fileapitestsforceclosehandlemin83492356532495e63", "fileapitestsforceclosehandlemin550589b461e8d51ea" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetFilePath.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetFilePath.json index 3144dca1c61a4..5fa18885428ae 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetFilePath.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetFilePath.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetfilepathfileapitestsgetfilepath5c9637299c9?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetfilepathfileapitestsgetfilepath5d0980702bc?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cb102745-4b4e-4b2a-8418-0a7681c94f25" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "51a62d58-3800-41c3-826b-54b82e40c5b6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F78B2CC42", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:46 GMT", + "ETag" : "0x8D77911D7ED7FC6", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e74f-f01a-00ef-1488-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:46 GMT", - "x-ms-client-request-id" : "cb102745-4b4e-4b2a-8418-0a7681c94f25" + "x-ms-request-id" : "77a675cc-f01a-002d-63fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "51a62d58-3800-41c3-826b-54b82e40c5b6" }, "Exception" : null } ], - "variables" : [ "fileapitestsgetfilepathfileapitestsgetfilepath5c9637299c9", "fileapitestsgetfilepathfileapitestsgetfilepath5c93216825f" ] + "variables" : [ "fileapitestsgetfilepathfileapitestsgetfilepath5d0980702bc", "fileapitestsgetfilepathfileapitestsgetfilepath5d094081463" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetFileURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetFileURL.json index de59395178124..38845684a9af8 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetFileURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetFileURL.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetfileurlfileapitestsgetfileurl19c2902354ec?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetfileurlfileapitestsgetfileurl88984350f903?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "55fc8550-854e-4b7b-8ba7-7ba476b6f25f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f1383c40-c350-4428-b7f1-f6f0514a96a0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6F884838", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:30 GMT", + "ETag" : "0x8D77911CC9C7F9C", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca22-701a-00fe-2188-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:30 GMT", - "x-ms-client-request-id" : "55fc8550-854e-4b7b-8ba7-7ba476b6f25f" + "x-ms-request-id" : "172f8b6d-101a-0047-59fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:24 GMT", + "x-ms-client-request-id" : "f1383c40-c350-4428-b7f1-f6f0514a96a0" }, "Exception" : null } ], - "variables" : [ "fileapitestsgetfileurlfileapitestsgetfileurl19c2902354ec", "fileapitestsgetfileurlfileapitestsgetfileurl19c2605115af" ] + "variables" : [ "fileapitestsgetfileurlfileapitestsgetfileurl88984350f903", "fileapitestsgetfileurlfileapitestsgetfileurl88998474b588" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetProperties.json index 147510d977961..91562c373aac3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetProperties.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetProperties.json @@ -1,87 +1,87 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetpropertiesfileapitestsgetproperties25e882357?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetpropertiesfileapitestsgetpropertiesda901533a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1b93908e-ec5f-4a38-8e76-268b81ac9040" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb1df2c7-b47c-4577-a4f8-169ce260da49" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F76774331", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:42 GMT", + "ETag" : "0x8D77911D3CE0A5C", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6fd-f01a-00ef-5388-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", - "x-ms-client-request-id" : "1b93908e-ec5f-4a38-8e76-268b81ac9040" + "x-ms-request-id" : "77a67553-f01a-002d-7ffa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "fb1df2c7-b47c-4577-a4f8-169ce260da49" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetpropertiesfileapitestsgetproperties25e882357/fileapitestsgetpropertiesfileapitestsgetproperties25e802360", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetpropertiesfileapitestsgetpropertiesda901533a/fileapitestsgetpropertiesfileapitestsgetpropertiesda9884836", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eb400a2b-40c3-4670-9d01-c4a8472ec698" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a49303fc-7d65-411a-9535-fa9d7f5fc8a8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:42.6025043Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:42 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:37.2161571Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:37 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", - "ETag" : "0x8D7519F7680EC53", + "Date" : "Wed, 04 Dec 2019 23:29:36 GMT", + "ETag" : "0x8D77911D3DE0223", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:42.6025043Z", + "x-ms-file-change-time" : "2019-12-04T23:29:37.2161571Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e6ff-f01a-00ef-5488-833b08000000", - "x-ms-client-request-id" : "eb400a2b-40c3-4670-9d01-c4a8472ec698", - "x-ms-file-last-write-time" : "2019-10-15T18:42:42.6025043Z" + "x-ms-request-id" : "77a67557-f01a-002d-02fa-aa2148000000", + "x-ms-client-request-id" : "a49303fc-7d65-411a-9535-fa9d7f5fc8a8", + "x-ms-file-last-write-time" : "2019-12-04T23:29:37.2161571Z" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetpropertiesfileapitestsgetproperties25e882357/fileapitestsgetpropertiesfileapitestsgetproperties25e802360", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetpropertiesfileapitestsgetpropertiesda901533a/fileapitestsgetpropertiesfileapitestsgetpropertiesda9884836", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "07a464be-c749-4830-a57a-102d7f8d4621" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bd01a31f-44d9-42bd-b847-1fffcc58b46c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:42.6025043Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:37.2161571Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:42 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:37 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:36 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F7680EC53", + "ETag" : "0x8D77911D3DE0223", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:42.6025043Z", + "x-ms-file-change-time" : "2019-12-04T23:29:37.2161571Z", "x-ms-file-parent-id" : "0", "Content-Length" : "1024", - "x-ms-request-id" : "89e9e700-f01a-00ef-5588-833b08000000", - "x-ms-client-request-id" : "07a464be-c749-4830-a57a-102d7f8d4621", - "x-ms-file-last-write-time" : "2019-10-15T18:42:42.6025043Z", + "x-ms-request-id" : "77a67559-f01a-002d-03fa-aa2148000000", + "x-ms-client-request-id" : "bd01a31f-44d9-42bd-b847-1fffcc58b46c", + "x-ms-file-last-write-time" : "2019-12-04T23:29:37.2161571Z", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "fileapitestsgetpropertiesfileapitestsgetproperties25e882357", "fileapitestsgetpropertiesfileapitestsgetproperties25e802360", "2019-10-15T18:42:42.651218500Z", "2019-10-15T18:42:42.651218500Z" ] + "variables" : [ "fileapitestsgetpropertiesfileapitestsgetpropertiesda901533a", "fileapitestsgetpropertiesfileapitestsgetpropertiesda9884836", "2019-12-04T23:29:37.220761600Z", "2019-12-04T23:29:37.220761600Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetPropertiesError.json index a3ff83e553bb9..636c470ed66bc 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetPropertiesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetPropertiesError.json @@ -1,44 +1,44 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetpropertieserror503056875c6b2bf2d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetpropertieserror4400830a9071fe6e3?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "739b61d1-9e28-42f7-8043-da35d1d4f424" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5eb0e8ea-edba-4a77-833d-fc0c4f5415ab" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F769AB271", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:42 GMT", + "ETag" : "0x8D77911D412DBB1", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e703-f01a-00ef-5888-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", - "x-ms-client-request-id" : "739b61d1-9e28-42f7-8043-da35d1d4f424" + "x-ms-request-id" : "77a6755c-f01a-002d-06fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:36 GMT", + "x-ms-client-request-id" : "5eb0e8ea-edba-4a77-833d-fc0c4f5415ab" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetpropertieserror503056875c6b2bf2d/fileapitestsgetpropertieserror279708e1042561be3", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetpropertieserror4400830a9071fe6e3/fileapitestsgetpropertieserror7966724547a05bee2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fc75ce36-2e23-466d-98a3-11ca505f1af7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0da78d9d-02d3-4546-94b5-ffc2914fa378" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "StatusCode" : "404", - "x-ms-request-id" : "89e9e705-f01a-00ef-5988-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", - "x-ms-client-request-id" : "fc75ce36-2e23-466d-98a3-11ca505f1af7" + "x-ms-request-id" : "77a6755e-f01a-002d-07fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "0da78d9d-02d3-4546-94b5-ffc2914fa378" }, "Exception" : null } ], - "variables" : [ "fileapitestsgetpropertieserror503056875c6b2bf2d", "fileapitestsgetpropertieserror279708e1042561be3" ] + "variables" : [ "fileapitestsgetpropertieserror4400830a9071fe6e3", "fileapitestsgetpropertieserror7966724547a05bee2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetShareName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetShareName.json index 6bf302761ae23..1be1b62ad79bb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetShareName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetShareName.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetsharenamefileapitestsgetsharenamea3b82318ce?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetsharenamefileapitestsgetsharename00c7108162?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8af203fc-6ead-4c06-9534-94e6d85fae78" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "97a8dc0c-ee06-44cc-8105-1cd34015eab5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F789D6A31", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:46 GMT", + "ETag" : "0x8D77911D7C7330A", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e74b-f01a-00ef-1188-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:46 GMT", - "x-ms-client-request-id" : "8af203fc-6ead-4c06-9534-94e6d85fae78" + "x-ms-request-id" : "77a675c4-f01a-002d-5cfa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "97a8dc0c-ee06-44cc-8105-1cd34015eab5" }, "Exception" : null } ], - "variables" : [ "fileapitestsgetsharenamefileapitestsgetsharenamea3b82318ce", "fileapitestsgetsharenamefileapitestsgetsharenamea3b27825aa" ] + "variables" : [ "fileapitestsgetsharenamefileapitestsgetsharename00c7108162", "fileapitestsgetsharenamefileapitestsgetsharename00c03798f5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetShareSnapshotURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetShareSnapshotURL.json index 214275bd2f962..0b11a0fe66733 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetShareSnapshotURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetShareSnapshotURL.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetsharesnapshoturl217122edbb75f45e1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetsharesnapshoturl75833681414f491df?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f28d9082-050c-4ecb-a810-e2bea1c0d532" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2bd1209c-eacf-4532-b7df-d9cf55e51142" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6F9EBBFA", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:31 GMT", + "ETag" : "0x8D77911CCC2F359", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca28-701a-00fe-2688-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:30 GMT", - "x-ms-client-request-id" : "f28d9082-050c-4ecb-a810-e2bea1c0d532" + "x-ms-request-id" : "172f8b76-101a-0047-61fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:24 GMT", + "x-ms-client-request-id" : "2bd1209c-eacf-4532-b7df-d9cf55e51142" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetsharesnapshoturl217122edbb75f45e1?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetsharesnapshoturl75833681414f491df?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "85bebf9c-a9e2-4e1b-9ae6-73422b6a4ec5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ede2fab4-4b8a-4423-98e3-3fb06b77e809" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:42:31.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:29:25.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F6F9EBBFA", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:31 GMT", + "ETag" : "0x8D77911CCC2F359", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca2a-701a-00fe-2788-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:31 GMT", - "x-ms-client-request-id" : "85bebf9c-a9e2-4e1b-9ae6-73422b6a4ec5" + "x-ms-request-id" : "172f8b7a-101a-0047-64fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:25 GMT", + "x-ms-client-request-id" : "ede2fab4-4b8a-4423-98e3-3fb06b77e809" }, "Exception" : null } ], - "variables" : [ "fileapitestsgetsharesnapshoturl217122edbb75f45e1", "fileapitestsgetsharesnapshoturl6638951c523a34638" ] + "variables" : [ "fileapitestsgetsharesnapshoturl75833681414f491df", "fileapitestsgetsharesnapshoturl35574367dc3fed9d7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetSnapshotId.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetSnapshotId.json index 2ea13dcb5d32e..2b89ec53d6901 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetSnapshotId.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsGetSnapshotId.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsgetsnapshotidfileapitestsgetsnapshotid812833836?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsgetsnapshotidfileapitestsgetsnapshotid96c024289?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "97519c1a-8350-41d3-9bd5-2fe578552c37" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e201d912-6e0b-440f-af3f-c9e0f280b553" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F788919DF", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:46 GMT", + "ETag" : "0x8D77911D7A15B6D", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e746-f01a-00ef-0e88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "x-ms-client-request-id" : "97519c1a-8350-41d3-9bd5-2fe578552c37" + "x-ms-request-id" : "77a675bf-f01a-002d-58fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:42 GMT", + "x-ms-client-request-id" : "e201d912-6e0b-440f-af3f-c9e0f280b553" }, "Exception" : null } ], - "variables" : [ "fileapitestsgetsnapshotidfileapitestsgetsnapshotid812833836", "fileapitestsgetsnapshotidfileapitestsgetsnapshotid81279953a" ] + "variables" : [ "fileapitestsgetsnapshotidfileapitestsgetsnapshotid96c024289", "fileapitestsgetsnapshotidfileapitestsgetsnapshotid96c867235" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListHandles.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListHandles.json index 9aa32427e95a3..1b793ac637e62 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListHandles.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListHandles.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslisthandlesfileapitestslisthandlesf49271560e3?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslisthandlesfileapitestslisthandlesc8272549291?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "47c25ca1-9c90-4d25-9cdf-3d6ec0158aeb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c60de4c-9e12-4b44-b801-b0cf2a05906e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F782AB5E5", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:45 GMT", + "ETag" : "0x8D77911D65CF432", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e73a-f01a-00ef-0488-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "x-ms-client-request-id" : "47c25ca1-9c90-4d25-9cdf-3d6ec0158aeb" + "x-ms-request-id" : "77a6759e-f01a-002d-3efa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "7c60de4c-9e12-4b44-b801-b0cf2a05906e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslisthandlesfileapitestslisthandlesf49271560e3/fileapitestslisthandlesfileapitestslisthandlesf4944900486", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslisthandlesfileapitestslisthandlesc8272549291/fileapitestslisthandlesfileapitestslisthandlesc82949430d7", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fbad24ed-1875-478f-993e-4836015820aa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c1cd9e9b-9f0c-41d4-9ad0-0f09106dbcc9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:45.5033033Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:45 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:41.5071881Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:41 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "ETag" : "0x8D7519F783B8CC9", + "Date" : "Wed, 04 Dec 2019 23:29:40 GMT", + "ETag" : "0x8D77911D66CC489", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:45.5033033Z", + "x-ms-file-change-time" : "2019-12-04T23:29:41.5071881Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e73c-f01a-00ef-0588-833b08000000", - "x-ms-client-request-id" : "fbad24ed-1875-478f-993e-4836015820aa", - "x-ms-file-last-write-time" : "2019-10-15T18:42:45.5033033Z" + "x-ms-request-id" : "77a675a0-f01a-002d-3ffa-aa2148000000", + "x-ms-client-request-id" : "c1cd9e9b-9f0c-41d4-9ad0-0f09106dbcc9", + "x-ms-file-last-write-time" : "2019-12-04T23:29:41.5071881Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslisthandlesfileapitestslisthandlesf49271560e3/fileapitestslisthandlesfileapitestslisthandlesf4944900486?comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslisthandlesfileapitestslisthandlesc8272549291/fileapitestslisthandlesfileapitestslisthandlesc82949430d7?comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8a5a0d90-cea7-44f6-ad17-97f037050453" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "20d8cb1f-b1f2-499a-a6cd-3b6ac9d3c76c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "89e9e73d-f01a-00ef-0688-833b08000000", + "x-ms-request-id" : "77a675a1-f01a-002d-40fa-aa2148000000", "Body" : "", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "x-ms-client-request-id" : "8a5a0d90-cea7-44f6-ad17-97f037050453", + "Date" : "Wed, 04 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "20d8cb1f-b1f2-499a-a6cd-3b6ac9d3c76c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestslisthandlesfileapitestslisthandlesf49271560e3", "fileapitestslisthandlesfileapitestslisthandlesf4944900486" ] + "variables" : [ "fileapitestslisthandlesfileapitestslisthandlesc8272549291", "fileapitestslisthandlesfileapitestslisthandlesc82949430d7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListHandlesWithMaxResult.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListHandlesWithMaxResult.json index 24b7b3a596929..5360bd2dbf17f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListHandlesWithMaxResult.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListHandlesWithMaxResult.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslisthandleswithmaxresult940245ff0b46f1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslisthandleswithmaxresult886869cb70d7ae?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a7225076-70a9-45a1-a932-c71aace66fa3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f066c74-81c9-4a6b-bfdd-4dabaefa9891" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F786ADC06", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:45 GMT", + "ETag" : "0x8D77911D69DA6A2", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e740-f01a-00ef-0988-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "x-ms-client-request-id" : "a7225076-70a9-45a1-a932-c71aace66fa3" + "x-ms-request-id" : "77a675a4-f01a-002d-43fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "4f066c74-81c9-4a6b-bfdd-4dabaefa9891" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslisthandleswithmaxresult940245ff0b46f1/fileapitestslisthandleswithmaxresult9009985061adde", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslisthandleswithmaxresult886869cb70d7ae/fileapitestslisthandleswithmaxresult46673503f31376", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4a3f8173-2ecd-480b-a355-d6a76ac239e2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4bdb07b9-f2d0-4789-a008-b2143a307917" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:45.8676549Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:45 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:41.9251890Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:41 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "ETag" : "0x8D7519F78732545", + "Date" : "Wed, 04 Dec 2019 23:29:41 GMT", + "ETag" : "0x8D77911D6AC8CB2", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:45.8676549Z", + "x-ms-file-change-time" : "2019-12-04T23:29:41.9251890Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e742-f01a-00ef-0a88-833b08000000", - "x-ms-client-request-id" : "4a3f8173-2ecd-480b-a355-d6a76ac239e2", - "x-ms-file-last-write-time" : "2019-10-15T18:42:45.8676549Z" + "x-ms-request-id" : "77a675a6-f01a-002d-44fa-aa2148000000", + "x-ms-client-request-id" : "4bdb07b9-f2d0-4789-a008-b2143a307917", + "x-ms-file-last-write-time" : "2019-12-04T23:29:41.9251890Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslisthandleswithmaxresult940245ff0b46f1/fileapitestslisthandleswithmaxresult9009985061adde?maxresults=2&comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslisthandleswithmaxresult886869cb70d7ae/fileapitestslisthandleswithmaxresult46673503f31376?maxresults=2&comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "704adebb-b835-46a3-a305-6cf73c6de78a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f09f1791-bf87-4127-a9bc-a5ef559a8976" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "89e9e743-f01a-00ef-0b88-833b08000000", + "x-ms-request-id" : "77a675a7-f01a-002d-45fa-aa2148000000", "Body" : "2", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "x-ms-client-request-id" : "704adebb-b835-46a3-a305-6cf73c6de78a", + "Date" : "Wed, 04 Dec 2019 23:29:41 GMT", + "x-ms-client-request-id" : "f09f1791-bf87-4127-a9bc-a5ef559a8976", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestslisthandleswithmaxresult940245ff0b46f1", "fileapitestslisthandleswithmaxresult9009985061adde" ] + "variables" : [ "fileapitestslisthandleswithmaxresult886869cb70d7ae", "fileapitestslisthandleswithmaxresult46673503f31376" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListRanges.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListRanges.json index 0c0738b6b7317..8c2961a9d05a1 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListRanges.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListRanges.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslistrangesfileapitestslistranges85170615b42b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslistrangesfileapitestslistranges77617199f547?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2ac09326-d4b5-4b13-bd20-2128b6df2251" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "12f116f2-4e96-4499-a0c3-487fd54b60be" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F779DE380", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "ETag" : "0x8D77911D5BA722E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e72b-f01a-00ef-7888-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "x-ms-client-request-id" : "2ac09326-d4b5-4b13-bd20-2128b6df2251" + "x-ms-request-id" : "77a67588-f01a-002d-2afa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "12f116f2-4e96-4499-a0c3-487fd54b60be" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslistrangesfileapitestslistranges85170615b42b/fileapitestslistrangesfileapitestslistranges851140902757", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslistrangesfileapitestslistranges77617199f547/fileapitestslistrangesfileapitestslistranges77612036b0ab", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4c557c93-34d0-4738-9af2-671655e07dcd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf94c702-e41c-44ae-bf4b-4d2b8805e6f0" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:44.5223568Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:40.4381748Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:40 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "ETag" : "0x8D7519F77A5DE90", + "Date" : "Wed, 04 Dec 2019 23:29:39 GMT", + "ETag" : "0x8D77911D5C9A634", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:44.5223568Z", + "x-ms-file-change-time" : "2019-12-04T23:29:40.4381748Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e72d-f01a-00ef-7988-833b08000000", - "x-ms-client-request-id" : "4c557c93-34d0-4738-9af2-671655e07dcd", - "x-ms-file-last-write-time" : "2019-10-15T18:42:44.5223568Z" + "x-ms-request-id" : "77a6758c-f01a-002d-2dfa-aa2148000000", + "x-ms-client-request-id" : "cf94c702-e41c-44ae-bf4b-4d2b8805e6f0", + "x-ms-file-last-write-time" : "2019-12-04T23:29:40.4381748Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslistrangesfileapitestslistranges85170615b42b/fileapitestslistrangesfileapitestslistranges851140902757?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslistrangesfileapitestslistranges77617199f547/fileapitestslistrangesfileapitestslistranges77612036b0ab?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a7b63f5b-a73b-4623-bb20-b051f2df3959", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f737f282-ceef-4157-8634-1a99b90c0825", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F77B6F9CA", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "ETag" : "0x8D77911D5D6EC7E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e72e-f01a-00ef-7a88-833b08000000", + "x-ms-request-id" : "77a67590-f01a-002d-31fa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "x-ms-client-request-id" : "a7b63f5b-a73b-4623-bb20-b051f2df3959", + "Date" : "Wed, 04 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "f737f282-ceef-4157-8634-1a99b90c0825", "Content-MD5" : "DzQ7CTESaiDxM9Z8KwGKOw==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslistrangesfileapitestslistranges85170615b42b/fileapitestslistrangesfileapitestslistranges851140902757?comp=rangelist", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslistrangesfileapitestslistranges77617199f547/fileapitestslistrangesfileapitestslistranges77612036b0ab?comp=rangelist", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "087e1fb4-50e8-459d-a0fb-e343e94e1ec1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d48ac3e-9c47-424c-bdd1-f87279906abb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-length" : "1024", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:40 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "ETag" : "0x8D7519F77B6F9CA", - "x-ms-request-id" : "89e9e72f-f01a-00ef-7b88-833b08000000", + "Date" : "Wed, 04 Dec 2019 23:29:39 GMT", + "ETag" : "0x8D77911D5D6EC7E", + "x-ms-request-id" : "77a67592-f01a-002d-33fa-aa2148000000", "Body" : "01023", - "x-ms-client-request-id" : "087e1fb4-50e8-459d-a0fb-e343e94e1ec1", + "x-ms-client-request-id" : "0d48ac3e-9c47-424c-bdd1-f87279906abb", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestslistrangesfileapitestslistranges85170615b42b", "fileapitestslistrangesfileapitestslistranges851140902757", "filefileapitestslistranges851811263062af2507714" ] + "variables" : [ "fileapitestslistrangesfileapitestslistranges77617199f547", "fileapitestslistrangesfileapitestslistranges77612036b0ab", "filefileapitestslistranges77686032719bd4b915f24" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListRangesWithRange.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListRangesWithRange.json index 3fdae1cc41f87..1fe9a8f912479 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListRangesWithRange.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsListRangesWithRange.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslistrangeswithrange85869a9daf1595c71?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslistrangeswithrange995140daf735d821a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87ca8b5d-324c-4a0a-9471-f1f42561e931" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22bba69d-264c-4e2c-8f82-796076238742" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F77F259F4", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:45 GMT", + "ETag" : "0x8D77911D60A3FD8", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e732-f01a-00ef-7e88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "x-ms-client-request-id" : "87ca8b5d-324c-4a0a-9471-f1f42561e931" + "x-ms-request-id" : "77a67597-f01a-002d-38fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "22bba69d-264c-4e2c-8f82-796076238742" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslistrangeswithrange85869a9daf1595c71/fileapitestslistrangeswithrange7126135fd84498c20", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslistrangeswithrange995140daf735d821a/fileapitestslistrangeswithrange0024241a68d699610", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cba1c15a-07c6-4016-9332-5de89e2bff80" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "40c5b698-3a58-4a07-8627-fd4382554aac" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:45.0949092Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:45 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:40.9611728Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:40 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "ETag" : "0x8D7519F77FD3BE4", + "Date" : "Wed, 04 Dec 2019 23:29:40 GMT", + "ETag" : "0x8D77911D61973D0", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:45.0949092Z", + "x-ms-file-change-time" : "2019-12-04T23:29:40.9611728Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e734-f01a-00ef-7f88-833b08000000", - "x-ms-client-request-id" : "cba1c15a-07c6-4016-9332-5de89e2bff80", - "x-ms-file-last-write-time" : "2019-10-15T18:42:45.0949092Z" + "x-ms-request-id" : "77a67599-f01a-002d-39fa-aa2148000000", + "x-ms-client-request-id" : "40c5b698-3a58-4a07-8627-fd4382554aac", + "x-ms-file-last-write-time" : "2019-12-04T23:29:40.9611728Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslistrangeswithrange85869a9daf1595c71/fileapitestslistrangeswithrange7126135fd84498c20?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslistrangeswithrange995140daf735d821a/fileapitestslistrangeswithrange0024241a68d699610?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "55d9a125-dbd8-4cfb-aa33-3ef05aeaaa50", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d7203a7-0be0-4e8d-b907-ab01cf86b8ab", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7811B353", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:45 GMT", + "ETag" : "0x8D77911D627CC6F", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e735-f01a-00ef-8088-833b08000000", + "x-ms-request-id" : "77a6759a-f01a-002d-3afa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "x-ms-client-request-id" : "55d9a125-dbd8-4cfb-aa33-3ef05aeaaa50", + "Date" : "Wed, 04 Dec 2019 23:29:40 GMT", + "x-ms-client-request-id" : "0d7203a7-0be0-4e8d-b907-ab01cf86b8ab", "Content-MD5" : "DzQ7CTESaiDxM9Z8KwGKOw==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestslistrangeswithrange85869a9daf1595c71/fileapitestslistrangeswithrange7126135fd84498c20?comp=rangelist", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestslistrangeswithrange995140daf735d821a/fileapitestslistrangeswithrange0024241a68d699610?comp=rangelist", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "099d7962-625f-4815-95d1-7e33b3989947" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e66aa898-746a-43a3-bcb4-ca4655a04379" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-length" : "1024", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:45 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:41 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:45 GMT", - "ETag" : "0x8D7519F7811B353", - "x-ms-request-id" : "89e9e736-f01a-00ef-0188-833b08000000", + "Date" : "Wed, 04 Dec 2019 23:29:40 GMT", + "ETag" : "0x8D77911D627CC6F", + "x-ms-request-id" : "77a6759b-f01a-002d-3bfa-aa2148000000", "Body" : "0511", - "x-ms-client-request-id" : "099d7962-625f-4815-95d1-7e33b3989947", + "x-ms-client-request-id" : "e66aa898-746a-43a3-bcb4-ca4655a04379", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestslistrangeswithrange85869a9daf1595c71", "fileapitestslistrangeswithrange7126135fd84498c20", "filefileapitestslistrangeswithrange84e80929fc42b9a4" ] + "variables" : [ "fileapitestslistrangeswithrange995140daf735d821a", "fileapitestslistrangeswithrange0024241a68d699610", "filefileapitestslistrangeswithrangec269652023480db5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersError.json index f4224698e432f..5b58bef790317 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheaderserror89404384cecc8a592?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheaderserror74599ba616c65de95?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fcb2538f-1f8e-48d5-a40a-3879ab264c12" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "033fac98-5294-4f28-86bf-aac18756094d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F77320ECC", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:43 GMT", + "ETag" : "0x8D77911D4DB354C", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e716-f01a-00ef-6788-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "x-ms-client-request-id" : "fcb2538f-1f8e-48d5-a40a-3879ab264c12" + "x-ms-request-id" : "77a6756f-f01a-002d-15fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "033fac98-5294-4f28-86bf-aac18756094d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheaderserror89404384cecc8a592/fileapitestssethttpheaderserror8903569d7595c9a1a", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheaderserror74599ba616c65de95/fileapitestssethttpheaderserror238940f64be3313a0", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ae221983-f166-42ec-86b5-7b1966da498b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df8f233b-cf1c-4740-807b-d14612313b06" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:43.8096696Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:43 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:38.9801708Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:38 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "ETag" : "0x8D7519F77391F38", + "Date" : "Wed, 04 Dec 2019 23:29:38 GMT", + "ETag" : "0x8D77911D4EB2CEC", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:43.8096696Z", + "x-ms-file-change-time" : "2019-12-04T23:29:38.9801708Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e718-f01a-00ef-6888-833b08000000", - "x-ms-client-request-id" : "ae221983-f166-42ec-86b5-7b1966da498b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:43.8096696Z" + "x-ms-request-id" : "77a67571-f01a-002d-16fa-aa2148000000", + "x-ms-client-request-id" : "df8f233b-cf1c-4740-807b-d14612313b06", + "x-ms-file-last-write-time" : "2019-12-04T23:29:38.9801708Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheaderserror89404384cecc8a592/fileapitestssethttpheaderserror8903569d7595c9a1a?comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheaderserror74599ba616c65de95/fileapitestssethttpheaderserror238940f64be3313a0?comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "519f97c9-cd35-4819-9e68-c34248f7654c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dcaaaea9-cb7d-4ed9-9eec-32e686866dbd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "89e9e719-f01a-00ef-6988-833b08000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:89e9e719-f01a-00ef-6988-833b08000000\nTime:2019-10-15T18:42:43.8614686Z", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "x-ms-client-request-id" : "519f97c9-cd35-4819-9e68-c34248f7654c", + "x-ms-request-id" : "77a67572-f01a-002d-17fa-aa2148000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:77a67572-f01a-002d-17fa-aa2148000000\nTime:2019-12-04T23:29:39.0805273Z", + "Date" : "Wed, 04 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "dcaaaea9-cb7d-4ed9-9eec-32e686866dbd", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestssethttpheaderserror89404384cecc8a592", "fileapitestssethttpheaderserror8903569d7595c9a1a" ] + "variables" : [ "fileapitestssethttpheaderserror74599ba616c65de95", "fileapitestssethttpheaderserror238940f64be3313a0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersFp.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersFp.json index 74aa92d11616b..889dc41cc6822 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersFp.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersFp.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheadersfp14795b8794955f05d4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheadersfp6122357090cb1ca774?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7abc33bd-0337-4a94-adbe-82268b158d56" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7741aa27-0a86-4921-8081-365e2661f11a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F77129814", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:43 GMT", + "ETag" : "0x8D77911D4957967", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e710-f01a-00ef-6288-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "x-ms-client-request-id" : "7abc33bd-0337-4a94-adbe-82268b158d56" + "x-ms-request-id" : "77a67569-f01a-002d-10fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "7741aa27-0a86-4921-8081-365e2661f11a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheadersfp14795b8794955f05d4/fileapitestssethttpheadersfp2858687750135942f4", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheadersfp6122357090cb1ca774/fileapitestssethttpheadersfp69188b9a0b13bbd134", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3a6a47c4-dde2-4322-8cbf-452c6d29da11" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0c765a7c-4940-4e1d-842d-b07aa6ab10c9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:43.6074740Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:43 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:38.5251674Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:38 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "ETag" : "0x8D7519F771A44F4", + "Date" : "Wed, 04 Dec 2019 23:29:37 GMT", + "ETag" : "0x8D77911D4A5BF5A", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:43.6074740Z", + "x-ms-file-change-time" : "2019-12-04T23:29:38.5251674Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e712-f01a-00ef-6388-833b08000000", - "x-ms-client-request-id" : "3a6a47c4-dde2-4322-8cbf-452c6d29da11", - "x-ms-file-last-write-time" : "2019-10-15T18:42:43.6074740Z" + "x-ms-request-id" : "77a6756b-f01a-002d-11fa-aa2148000000", + "x-ms-client-request-id" : "0c765a7c-4940-4e1d-842d-b07aa6ab10c9", + "x-ms-file-last-write-time" : "2019-12-04T23:29:38.5251674Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheadersfp14795b8794955f05d4/fileapitestssethttpheadersfp2858687750135942f4?comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheadersfp6122357090cb1ca774/fileapitestssethttpheadersfp69188b9a0b13bbd134?comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a736d37f-d1f7-4ac3-94b4-27dd72858448" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ebb49a10-2834-42f9-9293-9b9d877edd37" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:43.6325449Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:43 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:38.5293121Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:38 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "ETag" : "0x8D7519F7720AF2F", + "Date" : "Wed, 04 Dec 2019 23:29:37 GMT", + "ETag" : "0x8D77911D4B37B01", "x-ms-file-attributes" : "None", - "x-ms-file-change-time" : "2019-10-15T18:42:43.6495151Z", + "x-ms-file-change-time" : "2019-12-04T23:29:38.6151681Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e713-f01a-00ef-6488-833b08000000", - "x-ms-client-request-id" : "a736d37f-d1f7-4ac3-94b4-27dd72858448", - "x-ms-file-last-write-time" : "2019-10-15T18:42:43.6325449Z" + "x-ms-request-id" : "77a6756c-f01a-002d-12fa-aa2148000000", + "x-ms-client-request-id" : "ebb49a10-2834-42f9-9293-9b9d877edd37", + "x-ms-file-last-write-time" : "2019-12-04T23:29:38.5293121Z" }, "Exception" : null } ], - "variables" : [ "fileapitestssethttpheadersfp14795b8794955f05d4", "fileapitestssethttpheadersfp2858687750135942f4", "2019-10-15T18:42:43.632544900Z", "2019-10-15T18:42:43.632544900Z" ] + "variables" : [ "fileapitestssethttpheadersfp6122357090cb1ca774", "fileapitestssethttpheadersfp69188b9a0b13bbd134", "2019-12-04T23:29:38.529312100Z", "2019-12-04T23:29:38.529312100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersFpk.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersFpk.json index d74a17efaf940..84aaebda702ac 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersFpk.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetHttpHeadersFpk.json @@ -1,104 +1,104 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheadersfpk0939087f50c4fa16a4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheadersfpk25968f216b5c447a84?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a9d700d1-4556-44f7-8fb5-0681da4fd788" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8a0d5447-3645-44b1-aab8-43b01c9fb373" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F76B45B43", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:42 GMT", + "ETag" : "0x8D77911D445ABA1", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e709-f01a-00ef-5c88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", - "x-ms-client-request-id" : "a9d700d1-4556-44f7-8fb5-0681da4fd788" + "x-ms-request-id" : "77a67562-f01a-002d-0afa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "8a0d5447-3645-44b1-aab8-43b01c9fb373" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheadersfpk0939087f50c4fa16a4/fileapitestssethttpheadersfpk59824e0dea01cb5b54", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheadersfpk25968f216b5c447a84/fileapitestssethttpheadersfpk62950336c8656d13d4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3423884c-76ee-45cb-ab20-a214cc8969ec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4d14e0c0-0df3-48a1-8db1-d0239519784a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:42.9898784Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:42 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:37.9921535Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:37 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:42 GMT", - "ETag" : "0x8D7519F76BC0820", + "Date" : "Wed, 04 Dec 2019 23:29:37 GMT", + "ETag" : "0x8D77911D4546A7F", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:42.9898784Z", + "x-ms-file-change-time" : "2019-12-04T23:29:37.9921535Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e70b-f01a-00ef-5d88-833b08000000", - "x-ms-client-request-id" : "3423884c-76ee-45cb-ab20-a214cc8969ec", - "x-ms-file-last-write-time" : "2019-10-15T18:42:42.9898784Z" + "x-ms-request-id" : "77a67564-f01a-002d-0bfa-aa2148000000", + "x-ms-client-request-id" : "4d14e0c0-0df3-48a1-8db1-d0239519784a", + "x-ms-file-last-write-time" : "2019-12-04T23:29:37.9921535Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheadersfpk0939087f50c4fa16a4?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheadersfpk25968f216b5c447a84?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "90a8662c-2bab-4f48-87b3-6d0130fcb298", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aac282c6-2df7-468f-86b8-f9a234e852ec", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e70c-f01a-00ef-5e88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "x-ms-client-request-id" : "90a8662c-2bab-4f48-87b3-6d0130fcb298" + "x-ms-request-id" : "77a67565-f01a-002d-0cfa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:37 GMT", + "x-ms-client-request-id" : "aac282c6-2df7-468f-86b8-f9a234e852ec" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssethttpheadersfpk0939087f50c4fa16a4/fileapitestssethttpheadersfpk59824e0dea01cb5b54?comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssethttpheadersfpk25968f216b5c447a84/fileapitestssethttpheadersfpk62950336c8656d13d4?comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7685da3c-2904-497d-8177-87f087b85a9c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09217f37-4f54-4145-b45b-ba1a39b66b0e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:43.3695105Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:43 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:38.0745984Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:38 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "ETag" : "0x8D7519F76FB91DB", + "Date" : "Wed, 04 Dec 2019 23:29:37 GMT", + "ETag" : "0x8D77911D470303F", "x-ms-file-attributes" : "None", - "x-ms-file-change-time" : "2019-10-15T18:42:43.4062811Z", + "x-ms-file-change-time" : "2019-12-04T23:29:38.1741631Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e70d-f01a-00ef-5f88-833b08000000", - "x-ms-client-request-id" : "7685da3c-2904-497d-8177-87f087b85a9c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:43.3695105Z" + "x-ms-request-id" : "77a67566-f01a-002d-0dfa-aa2148000000", + "x-ms-client-request-id" : "09217f37-4f54-4145-b45b-ba1a39b66b0e", + "x-ms-file-last-write-time" : "2019-12-04T23:29:38.0745984Z" }, "Exception" : null } ], - "variables" : [ "fileapitestssethttpheadersfpk0939087f50c4fa16a4", "fileapitestssethttpheadersfpk59824e0dea01cb5b54", "2019-10-15T18:42:43.369510500Z", "2019-10-15T18:42:43.369510500Z" ] + "variables" : [ "fileapitestssethttpheadersfpk25968f216b5c447a84", "fileapitestssethttpheadersfpk62950336c8656d13d4", "2019-12-04T23:29:38.074598400Z", "2019-12-04T23:29:38.074598400Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetMetadata.json index 5c4af15a7c979..aec40234af232 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetMetadata.json @@ -1,146 +1,146 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadata19434908265?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadatab8d7027103a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0ab11d8b-3a5e-457c-8303-49c9bb4ffc3f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af100a57-2b7c-4958-aed6-a5830a774259" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F77504C96", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:43 GMT", + "ETag" : "0x8D77911D51FDF95", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e71c-f01a-00ef-6c88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "x-ms-client-request-id" : "0ab11d8b-3a5e-457c-8303-49c9bb4ffc3f" + "x-ms-request-id" : "77a67576-f01a-002d-1bfa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "af100a57-2b7c-4958-aed6-a5830a774259" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadata19434908265/fileapitestssetmetadatafileapitestssetmetadata19449079cfa", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadatab8d7027103a/fileapitestssetmetadatafileapitestssetmetadatab8d49108b09", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "96be857e-c349-4fea-a986-50ad280e8a19" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bfd578ad-1db7-4391-b946-f247534300e3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:44.0178700Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:39.4241836Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:39 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", - "ETag" : "0x8D7519F7758E40C", + "Date" : "Wed, 04 Dec 2019 23:29:38 GMT", + "ETag" : "0x8D77911D52EED2C", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:44.0178700Z", + "x-ms-file-change-time" : "2019-12-04T23:29:39.4241836Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e71e-f01a-00ef-6d88-833b08000000", - "x-ms-client-request-id" : "96be857e-c349-4fea-a986-50ad280e8a19", - "x-ms-file-last-write-time" : "2019-10-15T18:42:44.0178700Z" + "x-ms-request-id" : "77a67578-f01a-002d-1cfa-aa2148000000", + "x-ms-client-request-id" : "bfd578ad-1db7-4391-b946-f247534300e3", + "x-ms-file-last-write-time" : "2019-12-04T23:29:39.4241836Z" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadata19434908265/fileapitestssetmetadatafileapitestssetmetadata19449079cfa", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadatab8d7027103a/fileapitestssetmetadatafileapitestssetmetadatab8d49108b09", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "369eab98-0036-432b-b6ff-657eddda268a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "17eff443-4335-45af-a6e0-b1e4f6f78965" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:44.0178700Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:39.4241836Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:39 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:43 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:38 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F7758E40C", + "ETag" : "0x8D77911D52EED2C", "x-ms-file-attributes" : "Archive", "x-ms-meta-testmetadata" : "value", - "x-ms-file-change-time" : "2019-10-15T18:42:44.0178700Z", + "x-ms-file-change-time" : "2019-12-04T23:29:39.4241836Z", "x-ms-file-parent-id" : "0", "Content-Length" : "1024", - "x-ms-request-id" : "89e9e71f-f01a-00ef-6e88-833b08000000", - "x-ms-client-request-id" : "369eab98-0036-432b-b6ff-657eddda268a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:44.0178700Z", + "x-ms-request-id" : "77a67579-f01a-002d-1dfa-aa2148000000", + "x-ms-client-request-id" : "17eff443-4335-45af-a6e0-b1e4f6f78965", + "x-ms-file-last-write-time" : "2019-12-04T23:29:39.4241836Z", "Content-Language" : "en", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadata19434908265/fileapitestssetmetadatafileapitestssetmetadata19449079cfa?comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadatab8d7027103a/fileapitestssetmetadatafileapitestssetmetadatab8d49108b09?comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c3efc2de-46b1-4da3-8b71-fef4f53a92d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "45157b89-d593-4c69-bb04-5ddbd0ae55ad" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7764CDDE", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "ETag" : "0x8D77911D54840FB", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "89e9e720-f01a-00ef-6f88-833b08000000", + "x-ms-request-id" : "77a6757a-f01a-002d-1efa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "x-ms-client-request-id" : "c3efc2de-46b1-4da3-8b71-fef4f53a92d8" + "Date" : "Wed, 04 Dec 2019 23:29:38 GMT", + "x-ms-client-request-id" : "45157b89-d593-4c69-bb04-5ddbd0ae55ad" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadata19434908265/fileapitestssetmetadatafileapitestssetmetadata19449079cfa", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssetmetadatafileapitestssetmetadatab8d7027103a/fileapitestssetmetadatafileapitestssetmetadatab8d49108b09", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "775f90d3-dc20-4774-8833-abe4a0ae1019" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a933192-5d4c-427d-aea8-da44e3e3bfe3" }, "Response" : { "x-ms-meta-update" : "value", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:44.0178700Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:39.4241836Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:39 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:39 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F7764CDDE", + "ETag" : "0x8D77911D54840FB", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:44.0959454Z", + "x-ms-file-change-time" : "2019-12-04T23:29:39.5901691Z", "x-ms-file-parent-id" : "0", "Content-Length" : "1024", - "x-ms-request-id" : "89e9e721-f01a-00ef-7088-833b08000000", - "x-ms-client-request-id" : "775f90d3-dc20-4774-8833-abe4a0ae1019", - "x-ms-file-last-write-time" : "2019-10-15T18:42:44.0178700Z", + "x-ms-request-id" : "77a6757b-f01a-002d-1ffa-aa2148000000", + "x-ms-client-request-id" : "6a933192-5d4c-427d-aea8-da44e3e3bfe3", + "x-ms-file-last-write-time" : "2019-12-04T23:29:39.4241836Z", "Content-Language" : "en", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "fileapitestssetmetadatafileapitestssetmetadata19434908265", "fileapitestssetmetadatafileapitestssetmetadata19449079cfa" ] + "variables" : [ "fileapitestssetmetadatafileapitestssetmetadatab8d7027103a", "fileapitestssetmetadatafileapitestssetmetadatab8d49108b09" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetMetadataError.json index 15217ccf77c39..e7ed2eb9cebe5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsSetMetadataError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssetmetadataerror90981de34bcec1a964?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssetmetadataerror83894484ceb7679c24?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0a5826c9-77ff-427b-a2fb-6dd0cf96a64e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "337d52ae-abfd-432f-bdbb-16a1c8d112e8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F777D340E", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "ETag" : "0x8D77911D57A0DAC", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:39 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e724-f01a-00ef-7388-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "x-ms-client-request-id" : "0a5826c9-77ff-427b-a2fb-6dd0cf96a64e" + "x-ms-request-id" : "77a6757e-f01a-002d-22fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "337d52ae-abfd-432f-bdbb-16a1c8d112e8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssetmetadataerror90981de34bcec1a964/fileapitestssetmetadataerror33437f90e7d885d214", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssetmetadataerror83894484ceb7679c24/fileapitestssetmetadataerror903363a36d5ac2d1f4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "27d07ad5-61fb-4751-bf41-0bac5a197edf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "32e53893-ecf6-4761-b9d0-b9fe8e05a2f8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:44.3111528Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:44 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:40.0111714Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:40 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "ETag" : "0x8D7519F7785A468", + "Date" : "Wed, 04 Dec 2019 23:29:39 GMT", + "ETag" : "0x8D77911D5887E62", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:44.3111528Z", + "x-ms-file-change-time" : "2019-12-04T23:29:40.0111714Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e726-f01a-00ef-7488-833b08000000", - "x-ms-client-request-id" : "27d07ad5-61fb-4751-bf41-0bac5a197edf", - "x-ms-file-last-write-time" : "2019-10-15T18:42:44.3111528Z" + "x-ms-request-id" : "77a67580-f01a-002d-23fa-aa2148000000", + "x-ms-client-request-id" : "32e53893-ecf6-4761-b9d0-b9fe8e05a2f8", + "x-ms-file-last-write-time" : "2019-12-04T23:29:40.0111714Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestssetmetadataerror90981de34bcec1a964/fileapitestssetmetadataerror33437f90e7d885d214?comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestssetmetadataerror83894484ceb7679c24/fileapitestssetmetadataerror903363a36d5ac2d1f4?comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e31851ac-c41a-4ed2-85e4-876a0a044ecd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2efb554f-4b2a-4b5f-ab6c-6d56855eafc0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "89e9e727-f01a-00ef-7588-833b08000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:89e9e727-f01a-00ef-7588-833b08000000\nTime:2019-10-15T18:42:44.3469354Zvalue", - "Date" : "Tue, 15 Oct 2019 18:42:44 GMT", - "x-ms-client-request-id" : "e31851ac-c41a-4ed2-85e4-876a0a044ecd", + "x-ms-request-id" : "77a67581-f01a-002d-24fa-aa2148000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:77a67581-f01a-002d-24fa-aa2148000000\nTime:2019-12-04T23:29:40.0935366Zvalue", + "Date" : "Wed, 04 Dec 2019 23:29:39 GMT", + "x-ms-client-request-id" : "2efb554f-4b2a-4b5f-ab6c-6d56855eafc0", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestssetmetadataerror90981de34bcec1a964", "fileapitestssetmetadataerror33437f90e7d885d214" ] + "variables" : [ "fileapitestssetmetadataerror83894484ceb7679c24", "fileapitestssetmetadataerror903363a36d5ac2d1f4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopy.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopy.json index f237674be9f6d..05648c5410622 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopy.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopy.json @@ -1,136 +1,115 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy3bc54417f49e9?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy58212249cbe12?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "8d8d46c6-ba4e-4422-8e86-2c174a4213da" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6707b814-51e9-4954-85ac-02c481155c6c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751B8680E4EDB", - "Last-Modified" : "Tue, 15 Oct 2019 21:41:15 GMT", + "ETag" : "0x8D77911D2DC2FE3", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a3618125-f01a-005b-4ca1-83f367000000", - "Date" : "Tue, 15 Oct 2019 21:41:14 GMT", - "x-ms-client-request-id" : "8d8d46c6-ba4e-4422-8e86-2c174a4213da" + "x-ms-request-id" : "77a67534-f01a-002d-64fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "6707b814-51e9-4954-85ac-02c481155c6c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy3bc54417f49e9/fileapitestsstartcopyfileapitestsstartcopy3bc4725899f8f", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy58212249cbe12/fileapitestsstartcopyfileapitestsstartcopy5821698267ca2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "d8d95da4-d2f0-4a62-b881-3717bb9f9a88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b967c83c-34a2-48ce-abbd-85b5f41a894e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "9604464107523284943*3308177023012697921", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T21:41:16.3452632Z", - "Last-Modified" : "Tue, 15 Oct 2019 21:41:16 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:35.6281470Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:35 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 21:41:15 GMT", - "ETag" : "0x8D751B8686454D8", + "Date" : "Wed, 04 Dec 2019 23:29:35 GMT", + "ETag" : "0x8D77911D2EBB27E", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T21:41:16.3452632Z", + "x-ms-file-change-time" : "2019-12-04T23:29:35.6281470Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "a3618128-f01a-005b-4da1-83f367000000", - "x-ms-client-request-id" : "d8d95da4-d2f0-4a62-b881-3717bb9f9a88", - "x-ms-file-last-write-time" : "2019-10-15T21:41:16.3452632Z" + "x-ms-request-id" : "77a67537-f01a-002d-66fa-aa2148000000", + "x-ms-client-request-id" : "b967c83c-34a2-48ce-abbd-85b5f41a894e", + "x-ms-file-last-write-time" : "2019-12-04T23:29:35.6281470Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy3bc54417f49e9/fileapitestsstartcopyfileapitestsstartcopy3bc4725899f8f", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy58212249cbe12/fileapitestsstartcopyfileapitestsstartcopy5821698267ca2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "9da40971-84f6-487f-9943-11cf33c8fe1b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3cf2297-c983-495a-a575-054c3472df7f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-copy-id" : "fefbf7d9-a206-4f65-a0ad-07329c3f33e2", - "ETag" : "0x8D751B8692AD52D", - "Last-Modified" : "Tue, 15 Oct 2019 21:41:17 GMT", + "x-ms-copy-id" : "d298f0da-6d96-4b1e-8618-e60b6406f2a1", + "ETag" : "0x8D77911D32734DD", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:36 GMT", "retry-after" : "0", "Content-Length" : "0", "x-ms-copy-status" : "success", "StatusCode" : "202", - "x-ms-request-id" : "a3618129-f01a-005b-4ea1-83f367000000", - "Date" : "Tue, 15 Oct 2019 21:41:16 GMT", - "x-ms-client-request-id" : "9da40971-84f6-487f-9943-11cf33c8fe1b" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy3bc54417f49e9/fileapitestsstartcopyfileapitestsstartcopy3bc4725899f8f", - "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "57bf76fc-2ee3-489b-b0f1-f7168aca29d0" - }, - "Response" : { - "x-ms-version" : "2019-02-02", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-copy-id" : "dbdef45e-103c-4e75-8cdd-23b5fd4c4ced", - "ETag" : "0x8D751B8692C5C05", - "Last-Modified" : "Tue, 15 Oct 2019 21:41:17 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "x-ms-copy-status" : "success", - "StatusCode" : "202", - "x-ms-request-id" : "06ce1a21-f01a-0016-1aa1-833c8b000000", - "Date" : "Tue, 15 Oct 2019 21:41:17 GMT", - "x-ms-client-request-id" : "57bf76fc-2ee3-489b-b0f1-f7168aca29d0" + "x-ms-request-id" : "77a67538-f01a-002d-67fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:35 GMT", + "x-ms-client-request-id" : "c3cf2297-c983-495a-a575-054c3472df7f" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy3bc54417f49e9/fileapitestsstartcopyfileapitestsstartcopy3bc4725899f8f", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy58212249cbe12/fileapitestsstartcopyfileapitestsstartcopy5821698267ca2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "87257c00-25fd-4728-bd35-3a753d66275f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "65c65c25-c099-41b1-a778-5db66c68fadb" }, "Response" : { + "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T21:41:17.6561669Z", - "Last-Modified" : "Tue, 15 Oct 2019 21:41:17 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:36.0181469Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:36 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-file-attributes" : "Archive", "Content-Length" : "1024", - "x-ms-request-id" : "06ce1a2a-f01a-0016-1ba1-833c8b000000", + "x-ms-request-id" : "77a6753a-f01a-002d-69fa-aa2148000000", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "9604464107523284943*3308177023012697921", - "x-ms-copy-id" : "dbdef45e-103c-4e75-8cdd-23b5fd4c4ced", - "x-ms-copy-source" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy3bc54417f49e9/fileapitestsstartcopyfileapitestsstartcopy3bc4725899f8f", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "d298f0da-6d96-4b1e-8618-e60b6406f2a1", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopyfileapitestsstartcopy58212249cbe12/fileapitestsstartcopyfileapitestsstartcopy5821698267ca2", "x-ms-copy-progress" : "1024/1024", - "Date" : "Tue, 15 Oct 2019 21:41:18 GMT", - "x-ms-copy-completion-time" : "Tue, 15 Oct 2019 21:41:17 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:35 GMT", + "x-ms-copy-completion-time" : "Wed, 04 Dec 2019 23:29:36 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D751B8692C5C05", - "x-ms-file-change-time" : "2019-10-15T21:41:16.3452632Z", + "ETag" : "0x8D77911D32734DD", + "x-ms-file-change-time" : "2019-12-04T23:29:36.0181469Z", "x-ms-file-parent-id" : "0", "x-ms-copy-status" : "success", - "x-ms-client-request-id" : "87257c00-25fd-4728-bd35-3a753d66275f", - "x-ms-file-last-write-time" : "2019-10-15T21:41:16.3452632Z" + "x-ms-client-request-id" : "65c65c25-c099-41b1-a778-5db66c68fadb", + "x-ms-file-last-write-time" : "2019-12-04T23:29:36.0181469Z" }, "Exception" : null } ], - "variables" : [ "fileapitestsstartcopyfileapitestsstartcopy3bc54417f49e9", "fileapitestsstartcopyfileapitestsstartcopy3bc4725899f8f" ] + "variables" : [ "fileapitestsstartcopyfileapitestsstartcopy58212249cbe12", "fileapitestsstartcopyfileapitestsstartcopy5821698267ca2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs0.json new file mode 100644 index 0000000000000..74795ee22f282 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs0.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs092531ea497e7c494f?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e2d9bca-eb8f-4144-ac88-4f95069fafab" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783EC6997EE8D", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:30 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "185eab4d-201a-002e-7ad5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:29 GMT", + "x-ms-client-request-id" : "8e2d9bca-eb8f-4144-ac88-4f95069fafab" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs092531ea497e7c494f/fileapitestsstartcopywithargs077799cb7e07fcfec0", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c7a36eb-4f3d-464c-a7ed-b6e7804711bc" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T18:59:30.6839871Z", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 18:59:29 GMT", + "ETag" : "0x8D783EC69CDF33F", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T18:59:30.6839871Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "185eab63-201a-002e-0ed5-b5c02c000000", + "x-ms-client-request-id" : "6c7a36eb-4f3d-464c-a7ed-b6e7804711bc", + "x-ms-file-last-write-time" : "2019-12-18T18:59:30.6839871Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs092531ea497e7c494f?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aef4d60a-c6ef-4225-af70-fbc72a0bcb46", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "185eab73-201a-002e-1ed5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:30 GMT", + "x-ms-client-request-id" : "aef4d60a-c6ef-4225-af70-fbc72a0bcb46" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs092531ea497e7c494f/fileapitestsstartcopywithargs077799cb7e07fcfec0", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bd29d9c7-b8b7-4595-b923-469da46836b0" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-copy-id" : "9ede0cb6-34b0-43d0-89b7-736f477fae2e", + "ETag" : "0x8D783EC6A12010B", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:31 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "x-ms-copy-status" : "success", + "StatusCode" : "202", + "x-ms-request-id" : "185eab7c-201a-002e-27d5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:30 GMT", + "x-ms-client-request-id" : "bd29d9c7-b8b7-4595-b923-469da46836b0" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs092531ea497e7c494f/fileapitestsstartcopywithargs077799cb7e07fcfec0", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "92bf4be2-8b6d-44fd-8771-d31f7bb94f06" + }, + "Response" : { + "x-ms-lease-status" : "unlocked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T18:59:30.8828475Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:31 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-file-attributes" : "None", + "Content-Length" : "1024", + "x-ms-request-id" : "185eab8e-201a-002e-39d5-b5c02c000000", + "Content-Type" : "application/octet-stream", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "9ede0cb6-34b0-43d0-89b7-736f477fae2e", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs092531ea497e7c494f/fileapitestsstartcopywithargs077799cb7e07fcfec0", + "x-ms-copy-progress" : "1024/1024", + "Date" : "Wed, 18 Dec 2019 18:59:30 GMT", + "x-ms-copy-completion-time" : "Wed, 18 Dec 2019 18:59:31 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D783EC6A12010B", + "x-ms-file-change-time" : "2019-12-18T18:59:31.1299851Z", + "x-ms-file-parent-id" : "0", + "x-ms-copy-status" : "success", + "x-ms-client-request-id" : "92bf4be2-8b6d-44fd-8771-d31f7bb94f06", + "x-ms-file-last-write-time" : "2019-12-18T18:59:30.8838469Z" + }, + "Exception" : null + } ], + "variables" : [ "fileapitestsstartcopywithargs092531ea497e7c494f", "fileapitestsstartcopywithargs077799cb7e07fcfec0", "2019-12-18T18:59:30.882847500Z", "2019-12-18T18:59:30.883846900Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs1.json new file mode 100644 index 0000000000000..f0e50faafb998 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs1.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs175511ddd35d7d1600?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "da37715c-13a3-44b9-96a2-d62bf3dc74f1" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783EC6A87F424", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:31 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "185eaba9-201a-002e-53d5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:31 GMT", + "x-ms-client-request-id" : "da37715c-13a3-44b9-96a2-d62bf3dc74f1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs175511ddd35d7d1600/fileapitestsstartcopywithargs133293ea627f36ad62", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b66a8c1a-489e-4b71-ac4a-d0aa9e22fb6c" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T18:59:32.0039862Z", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:32 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 18:59:31 GMT", + "ETag" : "0x8D783EC6A975DB6", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T18:59:32.0039862Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "185eabb1-201a-002e-5ad5-b5c02c000000", + "x-ms-client-request-id" : "b66a8c1a-489e-4b71-ac4a-d0aa9e22fb6c", + "x-ms-file-last-write-time" : "2019-12-18T18:59:32.0039862Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs175511ddd35d7d1600?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f2273acc-57dc-4948-acf8-a3f645d30e27", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "185eabb8-201a-002e-60d5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:31 GMT", + "x-ms-client-request-id" : "f2273acc-57dc-4948-acf8-a3f645d30e27" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs175511ddd35d7d1600/fileapitestsstartcopywithargs133293ea627f36ad62", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0ecccdbf-0b78-4e2d-94ca-27c6aff9db9e" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-copy-id" : "3b528db8-9caa-4582-9518-2b773d13f5ba", + "ETag" : "0x8D783EC6ABD1001", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:32 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "x-ms-copy-status" : "success", + "StatusCode" : "202", + "x-ms-request-id" : "185eabbf-201a-002e-67d5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:31 GMT", + "x-ms-client-request-id" : "0ecccdbf-0b78-4e2d-94ca-27c6aff9db9e" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs175511ddd35d7d1600/fileapitestsstartcopywithargs133293ea627f36ad62", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "65d75a62-9035-42ff-85d9-599f87361f43" + }, + "Response" : { + "x-ms-lease-status" : "unlocked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T18:59:32.1099459Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:32 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-file-attributes" : "None", + "Content-Length" : "1024", + "x-ms-request-id" : "185eabcd-201a-002e-75d5-b5c02c000000", + "Content-Type" : "application/octet-stream", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "3b528db8-9caa-4582-9518-2b773d13f5ba", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs175511ddd35d7d1600/fileapitestsstartcopywithargs133293ea627f36ad62", + "x-ms-copy-progress" : "1024/1024", + "Date" : "Wed, 18 Dec 2019 18:59:31 GMT", + "x-ms-copy-completion-time" : "Wed, 18 Dec 2019 18:59:32 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D783EC6ABD1001", + "x-ms-file-change-time" : "2019-12-18T18:59:32.2510337Z", + "x-ms-file-parent-id" : "0", + "x-ms-copy-status" : "success", + "x-ms-client-request-id" : "65d75a62-9035-42ff-85d9-599f87361f43", + "x-ms-file-last-write-time" : "2019-12-18T18:59:32.1099459Z" + }, + "Exception" : null + } ], + "variables" : [ "fileapitestsstartcopywithargs175511ddd35d7d1600", "fileapitestsstartcopywithargs133293ea627f36ad62", "2019-12-18T18:59:32.109945900Z", "2019-12-18T18:59:32.109945900Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs2.json new file mode 100644 index 0000000000000..568fb4e5372d2 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs2.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs215004dba01921eac9?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6293d522-d267-4044-91c5-2f4c08da471c" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783EC6AF709F0", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:32 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "185eabdd-201a-002e-05d5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:31 GMT", + "x-ms-client-request-id" : "6293d522-d267-4044-91c5-2f4c08da471c" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs215004dba01921eac9/fileapitestsstartcopywithargs2028972f8ee919f35e", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7e28abd8-2fc1-4328-ae29-9ec1497e97ed" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T18:59:32.7510380Z", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:32 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 18:59:31 GMT", + "ETag" : "0x8D783EC6B095B6C", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T18:59:32.7510380Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "185eabe5-201a-002e-0cd5-b5c02c000000", + "x-ms-client-request-id" : "7e28abd8-2fc1-4328-ae29-9ec1497e97ed", + "x-ms-file-last-write-time" : "2019-12-18T18:59:32.7510380Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs215004dba01921eac9?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c1fe666-9a7f-421d-b0f2-7f341876eb3e", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "185eabee-201a-002e-13d5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:32 GMT", + "x-ms-client-request-id" : "7c1fe666-9a7f-421d-b0f2-7f341876eb3e" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs215004dba01921eac9/fileapitestsstartcopywithargs2028972f8ee919f35e", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b526cc73-cddb-4bc3-a57f-cb4899a217e1" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-copy-id" : "6364ff05-5a9b-4ac5-a8fa-f6999f3a0f35", + "ETag" : "0x8D783EC6B3D88A0", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:33 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "x-ms-copy-status" : "success", + "StatusCode" : "202", + "x-ms-request-id" : "185eabf5-201a-002e-1ad5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:32 GMT", + "x-ms-client-request-id" : "b526cc73-cddb-4bc3-a57f-cb4899a217e1" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs215004dba01921eac9/fileapitestsstartcopywithargs2028972f8ee919f35e", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "57585946-06f2-48b5-81a9-2a66caac052e" + }, + "Response" : { + "x-ms-lease-status" : "unlocked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T18:59:32.9023399Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:33 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-file-attributes" : "None", + "Content-Length" : "1024", + "x-ms-request-id" : "185eac03-201a-002e-28d5-b5c02c000000", + "Content-Type" : "application/octet-stream", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "6364ff05-5a9b-4ac5-a8fa-f6999f3a0f35", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs215004dba01921eac9/fileapitestsstartcopywithargs2028972f8ee919f35e", + "x-ms-copy-progress" : "1024/1024", + "Date" : "Wed, 18 Dec 2019 18:59:32 GMT", + "x-ms-copy-completion-time" : "Wed, 18 Dec 2019 18:59:33 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D783EC6B3D88A0", + "x-ms-file-change-time" : "2019-12-18T18:59:33.0929824Z", + "x-ms-file-parent-id" : "0", + "x-ms-copy-status" : "success", + "x-ms-client-request-id" : "57585946-06f2-48b5-81a9-2a66caac052e", + "x-ms-file-last-write-time" : "2019-12-18T18:59:32.9023399Z" + }, + "Exception" : null + } ], + "variables" : [ "fileapitestsstartcopywithargs215004dba01921eac9", "fileapitestsstartcopywithargs2028972f8ee919f35e", "2019-12-18T18:59:32.902339900Z", "2019-12-18T18:59:32.902339900Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs3.json new file mode 100644 index 0000000000000..3d3d17e85bfb9 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsStartCopyWithArgs3.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs372461e294004f7efa?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5aca590e-52a4-47af-8bea-ccf883448917" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783EC6B75D6E3", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:33 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "185eac14-201a-002e-39d5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:32 GMT", + "x-ms-client-request-id" : "5aca590e-52a4-47af-8bea-ccf883448917" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs372461e294004f7efa/fileapitestsstartcopywithargs309575e9466f91f4b7", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9756ab1d-afba-42f6-a7d9-777ae349b603" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T18:59:33.5650434Z", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:33 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 18:59:32 GMT", + "ETag" : "0x8D783EC6B859082", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T18:59:33.5650434Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "185eac18-201a-002e-3cd5-b5c02c000000", + "x-ms-client-request-id" : "9756ab1d-afba-42f6-a7d9-777ae349b603", + "x-ms-file-last-write-time" : "2019-12-18T18:59:33.5650434Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs372461e294004f7efa?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "24d05ea6-b0dc-4e3b-a68c-df59c4b81bb6", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "185eac19-201a-002e-3dd5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:32 GMT", + "x-ms-client-request-id" : "24d05ea6-b0dc-4e3b-a68c-df59c4b81bb6" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs372461e294004f7efa/fileapitestsstartcopywithargs309575e9466f91f4b7", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d005a289-e98a-4a1b-afb9-f2a0efeccf03" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-copy-id" : "47378114-897c-463d-90c8-a890ccc02d5f", + "ETag" : "0x8D783EC6BAE2670", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:33 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "x-ms-copy-status" : "success", + "StatusCode" : "202", + "x-ms-request-id" : "185eac1d-201a-002e-41d5-b5c02c000000", + "Date" : "Wed, 18 Dec 2019 18:59:32 GMT", + "x-ms-client-request-id" : "d005a289-e98a-4a1b-afb9-f2a0efeccf03" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs372461e294004f7efa/fileapitestsstartcopywithargs309575e9466f91f4b7", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "78b9069f-848a-4a41-b5f0-d8d2c835da63" + }, + "Response" : { + "x-ms-lease-status" : "unlocked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T18:59:33.6845972Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 18 Dec 2019 18:59:33 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-file-attributes" : "Archive", + "Content-Length" : "1024", + "x-ms-request-id" : "185eac24-201a-002e-48d5-b5c02c000000", + "Content-Type" : "application/octet-stream", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "47378114-897c-463d-90c8-a890ccc02d5f", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileapitestsstartcopywithargs372461e294004f7efa/fileapitestsstartcopywithargs309575e9466f91f4b7", + "x-ms-copy-progress" : "1024/1024", + "Date" : "Wed, 18 Dec 2019 18:59:33 GMT", + "x-ms-copy-completion-time" : "Wed, 18 Dec 2019 18:59:33 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D783EC6BAE2670", + "x-ms-file-change-time" : "2019-12-18T18:59:33.8310256Z", + "x-ms-file-parent-id" : "0", + "x-ms-copy-status" : "success", + "x-ms-client-request-id" : "78b9069f-848a-4a41-b5f0-d8d2c835da63", + "x-ms-file-last-write-time" : "2019-12-18T18:59:33.6845972Z" + }, + "Exception" : null + } ], + "variables" : [ "fileapitestsstartcopywithargs372461e294004f7efa", "fileapitestsstartcopywithargs309575e9466f91f4b7", "2019-12-18T18:59:33.684597200Z", "2019-12-18T18:59:33.684597200Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndClearRange.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndClearRange.json index 22184b54fff77..74181d44d160e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndClearRange.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndClearRange.json @@ -1,135 +1,135 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrange40489d6734815aa4a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrange116556ca5c94eba1d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0f2590e3-f44d-4fd7-a5b5-7cb3ad9bb36a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5138650e-03ef-4a5d-8eac-f5e017ec8e0c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F714A1617", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "ETag" : "0x8D77911CF3D4254", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca8b-701a-00fe-7988-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "x-ms-client-request-id" : "0f2590e3-f44d-4fd7-a5b5-7cb3ad9bb36a" + "x-ms-request-id" : "172f8bdc-101a-0047-3afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "5138650e-03ef-4a5d-8eac-f5e017ec8e0c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrange40489d6734815aa4a/fileapitestsuploadandclearrange40995907b0c7f63b7", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrange116556ca5c94eba1d/fileapitestsuploadandclearrange7516769e3dcfb12e5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "acb727d6-9178-49e4-aaec-1467c435bdfc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b078231-04cb-4cca-a467-5a4375e31b86" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:33.9061133Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:29.5501041Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:29 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "ETag" : "0x8D7519F7151F58D", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", + "ETag" : "0x8D77911CF4C42F1", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:33.9061133Z", + "x-ms-file-change-time" : "2019-12-04T23:29:29.5501041Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639ca8f-701a-00fe-7c88-830c13000000", - "x-ms-client-request-id" : "acb727d6-9178-49e4-aaec-1467c435bdfc", - "x-ms-file-last-write-time" : "2019-10-15T18:42:33.9061133Z" + "x-ms-request-id" : "172f8bdf-101a-0047-3cfa-aaf960000000", + "x-ms-client-request-id" : "6b078231-04cb-4cca-a467-5a4375e31b86", + "x-ms-file-last-write-time" : "2019-12-04T23:29:29.5501041Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrange40489d6734815aa4a/fileapitestsuploadandclearrange40995907b0c7f63b7?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrange116556ca5c94eba1d/fileapitestsuploadandclearrange7516769e3dcfb12e5?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cfc31680-486c-477b-a4ea-41f6b5f4a0d8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d34ec057-b52c-4280-8e82-d706de31ff84", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F715886DE", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "ETag" : "0x8D77911CF598951", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca92-701a-00fe-7f88-830c13000000", + "x-ms-request-id" : "172f8be1-101a-0047-3dfa-aaf960000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "x-ms-client-request-id" : "cfc31680-486c-477b-a4ea-41f6b5f4a0d8", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "d34ec057-b52c-4280-8e82-d706de31ff84", "Content-MD5" : "A5momLrihyOacM8O00uT1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrange40489d6734815aa4a/fileapitestsuploadandclearrange40995907b0c7f63b7?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrange116556ca5c94eba1d/fileapitestsuploadandclearrange7516769e3dcfb12e5?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e42a6273-cdb6-474b-be3b-49ac15bf39ab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eaa529f7-6fba-40d2-a2fd-6f5e33c4f10b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F716337E2", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "ETag" : "0x8D77911CF6942A0", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca97-701a-00fe-0488-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "x-ms-client-request-id" : "e42a6273-cdb6-474b-be3b-49ac15bf39ab" + "x-ms-request-id" : "172f8be4-101a-0047-40fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "eaa529f7-6fba-40d2-a2fd-6f5e33c4f10b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrange40489d6734815aa4a/fileapitestsuploadandclearrange40995907b0c7f63b7", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrange116556ca5c94eba1d/fileapitestsuploadandclearrange7516769e3dcfb12e5", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2288dd65-eed8-4c8f-ad3f-995b230e6d8a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc8db2ca-eb63-4070-8fdf-3c134b2cc8ae" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:33.9061133Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:29.5501041Z", "Content-Range" : "bytes 0-6/22", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:29 GMT", "retry-after" : "0", "StatusCode" : "206", "x-ms-file-attributes" : "Archive", "Content-Length" : "7", - "x-ms-request-id" : "8639caa0-701a-00fe-0d88-830c13000000", + "x-ms-request-id" : "172f8be5-101a-0047-41fa-aaf960000000", "Body" : "[0, 0, 0, 0, 0, 0, 0]", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F716337E2", - "x-ms-file-change-time" : "2019-10-15T18:42:33.9061133Z", + "ETag" : "0x8D77911CF6942A0", + "x-ms-file-change-time" : "2019-12-04T23:29:29.5501041Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "2288dd65-eed8-4c8f-ad3f-995b230e6d8a", - "x-ms-file-last-write-time" : "2019-10-15T18:42:33.9061133Z" + "x-ms-client-request-id" : "fc8db2ca-eb63-4070-8fdf-3c134b2cc8ae", + "x-ms-file-last-write-time" : "2019-12-04T23:29:29.5501041Z" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploadandclearrange40489d6734815aa4a", "fileapitestsuploadandclearrange40995907b0c7f63b7" ] + "variables" : [ "fileapitestsuploadandclearrange116556ca5c94eba1d", "fileapitestsuploadandclearrange7516769e3dcfb12e5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndClearRangeWithArgs.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndClearRangeWithArgs.json index 8e123598e12d6..b4c55e34bb7e5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndClearRangeWithArgs.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndClearRangeWithArgs.json @@ -1,135 +1,135 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrangewithargs56643f0051e56?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrangewithargs51043da6e7380?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d05a4cb8-c43a-4fb6-a530-c70df1a3680c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "69f90a7b-80ca-439f-a73f-cd45a1511393" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F718C1166", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "ETag" : "0x8D77911CF9D3C7F", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639caa7-701a-00fe-1488-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "x-ms-client-request-id" : "d05a4cb8-c43a-4fb6-a530-c70df1a3680c" + "x-ms-request-id" : "172f8be8-101a-0047-44fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "69f90a7b-80ca-439f-a73f-cd45a1511393" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrangewithargs56643f0051e56/fileapitestsuploadandclearrangewithargs3163608ba71f2", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrangewithargs51043da6e7380/fileapitestsuploadandclearrangewithargs42460099a8ca8", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4363e217-4eb4-4bc4-a4b0-958401753ba6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f05c4713-4f16-44ef-b680-7c7e1dcd6ac6" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:34.3395317Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:30.1791410Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:30 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "ETag" : "0x8D7519F719417F5", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", + "ETag" : "0x8D77911CFAC3EB2", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:34.3395317Z", + "x-ms-file-change-time" : "2019-12-04T23:29:30.1791410Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639caad-701a-00fe-1988-830c13000000", - "x-ms-client-request-id" : "4363e217-4eb4-4bc4-a4b0-958401753ba6", - "x-ms-file-last-write-time" : "2019-10-15T18:42:34.3395317Z" + "x-ms-request-id" : "172f8bed-101a-0047-48fa-aaf960000000", + "x-ms-client-request-id" : "f05c4713-4f16-44ef-b680-7c7e1dcd6ac6", + "x-ms-file-last-write-time" : "2019-12-04T23:29:30.1791410Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrangewithargs56643f0051e56/fileapitestsuploadandclearrangewithargs3163608ba71f2?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrangewithargs51043da6e7380/fileapitestsuploadandclearrangewithargs42460099a8ca8?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d941b38f-e3f8-4931-a91e-da961101242b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fe2b452f-3258-4412-b0d5-2cd8f96820b5", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F719AF775", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "ETag" : "0x8D77911CFB90FF8", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639cab2-701a-00fe-1e88-830c13000000", + "x-ms-request-id" : "172f8bee-101a-0047-49fa-aaf960000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "x-ms-client-request-id" : "d941b38f-e3f8-4931-a91e-da961101242b", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "fe2b452f-3258-4412-b0d5-2cd8f96820b5", "Content-MD5" : "A5momLrihyOacM8O00uT1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrangewithargs56643f0051e56/fileapitestsuploadandclearrangewithargs3163608ba71f2?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrangewithargs51043da6e7380/fileapitestsuploadandclearrangewithargs42460099a8ca8?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8055d65c-895b-4638-af7f-b46a8783ce52" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c90be86c-3e3f-4ee8-a8ac-2adbf0246b92" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F71A1AFE3", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "ETag" : "0x8D77911CFC62E65", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639cab7-701a-00fe-2288-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "x-ms-client-request-id" : "8055d65c-895b-4638-af7f-b46a8783ce52" + "x-ms-request-id" : "172f8bf1-101a-0047-4cfa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:29 GMT", + "x-ms-client-request-id" : "c90be86c-3e3f-4ee8-a8ac-2adbf0246b92" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadandclearrangewithargs56643f0051e56/fileapitestsuploadandclearrangewithargs3163608ba71f2", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadandclearrangewithargs51043da6e7380/fileapitestsuploadandclearrangewithargs42460099a8ca8", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d31a0872-b507-4ac5-add1-041481eec2d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf96acbe-be94-41e0-86bd-096d3b5dfea2" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:34.3395317Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:30.1791410Z", "Content-Range" : "bytes 1-7/22", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:34 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:30 GMT", "retry-after" : "0", "StatusCode" : "206", "x-ms-file-attributes" : "Archive", "Content-Length" : "7", - "x-ms-request-id" : "8639caba-701a-00fe-2488-830c13000000", + "x-ms-request-id" : "172f8bf3-101a-0047-4efa-aaf960000000", "Body" : "[0, 0, 0, 0, 0, 0, 0]", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Wed, 04 Dec 2019 23:29:30 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F71A1AFE3", - "x-ms-file-change-time" : "2019-10-15T18:42:34.3395317Z", + "ETag" : "0x8D77911CFC62E65", + "x-ms-file-change-time" : "2019-12-04T23:29:30.1791410Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "d31a0872-b507-4ac5-add1-041481eec2d8", - "x-ms-file-last-write-time" : "2019-10-15T18:42:34.3395317Z" + "x-ms-client-request-id" : "cf96acbe-be94-41e0-86bd-096d3b5dfea2", + "x-ms-file-last-write-time" : "2019-12-04T23:29:30.1791410Z" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploadandclearrangewithargs56643f0051e56", "fileapitestsuploadandclearrangewithargs3163608ba71f2" ] + "variables" : [ "fileapitestsuploadandclearrangewithargs51043da6e7380", "fileapitestsuploadandclearrangewithargs42460099a8ca8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadData.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadData.json index 62857558c14d2..d938dd603e048 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadData.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadData.json @@ -1,113 +1,113 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloaddata1714327b05b6d7c2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloaddata88673fceeb2d1333?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5f9ae057-5e61-4e15-8c24-87c7cd32dcc9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a9088623-23cb-4d4d-a222-dc8655081527" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F70C5F86B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:32 GMT", + "ETag" : "0x8D77911CE624BA0", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca6d-701a-00fe-5e88-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "x-ms-client-request-id" : "5f9ae057-5e61-4e15-8c24-87c7cd32dcc9" + "x-ms-request-id" : "172f8bc1-101a-0047-23fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:27 GMT", + "x-ms-client-request-id" : "a9088623-23cb-4d4d-a222-dc8655081527" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloaddata1714327b05b6d7c2/fileapitestsuploadanddownloaddata823560735b3eceaf", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloaddata88673fceeb2d1333/fileapitestsuploadanddownloaddata634628d58ff4bd4a", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "36ddcd93-d744-44aa-9580-c1fa2dc0aa6b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d395133-25a5-41a1-9f53-dcddd69caef9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:33.0452831Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:28.1120946Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:28 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "ETag" : "0x8D7519F70CE9B5F", + "Date" : "Wed, 04 Dec 2019 23:29:27 GMT", + "ETag" : "0x8D77911CE70D6B2", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:33.0452831Z", + "x-ms-file-change-time" : "2019-12-04T23:29:28.1120946Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639ca6f-701a-00fe-5f88-830c13000000", - "x-ms-client-request-id" : "36ddcd93-d744-44aa-9580-c1fa2dc0aa6b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:33.0452831Z" + "x-ms-request-id" : "172f8bc4-101a-0047-25fa-aaf960000000", + "x-ms-client-request-id" : "3d395133-25a5-41a1-9f53-dcddd69caef9", + "x-ms-file-last-write-time" : "2019-12-04T23:29:28.1120946Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloaddata1714327b05b6d7c2/fileapitestsuploadanddownloaddata823560735b3eceaf?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloaddata88673fceeb2d1333/fileapitestsuploadanddownloaddata634628d58ff4bd4a?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5244b053-5903-4227-b63c-4e8d14b104e3", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df596b93-3aa2-4f8c-8a65-ae1fd7b95fe2", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F70DF1A29", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "ETag" : "0x8D77911CE7FF1B2", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca70-701a-00fe-6088-830c13000000", + "x-ms-request-id" : "172f8bc5-101a-0047-26fa-aaf960000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "x-ms-client-request-id" : "5244b053-5903-4227-b63c-4e8d14b104e3", + "Date" : "Wed, 04 Dec 2019 23:29:27 GMT", + "x-ms-client-request-id" : "df596b93-3aa2-4f8c-8a65-ae1fd7b95fe2", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloaddata1714327b05b6d7c2/fileapitestsuploadanddownloaddata823560735b3eceaf", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloaddata88673fceeb2d1333/fileapitestsuploadanddownloaddata634628d58ff4bd4a", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "963e4cbb-6b61-4bc9-a080-4d41de6f5249" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4893fcef-2263-4f89-909d-ee07fc2a6c6c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:33.0452831Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:28.1120946Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:28 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:27 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F70DF1A29", + "ETag" : "0x8D77911CE7FF1B2", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:33.0452831Z", + "x-ms-file-change-time" : "2019-12-04T23:29:28.1120946Z", "x-ms-file-parent-id" : "0", "Content-Length" : "7", - "x-ms-request-id" : "8639ca71-701a-00fe-6188-830c13000000", + "x-ms-request-id" : "172f8bc7-101a-0047-27fa-aaf960000000", "Body" : "[100, 101, 102, 97, 117, 108, 116]", - "x-ms-client-request-id" : "963e4cbb-6b61-4bc9-a080-4d41de6f5249", - "x-ms-file-last-write-time" : "2019-10-15T18:42:33.0452831Z", + "x-ms-client-request-id" : "4893fcef-2263-4f89-909d-ee07fc2a6c6c", + "x-ms-file-last-write-time" : "2019-12-04T23:29:28.1120946Z", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploadanddownloaddata1714327b05b6d7c2", "fileapitestsuploadanddownloaddata823560735b3eceaf" ] + "variables" : [ "fileapitestsuploadanddownloaddata88673fceeb2d1333", "fileapitestsuploadanddownloaddata634628d58ff4bd4a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadDataWithArgs.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadDataWithArgs.json index ddbec1b22e50e..a0e775375c1b5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadDataWithArgs.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadDataWithArgs.json @@ -1,115 +1,115 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloaddatawithargs58854f560aa9?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloaddatawithargs016444711819?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1f142437-3255-4094-9197-1a3ad4ae21ce" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "90b005aa-6217-4b6c-a9c5-ad3347f60155" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F70FF3F0F", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "ETag" : "0x8D77911CEB32ABE", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca74-701a-00fe-6488-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "x-ms-client-request-id" : "1f142437-3255-4094-9197-1a3ad4ae21ce" + "x-ms-request-id" : "172f8bca-101a-0047-2afa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "90b005aa-6217-4b6c-a9c5-ad3347f60155" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloaddatawithargs58854f560aa9/fileapitestsuploadanddownloaddatawithargs27071e7c738e", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloaddatawithargs016444711819/fileapitestsuploadanddownloaddatawithargs548694e9a7e7", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c842404-9407-4ba1-963d-6c7d734970f2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6df93bab-58b2-49fe-b82b-7c054d4f2ca2" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:33.4236487Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:28.6851310Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:28 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "ETag" : "0x8D7519F71085747", + "Date" : "Wed, 04 Dec 2019 23:29:28 GMT", + "ETag" : "0x8D77911CEC846EE", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:33.4236487Z", + "x-ms-file-change-time" : "2019-12-04T23:29:28.6851310Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639ca79-701a-00fe-6888-830c13000000", - "x-ms-client-request-id" : "0c842404-9407-4ba1-963d-6c7d734970f2", - "x-ms-file-last-write-time" : "2019-10-15T18:42:33.4236487Z" + "x-ms-request-id" : "172f8bcc-101a-0047-2bfa-aaf960000000", + "x-ms-client-request-id" : "6df93bab-58b2-49fe-b82b-7c054d4f2ca2", + "x-ms-file-last-write-time" : "2019-12-04T23:29:28.6851310Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloaddatawithargs58854f560aa9/fileapitestsuploadanddownloaddatawithargs27071e7c738e?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloaddatawithargs016444711819/fileapitestsuploadanddownloaddatawithargs548694e9a7e7?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "442d63d4-ba88-4b50-88c4-243f25985bea", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "becd2574-aab1-499b-b4d6-90007924291f", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F71113312", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "ETag" : "0x8D77911CED5169E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca7a-701a-00fe-6988-830c13000000", + "x-ms-request-id" : "172f8bce-101a-0047-2dfa-aaf960000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:32 GMT", - "x-ms-client-request-id" : "442d63d4-ba88-4b50-88c4-243f25985bea", + "Date" : "Wed, 04 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "becd2574-aab1-499b-b4d6-90007924291f", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloaddatawithargs58854f560aa9/fileapitestsuploadanddownloaddatawithargs27071e7c738e", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloaddatawithargs016444711819/fileapitestsuploadanddownloaddatawithargs548694e9a7e7", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1857c3b6-c01e-4811-87eb-c6389a6bc364" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a2f6cf4a-0f1a-44d1-8149-0835830fad98" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:33.4236487Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:28.6851310Z", "Content-Range" : "bytes 1-7/1024", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:28 GMT", "retry-after" : "0", "StatusCode" : "206", "x-ms-file-attributes" : "Archive", "Content-Length" : "7", - "x-ms-request-id" : "8639ca7e-701a-00fe-6d88-830c13000000", + "x-ms-request-id" : "172f8bd0-101a-0047-2ffa-aaf960000000", "Body" : "[100, 101, 102, 97, 117, 108, 116]", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Wed, 04 Dec 2019 23:29:28 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F71113312", - "x-ms-file-change-time" : "2019-10-15T18:42:33.4236487Z", + "ETag" : "0x8D77911CED5169E", + "x-ms-file-change-time" : "2019-12-04T23:29:28.6851310Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "1857c3b6-c01e-4811-87eb-c6389a6bc364", - "x-ms-file-last-write-time" : "2019-10-15T18:42:33.4236487Z" + "x-ms-client-request-id" : "a2f6cf4a-0f1a-44d1-8149-0835830fad98", + "x-ms-file-last-write-time" : "2019-12-04T23:29:28.6851310Z" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploadanddownloaddatawithargs58854f560aa9", "fileapitestsuploadanddownloaddatawithargs27071e7c738e" ] + "variables" : [ "fileapitestsuploadanddownloaddatawithargs016444711819", "fileapitestsuploadanddownloaddatawithargs548694e9a7e7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadFileExists.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadFileExists.json index 44c213adcee7c..149c18e8f189a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadFileExists.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadFileExists.json @@ -1,78 +1,78 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloadfileexists90901b4bee62d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloadfileexists79735a89572dd?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0944d03-2523-42e1-a40e-5af8845d1247" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "be14daae-bf33-4b4a-9d02-a1e399ce40cc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F732BDBB7", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "ETag" : "0x8D77911D1C0AD3D", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6c5-f01a-00ef-2988-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:36 GMT", - "x-ms-client-request-id" : "c0944d03-2523-42e1-a40e-5af8845d1247" + "x-ms-request-id" : "77a67519-f01a-002d-4dfa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "be14daae-bf33-4b4a-9d02-a1e399ce40cc" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloadfileexists90901b4bee62d/fileapitestsuploadanddownloadfileexists5241554f6eb61", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloadfileexists79735a89572dd/fileapitestsuploadanddownloadfileexists82049e83b3ed9", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cd832ec1-076c-4995-957a-ed043512e2b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ac434803-d0dd-4431-b8bf-32f30e72ee8e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:37.0841805Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:33.7691248Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:33 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "ETag" : "0x8D7519F7336E4CD", + "Date" : "Wed, 04 Dec 2019 23:29:33 GMT", + "ETag" : "0x8D77911D1D00870", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:37.0841805Z", + "x-ms-file-change-time" : "2019-12-04T23:29:33.7691248Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e6c7-f01a-00ef-2a88-833b08000000", - "x-ms-client-request-id" : "cd832ec1-076c-4995-957a-ed043512e2b5", - "x-ms-file-last-write-time" : "2019-10-15T18:42:37.0841805Z" + "x-ms-request-id" : "77a6751b-f01a-002d-4efa-aa2148000000", + "x-ms-client-request-id" : "ac434803-d0dd-4431-b8bf-32f30e72ee8e", + "x-ms-file-last-write-time" : "2019-12-04T23:29:33.7691248Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloadfileexists90901b4bee62d/fileapitestsuploadanddownloadfileexists5241554f6eb61?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloadfileexists79735a89572dd/fileapitestsuploadanddownloadfileexists82049e83b3ed9?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1247360a-dc64-4142-bcda-6122a3893e52", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "daf6a045-9a79-479d-942c-69464ca9510c", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F734E431B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "ETag" : "0x8D77911D1DD283D", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6c8-f01a-00ef-2b88-833b08000000", + "x-ms-request-id" : "77a6751c-f01a-002d-4ffa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "x-ms-client-request-id" : "1247360a-dc64-4142-bcda-6122a3893e52", + "Date" : "Wed, 04 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "daf6a045-9a79-479d-942c-69464ca9510c", "Content-MD5" : "SBhvnLsTIqH+vn9SjVscdA==" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploadanddownloadfileexists90901b4bee62d", "fileapitestsuploadanddownloadfileexists5241554f6eb61" ] + "variables" : [ "fileapitestsuploadanddownloadfileexists79735a89572dd", "fileapitestsuploadanddownloadfileexists82049e83b3ed9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadToFileDoesNotExist.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadToFileDoesNotExist.json index f20c368055fdd..64b721ff4ffa0 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadToFileDoesNotExist.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadAndDownloadToFileDoesNotExist.json @@ -1,147 +1,147 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist91201f7b1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist34341206e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b59926c8-5372-4267-a56f-3d1c93b0d3c9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0deed37f-d54b-4b2b-9f5f-3afb1e72378f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F73645EC8", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "ETag" : "0x8D77911D2035BAF", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6cb-f01a-00ef-2e88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "x-ms-client-request-id" : "b59926c8-5372-4267-a56f-3d1c93b0d3c9" + "x-ms-request-id" : "77a67520-f01a-002d-53fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "0deed37f-d54b-4b2b-9f5f-3afb1e72378f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist91201f7b1/fileapitestsuploadanddownloadtofiledoesnotexist373293d53", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist34341206e/fileapitestsuploadanddownloadtofiledoesnotexist52650ac6c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b2ec1ce-7fba-4f77-9b18-0aa1c4bc804c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c73ef8b0-a763-426d-a496-e6a686df5389" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:37.4375207Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:34.2051280Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:34 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "ETag" : "0x8D7519F736CCF27", + "Date" : "Wed, 04 Dec 2019 23:29:33 GMT", + "ETag" : "0x8D77911D2128FD0", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:37.4375207Z", + "x-ms-file-change-time" : "2019-12-04T23:29:34.2051280Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e6cd-f01a-00ef-2f88-833b08000000", - "x-ms-client-request-id" : "2b2ec1ce-7fba-4f77-9b18-0aa1c4bc804c", - "x-ms-file-last-write-time" : "2019-10-15T18:42:37.4375207Z" + "x-ms-request-id" : "77a67522-f01a-002d-54fa-aa2148000000", + "x-ms-client-request-id" : "c73ef8b0-a763-426d-a496-e6a686df5389", + "x-ms-file-last-write-time" : "2019-12-04T23:29:34.2051280Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist91201f7b1/fileapitestsuploadanddownloadtofiledoesnotexist373293d53?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist34341206e/fileapitestsuploadanddownloadtofiledoesnotexist52650ac6c?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b945ae5a-78fd-4a14-b152-22d5c3198f3b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6552d37-fcda-47a9-95da-6f0fe4f40ab1", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7373AEB1", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "ETag" : "0x8D77911D21FD66C", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6ce-f01a-00ef-3088-833b08000000", + "x-ms-request-id" : "77a67523-f01a-002d-55fa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "x-ms-client-request-id" : "b945ae5a-78fd-4a14-b152-22d5c3198f3b", + "Date" : "Wed, 04 Dec 2019 23:29:33 GMT", + "x-ms-client-request-id" : "d6552d37-fcda-47a9-95da-6f0fe4f40ab1", "Content-MD5" : "1tRkiflHQxQzG0ItV6HNAg==" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist91201f7b1/fileapitestsuploadanddownloadtofiledoesnotexist373293d53", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist34341206e/fileapitestsuploadanddownloadtofiledoesnotexist52650ac6c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f24f63ba-aab3-4ca2-b73b-9f6a06a1ee14" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "790d6383-6f5b-466f-baa7-311124f027c5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:37.4375207Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:34.2051280Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:34 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:33 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F7373AEB1", + "ETag" : "0x8D77911D21FD66C", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:37.4375207Z", + "x-ms-file-change-time" : "2019-12-04T23:29:34.2051280Z", "x-ms-file-parent-id" : "0", "Content-Length" : "28", - "x-ms-request-id" : "89e9e6cf-f01a-00ef-3188-833b08000000", - "x-ms-client-request-id" : "f24f63ba-aab3-4ca2-b73b-9f6a06a1ee14", - "x-ms-file-last-write-time" : "2019-10-15T18:42:37.4375207Z", + "x-ms-request-id" : "77a67524-f01a-002d-56fa-aa2148000000", + "x-ms-client-request-id" : "790d6383-6f5b-466f-baa7-311124f027c5", + "x-ms-file-last-write-time" : "2019-12-04T23:29:34.2051280Z", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist91201f7b1/fileapitestsuploadanddownloadtofiledoesnotexist373293d53", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadanddownloadtofiledoesnotexist34341206e/fileapitestsuploadanddownloadtofiledoesnotexist52650ac6c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cf172fb4-637a-4a54-bffe-dcc4c954a314" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a989be9d-b410-4c73-8f2a-0483c3201ac5" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:37.4375207Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:34.2051280Z", "Content-Range" : "bytes 0-27/28", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:34 GMT", "retry-after" : "0", "StatusCode" : "206", "x-ms-file-attributes" : "Archive", "Content-Length" : "28", - "x-ms-request-id" : "89e9e6d0-f01a-00ef-3288-833b08000000", + "x-ms-request-id" : "77a67525-f01a-002d-57fa-aa2148000000", "Body" : "[68, 111, 119, 110, 108, 111, 97, 100, 32, 102, 105, 108, 101, 32, 100, 111, 101, 115, 32, 110, 111, 116, 32, 101, 120, 105, 115, 116]", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Wed, 04 Dec 2019 23:29:33 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F7373AEB1", - "x-ms-file-change-time" : "2019-10-15T18:42:37.4375207Z", + "ETag" : "0x8D77911D21FD66C", + "x-ms-file-change-time" : "2019-12-04T23:29:34.2051280Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "cf172fb4-637a-4a54-bffe-dcc4c954a314", - "x-ms-file-last-write-time" : "2019-10-15T18:42:37.4375207Z" + "x-ms-client-request-id" : "a989be9d-b410-4c73-8f2a-0483c3201ac5", + "x-ms-file-last-write-time" : "2019-12-04T23:29:34.2051280Z" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploadanddownloadtofiledoesnotexist91201f7b1", "fileapitestsuploadanddownloadtofiledoesnotexist373293d53" ] + "variables" : [ "fileapitestsuploadanddownloadtofiledoesnotexist34341206e", "fileapitestsuploadanddownloadtofiledoesnotexist52650ac6c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataError.json index 663466c4d1d72..9951022758973 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataError.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploaddataerror52728eaa7b6c5b52947?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploaddataerror99271005a402b0dcb48?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0b4c5ab4-b38a-49ae-822b-6fefcedc3bb4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7e391d4-eaa2-41b4-9633-6f71c4c48f67" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F712F0D5D", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:33 GMT", + "ETag" : "0x8D77911CF09FD28", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639ca81-701a-00fe-7088-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "x-ms-client-request-id" : "0b4c5ab4-b38a-49ae-822b-6fefcedc3bb4" + "x-ms-request-id" : "172f8bd4-101a-0047-33fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "b7e391d4-eaa2-41b4-9633-6f71c4c48f67" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploaddataerror52728eaa7b6c5b52947/fileapitestsuploaddataerror901673c07590b1f334c?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploaddataerror99271005a402b0dcb48/fileapitestsuploaddataerror207636ceae1bc831d4a?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2d36ba30-be98-4ce8-9b13-edbff56cbe30", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8adcff28-3bc5-4e63-8b40-bf1e4df14335", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "8639ca83-701a-00fe-7188-830c13000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:8639ca83-701a-00fe-7188-830c13000000\nTime:2019-10-15T18:42:33.7233913Z", - "Date" : "Tue, 15 Oct 2019 18:42:33 GMT", - "x-ms-client-request-id" : "2d36ba30-be98-4ce8-9b13-edbff56cbe30", + "x-ms-request-id" : "172f8bd7-101a-0047-35fa-aaf960000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:172f8bd7-101a-0047-35fa-aaf960000000\nTime:2019-12-04T23:29:29.2107880Z", + "Date" : "Wed, 04 Dec 2019 23:29:28 GMT", + "x-ms-client-request-id" : "8adcff28-3bc5-4e63-8b40-bf1e4df14335", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploaddataerror52728eaa7b6c5b52947", "fileapitestsuploaddataerror901673c07590b1f334c" ] + "variables" : [ "fileapitestsuploaddataerror99271005a402b0dcb48", "fileapitestsuploaddataerror207636ceae1bc831d4a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataLengthMismatch0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataLengthMismatch0.json index 1c3b1bedc0953..a9caf595f8668 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataLengthMismatch0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataLengthMismatch0.json @@ -1,61 +1,61 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploaddatalengthmismatch0965044e199994c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploaddatalengthmismatch09943809315f7d3?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c44ddfed-92c9-4df8-a613-1765891e8709" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "813f1765-34ba-4bd7-a4de-152d58fe8181" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F722DD07E", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:35 GMT", + "ETag" : "0x8D77911D0A00686", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8639caeb-701a-00fe-5188-830c13000000", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "x-ms-client-request-id" : "c44ddfed-92c9-4df8-a613-1765891e8709" + "x-ms-request-id" : "172f8c11-101a-0047-67fa-aaf960000000", + "Date" : "Wed, 04 Dec 2019 23:29:31 GMT", + "x-ms-client-request-id" : "813f1765-34ba-4bd7-a4de-152d58fe8181" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploaddatalengthmismatch0965044e199994c/fileapitestsuploaddatalengthmismatch027022153481e79", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploaddatalengthmismatch09943809315f7d3/fileapitestsuploaddatalengthmismatch0132963fc2b417b", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5238d330-86bd-4a26-90bb-e826b50d6e4d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "236f1c1b-1c7d-4933-8533-6a49b4b6df80" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:35.4055601Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:35 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:31.8741635Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:31 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "ETag" : "0x8D7519F7236C1B1", + "Date" : "Wed, 04 Dec 2019 23:29:31 GMT", + "ETag" : "0x8D77911D0AEE283", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:35.4055601Z", + "x-ms-file-change-time" : "2019-12-04T23:29:31.8741635Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "8639caef-701a-00fe-5488-830c13000000", - "x-ms-client-request-id" : "5238d330-86bd-4a26-90bb-e826b50d6e4d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:35.4055601Z" + "x-ms-request-id" : "172f8c14-101a-0047-69fa-aaf960000000", + "x-ms-client-request-id" : "236f1c1b-1c7d-4933-8533-6a49b4b6df80", + "x-ms-file-last-write-time" : "2019-12-04T23:29:31.8741635Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploaddatalengthmismatch0965044e199994c/fileapitestsuploaddatalengthmismatch027022153481e79?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploaddatalengthmismatch09943809315f7d3/fileapitestsuploaddatalengthmismatch0132963fc2b417b?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bd646c10-ce89-488f-878e-7809b59e2f88", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "44ff9d1b-6942-45e2-a72b-589e78d8da25", "Content-Type" : "application/octet-stream" }, "Response" : null, @@ -64,5 +64,5 @@ "ErrorMessage" : "Request body emitted 7 bytes, more than the expected 6 bytes." } } ], - "variables" : [ "fileapitestsuploaddatalengthmismatch0965044e199994c", "fileapitestsuploaddatalengthmismatch027022153481e79" ] + "variables" : [ "fileapitestsuploaddatalengthmismatch09943809315f7d3", "fileapitestsuploaddatalengthmismatch0132963fc2b417b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataLengthMismatch1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataLengthMismatch1.json index 4f70701636b0a..feb8ab52287b6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataLengthMismatch1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadDataLengthMismatch1.json @@ -1,61 +1,61 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploaddatalengthmismatch1102321de8e1fd1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploaddatalengthmismatch1927680c2cd8ac7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7838150d-7e63-4690-9f48-749cd1e9c962" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c326ab3-d244-419b-a2e8-263bad69279f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F72623207", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:35 GMT", + "ETag" : "0x8D77911D1119735", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "6365cff3-801a-0063-5e88-837653000000", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "x-ms-client-request-id" : "7838150d-7e63-4690-9f48-749cd1e9c962" + "x-ms-request-id" : "1c731bfa-d01a-0015-74fa-aa8588000000", + "Date" : "Wed, 04 Dec 2019 23:29:31 GMT", + "x-ms-client-request-id" : "6c326ab3-d244-419b-a2e8-263bad69279f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploaddatalengthmismatch1102321de8e1fd1/fileapitestsuploaddatalengthmismatch110653b2aabc39d", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploaddatalengthmismatch1927680c2cd8ac7/fileapitestsuploaddatalengthmismatch149264d9ed6f870", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e84c6c2-fec7-46c7-be80-b3122f0978d0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "898c082d-8ab3-4959-811d-5147031a810a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:35.7468897Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:35 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:32.6211195Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:32 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:34 GMT", - "ETag" : "0x8D7519F726AD6E1", + "Date" : "Wed, 04 Dec 2019 23:29:31 GMT", + "ETag" : "0x8D77911D120DC7B", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:35.7468897Z", + "x-ms-file-change-time" : "2019-12-04T23:29:32.6211195Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "6365cff5-801a-0063-5f88-837653000000", - "x-ms-client-request-id" : "4e84c6c2-fec7-46c7-be80-b3122f0978d0", - "x-ms-file-last-write-time" : "2019-10-15T18:42:35.7468897Z" + "x-ms-request-id" : "1c731bfc-d01a-0015-75fa-aa8588000000", + "x-ms-client-request-id" : "898c082d-8ab3-4959-811d-5147031a810a", + "x-ms-file-last-write-time" : "2019-12-04T23:29:32.6211195Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploaddatalengthmismatch1102321de8e1fd1/fileapitestsuploaddatalengthmismatch110653b2aabc39d?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploaddatalengthmismatch1927680c2cd8ac7/fileapitestsuploaddatalengthmismatch149264d9ed6f870?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a0c80149-3682-4964-8015-1b718ef94b72", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "62d0f0da-dde8-43b7-be0c-51b48866d979", "Content-Type" : "application/octet-stream" }, "Response" : null, @@ -64,5 +64,5 @@ "ErrorMessage" : "Request body emitted 7 bytes, less than the expected 8 bytes." } } ], - "variables" : [ "fileapitestsuploaddatalengthmismatch1102321de8e1fd1", "fileapitestsuploaddatalengthmismatch110653b2aabc39d" ] + "variables" : [ "fileapitestsuploaddatalengthmismatch1927680c2cd8ac7", "fileapitestsuploaddatalengthmismatch149264d9ed6f870" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadFileDoesNotExist.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadFileDoesNotExist.json index 350b58e6edeae..a729bb6d297bc 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadFileDoesNotExist.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadFileDoesNotExist.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadfiledoesnotexist95446e44bc5bfc6?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadfiledoesnotexist11509b520da2e3e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "090b2675-fb55-4d4c-b8a0-eabeddfda6c3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "62b79637-3937-4137-8feb-2acb3f08a717" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7312F65F", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:36 GMT", + "ETag" : "0x8D77911D19AFCC4", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6c1-f01a-00ef-2688-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:36 GMT", - "x-ms-client-request-id" : "090b2675-fb55-4d4c-b8a0-eabeddfda6c3" + "x-ms-request-id" : "77a6750f-f01a-002d-44fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:32 GMT", + "x-ms-client-request-id" : "62b79637-3937-4137-8feb-2acb3f08a717" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploadfiledoesnotexist95446e44bc5bfc6", "fileapitestsuploadfiledoesnotexist48744493ed8ac0b" ] + "variables" : [ "fileapitestsuploadfiledoesnotexist11509b520da2e3e", "fileapitestsuploadfiledoesnotexist90205c689129701" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadRangeFromURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadRangeFromURL.json index 168589894adab..58ded5c608741 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadRangeFromURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAPITestsUploadRangeFromURL.json @@ -1,165 +1,165 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadrangefromurl30380cbbc7840285f?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadrangefromurl551169bc5aa499776?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "287de90f-4e40-41d9-b979-9ca640e34b97" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "44b62ea3-2da4-4854-910f-a86c4527bc32" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F73A6A84C", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "ETag" : "0x8D77911D2663C98", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6d3-f01a-00ef-3588-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "x-ms-client-request-id" : "287de90f-4e40-41d9-b979-9ca640e34b97" + "x-ms-request-id" : "77a67528-f01a-002d-5afa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "44b62ea3-2da4-4854-910f-a86c4527bc32" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadrangefromurl30380cbbc7840285f/fileapitestsuploadrangefromurl66655249dcbc3ddae", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadrangefromurl551169bc5aa499776/fileapitestsuploadrangefromurl807758f01b69bd592", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "16fb1c76-5ad7-4896-b0cf-73316c901522" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af04d81e-0be4-4625-80ea-75c3c8ddc33c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:37.9219886Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:34.8581403Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:34 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "ETag" : "0x8D7519F73B6BBAE", + "Date" : "Wed, 04 Dec 2019 23:29:34 GMT", + "ETag" : "0x8D77911D276341B", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:37.9219886Z", + "x-ms-file-change-time" : "2019-12-04T23:29:34.8581403Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e6d6-f01a-00ef-3688-833b08000000", - "x-ms-client-request-id" : "16fb1c76-5ad7-4896-b0cf-73316c901522", - "x-ms-file-last-write-time" : "2019-10-15T18:42:37.9219886Z" + "x-ms-request-id" : "77a6752a-f01a-002d-5bfa-aa2148000000", + "x-ms-client-request-id" : "af04d81e-0be4-4625-80ea-75c3c8ddc33c", + "x-ms-file-last-write-time" : "2019-12-04T23:29:34.8581403Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadrangefromurl30380cbbc7840285f/fileapitestsuploadrangefromurl66655249dcbc3ddae?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadrangefromurl551169bc5aa499776/fileapitestsuploadrangefromurl807758f01b69bd592?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e621300b-b96b-4689-a2db-a0dca5011775", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d3caa929-9bc5-4822-9880-8612a83fa2e8", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F73C0D047", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:37 GMT", + "ETag" : "0x8D77911D2835319", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6d7-f01a-00ef-3788-833b08000000", + "x-ms-request-id" : "77a6752b-f01a-002d-5cfa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "x-ms-client-request-id" : "e621300b-b96b-4689-a2db-a0dca5011775", + "Date" : "Wed, 04 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "d3caa929-9bc5-4822-9880-8612a83fa2e8", "Content-MD5" : "nhB9nTcrtoJr2B01QqQZ1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadrangefromurl30380cbbc7840285f/fileapitestsuploadrangefromurl66655249dcbc3ddae", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadrangefromurl551169bc5aa499776/fileapitestsuploadrangefromurl807758f01b69bd592", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2dbb4c85-452f-48cf-bf19-3c71a79afbda" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d4866c34-a8d0-442d-8e99-97e15d13ee5f" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:38.0571188Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:38 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:35.0371413Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:35 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:37 GMT", - "ETag" : "0x8D7519F73CB5A34", + "Date" : "Wed, 04 Dec 2019 23:29:34 GMT", + "ETag" : "0x8D77911D2918455", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:38.0571188Z", + "x-ms-file-change-time" : "2019-12-04T23:29:35.0371413Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e6d8-f01a-00ef-3888-833b08000000", - "x-ms-client-request-id" : "2dbb4c85-452f-48cf-bf19-3c71a79afbda", - "x-ms-file-last-write-time" : "2019-10-15T18:42:38.0571188Z" + "x-ms-request-id" : "77a6752c-f01a-002d-5dfa-aa2148000000", + "x-ms-client-request-id" : "d4866c34-a8d0-442d-8e99-97e15d13ee5f", + "x-ms-file-last-write-time" : "2019-12-04T23:29:35.0371413Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadrangefromurl30380cbbc7840285f/fileapitestsuploadrangefromurl66655249dcbc3ddae?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadrangefromurl551169bc5aa499776/fileapitestsuploadrangefromurl807758f01b69bd592?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "76130b63-3ac8-416d-9593-5fd36e56e7ad" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f201d5cc-34f4-41f8-b2a2-aca08b0b5ee5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F73FB4FA8", + "ETag" : "0x8D77911D2A7A408", "x-ms-content-crc64" : "9TRwg1LzFO0=", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:38 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e6d9-f01a-00ef-3988-833b08000000", + "x-ms-request-id" : "77a6752d-f01a-002d-5efa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:38 GMT", - "x-ms-client-request-id" : "76130b63-3ac8-416d-9593-5fd36e56e7ad" + "Date" : "Wed, 04 Dec 2019 23:29:34 GMT", + "x-ms-client-request-id" : "f201d5cc-34f4-41f8-b2a2-aca08b0b5ee5" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileapitestsuploadrangefromurl30380cbbc7840285f/fileapitestsuploadrangefromurl66655249dcbc3ddae", + "Uri" : "https://gaprastg71.file.core.windows.net/fileapitestsuploadrangefromurl551169bc5aa499776/fileapitestsuploadrangefromurl807758f01b69bd592", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c96bb186-ce9f-42e6-91ae-4c5a783f02c5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea8f90de-3a0e-4094-af42-0d8c9825858e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:38.0571188Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:35.0371413Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:38 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:35 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:38 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:34 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F73FB4FA8", + "ETag" : "0x8D77911D2A7A408", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:38.0571188Z", + "x-ms-file-change-time" : "2019-12-04T23:29:35.0371413Z", "x-ms-file-parent-id" : "0", "Content-Length" : "1024", - "x-ms-request-id" : "89e9e6db-f01a-00ef-3b88-833b08000000", + "x-ms-request-id" : "77a67530-f01a-002d-60fa-aa2148000000", "Body" : "[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]", - "x-ms-client-request-id" : "c96bb186-ce9f-42e6-91ae-4c5a783f02c5", - "x-ms-file-last-write-time" : "2019-10-15T18:42:38.0571188Z", + "x-ms-client-request-id" : "ea8f90de-3a0e-4094-af42-0d8c9825858e", + "x-ms-file-last-write-time" : "2019-12-04T23:29:35.0371413Z", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "fileapitestsuploadrangefromurl30380cbbc7840285f", "fileapitestsuploadrangefromurl66655249dcbc3ddae", "2019-10-15T18:42:38.015283600Z" ] + "variables" : [ "fileapitestsuploadrangefromurl551169bc5aa499776", "fileapitestsuploadrangefromurl807758f01b69bd592", "2019-12-04T23:29:34.948053Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeError.json index 29cce69708628..0c55fd9b70b8a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeError.json @@ -1,100 +1,100 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsclearrangeerror57412251c59f5ef2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeerror33464d23082ecb07?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b070fab2-f13b-4720-aeeb-b183f85794a8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "414964f4-8050-4ae8-947b-3a254d64f3fa" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7C761E68", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:52 GMT", + "ETag" : "0x8D77911E4BDC92F", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489c3-a01a-0116-4b88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:51 GMT", - "x-ms-client-request-id" : "b070fab2-f13b-4720-aeeb-b183f85794a8" + "x-ms-request-id" : "9ba99bdc-201a-0011-14fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:05 GMT", + "x-ms-client-request-id" : "414964f4-8050-4ae8-947b-3a254d64f3fa" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsclearrangeerror57412251c59f5ef2/fileasyncapitestsclearrangeerror1819164aee7556eb", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeerror33464d23082ecb07/fileasyncapitestsclearrangeerror45695682df136451", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3a3b38e0-318c-44c3-a13e-82c54d2d9af0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9d486bbf-3988-4789-a65f-772d286b697a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:52.6572067Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:52 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:05.6283543Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:05 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:51 GMT", - "ETag" : "0x8D7519F7C7F2623", + "Date" : "Wed, 04 Dec 2019 23:30:05 GMT", + "ETag" : "0x8D77911E4CD5D97", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:52.6572067Z", + "x-ms-file-change-time" : "2019-12-04T23:30:05.6283543Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e489c5-a01a-0116-4c88-83b7bd000000", - "x-ms-client-request-id" : "3a3b38e0-318c-44c3-a13e-82c54d2d9af0", - "x-ms-file-last-write-time" : "2019-10-15T18:42:52.6572067Z" + "x-ms-request-id" : "9ba99be1-201a-0011-18fa-aa088f000000", + "x-ms-client-request-id" : "9d486bbf-3988-4789-a65f-772d286b697a", + "x-ms-file-last-write-time" : "2019-12-04T23:30:05.6283543Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsclearrangeerror57412251c59f5ef2/fileasyncapitestsclearrangeerror1819164aee7556eb?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeerror33464d23082ecb07/fileasyncapitestsclearrangeerror45695682df136451?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e0487c7b-fff6-4b49-81d8-7c16aeb4cfb4", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c96fec7-e9ba-4932-a26a-3e43e9a43c42", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7C862CB6", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:52 GMT", + "ETag" : "0x8D77911E4DA7CD8", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489c6-a01a-0116-4d88-83b7bd000000", + "x-ms-request-id" : "9ba99be2-201a-0011-19fa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:51 GMT", - "x-ms-client-request-id" : "e0487c7b-fff6-4b49-81d8-7c16aeb4cfb4", + "Date" : "Wed, 04 Dec 2019 23:30:05 GMT", + "x-ms-client-request-id" : "7c96fec7-e9ba-4932-a26a-3e43e9a43c42", "Content-MD5" : "A5momLrihyOacM8O00uT1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsclearrangeerror57412251c59f5ef2/fileasyncapitestsclearrangeerror1819164aee7556eb?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeerror33464d23082ecb07/fileasyncapitestsclearrangeerror45695682df136451?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "35924bf7-3809-4dde-932e-a736abb6c0d5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "48c549a2-6d98-4786-9a5d-856186333ce4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidRange", "retry-after" : "0", "Content-Length" : "249", "StatusCode" : "416", - "x-ms-request-id" : "83e489c7-a01a-0116-4e88-83b7bd000000", - "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:83e489c7-a01a-0116-4e88-83b7bd000000\nTime:2019-10-15T18:42:53.2106067Z", - "Date" : "Tue, 15 Oct 2019 18:42:52 GMT", - "x-ms-client-request-id" : "35924bf7-3809-4dde-932e-a736abb6c0d5", + "x-ms-request-id" : "9ba99be3-201a-0011-1afa-aa088f000000", + "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:9ba99be3-201a-0011-1afa-aa088f000000\nTime:2019-12-04T23:30:05.8912478Z", + "Date" : "Wed, 04 Dec 2019 23:30:05 GMT", + "x-ms-client-request-id" : "48c549a2-6d98-4786-9a5d-856186333ce4", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsclearrangeerror57412251c59f5ef2", "fileasyncapitestsclearrangeerror1819164aee7556eb" ] + "variables" : [ "fileasyncapitestsclearrangeerror33464d23082ecb07", "fileasyncapitestsclearrangeerror45695682df136451" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeErrorArgs.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeErrorArgs.json index 56249d8193d14..230ec8fae26ce 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeErrorArgs.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeErrorArgs.json @@ -1,100 +1,100 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsclearrangeerrorargs2858906931c387?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeerrorargs25464d67eaff70?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4be49311-fa78-4acc-a0de-87578b9a7d1a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "656546db-6644-4ffb-b28c-af675bddd4bc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7CF2988E", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:53 GMT", + "ETag" : "0x8D77911E519F329", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489ca-a01a-0116-5188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:52 GMT", - "x-ms-client-request-id" : "4be49311-fa78-4acc-a0de-87578b9a7d1a" + "x-ms-request-id" : "9ba99be6-201a-0011-1dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:05 GMT", + "x-ms-client-request-id" : "656546db-6644-4ffb-b28c-af675bddd4bc" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsclearrangeerrorargs2858906931c387/fileasyncapitestsclearrangeerrorargs209390f8bebadc", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeerrorargs25464d67eaff70/fileasyncapitestsclearrangeerrorargs050807005e2bfb", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b0a7f42f-2ef8-4f35-9edb-796e54c65f0d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1501041f-298d-4111-97ef-f886c42841e8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:53.4709913Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:53 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:06.2323628Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:06 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:52 GMT", - "ETag" : "0x8D7519F7CFB5299", + "Date" : "Wed, 04 Dec 2019 23:30:06 GMT", + "ETag" : "0x8D77911E52987AC", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:53.4709913Z", + "x-ms-file-change-time" : "2019-12-04T23:30:06.2323628Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e489cc-a01a-0116-5288-83b7bd000000", - "x-ms-client-request-id" : "b0a7f42f-2ef8-4f35-9edb-796e54c65f0d", - "x-ms-file-last-write-time" : "2019-10-15T18:42:53.4709913Z" + "x-ms-request-id" : "9ba99be8-201a-0011-1efa-aa088f000000", + "x-ms-client-request-id" : "1501041f-298d-4111-97ef-f886c42841e8", + "x-ms-file-last-write-time" : "2019-12-04T23:30:06.2323628Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsclearrangeerrorargs2858906931c387/fileasyncapitestsclearrangeerrorargs209390f8bebadc?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeerrorargs25464d67eaff70/fileasyncapitestsclearrangeerrorargs050807005e2bfb?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fc95a094-184f-4075-ac00-207491a5c256", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "09bfcb23-547b-4e10-a4f8-79633fe7c281", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7D016EA0", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:53 GMT", + "ETag" : "0x8D77911E5371D7A", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489cd-a01a-0116-5388-83b7bd000000", + "x-ms-request-id" : "9ba99be9-201a-0011-1ffa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:52 GMT", - "x-ms-client-request-id" : "fc95a094-184f-4075-ac00-207491a5c256", + "Date" : "Wed, 04 Dec 2019 23:30:06 GMT", + "x-ms-client-request-id" : "09bfcb23-547b-4e10-a4f8-79633fe7c281", "Content-MD5" : "A5momLrihyOacM8O00uT1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsclearrangeerrorargs2858906931c387/fileasyncapitestsclearrangeerrorargs209390f8bebadc?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeerrorargs25464d67eaff70/fileasyncapitestsclearrangeerrorargs050807005e2bfb?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d68a6f23-0517-4a72-9fff-82da17d586e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42fac855-04f1-4583-b815-f2ac3bf3248c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidRange", "retry-after" : "0", "Content-Length" : "249", "StatusCode" : "416", - "x-ms-request-id" : "83e489ce-a01a-0116-5488-83b7bd000000", - "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:83e489ce-a01a-0116-5488-83b7bd000000\nTime:2019-10-15T18:42:53.5539330Z", - "Date" : "Tue, 15 Oct 2019 18:42:52 GMT", - "x-ms-client-request-id" : "d68a6f23-0517-4a72-9fff-82da17d586e6", + "x-ms-request-id" : "9ba99bea-201a-0011-20fa-aa088f000000", + "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:9ba99bea-201a-0011-20fa-aa088f000000\nTime:2019-12-04T23:30:06.4152584Z", + "Date" : "Wed, 04 Dec 2019 23:30:06 GMT", + "x-ms-client-request-id" : "42fac855-04f1-4583-b815-f2ac3bf3248c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsclearrangeerrorargs2858906931c387", "fileasyncapitestsclearrangeerrorargs209390f8bebadc" ] + "variables" : [ "fileasyncapitestsclearrangeerrorargs25464d67eaff70", "fileasyncapitestsclearrangeerrorargs050807005e2bfb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeLease.json new file mode 100644 index 0000000000000..6fc4e4edefd95 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeLease.json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangelease55185edbe2b521fb?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "01636e0b-b20d-46b3-b402-1c8192d8df7d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC2E3891C", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:27 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bccb-501a-0034-2d27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:27 GMT", + "x-ms-client-request-id" : "01636e0b-b20d-46b3-b402-1c8192d8df7d" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangelease55185edbe2b521fb/fileasyncapitestsclearrangelease04187ad54fe1a474", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d6559091-c901-4c86-8da7-44574fbe66af" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:27.8201012Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:27 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:27 GMT", + "ETag" : "0x8D7833EC2F412B4", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:27.8201012Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bcd1-501a-0034-3227-b5a1f3000000", + "x-ms-client-request-id" : "d6559091-c901-4c86-8da7-44574fbe66af", + "x-ms-file-last-write-time" : "2019-12-17T22:16:27.8201012Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangelease55185edbe2b521fb/fileasyncapitestsclearrangelease04187ad54fe1a474?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "05b815fb-2813-4d85-b074-002e0213c7fa" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC2F412B4", + "x-ms-lease-id" : "c83fbefc-e50c-4c3b-93a1-7c2ebfaf4801", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:27 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bcd7-501a-0034-3727-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:27 GMT", + "x-ms-client-request-id" : "05b815fb-2813-4d85-b074-002e0213c7fa" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsclearrangelease55185edbe2b521fb", "fileasyncapitestsclearrangelease04187ad54fe1a474" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeLeaseFail.json new file mode 100644 index 0000000000000..4b2a2261915de --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsClearRangeLeaseFail.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeleasefail3079076738f324?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "6e63b66d-c00e-48b0-bbe4-59d2ddebc1d5" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC32992D1", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:28 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bce0-501a-0034-4027-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:27 GMT", + "x-ms-client-request-id" : "6e63b66d-c00e-48b0-bbe4-59d2ddebc1d5" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeleasefail3079076738f324/fileasyncapitestsclearrangeleasefail53753b254d5cf0", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "deafe9af-bd56-4aec-ad75-3a21057f6d7c" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:28.2820982Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:28 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:27 GMT", + "ETag" : "0x8D7833EC33A9176", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:28.2820982Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bce7-501a-0034-4627-b5a1f3000000", + "x-ms-client-request-id" : "deafe9af-bd56-4aec-ad75-3a21057f6d7c", + "x-ms-file-last-write-time" : "2019-12-17T22:16:28.2820982Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeleasefail3079076738f324/fileasyncapitestsclearrangeleasefail53753b254d5cf0?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d1f8920d-aeb3-40e3-85b9-22aa58144c6d" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC33A9176", + "x-ms-lease-id" : "4add2f9a-de93-49f8-95ef-d18d2a364420", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:28 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bce9-501a-0034-4827-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:27 GMT", + "x-ms-client-request-id" : "d1f8920d-aeb3-40e3-85b9-22aa58144c6d" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsclearrangeleasefail3079076738f324/fileasyncapitestsclearrangeleasefail53753b254d5cf0?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "db827555-201e-4efe-ab48-32296de15bae" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "d096bcec-501a-0034-4b27-b5a1f3000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:d096bcec-501a-0034-4b27-b5a1f3000000\nTime:2019-12-17T22:16:28.4607203Z", + "Date" : "Tue, 17 Dec 2019 22:16:28 GMT", + "x-ms-client-request-id" : "db827555-201e-4efe-ab48-32296de15bae", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsclearrangeleasefail3079076738f324", "fileasyncapitestsclearrangeleasefail53753b254d5cf0", "b4002d16-5203-4bf6-9468-bd1ae38a347e" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFile.json index a6616b1569c38..790b9e9d0984e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFile.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefile6156182a64a6794dd46?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefile88715f34e24f338774e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "abf514f0-f730-4268-a307-2674c5ae66e0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "66e81254-5392-4d1d-b546-bbd5f96b78b7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F474396919", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:00 GMT", + "ETag" : "0x8D77911D83CD83A", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "3a81003e-901a-013c-48dd-98c2f8000000", - "Date" : "Mon, 11 Nov 2019 22:13:59 GMT", - "x-ms-client-request-id" : "abf514f0-f730-4268-a307-2674c5ae66e0" + "x-ms-request-id" : "77a675d9-f01a-002d-6efa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "66e81254-5392-4d1d-b546-bbd5f96b78b7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefile6156182a64a6794dd46/fileasyncapitestscreatefile0825541c690309e0b41", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefile88715f34e24f338774e/fileasyncapitestscreatefile59986202cd5c5995c4b", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8e2b9393-5e78-459e-bdcd-7829a8b44f6b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a9a7b812-6072-4292-9436-1c3d4e844ec9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:00.4699190Z", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:00 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:44.6562089Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:44 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:13:59 GMT", - "ETag" : "0x8D766F474413836", + "Date" : "Wed, 04 Dec 2019 23:29:43 GMT", + "ETag" : "0x8D77911D84D4529", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-11T22:14:00.4699190Z", + "x-ms-file-change-time" : "2019-12-04T23:29:44.6562089Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "3a810040-901a-013c-49dd-98c2f8000000", - "x-ms-client-request-id" : "8e2b9393-5e78-459e-bdcd-7829a8b44f6b", - "x-ms-file-last-write-time" : "2019-11-11T22:14:00.4699190Z" + "x-ms-request-id" : "77a675db-f01a-002d-6ffa-aa2148000000", + "x-ms-client-request-id" : "a9a7b812-6072-4292-9436-1c3d4e844ec9", + "x-ms-file-last-write-time" : "2019-12-04T23:29:44.6562089Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestscreatefile6156182a64a6794dd46", "fileasyncapitestscreatefile0825541c690309e0b41" ] + "variables" : [ "fileasyncapitestscreatefile88715f34e24f338774e", "fileasyncapitestscreatefile59986202cd5c5995c4b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileError.json index 137b0ca5f8cbd..d322c8d62dc83 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefileerror237517a2a6bf0756?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefileerror65907945d3692ed4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8de32103-e6cf-4dba-9e64-5a52b1108b35" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "96a13d92-4f97-4649-8077-c04c7fa8132d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F78F4523B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:46 GMT", + "ETag" : "0x8D77911D871CB36", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e75b-f01a-00ef-1d88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:46 GMT", - "x-ms-client-request-id" : "8de32103-e6cf-4dba-9e64-5a52b1108b35" + "x-ms-request-id" : "77a675df-f01a-002d-73fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "96a13d92-4f97-4649-8077-c04c7fa8132d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefileerror237517a2a6bf0756/fileasyncapitestscreatefileerror44679f0dbc620ba6", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefileerror65907945d3692ed4/fileasyncapitestscreatefileerror895356a19259f1f2", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "36583177-f581-40d0-ae96-ae74860b3307" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bd3d0f7a-239b-4399-b8a7-a6da9ddc0595" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "89e9e75d-f01a-00ef-1e88-833b08000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:89e9e75d-f01a-00ef-1e88-833b08000000\nTime:2019-10-15T18:42:46.7622662Z", - "Date" : "Tue, 15 Oct 2019 18:42:46 GMT", - "x-ms-client-request-id" : "36583177-f581-40d0-ae96-ae74860b3307", + "x-ms-request-id" : "77a675e1-f01a-002d-74fa-aa2148000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:77a675e1-f01a-002d-74fa-aa2148000000\nTime:2019-12-04T23:29:44.9825723Z", + "Date" : "Wed, 04 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "bd3d0f7a-239b-4399-b8a7-a6da9ddc0595", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestscreatefileerror237517a2a6bf0756", "fileasyncapitestscreatefileerror44679f0dbc620ba6" ] + "variables" : [ "fileasyncapitestscreatefileerror65907945d3692ed4", "fileasyncapitestscreatefileerror895356a19259f1f2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsError.json index ae98c8895a178..95e7a9cb7494c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefilewithargserror77937dbfd5d6?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefilewithargserror4451136c439f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d3097f66-b744-4ec2-9849-4f76a4204f57" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "17062800-9ad6-4196-9cb1-51ea9a550b53" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7953A0C1", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:47 GMT", + "ETag" : "0x8D77911D919CB4A", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e777-f01a-00ef-3488-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "x-ms-client-request-id" : "d3097f66-b744-4ec2-9849-4f76a4204f57" + "x-ms-request-id" : "77a675f4-f01a-002d-04fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "17062800-9ad6-4196-9cb1-51ea9a550b53" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefilewithargserror77937dbfd5d6/fileasyncapitestscreatefilewithargserror506697eaa443", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefilewithargserror4451136c439f/fileasyncapitestscreatefilewithargserror78852f416dab", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1640b332-6136-4b91-8673-c8b7b41893c4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6caa8782-4f5d-4e1e-8251-c11ec912abeb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "89e9e779-f01a-00ef-3588-833b08000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:89e9e779-f01a-00ef-3588-833b08000000\nTime:2019-10-15T18:42:47.3858677Z", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "x-ms-client-request-id" : "1640b332-6136-4b91-8673-c8b7b41893c4", + "x-ms-request-id" : "77a675f6-f01a-002d-05fa-aa2148000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:77a675f6-f01a-002d-05fa-aa2148000000\nTime:2019-12-04T23:29:46.0815796Z", + "Date" : "Wed, 04 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "6caa8782-4f5d-4e1e-8251-c11ec912abeb", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestscreatefilewithargserror77937dbfd5d6", "fileasyncapitestscreatefilewithargserror506697eaa443" ] + "variables" : [ "fileasyncapitestscreatefilewithargserror4451136c439f", "fileasyncapitestscreatefilewithargserror78852f416dab" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsFp.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsFp.json index 14cbe9a26a595..4c19c36c121e9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsFp.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsFp.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefilewithargsfp53532ddf9b2bca?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefilewithargsfp459223e7f1e5d9?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "47ac3a5b-403f-4a68-8134-0a87f2d87eb5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1b0fdea6-fa5d-46a1-bff7-a1656162e738" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7934C687", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:47 GMT", + "ETag" : "0x8D77911D8E43C4B", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e770-f01a-00ef-2e88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "x-ms-client-request-id" : "47ac3a5b-403f-4a68-8134-0a87f2d87eb5" + "x-ms-request-id" : "77a675ef-f01a-002d-80fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "1b0fdea6-fa5d-46a1-bff7-a1656162e738" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefilewithargsfp53532ddf9b2bca/fileasyncapitestscreatefilewithargsfp3482927a0cc670", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefilewithargsfp459223e7f1e5d9/fileasyncapitestscreatefilewithargsfp02576fb124be14", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2469916b-a291-4a4e-b725-a44eb881f766" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8717a325-249d-4856-9b4b-78c12bb4ab9d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:47.1612749Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:47 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:45.6533095Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "ETag" : "0x8D7519F7938894D", + "Date" : "Wed, 04 Dec 2019 23:29:44 GMT", + "ETag" : "0x8D77911D8E56A67", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:47.1612749Z", + "x-ms-file-change-time" : "2019-12-04T23:29:45.6533095Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e773-f01a-00ef-3088-833b08000000", - "x-ms-client-request-id" : "2469916b-a291-4a4e-b725-a44eb881f766", - "x-ms-file-last-write-time" : "2019-10-15T18:42:47.1612749Z" + "x-ms-request-id" : "77a675f1-f01a-002d-01fa-aa2148000000", + "x-ms-client-request-id" : "8717a325-249d-4856-9b4b-78c12bb4ab9d", + "x-ms-file-last-write-time" : "2019-12-04T23:29:45.6533095Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestscreatefilewithargsfp53532ddf9b2bca", "fileasyncapitestscreatefilewithargsfp3482927a0cc670", "2019-10-15T18:42:47.161274900Z", "2019-10-15T18:42:47.161274900Z" ] + "variables" : [ "fileasyncapitestscreatefilewithargsfp459223e7f1e5d9", "fileasyncapitestscreatefilewithargsfp02576fb124be14", "2019-12-04T23:29:45.653309500Z", "2019-12-04T23:29:45.653309500Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsFpk.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsFpk.json index 787de6c094e84..514f4701f4354 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsFpk.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateFileWithArgsFpk.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefilewithargsfpk61092a8bede93?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefilewithargsfpk6511944eb5b60?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4f355c29-db23-4d43-b9dd-5f7c34fe87f4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1ebdd1da-6fc4-4609-b89d-bddcd1c34b9d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F790E4940", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:46 GMT", + "ETag" : "0x8D77911D8A22A4E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e760-f01a-00ef-2188-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:46 GMT", - "x-ms-client-request-id" : "4f355c29-db23-4d43-b9dd-5f7c34fe87f4" + "x-ms-request-id" : "77a675e6-f01a-002d-79fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "1ebdd1da-6fc4-4609-b89d-bddcd1c34b9d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefilewithargsfpk61092a8bede93?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefilewithargsfpk6511944eb5b60?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "701b9628-fd75-49fc-9415-6ce97b220561", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "17b4bc66-6ce6-4211-9483-715b48fd218b", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e762-f01a-00ef-2288-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:46 GMT", - "x-ms-client-request-id" : "701b9628-fd75-49fc-9415-6ce97b220561" + "x-ms-request-id" : "77a675ea-f01a-002d-7bfa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:44 GMT", + "x-ms-client-request-id" : "17b4bc66-6ce6-4211-9483-715b48fd218b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestscreatefilewithargsfpk61092a8bede93/fileasyncapitestscreatefilewithargsfpk62423f4ce05a0", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestscreatefilewithargsfpk6511944eb5b60/fileasyncapitestscreatefilewithargsfpk47579a7ccc328", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1807e99f-7a0c-4a88-990e-052770781ab6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "123572fd-0036-4bd9-ad2f-5adf99dfd61c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:46.9610332Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:46 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:45.3120581Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:45 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:46 GMT", - "ETag" : "0x8D7519F7919FB5C", + "Date" : "Wed, 04 Dec 2019 23:29:44 GMT", + "ETag" : "0x8D77911D8B15845", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:46.9610332Z", + "x-ms-file-change-time" : "2019-12-04T23:29:45.3120581Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e763-f01a-00ef-2388-833b08000000", - "x-ms-client-request-id" : "1807e99f-7a0c-4a88-990e-052770781ab6", - "x-ms-file-last-write-time" : "2019-10-15T18:42:46.9610332Z" + "x-ms-request-id" : "77a675eb-f01a-002d-7cfa-aa2148000000", + "x-ms-client-request-id" : "123572fd-0036-4bd9-ad2f-5adf99dfd61c", + "x-ms-file-last-write-time" : "2019-12-04T23:29:45.3120581Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestscreatefilewithargsfpk61092a8bede93", "fileasyncapitestscreatefilewithargsfpk62423f4ce05a0", "2019-10-15T18:42:46.961033200Z", "2019-10-15T18:42:46.961033200Z" ] + "variables" : [ "fileasyncapitestscreatefilewithargsfpk6511944eb5b60", "fileasyncapitestscreatefilewithargsfpk47579a7ccc328", "2019-12-04T23:29:45.312058100Z", "2019-12-04T23:29:45.312058100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateLease.json new file mode 100644 index 0000000000000..86dbac04d3952 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateLease.json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestscreatelease3624121d014cf91a04?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "f6243491-db6a-4a57-ad42-c14d8f9079a9" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EBDF77183", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:19 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "b0a6b04a-201a-002e-5d27-b5c02c000000", + "Date" : "Tue, 17 Dec 2019 22:16:18 GMT", + "x-ms-client-request-id" : "f6243491-db6a-4a57-ad42-c14d8f9079a9" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestscreatelease3624121d014cf91a04/fileasyncapitestscreatelease66000dfa3c812ceab4", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d2af2987-a779-486d-8c0c-aa875f3793cd" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:19.5701159Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:19 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:18 GMT", + "ETag" : "0x8D7833EBE0939A7", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:19.5701159Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "b0a6b04e-201a-002e-6027-b5c02c000000", + "x-ms-client-request-id" : "d2af2987-a779-486d-8c0c-aa875f3793cd", + "x-ms-file-last-write-time" : "2019-12-17T22:16:19.5701159Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestscreatelease3624121d014cf91a04/fileasyncapitestscreatelease66000dfa3c812ceab4?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "36ec1ede-9ceb-4efa-82a5-9fbcd5626a8c" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EBE0939A7", + "x-ms-lease-id" : "e048c6fa-0f9c-4f95-a23b-0ed501acde16", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:19 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "b0a6b052-201a-002e-6427-b5c02c000000", + "Date" : "Tue, 17 Dec 2019 22:16:18 GMT", + "x-ms-client-request-id" : "36ec1ede-9ceb-4efa-82a5-9fbcd5626a8c" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestscreatelease3624121d014cf91a04", "fileasyncapitestscreatelease66000dfa3c812ceab4" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateLeaseFail.json new file mode 100644 index 0000000000000..9c582686338b5 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsCreateLeaseFail.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestscreateleasefail841281a1180852c1?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "f08796c2-b9ba-40f3-b88b-6d08555b0548" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EBE42AB5F", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:19 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "b0a6b05a-201a-002e-6c27-b5c02c000000", + "Date" : "Tue, 17 Dec 2019 22:16:19 GMT", + "x-ms-client-request-id" : "f08796c2-b9ba-40f3-b88b-6d08555b0548" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestscreateleasefail841281a1180852c1/fileasyncapitestscreateleasefail334087e2c82ee572", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "7ccd8d05-f3d7-4504-a542-a69cf5787a07" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:20.0481315Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:20 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:19 GMT", + "ETag" : "0x8D7833EBE522A23", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:20.0481315Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "b0a6b05d-201a-002e-6e27-b5c02c000000", + "x-ms-client-request-id" : "7ccd8d05-f3d7-4504-a542-a69cf5787a07", + "x-ms-file-last-write-time" : "2019-12-17T22:16:20.0481315Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestscreateleasefail841281a1180852c1/fileasyncapitestscreateleasefail334087e2c82ee572?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "5212ac9d-0b5b-4473-a315-49689403ed09" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EBE522A23", + "x-ms-lease-id" : "9e44699a-cde0-4024-9de6-09f40de960a4", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:20 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "b0a6b05f-201a-002e-7027-b5c02c000000", + "Date" : "Tue, 17 Dec 2019 22:16:19 GMT", + "x-ms-client-request-id" : "5212ac9d-0b5b-4473-a315-49689403ed09" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestscreateleasefail841281a1180852c1/fileasyncapitestscreateleasefail334087e2c82ee572", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "4c8bbe4c-d302-4860-b4c9-120bdec4477d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "b0a6b062-201a-002e-7327-b5c02c000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:b0a6b062-201a-002e-7327-b5c02c000000\nTime:2019-12-17T22:16:20.2225823Z", + "Date" : "Tue, 17 Dec 2019 22:16:19 GMT", + "x-ms-client-request-id" : "4c8bbe4c-d302-4860-b4c9-120bdec4477d", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestscreateleasefail841281a1180852c1", "fileasyncapitestscreateleasefail334087e2c82ee572", "d276449d-44a4-4392-adf4-53395362917d" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFile.json index c6c26c5162648..9c8096cd63b63 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFile.json @@ -1,73 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsdeletefile391888fd38b3a9ce04d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefile63435a3a19190d2a643?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6a843b6e-128e-4876-b6e2-cd2d2399a7c8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a54e30f-0c26-4616-bf8b-384787e4d01b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7FA5DD09", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:57 GMT", + "ETag" : "0x8D77911E7DB3795", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a01-a01a-0116-7c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:57 GMT", - "x-ms-client-request-id" : "6a843b6e-128e-4876-b6e2-cd2d2399a7c8" + "x-ms-request-id" : "9ba99c3b-201a-0011-68fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:10 GMT", + "x-ms-client-request-id" : "6a54e30f-0c26-4616-bf8b-384787e4d01b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsdeletefile391888fd38b3a9ce04d/fileasyncapitestsdeletefile1137579610ef8aa4849", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefile63435a3a19190d2a643/fileasyncapitestsdeletefile054082ef15d6e3bf44a", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ac4fcd5c-3773-48ee-b07e-f7e6d6e2adf2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bdfda399-5d93-44c7-b04e-33ac277a821d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:58.0083635Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:58 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:10.8533879Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:10 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:57 GMT", - "ETag" : "0x8D7519F7FAFABB3", + "Date" : "Wed, 04 Dec 2019 23:30:10 GMT", + "ETag" : "0x8D77911E7EAA477", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:58.0083635Z", + "x-ms-file-change-time" : "2019-12-04T23:30:10.8533879Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a03-a01a-0116-7d88-83b7bd000000", - "x-ms-client-request-id" : "ac4fcd5c-3773-48ee-b07e-f7e6d6e2adf2", - "x-ms-file-last-write-time" : "2019-10-15T18:42:58.0083635Z" + "x-ms-request-id" : "9ba99c3e-201a-0011-6afa-aa088f000000", + "x-ms-client-request-id" : "bdfda399-5d93-44c7-b04e-33ac277a821d", + "x-ms-file-last-write-time" : "2019-12-04T23:30:10.8533879Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsdeletefile391888fd38b3a9ce04d/fileasyncapitestsdeletefile1137579610ef8aa4849", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefile63435a3a19190d2a643/fileasyncapitestsdeletefile054082ef15d6e3bf44a", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "651ddbbb-1373-4f29-89fa-0e0ca4422797" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a6d4b649-b76e-4b42-b82d-f5088898c1e6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "83e48a04-a01a-0116-7e88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:57 GMT", - "x-ms-client-request-id" : "651ddbbb-1373-4f29-89fa-0e0ca4422797" + "x-ms-request-id" : "9ba99c41-201a-0011-6dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:10 GMT", + "x-ms-client-request-id" : "a6d4b649-b76e-4b42-b82d-f5088898c1e6" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsdeletefile391888fd38b3a9ce04d", "fileasyncapitestsdeletefile1137579610ef8aa4849" ] + "variables" : [ "fileasyncapitestsdeletefile63435a3a19190d2a643", "fileasyncapitestsdeletefile054082ef15d6e3bf44a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileError.json index 7f3dc0085a942..53eaee7937d68 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsdeletefileerror521726de31fb09e9?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefileerror025632ef45fb9271?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "13709122-7d7b-416c-b218-799427352073" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d234ab32-a6e7-4fd2-a183-ee72519263e1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7FC9E882", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:58 GMT", + "ETag" : "0x8D77911E81CF880", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a07-a01a-0116-0188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:57 GMT", - "x-ms-client-request-id" : "13709122-7d7b-416c-b218-799427352073" + "x-ms-request-id" : "9ba99c49-201a-0011-75fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:10 GMT", + "x-ms-client-request-id" : "d234ab32-a6e7-4fd2-a183-ee72519263e1" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsdeletefileerror521726de31fb09e9/fileasyncapitestsdeletefileerror54594041fd5b096f", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefileerror025632ef45fb9271/fileasyncapitestsdeletefileerror13343ecebbc06c6a", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "49fa6e10-b428-42d7-8ee4-096dfa7732c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f5b4d88-c7cd-4448-b3c1-c085a9100065" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "83e48a09-a01a-0116-0288-83b7bd000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:83e48a09-a01a-0116-0288-83b7bd000000\nTime:2019-10-15T18:42:58.5977099Z", - "Date" : "Tue, 15 Oct 2019 18:42:57 GMT", - "x-ms-client-request-id" : "49fa6e10-b428-42d7-8ee4-096dfa7732c6", + "x-ms-request-id" : "9ba99c4c-201a-0011-77fa-aa088f000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9ba99c4c-201a-0011-77fa-aa088f000000\nTime:2019-12-04T23:30:11.2752165Z", + "Date" : "Wed, 04 Dec 2019 23:30:11 GMT", + "x-ms-client-request-id" : "5f5b4d88-c7cd-4448-b3c1-c085a9100065", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsdeletefileerror521726de31fb09e9", "fileasyncapitestsdeletefileerror54594041fd5b096f" ] + "variables" : [ "fileasyncapitestsdeletefileerror025632ef45fb9271", "fileasyncapitestsdeletefileerror13343ecebbc06c6a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileLease.json new file mode 100644 index 0000000000000..6378af9866500 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileLease.json @@ -0,0 +1,95 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefilelease72817935ec4419a9?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "fde5776d-f98b-49e5-af85-aaf73d1994ce" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC8D4AFA0", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:37 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bddc-501a-0034-2327-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:37 GMT", + "x-ms-client-request-id" : "fde5776d-f98b-49e5-af85-aaf73d1994ce" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefilelease72817935ec4419a9/fileasyncapitestsdeletefilelease218878fe56ddeec3", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "3a1be7c9-3c6b-46d4-ade6-94eca085b505" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:37.7820982Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:37 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:37 GMT", + "ETag" : "0x8D7833EC8E42736", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:37.7820982Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bddf-501a-0034-2527-b5a1f3000000", + "x-ms-client-request-id" : "3a1be7c9-3c6b-46d4-ade6-94eca085b505", + "x-ms-file-last-write-time" : "2019-12-17T22:16:37.7820982Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefilelease72817935ec4419a9/fileasyncapitestsdeletefilelease218878fe56ddeec3?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "3d1aba07-26c9-4503-959b-c21eab1dc23e" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC8E42736", + "x-ms-lease-id" : "1d574958-3541-46c6-9c44-6b32c83a2a0f", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:37 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bde1-501a-0034-2727-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:37 GMT", + "x-ms-client-request-id" : "3d1aba07-26c9-4503-959b-c21eab1dc23e" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefilelease72817935ec4419a9/fileasyncapitestsdeletefilelease218878fe56ddeec3", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "4e8b218e-5882-4b57-8610-5f0812164096" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "d096bde5-501a-0034-2a27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:37 GMT", + "x-ms-client-request-id" : "4e8b218e-5882-4b57-8610-5f0812164096" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsdeletefilelease72817935ec4419a9", "fileasyncapitestsdeletefilelease218878fe56ddeec3" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileLeaseFail.json new file mode 100644 index 0000000000000..82b4c82f0af0c --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDeleteFileLeaseFail.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefileleasefail283501a0b69bc1?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "64c4770e-5538-4555-97c9-6cc7727d287b" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833F5BD19592", + "Last-Modified" : "Tue, 17 Dec 2019 22:20:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ddd98457-101a-0047-6328-b5f960000000", + "Date" : "Tue, 17 Dec 2019 22:20:44 GMT", + "x-ms-client-request-id" : "64c4770e-5538-4555-97c9-6cc7727d287b" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefileleasefail283501a0b69bc1/fileasyncapitestsdeletefileleasefail31762316e6e30b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "ecfe45a1-2600-4932-ab3a-15609ed61908" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:20:44.5890190Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:20:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:20:44 GMT", + "ETag" : "0x8D7833F5BFFE68E", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:20:44.5890190Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "ddd98474-101a-0047-7d28-b5f960000000", + "x-ms-client-request-id" : "ecfe45a1-2600-4932-ab3a-15609ed61908", + "x-ms-file-last-write-time" : "2019-12-17T22:20:44.5890190Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefileleasefail283501a0b69bc1/fileasyncapitestsdeletefileleasefail31762316e6e30b?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "8ee69635-4881-4246-9596-642cb940c218" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833F5BFFE68E", + "x-ms-lease-id" : "3be8f084-50ed-44f5-b5ec-3238ac54560b", + "Last-Modified" : "Tue, 17 Dec 2019 22:20:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ddd9847d-101a-0047-0628-b5f960000000", + "Date" : "Tue, 17 Dec 2019 22:20:44 GMT", + "x-ms-client-request-id" : "8ee69635-4881-4246-9596-642cb940c218" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdeletefileleasefail283501a0b69bc1/fileasyncapitestsdeletefileleasefail31762316e6e30b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "e64c2cf8-7700-470d-b521-64c1e7718b7d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "ddd98482-101a-0047-0b28-b5f960000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:ddd98482-101a-0047-0b28-b5f960000000\nTime:2019-12-17T22:20:44.8424795Z", + "Date" : "Tue, 17 Dec 2019 22:20:44 GMT", + "x-ms-client-request-id" : "e64c2cf8-7700-470d-b521-64c1e7718b7d", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsdeletefileleasefail283501a0b69bc1", "fileasyncapitestsdeletefileleasefail31762316e6e30b", "9c1c023a-9ed5-401d-a2bb-b31818673331" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadDataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadDataError.json index c999d650570eb..604a8f079956e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadDataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadDataError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsdownloaddataerror36419afc9f3b48c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsdownloaddataerror01220be73e0ea8d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "45476073-b380-4059-b047-70231c40bbeb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47b3f08c-8d56-4bbe-96ff-107e20434d2a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7BFB5261", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:51 GMT", + "ETag" : "0x8D77911E3BB26A5", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489b1-a01a-0116-3d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:50 GMT", - "x-ms-client-request-id" : "45476073-b380-4059-b047-70231c40bbeb" + "x-ms-request-id" : "9ba99bc0-201a-0011-7dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:03 GMT", + "x-ms-client-request-id" : "47b3f08c-8d56-4bbe-96ff-107e20434d2a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsdownloaddataerror36419afc9f3b48c/fileasyncapitestsdownloaddataerror883297c481e8d10", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsdownloaddataerror01220be73e0ea8d/fileasyncapitestsdownloaddataerror959603971f5807b", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3f2d5c95-4724-4ee1-b3f6-b402bf605100" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1aeb110e-7fb6-40fc-838b-24219bd0740b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "83e489b3-a01a-0116-3e88-83b7bd000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:83e489b3-a01a-0116-3e88-83b7bd000000\nTime:2019-10-15T18:42:51.8583269Z", - "Date" : "Tue, 15 Oct 2019 18:42:51 GMT", - "x-ms-client-request-id" : "3f2d5c95-4724-4ee1-b3f6-b402bf605100", + "x-ms-request-id" : "9ba99bc2-201a-0011-7efa-aa088f000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9ba99bc2-201a-0011-7efa-aa088f000000\nTime:2019-12-04T23:30:03.9232685Z", + "Date" : "Wed, 04 Dec 2019 23:30:03 GMT", + "x-ms-client-request-id" : "1aeb110e-7fb6-40fc-838b-24219bd0740b", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsdownloaddataerror36419afc9f3b48c", "fileasyncapitestsdownloaddataerror883297c481e8d10" ] + "variables" : [ "fileasyncapitestsdownloaddataerror01220be73e0ea8d", "fileasyncapitestsdownloaddataerror959603971f5807b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadLease.json new file mode 100644 index 0000000000000..e16e3f096a5dd --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadLease.json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadlease34109fe9a2d8d948d?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "b2df67e8-caeb-4a8b-8fef-dd6df3f2af46" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC0CE6477", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:24 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bc55-501a-0034-4127-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:23 GMT", + "x-ms-client-request-id" : "b2df67e8-caeb-4a8b-8fef-dd6df3f2af46" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadlease34109fe9a2d8d948d/fileasyncapitestsdownloadlease99126b1bce91e7170", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d1c54bd8-fdd8-4dc0-8db3-f97f45ee1a21" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:24.3251296Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:24 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:23 GMT", + "ETag" : "0x8D7833EC0DEC860", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:24.3251296Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bc58-501a-0034-4327-b5a1f3000000", + "x-ms-client-request-id" : "d1c54bd8-fdd8-4dc0-8db3-f97f45ee1a21", + "x-ms-file-last-write-time" : "2019-12-17T22:16:24.3251296Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadlease34109fe9a2d8d948d/fileasyncapitestsdownloadlease99126b1bce91e7170?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "1cea01b7-475a-4e90-a774-d81d0ff7dd29" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC0DEC860", + "x-ms-lease-id" : "759daaf6-4c2f-4bf7-8aaf-438f71b39b55", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:24 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bc5a-501a-0034-4527-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:24 GMT", + "x-ms-client-request-id" : "1cea01b7-475a-4e90-a774-d81d0ff7dd29" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsdownloadlease34109fe9a2d8d948d", "fileasyncapitestsdownloadlease99126b1bce91e7170" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadLeaseFail.json new file mode 100644 index 0000000000000..5531f38c8acfc --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadLeaseFail.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadleasefail734552cdf00368f?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "cb29aad9-fa59-4ecb-bef9-869fa85bd6b1" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC113D1D9", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:24 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bc5e-501a-0034-4927-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:24 GMT", + "x-ms-client-request-id" : "cb29aad9-fa59-4ecb-bef9-869fa85bd6b1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadleasefail734552cdf00368f/fileasyncapitestsdownloadleasefail88621b21ff43dca", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "9d731e37-10b4-4e87-ae11-ff1ebb355b5a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:24.7760968Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:24 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:24 GMT", + "ETag" : "0x8D7833EC1239848", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:24.7760968Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bc62-501a-0034-4c27-b5a1f3000000", + "x-ms-client-request-id" : "9d731e37-10b4-4e87-ae11-ff1ebb355b5a", + "x-ms-file-last-write-time" : "2019-12-17T22:16:24.7760968Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadleasefail734552cdf00368f/fileasyncapitestsdownloadleasefail88621b21ff43dca?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "2e736c73-1752-4e8a-be94-9190840d9f11" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC1239848", + "x-ms-lease-id" : "a5009918-f59f-4d16-b29f-2217f5b63b39", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:24 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bc64-501a-0034-4e27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:24 GMT", + "x-ms-client-request-id" : "2e736c73-1752-4e8a-be94-9190840d9f11" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadleasefail734552cdf00368f/fileasyncapitestsdownloadleasefail88621b21ff43dca", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "a84e94a9-146c-4984-92a7-66669bcb640d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "d096bc66-501a-0034-5027-b5a1f3000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:d096bc66-501a-0034-5027-b5a1f3000000\nTime:2019-12-17T22:16:24.9537138Z", + "Date" : "Tue, 17 Dec 2019 22:16:24 GMT", + "x-ms-client-request-id" : "a84e94a9-146c-4984-92a7-66669bcb640d", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsdownloadleasefail734552cdf00368f", "fileasyncapitestsdownloadleasefail88621b21ff43dca", "2bb60511-fa50-47df-9eaa-c67fe1910cac" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadToFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadToFileLease.json new file mode 100644 index 0000000000000..48672db326cc6 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadToFileLease.json @@ -0,0 +1,171 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofilelease65251d3dd27cad?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "3bc650bd-98d6-4f26-bb44-84aae2767857" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC5035BEB", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:31 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd44-501a-0034-1d27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:30 GMT", + "x-ms-client-request-id" : "3bc650bd-98d6-4f26-bb44-84aae2767857" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofilelease65251d3dd27cad/fileasyncapitestsdownloadtofilelease893658120f74e4", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c246706e-a9cb-4cb4-a142-a19cab3712aa" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:31.3810973Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:31 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:30 GMT", + "ETag" : "0x8D7833EC513701D", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:31.3810973Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bd48-501a-0034-2027-b5a1f3000000", + "x-ms-client-request-id" : "c246706e-a9cb-4cb4-a142-a19cab3712aa", + "x-ms-file-last-write-time" : "2019-12-17T22:16:31.3810973Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofilelease65251d3dd27cad/fileasyncapitestsdownloadtofilelease893658120f74e4?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "80c9556b-0976-49ac-9a14-65ad9bb033c3", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC5215470", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:31 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd49-501a-0034-2127-b5a1f3000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "x-ms-client-request-id" : "80c9556b-0976-49ac-9a14-65ad9bb033c3", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofilelease65251d3dd27cad/fileasyncapitestsdownloadtofilelease893658120f74e4?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "96844102-1737-4e5c-ae3e-bf87836e9216" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC5215470", + "x-ms-lease-id" : "48d12d25-c64f-4653-95d2-3df103b33ca1", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:31 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd4b-501a-0034-2327-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "x-ms-client-request-id" : "96844102-1737-4e5c-ae3e-bf87836e9216" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofilelease65251d3dd27cad/fileasyncapitestsdownloadtofilelease893658120f74e4", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c54d26da-66dd-441d-b4fa-7e30901d9330" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-lease-status" : "locked", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:31.3810973Z", + "x-ms-lease-state" : "leased", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:31 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D7833EC5215470", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:31.3810973Z", + "x-ms-file-parent-id" : "0", + "x-ms-lease-duration" : "infinite", + "Content-Length" : "7", + "x-ms-request-id" : "d096bd4f-501a-0034-2627-b5a1f3000000", + "x-ms-client-request-id" : "c54d26da-66dd-441d-b4fa-7e30901d9330", + "x-ms-file-last-write-time" : "2019-12-17T22:16:31.3810973Z", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofilelease65251d3dd27cad/fileasyncapitestsdownloadtofilelease893658120f74e4", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "dccc3638-250e-430f-bcc5-def0f7499d57" + }, + "Response" : { + "x-ms-lease-status" : "locked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:31.3810973Z", + "Content-Range" : "bytes 0-6/7", + "x-ms-lease-state" : "leased", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:31 GMT", + "retry-after" : "0", + "StatusCode" : "206", + "x-ms-file-attributes" : "Archive", + "x-ms-lease-duration" : "infinite", + "Content-Length" : "7", + "x-ms-request-id" : "d096bd53-501a-0034-2a27-b5a1f3000000", + "Body" : "[100, 101, 102, 97, 117, 108, 116]", + "Content-Type" : "application/octet-stream", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "Accept-Ranges" : "bytes", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D7833EC5215470", + "x-ms-file-change-time" : "2019-12-17T22:16:31.3810973Z", + "x-ms-file-parent-id" : "0", + "x-ms-client-request-id" : "dccc3638-250e-430f-bcc5-def0f7499d57", + "x-ms-file-last-write-time" : "2019-12-17T22:16:31.3810973Z" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsdownloadtofilelease65251d3dd27cad", "fileasyncapitestsdownloadtofilelease893658120f74e4" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadToFileLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadToFileLeaseFail.json new file mode 100644 index 0000000000000..a24f1f6e99037 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsDownloadToFileLeaseFail.json @@ -0,0 +1,119 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofileleasefail22111498f15a?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "621896df-3b3d-4fab-84e0-bdcec562e727" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC5729852", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:32 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd58-501a-0034-2f27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "x-ms-client-request-id" : "621896df-3b3d-4fab-84e0-bdcec562e727" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofileleasefail22111498f15a/fileasyncapitestsdownloadtofileleasefail63892fcc0bc5", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "5403d261-3972-4980-924d-95ea9c914569" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:32.1151259Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:32 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "ETag" : "0x8D7833EC583711B", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:32.1151259Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bd5b-501a-0034-3127-b5a1f3000000", + "x-ms-client-request-id" : "5403d261-3972-4980-924d-95ea9c914569", + "x-ms-file-last-write-time" : "2019-12-17T22:16:32.1151259Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofileleasefail22111498f15a/fileasyncapitestsdownloadtofileleasefail63892fcc0bc5?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "fa39fa5e-e75d-4202-96f0-3d8d59b87b1c", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC590DD81", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:32 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd5c-501a-0034-3227-b5a1f3000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "x-ms-client-request-id" : "fa39fa5e-e75d-4202-96f0-3d8d59b87b1c", + "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofileleasefail22111498f15a/fileasyncapitestsdownloadtofileleasefail63892fcc0bc5?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "125fa206-bdb0-4845-b07e-cc01f78480e9" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC590DD81", + "x-ms-lease-id" : "e6772e9b-87d1-4779-9124-20f308e62028", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:32 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd5d-501a-0034-3327-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "x-ms-client-request-id" : "125fa206-bdb0-4845-b07e-cc01f78480e9" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsdownloadtofileleasefail22111498f15a/fileasyncapitestsdownloadtofileleasefail63892fcc0bc5", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "5720fc2b-97b8-4745-8d9b-82f1a839c5fe" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "StatusCode" : "412", + "x-ms-request-id" : "d096bd5e-501a-0034-3427-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:31 GMT", + "x-ms-client-request-id" : "5720fc2b-97b8-4745-8d9b-82f1a839c5fe" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsdownloadtofileleasefail22111498f15a", "fileasyncapitestsdownloadtofileleasefail63892fcc0bc5", "d8e8c0dc-4536-494c-9558-7f810684d74e" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseAllHandlesMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseAllHandlesMin.json index 4fae75c34a486..9bc520a234022 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseAllHandlesMin.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseAllHandlesMin.json @@ -1,74 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforcecloseallhandlesmin0804934f16c6?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforcecloseallhandlesmin120073d20b45?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "58d71bc7-7232-439f-81fe-7ad76c81edc6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "88017bd9-eba6-4ab0-a2c3-23b271f84333" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D97FA4E506", - "Last-Modified" : "Wed, 16 Oct 2019 01:38:08 GMT", + "ETag" : "0x8D77911EBE65B5E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0b20a770-c01a-002b-68c2-8344ce000000", - "Date" : "Wed, 16 Oct 2019 01:38:08 GMT", - "x-ms-client-request-id" : "58d71bc7-7232-439f-81fe-7ad76c81edc6" + "x-ms-request-id" : "9ba99cc6-201a-0011-5cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:17 GMT", + "x-ms-client-request-id" : "88017bd9-eba6-4ab0-a2c3-23b271f84333" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforcecloseallhandlesmin0804934f16c6/fileasyncapitestsforcecloseallhandlesmin2883706db60d", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforcecloseallhandlesmin120073d20b45/fileasyncapitestsforcecloseallhandlesmin98538407640b", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "12259f56-069e-493d-aed9-f24ed70e6d4d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6d27d285-a4bb-4957-9c56-9a6146477f10" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:38:08.7987646Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:38:08 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:17.6344349Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:17 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:38:08 GMT", - "ETag" : "0x8D751D97FACA1BE", + "Date" : "Wed, 04 Dec 2019 23:30:17 GMT", + "ETag" : "0x8D77911EBF5591D", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-16T01:38:08.7987646Z", + "x-ms-file-change-time" : "2019-12-04T23:30:17.6344349Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "0b20a772-c01a-002b-69c2-8344ce000000", - "x-ms-client-request-id" : "12259f56-069e-493d-aed9-f24ed70e6d4d", - "x-ms-file-last-write-time" : "2019-10-16T01:38:08.7987646Z" + "x-ms-request-id" : "9ba99cc8-201a-0011-5dfa-aa088f000000", + "x-ms-client-request-id" : "6d27d285-a4bb-4957-9c56-9a6146477f10", + "x-ms-file-last-write-time" : "2019-12-04T23:30:17.6344349Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforcecloseallhandlesmin0804934f16c6/fileasyncapitestsforcecloseallhandlesmin2883706db60d?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforcecloseallhandlesmin120073d20b45/fileasyncapitestsforcecloseallhandlesmin98538407640b?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f5fb9fd4-1c9a-4b71-86c2-2206a3d6ca42" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1e98645e-6a9c-42bb-8890-b1d6df1ede15" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-number-of-handles-closed" : "0", + "x-ms-number-of-handles-failed" : "0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0b20a773-c01a-002b-6ac2-8344ce000000", - "Date" : "Wed, 16 Oct 2019 01:38:08 GMT", - "x-ms-client-request-id" : "f5fb9fd4-1c9a-4b71-86c2-2206a3d6ca42" + "x-ms-request-id" : "9ba99cc9-201a-0011-5efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:17 GMT", + "x-ms-client-request-id" : "1e98645e-6a9c-42bb-8890-b1d6df1ede15" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsforcecloseallhandlesmin0804934f16c6", "fileasyncapitestsforcecloseallhandlesmin2883706db60d" ] + "variables" : [ "fileasyncapitestsforcecloseallhandlesmin120073d20b45", "fileasyncapitestsforcecloseallhandlesmin98538407640b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseHandleInvalidHandleID.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseHandleInvalidHandleID.json index aae486feb048f..1e4c51fd200d1 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseHandleInvalidHandleID.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseHandleInvalidHandleID.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforceclosehandleinvalidhandleid48999f82?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforceclosehandleinvalidhandleid4347388f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1ceb521c-c0af-475a-b0de-58af731f4459" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c18da53b-65e6-42db-a74c-fa63e1914cfa" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D97F85205E", - "Last-Modified" : "Wed, 16 Oct 2019 01:38:08 GMT", + "ETag" : "0x8D77911EBA5F71F", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0b20a76a-c01a-002b-63c2-8344ce000000", - "Date" : "Wed, 16 Oct 2019 01:38:08 GMT", - "x-ms-client-request-id" : "1ceb521c-c0af-475a-b0de-58af731f4459" + "x-ms-request-id" : "9ba99cc0-201a-0011-57fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:16 GMT", + "x-ms-client-request-id" : "c18da53b-65e6-42db-a74c-fa63e1914cfa" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforceclosehandleinvalidhandleid48999f82/fileasyncapitestsforceclosehandleinvalidhandleid323539a5", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforceclosehandleinvalidhandleid4347388f/fileasyncapitestsforceclosehandleinvalidhandleid65291f01", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a1f22277-1b57-4814-bd80-b6958216e5fa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c439f6b4-61fe-4e21-84c5-8874ae440b2d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:38:08.5895606Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:38:08 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:17.2134340Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:17 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:38:08 GMT", - "ETag" : "0x8D751D97F8CB5B6", + "Date" : "Wed, 04 Dec 2019 23:30:16 GMT", + "ETag" : "0x8D77911EBB51BC4", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-16T01:38:08.5895606Z", + "x-ms-file-change-time" : "2019-12-04T23:30:17.2134340Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "0b20a76c-c01a-002b-64c2-8344ce000000", - "x-ms-client-request-id" : "a1f22277-1b57-4814-bd80-b6958216e5fa", - "x-ms-file-last-write-time" : "2019-10-16T01:38:08.5895606Z" + "x-ms-request-id" : "9ba99cc2-201a-0011-58fa-aa088f000000", + "x-ms-client-request-id" : "c439f6b4-61fe-4e21-84c5-8874ae440b2d", + "x-ms-file-last-write-time" : "2019-12-04T23:30:17.2134340Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforceclosehandleinvalidhandleid48999f82/fileasyncapitestsforceclosehandleinvalidhandleid323539a5?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforceclosehandleinvalidhandleid4347388f/fileasyncapitestsforceclosehandleinvalidhandleid65291f01?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0633cdd8-9888-40f8-972e-ed637daab44d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a01febd0-0fcf-489c-a440-72911bd65e4a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "335", "StatusCode" : "400", - "x-ms-request-id" : "0b20a76d-c01a-002b-65c2-8344ce000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:0b20a76d-c01a-002b-65c2-8344ce000000\nTime:2019-10-16T01:38:08.6219398Zx-ms-handle-idinvalidHandleId", - "Date" : "Wed, 16 Oct 2019 01:38:08 GMT", - "x-ms-client-request-id" : "0633cdd8-9888-40f8-972e-ed637daab44d", + "x-ms-request-id" : "9ba99cc3-201a-0011-59fa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99cc3-201a-0011-59fa-aa088f000000\nTime:2019-12-04T23:30:17.3051813Zx-ms-handle-idinvalidHandleId", + "Date" : "Wed, 04 Dec 2019 23:30:16 GMT", + "x-ms-client-request-id" : "a01febd0-0fcf-489c-a440-72911bd65e4a", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsforceclosehandleinvalidhandleid48999f82", "fileasyncapitestsforceclosehandleinvalidhandleid323539a5" ] + "variables" : [ "fileasyncapitestsforceclosehandleinvalidhandleid4347388f", "fileasyncapitestsforceclosehandleinvalidhandleid65291f01" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseHandleMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseHandleMin.json index 7bef41702d5d7..6b547b28c9893 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseHandleMin.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsForceCloseHandleMin.json @@ -1,74 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforceclosehandlemin841657764bb8a3?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforceclosehandlemin6352327e2e7ab5?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2a5cbc36-d77b-4e2c-8365-aa50f3472a9c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ebb0023e-16f9-4f85-ac9b-c94a3ce9a7f2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751D9D3A908D5", - "Last-Modified" : "Wed, 16 Oct 2019 01:40:29 GMT", + "ETag" : "0x8D77911EB65B98E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fd2a8f71-c01a-012f-13c2-83f719000000", - "Date" : "Wed, 16 Oct 2019 01:40:29 GMT", - "x-ms-client-request-id" : "2a5cbc36-d77b-4e2c-8365-aa50f3472a9c" + "x-ms-request-id" : "9ba99cba-201a-0011-52fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:16 GMT", + "x-ms-client-request-id" : "ebb0023e-16f9-4f85-ac9b-c94a3ce9a7f2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforceclosehandlemin841657764bb8a3/fileasyncapitestsforceclosehandlemin61878f79288041", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforceclosehandlemin6352327e2e7ab5/fileasyncapitestsforceclosehandlemin3110045fcf17cc", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1299cd73-9b89-4013-bd68-a8be3d74735d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "197f922b-7669-48e3-922b-5f3a7348049e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-16T01:40:29.7862629Z", - "Last-Modified" : "Wed, 16 Oct 2019 01:40:29 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:16.7914292Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:16 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 16 Oct 2019 01:40:29 GMT", - "ETag" : "0x8D751D9D3B59DE5", + "Date" : "Wed, 04 Dec 2019 23:30:16 GMT", + "ETag" : "0x8D77911EB74B734", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-16T01:40:29.7862629Z", + "x-ms-file-change-time" : "2019-12-04T23:30:16.7914292Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "fd2a8f73-c01a-012f-14c2-83f719000000", - "x-ms-client-request-id" : "1299cd73-9b89-4013-bd68-a8be3d74735d", - "x-ms-file-last-write-time" : "2019-10-16T01:40:29.7862629Z" + "x-ms-request-id" : "9ba99cbc-201a-0011-53fa-aa088f000000", + "x-ms-client-request-id" : "197f922b-7669-48e3-922b-5f3a7348049e", + "x-ms-file-last-write-time" : "2019-12-04T23:30:16.7914292Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsforceclosehandlemin841657764bb8a3/fileasyncapitestsforceclosehandlemin61878f79288041?comp=forceclosehandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsforceclosehandlemin6352327e2e7ab5/fileasyncapitestsforceclosehandlemin3110045fcf17cc?comp=forceclosehandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1ec4cb8a-9fb0-486a-a75a-1a2c5e0785a5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "afc50218-ff21-4e7f-b63b-86b0de74c201" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-number-of-handles-closed" : "0", + "x-ms-number-of-handles-failed" : "0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "fd2a8f75-c01a-012f-15c2-83f719000000", - "Date" : "Wed, 16 Oct 2019 01:40:29 GMT", - "x-ms-client-request-id" : "1ec4cb8a-9fb0-486a-a75a-1a2c5e0785a5" + "x-ms-request-id" : "9ba99cbd-201a-0011-54fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:16 GMT", + "x-ms-client-request-id" : "afc50218-ff21-4e7f-b63b-86b0de74c201" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsforceclosehandlemin841657764bb8a3", "fileasyncapitestsforceclosehandlemin61878f79288041" ] + "variables" : [ "fileasyncapitestsforceclosehandlemin6352327e2e7ab5", "fileasyncapitestsforceclosehandlemin3110045fcf17cc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetFilePath.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetFilePath.json index 5ac0b1e92c863..a11c1b2cf01f4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetFilePath.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetFilePath.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetfilepath316575ed40ebd04c04?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetfilepath52063fb8f3abe68b54?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d163e20b-712a-46bc-9984-cffdd87d37e5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0668d43-ad61-4c36-ac7a-a27d6b8a6a59" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F82CCBFE5", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:03 GMT", + "ETag" : "0x8D77911EC73CDC3", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a76-a01a-0116-5f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:02 GMT", - "x-ms-client-request-id" : "d163e20b-712a-46bc-9984-cffdd87d37e5" + "x-ms-request-id" : "9ba99cd5-201a-0011-68fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:18 GMT", + "x-ms-client-request-id" : "f0668d43-ad61-4c36-ac7a-a27d6b8a6a59" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsgetfilepath316575ed40ebd04c04", "fileasyncapitestsgetfilepath61111b145f3434a464" ] + "variables" : [ "fileasyncapitestsgetfilepath52063fb8f3abe68b54", "fileasyncapitestsgetfilepath2116099204861dce74" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetFileURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetFileURL.json index 0e59bf4ad19d7..4a0486149c8c3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetFileURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetFileURL.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetfileurl78754b035ca23324642?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetfileurl12448eb9c707f065c49?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "50e2574b-1945-4a2d-bc08-377a8ba1bf29" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0cdf1d1c-e201-4cee-a789-fe5091cb9940" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F78C6CE5D", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:46 GMT", + "ETag" : "0x8D77911D815EF69", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e753-f01a-00ef-1788-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:46 GMT", - "x-ms-client-request-id" : "50e2574b-1945-4a2d-bc08-377a8ba1bf29" + "x-ms-request-id" : "77a675d5-f01a-002d-6bfa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:43 GMT", + "x-ms-client-request-id" : "0cdf1d1c-e201-4cee-a789-fe5091cb9940" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsgetfileurl78754b035ca23324642", "fileasyncapitestsgetfileurl82769875b4fe4b69745" ] + "variables" : [ "fileasyncapitestsgetfileurl12448eb9c707f065c49", "fileasyncapitestsgetfileurl60010cbf0145f6ad447" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetProperties.json index 566b189bf21cb..ba6e73784eabd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetProperties.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetProperties.json @@ -1,87 +1,87 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetproperties2231374f9b2bb4f72?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetproperties399202da674858615?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e24c8781-55ac-4ee4-83f6-f2c4edc83ef5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e409c73-9645-4c96-9f40-2156379be386" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F47A1C41C9", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:10 GMT", + "ETag" : "0x8D77911E84E68F5", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c5b7-801a-00e0-7cdd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:09 GMT", - "x-ms-client-request-id" : "e24c8781-55ac-4ee4-83f6-f2c4edc83ef5" + "x-ms-request-id" : "9ba99c4f-201a-0011-7afa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:11 GMT", + "x-ms-client-request-id" : "4e409c73-9645-4c96-9f40-2156379be386" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetproperties2231374f9b2bb4f72/fileasyncapitestsgetproperties112455f9693c440cc", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetproperties399202da674858615/fileasyncapitestsgetproperties644206d3ffa204e83", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3fa60874-85f8-4852-a711-483e194ddcf3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "29ed3dd1-0136-4a02-8737-76cea15b422e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:10.3352545Z", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:10 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:11.6084253Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:11 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:09 GMT", - "ETag" : "0x8D766F47A228CE1", + "Date" : "Wed, 04 Dec 2019 23:30:11 GMT", + "ETag" : "0x8D77911E85DDA1D", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-11T22:14:10.3352545Z", + "x-ms-file-change-time" : "2019-12-04T23:30:11.6084253Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "5332c5b9-801a-00e0-7ddd-98d6fe000000", - "x-ms-client-request-id" : "3fa60874-85f8-4852-a711-483e194ddcf3", - "x-ms-file-last-write-time" : "2019-11-11T22:14:10.3352545Z" + "x-ms-request-id" : "9ba99c52-201a-0011-7bfa-aa088f000000", + "x-ms-client-request-id" : "29ed3dd1-0136-4a02-8737-76cea15b422e", + "x-ms-file-last-write-time" : "2019-12-04T23:30:11.6084253Z" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetproperties2231374f9b2bb4f72/fileasyncapitestsgetproperties112455f9693c440cc", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetproperties399202da674858615/fileasyncapitestsgetproperties644206d3ffa204e83", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3bccd3f4-d3d1-4571-b21d-6a633ea8b528" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea389e6e-da15-4dd0-a6e1-7a22c8ac8840" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:10.3352545Z", + "x-ms-file-creation-time" : "2019-12-04T23:30:11.6084253Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:10 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 11 Nov 2019 22:14:09 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:11 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D766F47A228CE1", + "ETag" : "0x8D77911E85DDA1D", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-11T22:14:10.3352545Z", + "x-ms-file-change-time" : "2019-12-04T23:30:11.6084253Z", "x-ms-file-parent-id" : "0", "Content-Length" : "1024", - "x-ms-request-id" : "5332c5ba-801a-00e0-7edd-98d6fe000000", - "x-ms-client-request-id" : "3bccd3f4-d3d1-4571-b21d-6a633ea8b528", - "x-ms-file-last-write-time" : "2019-11-11T22:14:10.3352545Z", + "x-ms-request-id" : "9ba99c55-201a-0011-7efa-aa088f000000", + "x-ms-client-request-id" : "ea389e6e-da15-4dd0-a6e1-7a22c8ac8840", + "x-ms-file-last-write-time" : "2019-12-04T23:30:11.6084253Z", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsgetproperties2231374f9b2bb4f72", "fileasyncapitestsgetproperties112455f9693c440cc" ] + "variables" : [ "fileasyncapitestsgetproperties399202da674858615", "fileasyncapitestsgetproperties644206d3ffa204e83" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesError.json index 7c6eaa47bb3e5..0ef919af97cf9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesError.json @@ -1,44 +1,44 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetpropertieserror951486f56ed33f5?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertieserror482644b62e95c90?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cceb3896-db2c-4213-870a-5e915c2c1b66" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cbfef8e7-78ae-454c-9736-736e6eb8247f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F80474D41", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:59 GMT", + "ETag" : "0x8D77911E88FDEBD", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a11-a01a-0116-0988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:58 GMT", - "x-ms-client-request-id" : "cceb3896-db2c-4213-870a-5e915c2c1b66" + "x-ms-request-id" : "9ba99c61-201a-0011-0afa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:11 GMT", + "x-ms-client-request-id" : "cbfef8e7-78ae-454c-9736-736e6eb8247f" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetpropertieserror951486f56ed33f5/fileasyncapitestsgetpropertieserror80188c8efc3fc0d", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertieserror482644b62e95c90/fileasyncapitestsgetpropertieserror05179db31342b36", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "93453490-f068-4b4e-91e5-e0893dab435e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "17e27874-f9eb-42ba-8b59-e6e4c89c7bcc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "StatusCode" : "404", - "x-ms-request-id" : "83e48a13-a01a-0116-0a88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:58 GMT", - "x-ms-client-request-id" : "93453490-f068-4b4e-91e5-e0893dab435e" + "x-ms-request-id" : "9ba99c65-201a-0011-0dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:11 GMT", + "x-ms-client-request-id" : "17e27874-f9eb-42ba-8b59-e6e4c89c7bcc" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsgetpropertieserror951486f56ed33f5", "fileasyncapitestsgetpropertieserror80188c8efc3fc0d" ] + "variables" : [ "fileasyncapitestsgetpropertieserror482644b62e95c90", "fileasyncapitestsgetpropertieserror05179db31342b36" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesLease.json new file mode 100644 index 0000000000000..fd37869d5104b --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesLease.json @@ -0,0 +1,110 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertieslease8804439d5839b8e?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c452fc78-2668-42cb-9c21-3f90d99c46de" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC9C5783F", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:39 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096be1c-501a-0034-5f27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:38 GMT", + "x-ms-client-request-id" : "c452fc78-2668-42cb-9c21-3f90d99c46de" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertieslease8804439d5839b8e/fileasyncapitestsgetpropertieslease37216d977496468", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "5e63e685-7dde-4b2a-a035-a0c96bd59f7e" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:39.3630951Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:39 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:38 GMT", + "ETag" : "0x8D7833EC9D564E7", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:39.3630951Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096be1f-501a-0034-6127-b5a1f3000000", + "x-ms-client-request-id" : "5e63e685-7dde-4b2a-a035-a0c96bd59f7e", + "x-ms-file-last-write-time" : "2019-12-17T22:16:39.3630951Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertieslease8804439d5839b8e/fileasyncapitestsgetpropertieslease37216d977496468?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "7f237d3c-77b0-4516-a039-e04f8c17a954" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC9D564E7", + "x-ms-lease-id" : "0919d7a0-d413-4be5-92c3-6e36b77869a1", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:39 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096be23-501a-0034-6527-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:38 GMT", + "x-ms-client-request-id" : "7f237d3c-77b0-4516-a039-e04f8c17a954" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertieslease8804439d5839b8e/fileasyncapitestsgetpropertieslease37216d977496468", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "db57d719-b504-4e82-9dca-983c162ab221" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-lease-status" : "locked", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:39.3630951Z", + "x-ms-lease-state" : "leased", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:39 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 17 Dec 2019 22:16:38 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D7833EC9D564E7", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:39.3630951Z", + "x-ms-file-parent-id" : "0", + "x-ms-lease-duration" : "infinite", + "Content-Length" : "1024", + "x-ms-request-id" : "d096be27-501a-0034-6827-b5a1f3000000", + "x-ms-client-request-id" : "db57d719-b504-4e82-9dca-983c162ab221", + "x-ms-file-last-write-time" : "2019-12-17T22:16:39.3630951Z", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsgetpropertieslease8804439d5839b8e", "fileasyncapitestsgetpropertieslease37216d977496468" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesLeaseFail.json new file mode 100644 index 0000000000000..fe179ffde2176 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetPropertiesLeaseFail.json @@ -0,0 +1,95 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertiesleasefail07697a85107a4?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "cb6ca3f6-a6ce-425f-b36b-7e41104de7d7" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECA1964C9", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:39 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096be32-501a-0034-7327-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:39 GMT", + "x-ms-client-request-id" : "cb6ca3f6-a6ce-425f-b36b-7e41104de7d7" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertiesleasefail07697a85107a4/fileasyncapitestsgetpropertiesleasefail73177a4b1b004", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c2a5173a-cd3a-4ac7-a09b-3b7b81387c37" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:39.9120909Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:39 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:39 GMT", + "ETag" : "0x8D7833ECA292A0D", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:39.9120909Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096be39-501a-0034-7927-b5a1f3000000", + "x-ms-client-request-id" : "c2a5173a-cd3a-4ac7-a09b-3b7b81387c37", + "x-ms-file-last-write-time" : "2019-12-17T22:16:39.9120909Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertiesleasefail07697a85107a4/fileasyncapitestsgetpropertiesleasefail73177a4b1b004?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "08bf7043-8e2d-4c1a-b4ab-424692a2ce67" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECA292A0D", + "x-ms-lease-id" : "45e1ef02-3652-409e-82dc-717ed4954d6e", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:39 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096be3f-501a-0034-7e27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:39 GMT", + "x-ms-client-request-id" : "08bf7043-8e2d-4c1a-b4ab-424692a2ce67" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsgetpropertiesleasefail07697a85107a4/fileasyncapitestsgetpropertiesleasefail73177a4b1b004", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "e78ef862-36ec-4ce5-bcda-c5a0428c6839" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "StatusCode" : "412", + "x-ms-request-id" : "d096be45-501a-0034-0427-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:39 GMT", + "x-ms-client-request-id" : "e78ef862-36ec-4ce5-bcda-c5a0428c6839" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsgetpropertiesleasefail07697a85107a4", "fileasyncapitestsgetpropertiesleasefail73177a4b1b004", "de7bf9e2-143b-4124-b28f-fa2dc571db95" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetShareName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetShareName.json index d3c4614a8f8f6..6498e0809046c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetShareName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetShareName.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetsharename58218f960facfd7cd4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetsharename457827a8ad5e1f9e84?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dba83e4e-d0ee-42d4-899b-7d6a0f46487b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a010d4c0-3f0e-48b2-81e0-b79546d21615" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F82B95A43", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:03 GMT", + "ETag" : "0x8D77911EC4D818A", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a72-a01a-0116-5c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:02 GMT", - "x-ms-client-request-id" : "dba83e4e-d0ee-42d4-899b-7d6a0f46487b" + "x-ms-request-id" : "9ba99cd1-201a-0011-65fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:17 GMT", + "x-ms-client-request-id" : "a010d4c0-3f0e-48b2-81e0-b79546d21615" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsgetsharename58218f960facfd7cd4", "fileasyncapitestsgetsharename60453ea9cc21980294" ] + "variables" : [ "fileasyncapitestsgetsharename457827a8ad5e1f9e84", "fileasyncapitestsgetsharename79146e1b6ca92d5964" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetSnapshotId.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetSnapshotId.json index 00fd7dea779ac..7334f586e056a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetSnapshotId.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsGetSnapshotId.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsgetsnapshotid12365c6de26f4f3ca?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsgetsnapshotid240473a57f89749c3?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9165a135-331e-4925-9336-345949f8606e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c461bfbe-020a-4d33-a0a4-57c9098849f8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F82A15FA0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:02 GMT", + "ETag" : "0x8D77911EC2586E7", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a6e-a01a-0116-5988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:02 GMT", - "x-ms-client-request-id" : "9165a135-331e-4925-9336-345949f8606e" + "x-ms-request-id" : "9ba99ccc-201a-0011-61fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:17 GMT", + "x-ms-client-request-id" : "c461bfbe-020a-4d33-a0a4-57c9098849f8" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsgetsnapshotid12365c6de26f4f3ca", "fileasyncapitestsgetsnapshotid4420330e41d070f2d" ] + "variables" : [ "fileasyncapitestsgetsnapshotid240473a57f89749c3", "fileasyncapitestsgetsnapshotid44925ddc0626ce677" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListHandles.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListHandles.json index 82071ba3a5c78..9463962abb2e4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListHandles.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListHandles.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslisthandles855241bf1490508b84?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslisthandles810934f137e38d1634?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "91f4f96d-57af-4396-8a62-54df0c8a7dfe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d09f2989-fc3e-47b8-997b-3dbede168563" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F824AED4A", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:02 GMT", + "ETag" : "0x8D77911EAE0360C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a61-a01a-0116-4f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "x-ms-client-request-id" : "91f4f96d-57af-4396-8a62-54df0c8a7dfe" + "x-ms-request-id" : "9ba99ca8-201a-0011-46fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:15 GMT", + "x-ms-client-request-id" : "d09f2989-fc3e-47b8-997b-3dbede168563" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslisthandles855241bf1490508b84/fileasyncapitestslisthandles83075195ae01130974", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslisthandles810934f137e38d1634/fileasyncapitestslisthandles83452ac484606c2474", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d10eabdd-912c-49f3-bfe6-412d05c381a9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "66ff37f8-1075-4c36-9194-a919a3302863" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:02.4546532Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:02 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:15.9154284Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:15 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "ETag" : "0x8D7519F82561EE4", + "Date" : "Wed, 04 Dec 2019 23:30:15 GMT", + "ETag" : "0x8D77911EAEF0C6C", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:02.4546532Z", + "x-ms-file-change-time" : "2019-12-04T23:30:15.9154284Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a63-a01a-0116-5088-83b7bd000000", - "x-ms-client-request-id" : "d10eabdd-912c-49f3-bfe6-412d05c381a9", - "x-ms-file-last-write-time" : "2019-10-15T18:43:02.4546532Z" + "x-ms-request-id" : "9ba99caa-201a-0011-47fa-aa088f000000", + "x-ms-client-request-id" : "66ff37f8-1075-4c36-9194-a919a3302863", + "x-ms-file-last-write-time" : "2019-12-04T23:30:15.9154284Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslisthandles855241bf1490508b84/fileasyncapitestslisthandles83075195ae01130974?comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslisthandles810934f137e38d1634/fileasyncapitestslisthandles83452ac484606c2474?comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7add936e-7163-4be5-97d3-cdd877a9c63d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea45add2-0d20-4bfd-b902-b6fd0bbe6c3f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48a65-a01a-0116-5188-83b7bd000000", + "x-ms-request-id" : "9ba99cab-201a-0011-48fa-aa088f000000", "Body" : "", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "x-ms-client-request-id" : "7add936e-7163-4be5-97d3-cdd877a9c63d", + "Date" : "Wed, 04 Dec 2019 23:30:15 GMT", + "x-ms-client-request-id" : "ea45add2-0d20-4bfd-b902-b6fd0bbe6c3f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestslisthandles855241bf1490508b84", "fileasyncapitestslisthandles83075195ae01130974" ] + "variables" : [ "fileasyncapitestslisthandles810934f137e38d1634", "fileasyncapitestslisthandles83452ac484606c2474" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListHandlesWithMaxResult.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListHandlesWithMaxResult.json index 3c38786aa0fc0..074bed2296ed2 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListHandlesWithMaxResult.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListHandlesWithMaxResult.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslisthandleswithmaxresult053189ae884b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslisthandleswithmaxresult03387fd3ac62?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c2f10ca9-b482-4b7e-b4b5-1ed6019fdd07" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9d3a1b8a-abc8-467f-8818-f2395528fc47" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F827ABB6F", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:02 GMT", + "ETag" : "0x8D77911EB25F1F0", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a68-a01a-0116-5488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "x-ms-client-request-id" : "c2f10ca9-b482-4b7e-b4b5-1ed6019fdd07" + "x-ms-request-id" : "9ba99caf-201a-0011-4bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:15 GMT", + "x-ms-client-request-id" : "9d3a1b8a-abc8-467f-8818-f2395528fc47" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslisthandleswithmaxresult053189ae884b/fileasyncapitestslisthandleswithmaxresult81059a562b65", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslisthandleswithmaxresult03387fd3ac62/fileasyncapitestslisthandleswithmaxresult03513c0f4a5c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f82d7d8e-b23c-444a-9ca0-3a6ed237afba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0cb4f4ff-fb84-4878-b9de-f4fbdfeccbf5" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:02.7759630Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:02 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:16.3744276Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:16 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "ETag" : "0x8D7519F8287260E", + "Date" : "Wed, 04 Dec 2019 23:30:16 GMT", + "ETag" : "0x8D77911EB351614", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:02.7759630Z", + "x-ms-file-change-time" : "2019-12-04T23:30:16.3744276Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a6a-a01a-0116-5588-83b7bd000000", - "x-ms-client-request-id" : "f82d7d8e-b23c-444a-9ca0-3a6ed237afba", - "x-ms-file-last-write-time" : "2019-10-15T18:43:02.7759630Z" + "x-ms-request-id" : "9ba99cb2-201a-0011-4cfa-aa088f000000", + "x-ms-client-request-id" : "0cb4f4ff-fb84-4878-b9de-f4fbdfeccbf5", + "x-ms-file-last-write-time" : "2019-12-04T23:30:16.3744276Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslisthandleswithmaxresult053189ae884b/fileasyncapitestslisthandleswithmaxresult81059a562b65?maxresults=2&comp=listhandles", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslisthandleswithmaxresult03387fd3ac62/fileasyncapitestslisthandleswithmaxresult03513c0f4a5c?maxresults=2&comp=listhandles", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7a650954-02fd-48d1-a560-53c5ad03f6ae" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0c6ebfc-bee6-4287-a4f9-863188f4cd69" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48a6b-a01a-0116-5688-83b7bd000000", + "x-ms-request-id" : "9ba99cb3-201a-0011-4dfa-aa088f000000", "Body" : "2", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "x-ms-client-request-id" : "7a650954-02fd-48d1-a560-53c5ad03f6ae", + "Date" : "Wed, 04 Dec 2019 23:30:16 GMT", + "x-ms-client-request-id" : "a0c6ebfc-bee6-4287-a4f9-863188f4cd69", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestslisthandleswithmaxresult053189ae884b", "fileasyncapitestslisthandleswithmaxresult81059a562b65" ] + "variables" : [ "fileasyncapitestslisthandleswithmaxresult03387fd3ac62", "fileasyncapitestslisthandleswithmaxresult03513c0f4a5c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRanges.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRanges.json index bd44f017f4d05..52754ab703567 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRanges.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRanges.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslistranges870967e3e12041eb646?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslistranges36238b2e6fdf5883644?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "76f74578-b8cf-4d56-aa9f-652c7119d071" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "01716ed6-dd47-47ab-9239-f27dfead98b2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8165D405", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "ETag" : "0x8D77911EA44BA0C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a39-a01a-0116-2988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:00 GMT", - "x-ms-client-request-id" : "76f74578-b8cf-4d56-aa9f-652c7119d071" + "x-ms-request-id" : "9ba99c97-201a-0011-38fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:14 GMT", + "x-ms-client-request-id" : "01716ed6-dd47-47ab-9239-f27dfead98b2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslistranges870967e3e12041eb646/fileasyncapitestslistranges091186c09af835fac44", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslistranges36238b2e6fdf5883644/fileasyncapitestslistranges87521c24fbde36db748", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5a748f2b-bb34-4b70-8166-496f07e2336c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "91314601-2e7a-4a3e-a413-c93c2bc03c6a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:00.9411929Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:14.8964110Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:14 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:00 GMT", - "ETag" : "0x8D7519F816F2F59", + "Date" : "Wed, 04 Dec 2019 23:30:14 GMT", + "ETag" : "0x8D77911EA538F0E", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:00.9411929Z", + "x-ms-file-change-time" : "2019-12-04T23:30:14.8964110Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a3b-a01a-0116-2a88-83b7bd000000", - "x-ms-client-request-id" : "5a748f2b-bb34-4b70-8166-496f07e2336c", - "x-ms-file-last-write-time" : "2019-10-15T18:43:00.9411929Z" + "x-ms-request-id" : "9ba99c99-201a-0011-39fa-aa088f000000", + "x-ms-client-request-id" : "91314601-2e7a-4a3e-a413-c93c2bc03c6a", + "x-ms-file-last-write-time" : "2019-12-04T23:30:14.8964110Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslistranges870967e3e12041eb646/fileasyncapitestslistranges091186c09af835fac44?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslistranges36238b2e6fdf5883644/fileasyncapitestslistranges87521c24fbde36db748?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b7b4408e-e2e2-4c4f-bd14-385d30fc7b52", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f911c58-8f0a-4129-95cc-46f018629c39", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8176AB45", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "ETag" : "0x8D77911EA6171C7", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a3c-a01a-0116-2b88-83b7bd000000", + "x-ms-request-id" : "9ba99c9b-201a-0011-3afa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:00 GMT", - "x-ms-client-request-id" : "b7b4408e-e2e2-4c4f-bd14-385d30fc7b52", + "Date" : "Wed, 04 Dec 2019 23:30:14 GMT", + "x-ms-client-request-id" : "5f911c58-8f0a-4129-95cc-46f018629c39", "Content-MD5" : "DzQ7CTESaiDxM9Z8KwGKOw==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslistranges870967e3e12041eb646/fileasyncapitestslistranges091186c09af835fac44?comp=rangelist", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslistranges36238b2e6fdf5883644/fileasyncapitestslistranges87521c24fbde36db748?comp=rangelist", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4aaa0af0-c99b-4b96-8797-62346cc391f0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9c0f561-21e4-458a-9685-267ce91c91e0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-length" : "1024", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:14 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:43:00 GMT", - "ETag" : "0x8D7519F8176AB45", - "x-ms-request-id" : "83e48a3d-a01a-0116-2c88-83b7bd000000", + "Date" : "Wed, 04 Dec 2019 23:30:14 GMT", + "ETag" : "0x8D77911EA6171C7", + "x-ms-request-id" : "9ba99c9c-201a-0011-3bfa-aa088f000000", "Body" : "01023", - "x-ms-client-request-id" : "4aaa0af0-c99b-4b96-8797-62346cc391f0", + "x-ms-client-request-id" : "e9c0f561-21e4-458a-9685-267ce91c91e0", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestslistranges870967e3e12041eb646", "fileasyncapitestslistranges091186c09af835fac44", "filefileasyncapitestslistranges8154246956b0a43bfb" ] + "variables" : [ "fileasyncapitestslistranges36238b2e6fdf5883644", "fileasyncapitestslistranges87521c24fbde36db748", "filefileasyncapitestslistranges11258134d5810509c4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesLease.json new file mode 100644 index 0000000000000..704879f77d59b --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesLease.json @@ -0,0 +1,124 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeslease908707ad34670f95?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "2c6c588e-927d-45ed-8035-e10773bb86c6" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECE2B4378", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:46 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bf43-501a-0034-6927-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:46 GMT", + "x-ms-client-request-id" : "2c6c588e-927d-45ed-8035-e10773bb86c6" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeslease908707ad34670f95/fileasyncapitestslistrangeslease85072ca501db361f", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "3ca1be50-d9e7-40aa-937b-68e8b1b74d45" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:46.7420950Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:46 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:46 GMT", + "ETag" : "0x8D7833ECE3B5716", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:46.7420950Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bf48-501a-0034-6c27-b5a1f3000000", + "x-ms-client-request-id" : "3ca1be50-d9e7-40aa-937b-68e8b1b74d45", + "x-ms-file-last-write-time" : "2019-12-17T22:16:46.7420950Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeslease908707ad34670f95/fileasyncapitestslistrangeslease85072ca501db361f?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "38a4f078-36d4-40a2-a773-b3581c82005d", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECE48C66E", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:46 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bf4a-501a-0034-6e27-b5a1f3000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:46 GMT", + "x-ms-client-request-id" : "38a4f078-36d4-40a2-a773-b3581c82005d", + "Content-MD5" : "DzQ7CTESaiDxM9Z8KwGKOw==" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeslease908707ad34670f95/fileasyncapitestslistrangeslease85072ca501db361f?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "347aa465-84cf-4be5-9d60-35a37e06f0c5" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECE48C66E", + "x-ms-lease-id" : "7212a290-3ef4-4cd4-baf4-93ad51b783c2", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:46 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bf4e-501a-0034-7227-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:46 GMT", + "x-ms-client-request-id" : "347aa465-84cf-4be5-9d60-35a37e06f0c5" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeslease908707ad34670f95/fileasyncapitestslistrangeslease85072ca501db361f?comp=rangelist", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "901d0921-1133-4adb-be42-46169c247c05" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-length" : "1024", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:46 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 17 Dec 2019 22:16:46 GMT", + "ETag" : "0x8D7833ECE48C66E", + "x-ms-request-id" : "d096bf50-501a-0034-7427-b5a1f3000000", + "Body" : "01023", + "x-ms-client-request-id" : "901d0921-1133-4adb-be42-46169c247c05", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestslistrangeslease908707ad34670f95", "fileasyncapitestslistrangeslease85072ca501db361f", "filefileasyncapitestslistrangeslease2984575024f9a226" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesLeaseFail.json new file mode 100644 index 0000000000000..f81749d9cd9af --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesLeaseFail.json @@ -0,0 +1,122 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangesleasefail091551a465626c?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c4ae20de-e2eb-4d7e-aad2-40d67991536f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833F53BF6277", + "Last-Modified" : "Tue, 17 Dec 2019 22:20:30 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "eda6ee7e-a01a-001f-0e28-b5213f000000", + "Date" : "Tue, 17 Dec 2019 22:20:30 GMT", + "x-ms-client-request-id" : "c4ae20de-e2eb-4d7e-aad2-40d67991536f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangesleasefail091551a465626c/fileasyncapitestslistrangesleasefail115566f3e7ffda", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "8db61b49-fb2e-434d-960d-6ef37af5deaa" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:20:31.0180302Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:20:31 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:20:30 GMT", + "ETag" : "0x8D7833F53E921CE", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:20:31.0180302Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "eda6ee88-a01a-001f-1428-b5213f000000", + "x-ms-client-request-id" : "8db61b49-fb2e-434d-960d-6ef37af5deaa", + "x-ms-file-last-write-time" : "2019-12-17T22:20:31.0180302Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangesleasefail091551a465626c/fileasyncapitestslistrangesleasefail115566f3e7ffda?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "f8ae30db-b2a4-43e7-86d2-be179ec9855e", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833F5403B008", + "Last-Modified" : "Tue, 17 Dec 2019 22:20:31 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "eda6ee8e-a01a-001f-1a28-b5213f000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:20:30 GMT", + "x-ms-client-request-id" : "f8ae30db-b2a4-43e7-86d2-be179ec9855e", + "Content-MD5" : "DzQ7CTESaiDxM9Z8KwGKOw==" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangesleasefail091551a465626c/fileasyncapitestslistrangesleasefail115566f3e7ffda?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "679cb42d-9927-499c-9ab2-905db8399946" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833F5403B008", + "x-ms-lease-id" : "f63b7cb1-569b-4cac-a5c7-ec2da6e766e4", + "Last-Modified" : "Tue, 17 Dec 2019 22:20:31 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "eda6ee93-a01a-001f-1f28-b5213f000000", + "Date" : "Tue, 17 Dec 2019 22:20:30 GMT", + "x-ms-client-request-id" : "679cb42d-9927-499c-9ab2-905db8399946" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestslistrangesleasefail091551a465626c/fileasyncapitestslistrangesleasefail115566f3e7ffda?comp=rangelist", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "ee072e57-0848-46e7-a13b-a8caf3c54469" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "eda6ee96-a01a-001f-2228-b5213f000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:eda6ee96-a01a-001f-2228-b5213f000000\nTime:2019-12-17T22:20:31.4831452Z", + "Date" : "Tue, 17 Dec 2019 22:20:30 GMT", + "x-ms-client-request-id" : "ee072e57-0848-46e7-a13b-a8caf3c54469", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestslistrangesleasefail091551a465626c", "fileasyncapitestslistrangesleasefail115566f3e7ffda", "filefileasyncapitestslistrangesleasefail4ae1403845a63d", "a5bdaa65-f82c-47b7-8bea-60d174c75ae3" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesWithRange.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesWithRange.json index 7a7ef4aeb9293..f51f90650c51c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesWithRange.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsListRangesWithRange.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslistrangeswithrange96542b45e22180?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeswithrange6100355d79b7b8?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "65e3c7e7-9736-40d1-bffb-647dca832c10" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b0a266f1-d5e6-4e69-b124-a3cfcb6afc1a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F81FA6FDC", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:01 GMT", + "ETag" : "0x8D77911EA9264C5", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a5a-a01a-0116-4988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "x-ms-client-request-id" : "65e3c7e7-9736-40d1-bffb-647dca832c10" + "x-ms-request-id" : "9ba99ca0-201a-0011-3ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:14 GMT", + "x-ms-client-request-id" : "b0a266f1-d5e6-4e69-b124-a3cfcb6afc1a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslistrangeswithrange96542b45e22180/fileasyncapitestslistrangeswithrange0067332f50003a", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeswithrange6100355d79b7b8/fileasyncapitestslistrangeswithrange62001e8f1b39ac", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7f689a72-cf0c-4d9a-8751-1a06abb9ad27" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2f79bdcb-f3c2-4e1f-b9b7-d0bdccc4e319" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:02.1283379Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:02 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:15.4074168Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:15 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "ETag" : "0x8D7519F82245433", + "Date" : "Wed, 04 Dec 2019 23:30:15 GMT", + "ETag" : "0x8D77911EAA18838", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:02.1283379Z", + "x-ms-file-change-time" : "2019-12-04T23:30:15.4074168Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a5c-a01a-0116-4a88-83b7bd000000", - "x-ms-client-request-id" : "7f689a72-cf0c-4d9a-8751-1a06abb9ad27", - "x-ms-file-last-write-time" : "2019-10-15T18:43:02.1283379Z" + "x-ms-request-id" : "9ba99ca2-201a-0011-40fa-aa088f000000", + "x-ms-client-request-id" : "2f79bdcb-f3c2-4e1f-b9b7-d0bdccc4e319", + "x-ms-file-last-write-time" : "2019-12-04T23:30:15.4074168Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslistrangeswithrange96542b45e22180/fileasyncapitestslistrangeswithrange0067332f50003a?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeswithrange6100355d79b7b8/fileasyncapitestslistrangeswithrange62001e8f1b39ac?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8508f8fe-4386-4ff9-b0cf-15a1e367988e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c25da969-0c3e-4bae-bf70-ea893e4b36b3", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F822C6C81", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:02 GMT", + "ETag" : "0x8D77911EAAECF0E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a5d-a01a-0116-4b88-83b7bd000000", + "x-ms-request-id" : "9ba99ca3-201a-0011-41fa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "x-ms-client-request-id" : "8508f8fe-4386-4ff9-b0cf-15a1e367988e", + "Date" : "Wed, 04 Dec 2019 23:30:15 GMT", + "x-ms-client-request-id" : "c25da969-0c3e-4bae-bf70-ea893e4b36b3", "Content-MD5" : "DzQ7CTESaiDxM9Z8KwGKOw==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestslistrangeswithrange96542b45e22180/fileasyncapitestslistrangeswithrange0067332f50003a?comp=rangelist", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestslistrangeswithrange6100355d79b7b8/fileasyncapitestslistrangeswithrange62001e8f1b39ac?comp=rangelist", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "48dfb1ad-af77-4716-9b1c-a739e239b27a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7de7fea0-49fe-4eb2-a77a-40c653b3e0d9" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-length" : "1024", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:02 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:15 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:43:01 GMT", - "ETag" : "0x8D7519F822C6C81", - "x-ms-request-id" : "83e48a5e-a01a-0116-4c88-83b7bd000000", + "Date" : "Wed, 04 Dec 2019 23:30:15 GMT", + "ETag" : "0x8D77911EAAECF0E", + "x-ms-request-id" : "9ba99ca4-201a-0011-42fa-aa088f000000", "Body" : "0511", - "x-ms-client-request-id" : "48dfb1ad-af77-4716-9b1c-a739e239b27a", + "x-ms-client-request-id" : "7de7fea0-49fe-4eb2-a77a-40c653b3e0d9", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestslistrangeswithrange96542b45e22180", "fileasyncapitestslistrangeswithrange0067332f50003a", "filefileasyncapitestslistrangeswithrangedd96830087ba7c" ] + "variables" : [ "fileasyncapitestslistrangeswithrange6100355d79b7b8", "fileasyncapitestslistrangeswithrange62001e8f1b39ac", "filefileasyncapitestslistrangeswithrangef7646824cb1564" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersError.json index 42fffccb16b34..959967acf3f47 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheaderserror371198f9769c27?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheaderserror680764093cd66c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b1b5f4a8-e213-42b4-9f39-867f0ece59cf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0ce634c-ff11-472d-87c5-ce3cce7c2968" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F80E56149", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "ETag" : "0x8D77911E95F8AAE", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a24-a01a-0116-1888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "x-ms-client-request-id" : "b1b5f4a8-e213-42b4-9f39-867f0ece59cf" + "x-ms-request-id" : "9ba99c7f-201a-0011-25fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:13 GMT", + "x-ms-client-request-id" : "f0ce634c-ff11-472d-87c5-ce3cce7c2968" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheaderserror371198f9769c27/fileasyncapitestssethttpheaderserror68625dec641f68", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheaderserror680764093cd66c/fileasyncapitestssethttpheaderserror085550847945eb", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6c31d8b2-103b-4976-88c9-b93e7b20a9d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e2104492-91d9-4536-ae74-8bb6f3784097" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:00.1194002Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:13.3974037Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:13 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "ETag" : "0x8D7519F80F1CA12", + "Date" : "Wed, 04 Dec 2019 23:30:13 GMT", + "ETag" : "0x8D77911E96ED415", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:00.1194002Z", + "x-ms-file-change-time" : "2019-12-04T23:30:13.3974037Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a26-a01a-0116-1988-83b7bd000000", - "x-ms-client-request-id" : "6c31d8b2-103b-4976-88c9-b93e7b20a9d8", - "x-ms-file-last-write-time" : "2019-10-15T18:43:00.1194002Z" + "x-ms-request-id" : "9ba99c81-201a-0011-26fa-aa088f000000", + "x-ms-client-request-id" : "e2104492-91d9-4536-ae74-8bb6f3784097", + "x-ms-file-last-write-time" : "2019-12-04T23:30:13.3974037Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheaderserror371198f9769c27/fileasyncapitestssethttpheaderserror68625dec641f68?comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheaderserror680764093cd66c/fileasyncapitestssethttpheaderserror085550847945eb?comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0f3d1f46-d3e9-47d1-8e17-4ace967d6645" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c89d8577-47eb-4e64-a44f-42cf80e8c6c6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "83e48a27-a01a-0116-1a88-83b7bd000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:83e48a27-a01a-0116-1a88-83b7bd000000\nTime:2019-10-15T18:43:00.1671966Z", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "x-ms-client-request-id" : "0f3d1f46-d3e9-47d1-8e17-4ace967d6645", + "x-ms-request-id" : "9ba99c82-201a-0011-27fa-aa088f000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:9ba99c82-201a-0011-27fa-aa088f000000\nTime:2019-12-04T23:30:13.4992145Z", + "Date" : "Wed, 04 Dec 2019 23:30:13 GMT", + "x-ms-client-request-id" : "c89d8577-47eb-4e64-a44f-42cf80e8c6c6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestssethttpheaderserror371198f9769c27", "fileasyncapitestssethttpheaderserror68625dec641f68" ] + "variables" : [ "fileasyncapitestssethttpheaderserror680764093cd66c", "fileasyncapitestssethttpheaderserror085550847945eb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersFp.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersFp.json index d31bc01d322b7..027b3a067a62d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersFp.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersFp.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheadersfp215642f95562cbba?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersfp5645152970688fa7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a4292303-51f2-4914-a789-faa3d04f3809" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1cc5b447-cb74-419a-bc27-8fdb7b1fc608" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F80C2B5AE", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:59 GMT", + "ETag" : "0x8D77911E91D5126", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a1d-a01a-0116-1388-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:58 GMT", - "x-ms-client-request-id" : "a4292303-51f2-4914-a789-faa3d04f3809" + "x-ms-request-id" : "9ba99c79-201a-0011-20fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:12 GMT", + "x-ms-client-request-id" : "1cc5b447-cb74-419a-bc27-8fdb7b1fc608" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheadersfp215642f95562cbba/fileasyncapitestssethttpheadersfp22384d4539e22f4b", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersfp5645152970688fa7/fileasyncapitestssethttpheadersfp61058491d437600c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "786343df-508a-4f03-90a3-a10bed56a456" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "150b503b-1644-436a-a6b7-a156157f6cbe" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:59.8611510Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:59 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:12.9634149Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:12 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "ETag" : "0x8D7519F80CA6236", + "Date" : "Wed, 04 Dec 2019 23:30:12 GMT", + "ETag" : "0x8D77911E92C9B65", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:59.8611510Z", + "x-ms-file-change-time" : "2019-12-04T23:30:12.9634149Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a1f-a01a-0116-1488-83b7bd000000", - "x-ms-client-request-id" : "786343df-508a-4f03-90a3-a10bed56a456", - "x-ms-file-last-write-time" : "2019-10-15T18:42:59.8611510Z" + "x-ms-request-id" : "9ba99c7b-201a-0011-21fa-aa088f000000", + "x-ms-client-request-id" : "150b503b-1644-436a-a6b7-a156157f6cbe", + "x-ms-file-last-write-time" : "2019-12-04T23:30:12.9634149Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheadersfp215642f95562cbba/fileasyncapitestssethttpheadersfp22384d4539e22f4b?comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersfp5645152970688fa7/fileasyncapitestssethttpheadersfp61058491d437600c?comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b1785295-bf3d-4afc-b325-59dba03f3fe0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5340605c-b483-48e1-98e6-01cf54b8e063" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:59.8941690Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:59 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:12.9688147Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:13 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "ETag" : "0x8D7519F80D1B701", + "Date" : "Wed, 04 Dec 2019 23:30:12 GMT", + "ETag" : "0x8D77911E93B4114", "x-ms-file-attributes" : "None", - "x-ms-file-change-time" : "2019-10-15T18:42:59.9091969Z", + "x-ms-file-change-time" : "2019-12-04T23:30:13.0594068Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a20-a01a-0116-1588-83b7bd000000", - "x-ms-client-request-id" : "b1785295-bf3d-4afc-b325-59dba03f3fe0", - "x-ms-file-last-write-time" : "2019-10-15T18:42:59.8941690Z" + "x-ms-request-id" : "9ba99c7c-201a-0011-22fa-aa088f000000", + "x-ms-client-request-id" : "5340605c-b483-48e1-98e6-01cf54b8e063", + "x-ms-file-last-write-time" : "2019-12-04T23:30:12.9688147Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestssethttpheadersfp215642f95562cbba", "fileasyncapitestssethttpheadersfp22384d4539e22f4b", "2019-10-15T18:42:59.894169Z", "2019-10-15T18:42:59.894169Z" ] + "variables" : [ "fileasyncapitestssethttpheadersfp5645152970688fa7", "fileasyncapitestssethttpheadersfp61058491d437600c", "2019-12-04T23:30:12.968814700Z", "2019-12-04T23:30:12.968814700Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersFpk.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersFpk.json index b5f88671bb2a3..a98fd4d6b6cb4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersFpk.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersFpk.json @@ -1,104 +1,104 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheadersfpk97470674a7116a1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersfpk25698e6df3bc9f0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e25a86be-5ad8-4e60-97d7-1295f6950d6d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5a3c59d1-2fb1-44c0-8d4b-2adc786ba61d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F80645234", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:59 GMT", + "ETag" : "0x8D77911E8C1C3BA", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:12 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a16-a01a-0116-0d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:58 GMT", - "x-ms-client-request-id" : "e25a86be-5ad8-4e60-97d7-1295f6950d6d" + "x-ms-request-id" : "9ba99c6d-201a-0011-15fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:12 GMT", + "x-ms-client-request-id" : "5a3c59d1-2fb1-44c0-8d4b-2adc786ba61d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheadersfpk97470674a7116a1/fileasyncapitestssethttpheadersfpk649675f34f68ca2", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersfpk25698e6df3bc9f0/fileasyncapitestssethttpheadersfpk19041ee9e62224a", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "487e1e3c-bc35-492f-984b-42297e434ad0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9c6cbfd5-a802-4c1c-add7-2db0bb25e2db" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:59.2535645Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:59 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:12.3644010Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:12 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:58 GMT", - "ETag" : "0x8D7519F806DAC5D", + "Date" : "Wed, 04 Dec 2019 23:30:12 GMT", + "ETag" : "0x8D77911E8D1346A", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:59.2535645Z", + "x-ms-file-change-time" : "2019-12-04T23:30:12.3644010Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a18-a01a-0116-0e88-83b7bd000000", - "x-ms-client-request-id" : "487e1e3c-bc35-492f-984b-42297e434ad0", - "x-ms-file-last-write-time" : "2019-10-15T18:42:59.2535645Z" + "x-ms-request-id" : "9ba99c72-201a-0011-19fa-aa088f000000", + "x-ms-client-request-id" : "9c6cbfd5-a802-4c1c-add7-2db0bb25e2db", + "x-ms-file-last-write-time" : "2019-12-04T23:30:12.3644010Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheadersfpk97470674a7116a1?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersfpk25698e6df3bc9f0?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2c938139-3ecc-456d-9d16-7321a3eeac6a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a3811c95-f0da-46de-8fe9-7ccb9d79402c", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a19-a01a-0116-0f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:58 GMT", - "x-ms-client-request-id" : "2c938139-3ecc-456d-9d16-7321a3eeac6a" + "x-ms-request-id" : "9ba99c74-201a-0011-1bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:12 GMT", + "x-ms-client-request-id" : "a3811c95-f0da-46de-8fe9-7ccb9d79402c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssethttpheadersfpk97470674a7116a1/fileasyncapitestssethttpheadersfpk649675f34f68ca2?comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersfpk25698e6df3bc9f0/fileasyncapitestssethttpheadersfpk19041ee9e62224a?comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6b6de8b1-92c4-4bef-959a-90391536920e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47fa23fd-1b4d-4fc8-a763-d9abe8a552de" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:59.6483048Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:59 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:12.4707173Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:12 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:58 GMT", - "ETag" : "0x8D7519F80ADD27A", + "Date" : "Wed, 04 Dec 2019 23:30:12 GMT", + "ETag" : "0x8D77911E8F49AB4", "x-ms-file-attributes" : "None", - "x-ms-file-change-time" : "2019-10-15T18:42:59.6739706Z", + "x-ms-file-change-time" : "2019-12-04T23:30:12.5963956Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a1a-a01a-0116-1088-83b7bd000000", - "x-ms-client-request-id" : "6b6de8b1-92c4-4bef-959a-90391536920e", - "x-ms-file-last-write-time" : "2019-10-15T18:42:59.6483048Z" + "x-ms-request-id" : "9ba99c76-201a-0011-1dfa-aa088f000000", + "x-ms-client-request-id" : "47fa23fd-1b4d-4fc8-a763-d9abe8a552de", + "x-ms-file-last-write-time" : "2019-12-04T23:30:12.4717200Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestssethttpheadersfpk97470674a7116a1", "fileasyncapitestssethttpheadersfpk649675f34f68ca2", "2019-10-15T18:42:59.648304800Z", "2019-10-15T18:42:59.648304800Z" ] + "variables" : [ "fileasyncapitestssethttpheadersfpk25698e6df3bc9f0", "fileasyncapitestssethttpheadersfpk19041ee9e62224a", "2019-12-04T23:30:12.470717300Z", "2019-12-04T23:30:12.471720Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersLease.json new file mode 100644 index 0000000000000..f9ed18b78a6db --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersLease.json @@ -0,0 +1,105 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheaderslease089696ceec8749?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "417b97b0-ce4d-47c3-9f3e-e7b2a9ad082e" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECB272B23", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:41 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096be76-501a-0034-3127-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:41 GMT", + "x-ms-client-request-id" : "417b97b0-ce4d-47c3-9f3e-e7b2a9ad082e" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheaderslease089696ceec8749/fileasyncapitestssethttpheaderslease43622e1713f751", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "7040b0c1-04f3-4f1a-8a8d-c030b3fcd498" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:41.6781661Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:41 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:41 GMT", + "ETag" : "0x8D7833ECB36A55D", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:41.6781661Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096be79-501a-0034-3227-b5a1f3000000", + "x-ms-client-request-id" : "7040b0c1-04f3-4f1a-8a8d-c030b3fcd498", + "x-ms-file-last-write-time" : "2019-12-17T22:16:41.6781661Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheaderslease089696ceec8749/fileasyncapitestssethttpheaderslease43622e1713f751?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c70fe96d-355f-4883-9eb4-ed67ef5a9f39" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECB36A55D", + "x-ms-lease-id" : "27f78709-446b-46f5-9684-80e544a225ec", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:41 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096be7b-501a-0034-3427-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:41 GMT", + "x-ms-client-request-id" : "c70fe96d-355f-4883-9eb4-ed67ef5a9f39" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheaderslease089696ceec8749/fileasyncapitestssethttpheaderslease43622e1713f751?comp=properties", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "388e1269-3f73-4776-8892-990bb847c79d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:41.6781661Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:41 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:41 GMT", + "ETag" : "0x8D7833ECB52428D", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:41.8591373Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096be7f-501a-0034-3827-b5a1f3000000", + "x-ms-client-request-id" : "388e1269-3f73-4776-8892-990bb847c79d", + "x-ms-file-last-write-time" : "2019-12-17T22:16:41.6781661Z" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestssethttpheaderslease089696ceec8749", "fileasyncapitestssethttpheaderslease43622e1713f751" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersLeaseFail.json new file mode 100644 index 0000000000000..68be4d0dd6196 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetHttpHeadersLeaseFail.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersleasefail802060531696?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "8b6cabe8-c4bc-4583-a195-ff0a4279e553" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECB7969D9", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096be86-501a-0034-3f27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:41 GMT", + "x-ms-client-request-id" : "8b6cabe8-c4bc-4583-a195-ff0a4279e553" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersleasefail802060531696/fileasyncapitestssethttpheadersleasefail77301a15b6d5", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "2a79c6b4-4985-4bc6-bd8c-84c5c4f3424d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:42.2220947Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:41 GMT", + "ETag" : "0x8D7833ECB89A493", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:42.2220947Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096be88-501a-0034-4027-b5a1f3000000", + "x-ms-client-request-id" : "2a79c6b4-4985-4bc6-bd8c-84c5c4f3424d", + "x-ms-file-last-write-time" : "2019-12-17T22:16:42.2220947Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersleasefail802060531696/fileasyncapitestssethttpheadersleasefail77301a15b6d5?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0f33a751-b476-4dab-a668-36d8c840c7af" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECB89A493", + "x-ms-lease-id" : "6b21e9b9-2486-4355-aa10-51d729ffab68", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096be89-501a-0034-4127-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:41 GMT", + "x-ms-client-request-id" : "0f33a751-b476-4dab-a668-36d8c840c7af" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssethttpheadersleasefail802060531696/fileasyncapitestssethttpheadersleasefail77301a15b6d5?comp=properties", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "e8ae4e78-52fa-4e84-928a-85618b47cfad" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "d096be8d-501a-0034-4527-b5a1f3000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:d096be8d-501a-0034-4527-b5a1f3000000\nTime:2019-12-17T22:16:42.4007346Z", + "Date" : "Tue, 17 Dec 2019 22:16:41 GMT", + "x-ms-client-request-id" : "e8ae4e78-52fa-4e84-928a-85618b47cfad", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestssethttpheadersleasefail802060531696", "fileasyncapitestssethttpheadersleasefail77301a15b6d5", "c21a6c6d-593b-493a-9d20-dee89507647d" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadata.json index 647f27ba73f8e..5f3308b49c44e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadata.json @@ -1,146 +1,146 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssetmetadata76727dc0b35f2c6a14?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadata75061672078f078b34?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bfa42eb2-cc2a-4ccf-a93e-ca9511c8d5f6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "270ed8bb-3c0c-47e3-bbae-00f4dd58aeaf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F810CA1DB", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "ETag" : "0x8D77911E9A1EA9D", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a2a-a01a-0116-1d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "x-ms-client-request-id" : "bfa42eb2-cc2a-4ccf-a93e-ca9511c8d5f6" + "x-ms-request-id" : "9ba99c86-201a-0011-2bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:13 GMT", + "x-ms-client-request-id" : "270ed8bb-3c0c-47e3-bbae-00f4dd58aeaf" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssetmetadata76727dc0b35f2c6a14/fileasyncapitestssetmetadata3372093bbebd5a2f54", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadata75061672078f078b34/fileasyncapitestssetmetadata67908a21f66e25ce54", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "98d20efb-727a-444f-a310-d3b879346ec2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f4fc90e6-7b02-4d08-928e-661ed46d9515" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:00.3736451Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:13.8344044Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:13 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "ETag" : "0x8D7519F81189583", + "Date" : "Wed, 04 Dec 2019 23:30:13 GMT", + "ETag" : "0x8D77911E9B1826C", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:00.3736451Z", + "x-ms-file-change-time" : "2019-12-04T23:30:13.8344044Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a2c-a01a-0116-1e88-83b7bd000000", - "x-ms-client-request-id" : "98d20efb-727a-444f-a310-d3b879346ec2", - "x-ms-file-last-write-time" : "2019-10-15T18:43:00.3736451Z" + "x-ms-request-id" : "9ba99c89-201a-0011-2dfa-aa088f000000", + "x-ms-client-request-id" : "f4fc90e6-7b02-4d08-928e-661ed46d9515", + "x-ms-file-last-write-time" : "2019-12-04T23:30:13.8344044Z" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssetmetadata76727dc0b35f2c6a14/fileasyncapitestssetmetadata3372093bbebd5a2f54", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadata75061672078f078b34/fileasyncapitestssetmetadata67908a21f66e25ce54", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6e7f1978-e1c8-4dc0-9e40-bc7887a68647" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "21319107-8bbf-4bbe-9fb0-ec070b72e367" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:00.3736451Z", + "x-ms-file-creation-time" : "2019-12-04T23:30:13.8344044Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:13 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F81189583", + "ETag" : "0x8D77911E9B1826C", "x-ms-file-attributes" : "Archive", "x-ms-meta-testmetadata" : "value", - "x-ms-file-change-time" : "2019-10-15T18:43:00.3736451Z", + "x-ms-file-change-time" : "2019-12-04T23:30:13.8344044Z", "x-ms-file-parent-id" : "0", "Content-Length" : "1024", - "x-ms-request-id" : "83e48a2d-a01a-0116-1f88-83b7bd000000", - "x-ms-client-request-id" : "6e7f1978-e1c8-4dc0-9e40-bc7887a68647", - "x-ms-file-last-write-time" : "2019-10-15T18:43:00.3736451Z", + "x-ms-request-id" : "9ba99c8a-201a-0011-2efa-aa088f000000", + "x-ms-client-request-id" : "21319107-8bbf-4bbe-9fb0-ec070b72e367", + "x-ms-file-last-write-time" : "2019-12-04T23:30:13.8344044Z", "Content-Language" : "en", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssetmetadata76727dc0b35f2c6a14/fileasyncapitestssetmetadata3372093bbebd5a2f54?comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadata75061672078f078b34/fileasyncapitestssetmetadata67908a21f66e25ce54?comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a9ac8be4-f291-4230-8f2b-886f214294e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d2db71d3-5f97-4020-b686-657192cb117d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8126C9D7", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "ETag" : "0x8D77911E9CC0F48", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48a2e-a01a-0116-2088-83b7bd000000", + "x-ms-request-id" : "9ba99c8b-201a-0011-2ffa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "x-ms-client-request-id" : "a9ac8be4-f291-4230-8f2b-886f214294e6" + "Date" : "Wed, 04 Dec 2019 23:30:13 GMT", + "x-ms-client-request-id" : "d2db71d3-5f97-4020-b686-657192cb117d" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssetmetadata76727dc0b35f2c6a14/fileasyncapitestssetmetadata3372093bbebd5a2f54", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadata75061672078f078b34/fileasyncapitestssetmetadata67908a21f66e25ce54", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b0eb1e0-d9a0-4cd7-bd38-c9cc2cb8d246" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "31bed7dd-b531-4fba-bd7c-12d5a851667b" }, "Response" : { "x-ms-meta-update" : "value", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:00.3736451Z", + "x-ms-file-creation-time" : "2019-12-04T23:30:13.8344044Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:14 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:13 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F8126C9D7", + "ETag" : "0x8D77911E9CC0F48", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:00.4667351Z", + "x-ms-file-change-time" : "2019-12-04T23:30:14.0084040Z", "x-ms-file-parent-id" : "0", "Content-Length" : "1024", - "x-ms-request-id" : "83e48a30-a01a-0116-2188-83b7bd000000", - "x-ms-client-request-id" : "2b0eb1e0-d9a0-4cd7-bd38-c9cc2cb8d246", - "x-ms-file-last-write-time" : "2019-10-15T18:43:00.3736451Z", + "x-ms-request-id" : "9ba99c8d-201a-0011-30fa-aa088f000000", + "x-ms-client-request-id" : "31bed7dd-b531-4fba-bd7c-12d5a851667b", + "x-ms-file-last-write-time" : "2019-12-04T23:30:13.8344044Z", "Content-Language" : "en", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestssetmetadata76727dc0b35f2c6a14", "fileasyncapitestssetmetadata3372093bbebd5a2f54" ] + "variables" : [ "fileasyncapitestssetmetadata75061672078f078b34", "fileasyncapitestssetmetadata67908a21f66e25ce54" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataError.json index 86ba176b0391c..fbf3ebb6b9e22 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataError.json @@ -1,76 +1,76 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssetmetadataerror810124e5a67fe85a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadataerror9083265311074d29?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9d562815-068d-4675-95df-4729e7132e15" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5646cfb1-d8bc-447f-b7be-e27d3b724f26" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F81417A47", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "ETag" : "0x8D77911E9FD9EFF", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48a33-a01a-0116-2488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "x-ms-client-request-id" : "9d562815-068d-4675-95df-4729e7132e15" + "x-ms-request-id" : "9ba99c90-201a-0011-33fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:14 GMT", + "x-ms-client-request-id" : "5646cfb1-d8bc-447f-b7be-e27d3b724f26" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssetmetadataerror810124e5a67fe85a/fileasyncapitestssetmetadataerror14753933b5781a17", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadataerror9083265311074d29/fileasyncapitestssetmetadataerror946229982fc08d0f", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "301c171f-54e2-49c2-9d84-a9a65fe8a6e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06bbc9c9-846c-4a52-99ab-d4cc30833ed9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:00.7069678Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:00 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:14.4304128Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:14 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "ETag" : "0x8D7519F814B71EE", + "Date" : "Wed, 04 Dec 2019 23:30:14 GMT", + "ETag" : "0x8D77911EA0C7400", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:00.7069678Z", + "x-ms-file-change-time" : "2019-12-04T23:30:14.4304128Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48a35-a01a-0116-2588-83b7bd000000", - "x-ms-client-request-id" : "301c171f-54e2-49c2-9d84-a9a65fe8a6e6", - "x-ms-file-last-write-time" : "2019-10-15T18:43:00.7069678Z" + "x-ms-request-id" : "9ba99c93-201a-0011-34fa-aa088f000000", + "x-ms-client-request-id" : "06bbc9c9-846c-4a52-99ab-d4cc30833ed9", + "x-ms-file-last-write-time" : "2019-12-04T23:30:14.4304128Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestssetmetadataerror810124e5a67fe85a/fileasyncapitestssetmetadataerror14753933b5781a17?comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadataerror9083265311074d29/fileasyncapitestssetmetadataerror946229982fc08d0f?comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "59f6f82c-2548-4a84-a3b4-bd3980841a4d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "90de6340-4f2a-45a3-a761-ae56b2703d5d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "83e48a36-a01a-0116-2688-83b7bd000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:83e48a36-a01a-0116-2688-83b7bd000000\nTime:2019-10-15T18:43:00.7507491Zvalue", - "Date" : "Tue, 15 Oct 2019 18:42:59 GMT", - "x-ms-client-request-id" : "59f6f82c-2548-4a84-a3b4-bd3980841a4d", + "x-ms-request-id" : "9ba99c94-201a-0011-35fa-aa088f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:9ba99c94-201a-0011-35fa-aa088f000000\nTime:2019-12-04T23:30:14.5642701Zvalue", + "Date" : "Wed, 04 Dec 2019 23:30:14 GMT", + "x-ms-client-request-id" : "90de6340-4f2a-45a3-a761-ae56b2703d5d", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestssetmetadataerror810124e5a67fe85a", "fileasyncapitestssetmetadataerror14753933b5781a17" ] + "variables" : [ "fileasyncapitestssetmetadataerror9083265311074d29", "fileasyncapitestssetmetadataerror946229982fc08d0f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataLease.json new file mode 100644 index 0000000000000..d3a2b78468056 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataLease.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadatalease73277c2090110a39?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "030b102b-63b5-4eee-8f95-c4978bed543f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECCBA9C65", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bed9-501a-0034-0527-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:43 GMT", + "x-ms-client-request-id" : "030b102b-63b5-4eee-8f95-c4978bed543f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadatalease73277c2090110a39/fileasyncapitestssetmetadatalease94482c35f854c778", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "86e0dc0f-68a2-4346-ac08-2df93312408c" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:44.3330935Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:43 GMT", + "ETag" : "0x8D7833ECCCBC177", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:44.3330935Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bee0-501a-0034-0b27-b5a1f3000000", + "x-ms-client-request-id" : "86e0dc0f-68a2-4346-ac08-2df93312408c", + "x-ms-file-last-write-time" : "2019-12-17T22:16:44.3330935Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadatalease73277c2090110a39/fileasyncapitestssetmetadatalease94482c35f854c778?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0ec3776e-b97b-4cc2-a29a-a737dddc6e95" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECCCBC177", + "x-ms-lease-id" : "57598d47-793d-4231-a177-cda870c0d78a", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bee5-501a-0034-1027-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:43 GMT", + "x-ms-client-request-id" : "0ec3776e-b97b-4cc2-a29a-a737dddc6e95" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadatalease73277c2090110a39/fileasyncapitestssetmetadatalease94482c35f854c778?comp=metadata", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "1beb9bbd-ac20-434c-a643-d46ffe06f495" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECCE711AD", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "d096bee7-501a-0034-1227-b5a1f3000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:43 GMT", + "x-ms-client-request-id" : "1beb9bbd-ac20-434c-a643-d46ffe06f495" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestssetmetadatalease73277c2090110a39", "fileasyncapitestssetmetadatalease94482c35f854c778" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataLeaseFail.json new file mode 100644 index 0000000000000..35ec6626e3088 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsSetMetadataLeaseFail.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadataleasefail11177ad478006b?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "52a82242-bc69-4619-9278-7a85b68e1af9" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECD0FE856", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bef3-501a-0034-1e27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:44 GMT", + "x-ms-client-request-id" : "52a82242-bc69-4619-9278-7a85b68e1af9" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadataleasefail11177ad478006b/fileasyncapitestssetmetadataleasefail36952aeb973c7c", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "5b1a9e12-2980-4891-b8a6-7ff07202945d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:44.8800971Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:44 GMT", + "ETag" : "0x8D7833ECD1F38CB", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:44.8800971Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096befa-501a-0034-2427-b5a1f3000000", + "x-ms-client-request-id" : "5b1a9e12-2980-4891-b8a6-7ff07202945d", + "x-ms-file-last-write-time" : "2019-12-17T22:16:44.8800971Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadataleasefail11177ad478006b/fileasyncapitestssetmetadataleasefail36952aeb973c7c?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c985fec9-480b-497a-b754-0c32e73c199f" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833ECD1F38CB", + "x-ms-lease-id" : "bc0c8c25-f816-4976-a846-75d70ebd3994", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096befe-501a-0034-2827-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:44 GMT", + "x-ms-client-request-id" : "c985fec9-480b-497a-b754-0c32e73c199f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestssetmetadataleasefail11177ad478006b/fileasyncapitestssetmetadataleasefail36952aeb973c7c?comp=metadata", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "b7055bc5-3d6e-44b3-945d-eabab4038c37" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "d096bf03-501a-0034-2d27-b5a1f3000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:d096bf03-501a-0034-2d27-b5a1f3000000\nTime:2019-12-17T22:16:45.0787365Z", + "Date" : "Tue, 17 Dec 2019 22:16:44 GMT", + "x-ms-client-request-id" : "b7055bc5-3d6e-44b3-945d-eabab4038c37", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestssetmetadataleasefail11177ad478006b", "fileasyncapitestssetmetadataleasefail36952aeb973c7c", "bac23f22-e052-4703-91a1-d07554485d77" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopy.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopy.json index c5e4cf19c2db7..612a40a99aac7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopy.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopy.json @@ -1,136 +1,115 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsstartcopy606390130d9fa0bfb42?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopy826437c249ba347d449?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "f2227d9f-138b-4116-a57b-9c7fc8155e36" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d4448f7c-e56c-49c2-b811-d7fe7a19b052" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D751B801DA8D69", - "Last-Modified" : "Tue, 15 Oct 2019 21:38:24 GMT", + "ETag" : "0x8D77911E6B468B2", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "afa69bd9-401a-00d8-09a0-83ed05000000", - "Date" : "Tue, 15 Oct 2019 21:38:23 GMT", - "x-ms-client-request-id" : "f2227d9f-138b-4116-a57b-9c7fc8155e36" + "x-ms-request-id" : "9ba99c23-201a-0011-53fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:08 GMT", + "x-ms-client-request-id" : "d4448f7c-e56c-49c2-b811-d7fe7a19b052" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsstartcopy606390130d9fa0bfb42/fileasyncapitestsstartcopy248944bd49275d32246", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopy826437c249ba347d449/fileasyncapitestsstartcopy709508d1f3b16c8124c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "ed13dbb4-49a0-4170-821b-73c724db1e94" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54508c2e-83ae-4537-b1c0-007492443de2" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "9604464107523284943*3308177023012697921", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T21:38:24.8067953Z", - "Last-Modified" : "Tue, 15 Oct 2019 21:38:24 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:08.9173773Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:08 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 21:38:24 GMT", - "ETag" : "0x8D751B80225A371", + "Date" : "Wed, 04 Dec 2019 23:30:08 GMT", + "ETag" : "0x8D77911E6C33B0D", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T21:38:24.8067953Z", + "x-ms-file-change-time" : "2019-12-04T23:30:08.9173773Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "afa69bdc-401a-00d8-0aa0-83ed05000000", - "x-ms-client-request-id" : "ed13dbb4-49a0-4170-821b-73c724db1e94", - "x-ms-file-last-write-time" : "2019-10-15T21:38:24.8067953Z" + "x-ms-request-id" : "9ba99c25-201a-0011-54fa-aa088f000000", + "x-ms-client-request-id" : "54508c2e-83ae-4537-b1c0-007492443de2", + "x-ms-file-last-write-time" : "2019-12-04T23:30:08.9173773Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsstartcopy606390130d9fa0bfb42/fileasyncapitestsstartcopy248944bd49275d32246", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopy826437c249ba347d449/fileasyncapitestsstartcopy709508d1f3b16c8124c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "08686d35-a007-461f-8d60-b50d2ad3d1c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef733ecb-8a33-4ad5-8073-a411c1cf080c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-copy-id" : "f7eb6878-fcbf-436d-8194-7558daea2c15", - "ETag" : "0x8D751B8039F18BA", - "Last-Modified" : "Tue, 15 Oct 2019 21:38:27 GMT", + "x-ms-copy-id" : "46f6410b-73f1-4e3d-83cf-dd3a343f8ced", + "ETag" : "0x8D77911E70E74AE", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:09 GMT", "retry-after" : "0", "Content-Length" : "0", "x-ms-copy-status" : "success", "StatusCode" : "202", - "x-ms-request-id" : "afa69bdd-401a-00d8-0ba0-83ed05000000", - "Date" : "Tue, 15 Oct 2019 21:38:26 GMT", - "x-ms-client-request-id" : "08686d35-a007-461f-8d60-b50d2ad3d1c7" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsstartcopy606390130d9fa0bfb42/fileasyncapitestsstartcopy248944bd49275d32246", - "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "8d75093c-8287-46c7-b312-58bf6a441551" - }, - "Response" : { - "x-ms-version" : "2019-02-02", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-copy-id" : "c9899b92-ecde-4769-832c-57bbd152dacc", - "ETag" : "0x8D751B803CDD210", - "Last-Modified" : "Tue, 15 Oct 2019 21:38:27 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "x-ms-copy-status" : "success", - "StatusCode" : "202", - "x-ms-request-id" : "bd2ec1c7-901a-00e4-47a0-83c4c2000000", - "Date" : "Tue, 15 Oct 2019 21:38:27 GMT", - "x-ms-client-request-id" : "8d75093c-8287-46c7-b312-58bf6a441551" + "x-ms-request-id" : "9ba99c26-201a-0011-55fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:09 GMT", + "x-ms-client-request-id" : "ef733ecb-8a33-4ad5-8073-a411c1cf080c" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsstartcopy606390130d9fa0bfb42/fileasyncapitestsstartcopy248944bd49275d32246", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopy826437c249ba347d449/fileasyncapitestsstartcopy709508d1f3b16c8124c", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "2542eb4f-0239-465e-bcc2-3da9d2c219fd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "74d2da7a-095f-4316-b674-e64a77349f7c" }, "Response" : { + "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T21:38:27.5867152Z", - "Last-Modified" : "Tue, 15 Oct 2019 21:38:27 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:09.4103726Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:09 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-file-attributes" : "Archive", "Content-Length" : "1024", - "x-ms-request-id" : "afa69be1-401a-00d8-0ca0-83ed05000000", + "x-ms-request-id" : "9ba99c37-201a-0011-64fa-aa088f000000", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "9604464107523284943*3308177023012697921", - "x-ms-copy-id" : "c9899b92-ecde-4769-832c-57bbd152dacc", - "x-ms-copy-source" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsstartcopy606390130d9fa0bfb42/fileasyncapitestsstartcopy248944bd49275d32246", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "46f6410b-73f1-4e3d-83cf-dd3a343f8ced", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopy826437c249ba347d449/fileasyncapitestsstartcopy709508d1f3b16c8124c", "x-ms-copy-progress" : "1024/1024", - "Date" : "Tue, 15 Oct 2019 21:38:27 GMT", - "x-ms-copy-completion-time" : "Tue, 15 Oct 2019 21:38:27 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:10 GMT", + "x-ms-copy-completion-time" : "Wed, 04 Dec 2019 23:30:09 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D751B803CDD210", - "x-ms-file-change-time" : "2019-10-15T21:38:24.8067953Z", + "ETag" : "0x8D77911E70E74AE", + "x-ms-file-change-time" : "2019-12-04T23:30:09.4103726Z", "x-ms-file-parent-id" : "0", "x-ms-copy-status" : "success", - "x-ms-client-request-id" : "2542eb4f-0239-465e-bcc2-3da9d2c219fd", - "x-ms-file-last-write-time" : "2019-10-15T21:38:24.8067953Z" + "x-ms-client-request-id" : "74d2da7a-095f-4316-b674-e64a77349f7c", + "x-ms-file-last-write-time" : "2019-12-04T23:30:09.4103726Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsstartcopy606390130d9fa0bfb42", "fileasyncapitestsstartcopy248944bd49275d32246" ] + "variables" : [ "fileasyncapitestsstartcopy826437c249ba347d449", "fileasyncapitestsstartcopy709508d1f3b16c8124c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs0.json new file mode 100644 index 0000000000000..47a7b00729385 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs0.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs02225003e6b42483?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f8a01c0f-2bda-4426-81af-bc7932eaeb01" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783FEE1817910", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "73b19e69-f01a-0012-41e7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:41 GMT", + "x-ms-client-request-id" : "f8a01c0f-2bda-4426-81af-bc7932eaeb01" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs02225003e6b42483/fileasyncapitestsstartcopywithargs0083290d09e05cad", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e0a652b5-cd09-4503-b2e3-4b09e9ce884a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T21:11:42.7874379Z", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 21:11:41 GMT", + "ETag" : "0x8D783FEE1B4E24B", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T21:11:42.7874379Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "73b19e70-f01a-0012-46e7-b5e9eb000000", + "x-ms-client-request-id" : "e0a652b5-cd09-4503-b2e3-4b09e9ce884a", + "x-ms-file-last-write-time" : "2019-12-18T21:11:42.7874379Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs02225003e6b42483?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "74e8e1e4-0ed3-4c1d-82b4-98fe4a60c8c4", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "73b19e73-f01a-0012-49e7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:41 GMT", + "x-ms-client-request-id" : "74e8e1e4-0ed3-4c1d-82b4-98fe4a60c8c4" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs02225003e6b42483/fileasyncapitestsstartcopywithargs0083290d09e05cad", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "66e345b6-f2b5-416b-a2c3-deafdbe7690a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-copy-id" : "a520aa5a-f6c8-4075-a5a2-77528a89ec59", + "ETag" : "0x8D783FEE1F5BB85", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:43 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "x-ms-copy-status" : "success", + "StatusCode" : "202", + "x-ms-request-id" : "73b19e76-f01a-0012-4ce7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:42 GMT", + "x-ms-client-request-id" : "66e345b6-f2b5-416b-a2c3-deafdbe7690a" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs02225003e6b42483/fileasyncapitestsstartcopywithargs0083290d09e05cad", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2e6434f3-1386-4736-9cd4-8fd910678b5d" + }, + "Response" : { + "x-ms-lease-status" : "unlocked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T21:11:42.9348513Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:43 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-file-attributes" : "None", + "Content-Length" : "1024", + "x-ms-request-id" : "73b19e83-f01a-0012-57e7-b5e9eb000000", + "Content-Type" : "application/octet-stream", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "a520aa5a-f6c8-4075-a5a2-77528a89ec59", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs02225003e6b42483/fileasyncapitestsstartcopywithargs0083290d09e05cad", + "x-ms-copy-progress" : "1024/1024", + "Date" : "Wed, 18 Dec 2019 21:11:43 GMT", + "x-ms-copy-completion-time" : "Wed, 18 Dec 2019 21:11:43 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D783FEE1F5BB85", + "x-ms-file-change-time" : "2019-12-18T21:11:43.2124293Z", + "x-ms-file-parent-id" : "0", + "x-ms-copy-status" : "success", + "x-ms-client-request-id" : "2e6434f3-1386-4736-9cd4-8fd910678b5d", + "x-ms-file-last-write-time" : "2019-12-18T21:11:42.9348513Z" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsstartcopywithargs02225003e6b42483", "fileasyncapitestsstartcopywithargs0083290d09e05cad", "2019-12-18T21:11:42.934851300Z", "2019-12-18T21:11:42.934851300Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs1.json new file mode 100644 index 0000000000000..382df09f0e4af --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs1.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs1751215559c8fe1d?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e6accad-ac80-4c34-9475-258da9db88ca" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783FEE2F35907", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "73b19e8e-f01a-0012-62e7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:43 GMT", + "x-ms-client-request-id" : "4e6accad-ac80-4c34-9475-258da9db88ca" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs1751215559c8fe1d/fileasyncapitestsstartcopywithargs174371c8a71c9536", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9b3c5bb8-a9f7-4c8a-8177-c450a6a72124" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T21:11:44.9734004Z", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 21:11:44 GMT", + "ETag" : "0x8D783FEE3026F74", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T21:11:44.9734004Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "73b19e92-f01a-0012-64e7-b5e9eb000000", + "x-ms-client-request-id" : "9b3c5bb8-a9f7-4c8a-8177-c450a6a72124", + "x-ms-file-last-write-time" : "2019-12-18T21:11:44.9734004Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs1751215559c8fe1d?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9a676fa-3375-40d4-a014-749b63b35467", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "73b19e94-f01a-0012-66e7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:44 GMT", + "x-ms-client-request-id" : "e9a676fa-3375-40d4-a014-749b63b35467" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs1751215559c8fe1d/fileasyncapitestsstartcopywithargs174371c8a71c9536", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "472b5461-aba1-429c-b62f-740db7fb51f3" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-copy-id" : "db3dfd44-078c-4609-a4b6-329f7ed043c5", + "ETag" : "0x8D783FEE330F962", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:45 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "x-ms-copy-status" : "success", + "StatusCode" : "202", + "x-ms-request-id" : "73b19e96-f01a-0012-68e7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:44 GMT", + "x-ms-client-request-id" : "472b5461-aba1-429c-b62f-740db7fb51f3" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs1751215559c8fe1d/fileasyncapitestsstartcopywithargs174371c8a71c9536", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42c9767f-8124-4668-a5e7-7970ffb95159" + }, + "Response" : { + "x-ms-lease-status" : "unlocked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T21:11:45.0921588Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:45 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-file-attributes" : "None", + "Content-Length" : "1024", + "x-ms-request-id" : "73b19ea3-f01a-0012-74e7-b5e9eb000000", + "Content-Type" : "application/octet-stream", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "db3dfd44-078c-4609-a4b6-329f7ed043c5", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs1751215559c8fe1d/fileasyncapitestsstartcopywithargs174371c8a71c9536", + "x-ms-copy-progress" : "1024/1024", + "Date" : "Wed, 18 Dec 2019 21:11:45 GMT", + "x-ms-copy-completion-time" : "Wed, 18 Dec 2019 21:11:45 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D783FEE330F962", + "x-ms-file-change-time" : "2019-12-18T21:11:45.2783970Z", + "x-ms-file-parent-id" : "0", + "x-ms-copy-status" : "success", + "x-ms-client-request-id" : "42c9767f-8124-4668-a5e7-7970ffb95159", + "x-ms-file-last-write-time" : "2019-12-18T21:11:45.0921588Z" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsstartcopywithargs1751215559c8fe1d", "fileasyncapitestsstartcopywithargs174371c8a71c9536", "2019-12-18T21:11:45.092158800Z", "2019-12-18T21:11:45.092158800Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs2.json new file mode 100644 index 0000000000000..0d0d6c6dbdb49 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs2.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs2477383074995098?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4027f615-c27b-426a-97b8-37a853dac494" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783FEE3FF4B53", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:46 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "73b19eaa-f01a-0012-78e7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:45 GMT", + "x-ms-client-request-id" : "4027f615-c27b-426a-97b8-37a853dac494" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs2477383074995098/fileasyncapitestsstartcopywithargs20373367a9d8835b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc234441-57d5-48ab-bd65-a48b419a184d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T21:11:46.7333959Z", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:46 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 21:11:45 GMT", + "ETag" : "0x8D783FEE40EFD47", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T21:11:46.7333959Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "73b19eae-f01a-0012-7ae7-b5e9eb000000", + "x-ms-client-request-id" : "fc234441-57d5-48ab-bd65-a48b419a184d", + "x-ms-file-last-write-time" : "2019-12-18T21:11:46.7333959Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs2477383074995098?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e9a6189-35a5-4e2e-9c68-f8ca6b49a8b5", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "73b19eb0-f01a-0012-7ce7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:45 GMT", + "x-ms-client-request-id" : "6e9a6189-35a5-4e2e-9c68-f8ca6b49a8b5" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs2477383074995098/fileasyncapitestsstartcopywithargs20373367a9d8835b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2398bb0a-6d5e-41b6-99ca-c6dd685ef707" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-copy-id" : "5f24b99f-cfc5-4bfb-ae93-24abdcb52250", + "ETag" : "0x8D783FEE443EFD9", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:47 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "x-ms-copy-status" : "success", + "StatusCode" : "202", + "x-ms-request-id" : "73b19eb2-f01a-0012-7ee7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:46 GMT", + "x-ms-client-request-id" : "2398bb0a-6d5e-41b6-99ca-c6dd685ef707" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs2477383074995098/fileasyncapitestsstartcopywithargs20373367a9d8835b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6cf79955-13e8-44f4-b1e5-c34384c420ca" + }, + "Response" : { + "x-ms-lease-status" : "unlocked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T21:11:46.8463521Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:47 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-file-attributes" : "None", + "Content-Length" : "1024", + "x-ms-request-id" : "73b19ec3-f01a-0012-0ee7-b5e9eb000000", + "Content-Type" : "application/octet-stream", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "5f24b99f-cfc5-4bfb-ae93-24abdcb52250", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs2477383074995098/fileasyncapitestsstartcopywithargs20373367a9d8835b", + "x-ms-copy-progress" : "1024/1024", + "Date" : "Wed, 18 Dec 2019 21:11:47 GMT", + "x-ms-copy-completion-time" : "Wed, 18 Dec 2019 21:11:47 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D783FEE443EFD9", + "x-ms-file-change-time" : "2019-12-18T21:11:47.0803929Z", + "x-ms-file-parent-id" : "0", + "x-ms-copy-status" : "success", + "x-ms-client-request-id" : "6cf79955-13e8-44f4-b1e5-c34384c420ca", + "x-ms-file-last-write-time" : "2019-12-18T21:11:46.8463521Z" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsstartcopywithargs2477383074995098", "fileasyncapitestsstartcopywithargs20373367a9d8835b", "2019-12-18T21:11:46.846352100Z", "2019-12-18T21:11:46.846352100Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs3.json new file mode 100644 index 0000000000000..8fd5e91a04506 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsStartCopyWithArgs3.json @@ -0,0 +1,136 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs331722edceb93fa8?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3578b6fe-2d3f-4efa-a63e-231b373607e6" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783FEE5117EFB", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:48 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "73b19ec9-f01a-0012-14e7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:47 GMT", + "x-ms-client-request-id" : "3578b6fe-2d3f-4efa-a63e-231b373607e6" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs331722edceb93fa8/fileasyncapitestsstartcopywithargs3974738ebb1b5740", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f2fe2c4-f7b5-4662-ac20-8883d2541b18" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T21:11:48.5263950Z", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:48 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 21:11:47 GMT", + "ETag" : "0x8D783FEE520944E", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T21:11:48.5263950Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "73b19ecd-f01a-0012-17e7-b5e9eb000000", + "x-ms-client-request-id" : "7f2fe2c4-f7b5-4662-ac20-8883d2541b18", + "x-ms-file-last-write-time" : "2019-12-18T21:11:48.5263950Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs331722edceb93fa8?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9abc54b2-887e-4c30-b6b4-6fc6bd9546c0", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "73b19ed0-f01a-0012-1ae7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:47 GMT", + "x-ms-client-request-id" : "9abc54b2-887e-4c30-b6b4-6fc6bd9546c0" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs331722edceb93fa8/fileasyncapitestsstartcopywithargs3974738ebb1b5740", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "229d2f4d-505b-400f-a01b-9137f5e7a50f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-copy-id" : "6a395397-8a9e-4239-aca3-17769d6c9d55", + "ETag" : "0x8D783FEE544E532", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:48 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "x-ms-copy-status" : "success", + "StatusCode" : "202", + "x-ms-request-id" : "73b19ed3-f01a-0012-1de7-b5e9eb000000", + "Date" : "Wed, 18 Dec 2019 21:11:47 GMT", + "x-ms-client-request-id" : "229d2f4d-505b-400f-a01b-9137f5e7a50f" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs331722edceb93fa8/fileasyncapitestsstartcopywithargs3974738ebb1b5740", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0acf7fd4-623d-47aa-84ac-51be36cc5e55" + }, + "Response" : { + "x-ms-lease-status" : "unlocked", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T21:11:48.6359617Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Wed, 18 Dec 2019 21:11:48 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-file-attributes" : "Archive", + "Content-Length" : "1024", + "x-ms-request-id" : "73b19eee-f01a-0012-37e7-b5e9eb000000", + "Content-Type" : "application/octet-stream", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-version" : "2019-07-07", + "x-ms-copy-id" : "6a395397-8a9e-4239-aca3-17769d6c9d55", + "x-ms-copy-source" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsstartcopywithargs331722edceb93fa8/fileasyncapitestsstartcopywithargs3974738ebb1b5740", + "x-ms-copy-progress" : "1024/1024", + "Date" : "Wed, 18 Dec 2019 21:11:49 GMT", + "x-ms-copy-completion-time" : "Wed, 18 Dec 2019 21:11:48 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D783FEE544E532", + "x-ms-file-change-time" : "2019-12-18T21:11:48.7643954Z", + "x-ms-file-parent-id" : "0", + "x-ms-copy-status" : "success", + "x-ms-client-request-id" : "0acf7fd4-623d-47aa-84ac-51be36cc5e55", + "x-ms-file-last-write-time" : "2019-12-18T21:11:48.6359617Z" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsstartcopywithargs331722edceb93fa8", "fileasyncapitestsstartcopywithargs3974738ebb1b5740", "2019-12-18T21:11:48.635961700Z", "2019-12-18T21:11:48.635961700Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndClearRange.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndClearRange.json index e3c8c415fec3a..02bd08a1393db 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndClearRange.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndClearRange.json @@ -1,135 +1,135 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrange1946742d3088a7?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrange835800ee0c1c81?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "05081b1c-def6-4817-a089-57b75b6ce014" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "431f6ecd-f755-42be-8c91-02d8bcbba0c4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F47712B3BA", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "ETag" : "0x8D77911E3EF2EE2", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c562-801a-00e0-38dd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:04 GMT", - "x-ms-client-request-id" : "05081b1c-def6-4817-a089-57b75b6ce014" + "x-ms-request-id" : "9ba99bc9-201a-0011-04fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:03 GMT", + "x-ms-client-request-id" : "431f6ecd-f755-42be-8c91-02d8bcbba0c4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrange1946742d3088a7/fileasyncapitestsuploadandclearrange25860fb0228c25", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrange835800ee0c1c81/fileasyncapitestsuploadandclearrange405174d66a61ab", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a2b3f485-1881-4ff4-b909-6c415187daca" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e5663429-dc0d-461e-90c6-ff44b26f5ab3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:05.2414340Z", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:04.2703561Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:04 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:04 GMT", - "ETag" : "0x8D766F477194B84", + "Date" : "Wed, 04 Dec 2019 23:30:04 GMT", + "ETag" : "0x8D77911E3FE26C9", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-11T22:14:05.2414340Z", + "x-ms-file-change-time" : "2019-12-04T23:30:04.2703561Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "5332c564-801a-00e0-39dd-98d6fe000000", - "x-ms-client-request-id" : "a2b3f485-1881-4ff4-b909-6c415187daca", - "x-ms-file-last-write-time" : "2019-11-11T22:14:05.2414340Z" + "x-ms-request-id" : "9ba99bcd-201a-0011-07fa-aa088f000000", + "x-ms-client-request-id" : "e5663429-dc0d-461e-90c6-ff44b26f5ab3", + "x-ms-file-last-write-time" : "2019-12-04T23:30:04.2703561Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrange1946742d3088a7/fileasyncapitestsuploadandclearrange25860fb0228c25?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrange835800ee0c1c81/fileasyncapitestsuploadandclearrange405174d66a61ab?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "27e759cf-599d-45cc-b531-541f39ad9ba4", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f10241bb-7b6f-4828-8438-5dc657a3855d", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F4771F677A", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "ETag" : "0x8D77911E40BBAC5", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c565-801a-00e0-3add-98d6fe000000", + "x-ms-request-id" : "9ba99bce-201a-0011-08fa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:04 GMT", - "x-ms-client-request-id" : "27e759cf-599d-45cc-b531-541f39ad9ba4", + "Date" : "Wed, 04 Dec 2019 23:30:04 GMT", + "x-ms-client-request-id" : "f10241bb-7b6f-4828-8438-5dc657a3855d", "Content-MD5" : "A5momLrihyOacM8O00uT1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrange1946742d3088a7/fileasyncapitestsuploadandclearrange25860fb0228c25?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrange835800ee0c1c81/fileasyncapitestsuploadandclearrange405174d66a61ab?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c6dcffbf-a7b0-436b-80e5-a8e1c87984f8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "103b4746-bff1-4f19-b6a9-7519b8821d26" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F4772B5142", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "ETag" : "0x8D77911E41A127E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c566-801a-00e0-3bdd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:04 GMT", - "x-ms-client-request-id" : "c6dcffbf-a7b0-436b-80e5-a8e1c87984f8" + "x-ms-request-id" : "9ba99bd0-201a-0011-09fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:04 GMT", + "x-ms-client-request-id" : "103b4746-bff1-4f19-b6a9-7519b8821d26" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrange1946742d3088a7/fileasyncapitestsuploadandclearrange25860fb0228c25", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrange835800ee0c1c81/fileasyncapitestsuploadandclearrange405174d66a61ab", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "052566d9-d99f-43a9-a654-0fb63e77829c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "78d9fc26-a0fb-4606-83a3-77ef0bf4162c" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:05.2414340Z", + "x-ms-file-creation-time" : "2019-12-04T23:30:04.2703561Z", "Content-Range" : "bytes 0-6/22", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:04 GMT", "retry-after" : "0", "StatusCode" : "206", "x-ms-file-attributes" : "Archive", "Content-Length" : "7", - "x-ms-request-id" : "5332c567-801a-00e0-3cdd-98d6fe000000", + "x-ms-request-id" : "9ba99bd1-201a-0011-0afa-aa088f000000", "Body" : "[0, 0, 0, 0, 0, 0, 0]", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "Date" : "Mon, 11 Nov 2019 22:14:04 GMT", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Wed, 04 Dec 2019 23:30:04 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D766F4772B5142", - "x-ms-file-change-time" : "2019-11-11T22:14:05.2414340Z", + "ETag" : "0x8D77911E41A127E", + "x-ms-file-change-time" : "2019-12-04T23:30:04.2703561Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "052566d9-d99f-43a9-a654-0fb63e77829c", - "x-ms-file-last-write-time" : "2019-11-11T22:14:05.2414340Z" + "x-ms-client-request-id" : "78d9fc26-a0fb-4606-83a3-77ef0bf4162c", + "x-ms-file-last-write-time" : "2019-12-04T23:30:04.2703561Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploadandclearrange1946742d3088a7", "fileasyncapitestsuploadandclearrange25860fb0228c25" ] + "variables" : [ "fileasyncapitestsuploadandclearrange835800ee0c1c81", "fileasyncapitestsuploadandclearrange405174d66a61ab" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndClearRangeWithArgs.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndClearRangeWithArgs.json index 8e222a2c2f0ad..63a0f1bbc42b9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndClearRangeWithArgs.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndClearRangeWithArgs.json @@ -1,135 +1,135 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs681660cd46?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs25877b71a9?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "200a57ae-e458-4974-ab20-cf3a02e8617e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "183aee9c-79c5-43c9-b654-b043a08e0af4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F477467A5E", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "ETag" : "0x8D77911E4612A6C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c56a-801a-00e0-3fdd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:05 GMT", - "x-ms-client-request-id" : "200a57ae-e458-4974-ab20-cf3a02e8617e" + "x-ms-request-id" : "9ba99bd4-201a-0011-0dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:04 GMT", + "x-ms-client-request-id" : "183aee9c-79c5-43c9-b654-b043a08e0af4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs681660cd46/fileasyncapitestsuploadandclearrangewithargs2668201099", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs25877b71a9/fileasyncapitestsuploadandclearrangewithargs32578c0535", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2945f540-bb7e-4040-9d35-1f853625ea9c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1cec3d85-b9ff-4210-a4d1-9ae0b3ec00ee" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:05.5797541Z", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:05.0223893Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:05 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:05 GMT", - "ETag" : "0x8D766F4774CEB25", + "Date" : "Wed, 04 Dec 2019 23:30:04 GMT", + "ETag" : "0x8D77911E470E715", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-11T22:14:05.5797541Z", + "x-ms-file-change-time" : "2019-12-04T23:30:05.0223893Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "5332c56c-801a-00e0-40dd-98d6fe000000", - "x-ms-client-request-id" : "2945f540-bb7e-4040-9d35-1f853625ea9c", - "x-ms-file-last-write-time" : "2019-11-11T22:14:05.5797541Z" + "x-ms-request-id" : "9ba99bd6-201a-0011-0efa-aa088f000000", + "x-ms-client-request-id" : "1cec3d85-b9ff-4210-a4d1-9ae0b3ec00ee", + "x-ms-file-last-write-time" : "2019-12-04T23:30:05.0223893Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs681660cd46/fileasyncapitestsuploadandclearrangewithargs2668201099?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs25877b71a9/fileasyncapitestsuploadandclearrangewithargs32578c0535?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d70cf658-ac46-41c7-b482-4387f278c682", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d35fcfc0-7c07-4618-a93b-4fc9b7ce8ca9", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F47752E009", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "ETag" : "0x8D77911E47DB6DB", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c56d-801a-00e0-41dd-98d6fe000000", + "x-ms-request-id" : "9ba99bd7-201a-0011-0ffa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:05 GMT", - "x-ms-client-request-id" : "d70cf658-ac46-41c7-b482-4387f278c682", + "Date" : "Wed, 04 Dec 2019 23:30:04 GMT", + "x-ms-client-request-id" : "d35fcfc0-7c07-4618-a93b-4fc9b7ce8ca9", "Content-MD5" : "A5momLrihyOacM8O00uT1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs681660cd46/fileasyncapitestsuploadandclearrangewithargs2668201099?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs25877b71a9/fileasyncapitestsuploadandclearrangewithargs32578c0535?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "57bd9a33-93e5-4cb3-8f4f-89d24d3ee84e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f025d6c-3510-4a7d-97ae-6201795cc8e7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F47758387E", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "ETag" : "0x8D77911E48A60D5", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c56f-801a-00e0-42dd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:05 GMT", - "x-ms-client-request-id" : "57bd9a33-93e5-4cb3-8f4f-89d24d3ee84e" + "x-ms-request-id" : "9ba99bd8-201a-0011-10fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:04 GMT", + "x-ms-client-request-id" : "7f025d6c-3510-4a7d-97ae-6201795cc8e7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs681660cd46/fileasyncapitestsuploadandclearrangewithargs2668201099", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadandclearrangewithargs25877b71a9/fileasyncapitestsuploadandclearrangewithargs32578c0535", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bdde933f-357d-4924-9dcf-dcab22a5750a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f36d1a38-4e1d-40ef-81ed-c8d47b84100b" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:05.5797541Z", + "x-ms-file-creation-time" : "2019-12-04T23:30:05.0223893Z", "Content-Range" : "bytes 1-7/22", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:05 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:05 GMT", "retry-after" : "0", "StatusCode" : "206", "x-ms-file-attributes" : "Archive", "Content-Length" : "7", - "x-ms-request-id" : "5332c570-801a-00e0-43dd-98d6fe000000", + "x-ms-request-id" : "9ba99bd9-201a-0011-11fa-aa088f000000", "Body" : "[0, 0, 0, 0, 0, 0, 0]", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "Date" : "Mon, 11 Nov 2019 22:14:05 GMT", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Wed, 04 Dec 2019 23:30:05 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D766F47758387E", - "x-ms-file-change-time" : "2019-11-11T22:14:05.5797541Z", + "ETag" : "0x8D77911E48A60D5", + "x-ms-file-change-time" : "2019-12-04T23:30:05.0223893Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "bdde933f-357d-4924-9dcf-dcab22a5750a", - "x-ms-file-last-write-time" : "2019-11-11T22:14:05.5797541Z" + "x-ms-client-request-id" : "f36d1a38-4e1d-40ef-81ed-c8d47b84100b", + "x-ms-file-last-write-time" : "2019-12-04T23:30:05.0223893Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploadandclearrangewithargs681660cd46", "fileasyncapitestsuploadandclearrangewithargs2668201099" ] + "variables" : [ "fileasyncapitestsuploadandclearrangewithargs25877b71a9", "fileasyncapitestsuploadandclearrangewithargs32578c0535" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadData.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadData.json index 68aebfaf8e24c..7709296cd1fc7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadData.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadData.json @@ -1,113 +1,113 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloaddata290293373709b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloaddata428314c213cbe?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "79af46d5-71b4-4d74-a26c-36d5c07b45ce" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2e69ff86-1003-4256-be88-4a5f229c96c8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7970F3FF", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:47 GMT", + "ETag" : "0x8D77911D9498E00", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e77c-f01a-00ef-3888-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "x-ms-client-request-id" : "79af46d5-71b4-4d74-a26c-36d5c07b45ce" + "x-ms-request-id" : "77a675fc-f01a-002d-09fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "2e69ff86-1003-4256-be88-4a5f229c96c8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloaddata290293373709b/fileasyncapitestsuploadanddownloaddata05404d64c2a98", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloaddata428314c213cbe/fileasyncapitestsuploadanddownloaddata290748934bbc0", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "50c31918-4bb1-4721-adbc-c2a5a02c8661" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5344c5c4-94f2-4436-9ea0-4b0b1d1be1ce" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:47.6794030Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:47 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:46.4062120Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "ETag" : "0x8D7519F798798AE", + "Date" : "Wed, 04 Dec 2019 23:29:45 GMT", + "ETag" : "0x8D77911D9584CA8", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:47.6794030Z", + "x-ms-file-change-time" : "2019-12-04T23:29:46.4062120Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e77e-f01a-00ef-3988-833b08000000", - "x-ms-client-request-id" : "50c31918-4bb1-4721-adbc-c2a5a02c8661", - "x-ms-file-last-write-time" : "2019-10-15T18:42:47.6794030Z" + "x-ms-request-id" : "77a675fe-f01a-002d-0afa-aa2148000000", + "x-ms-client-request-id" : "5344c5c4-94f2-4436-9ea0-4b0b1d1be1ce", + "x-ms-file-last-write-time" : "2019-12-04T23:29:46.4062120Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloaddata290293373709b/fileasyncapitestsuploadanddownloaddata05404d64c2a98?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloaddata428314c213cbe/fileasyncapitestsuploadanddownloaddata290748934bbc0?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "03790125-26ab-40eb-a9e0-271f5bb9aa6d", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4fdae273-22a0-4640-8423-162d44adf8ef", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F799A13D6", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:47 GMT", + "ETag" : "0x8D77911D9656C7E", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e77f-f01a-00ef-3a88-833b08000000", + "x-ms-request-id" : "77a675ff-f01a-002d-0bfa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "x-ms-client-request-id" : "03790125-26ab-40eb-a9e0-271f5bb9aa6d", + "Date" : "Wed, 04 Dec 2019 23:29:45 GMT", + "x-ms-client-request-id" : "4fdae273-22a0-4640-8423-162d44adf8ef", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloaddata290293373709b/fileasyncapitestsuploadanddownloaddata05404d64c2a98", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloaddata428314c213cbe/fileasyncapitestsuploadanddownloaddata290748934bbc0", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cd5aea7a-aa08-4f26-b9bb-3fa97d162933" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc920a7d-00af-4b00-b6e7-5d40facd05a1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:47.6794030Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:46.4062120Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:47 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", + "Date" : "Wed, 04 Dec 2019 23:29:45 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F799A13D6", + "ETag" : "0x8D77911D9656C7E", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:47.6794030Z", + "x-ms-file-change-time" : "2019-12-04T23:29:46.4062120Z", "x-ms-file-parent-id" : "0", "Content-Length" : "7", - "x-ms-request-id" : "89e9e780-f01a-00ef-3b88-833b08000000", + "x-ms-request-id" : "77a67600-f01a-002d-0cfa-aa2148000000", "Body" : "[100, 101, 102, 97, 117, 108, 116]", - "x-ms-client-request-id" : "cd5aea7a-aa08-4f26-b9bb-3fa97d162933", - "x-ms-file-last-write-time" : "2019-10-15T18:42:47.6794030Z", + "x-ms-client-request-id" : "fc920a7d-00af-4b00-b6e7-5d40facd05a1", + "x-ms-file-last-write-time" : "2019-12-04T23:29:46.4062120Z", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploadanddownloaddata290293373709b", "fileasyncapitestsuploadanddownloaddata05404d64c2a98" ] + "variables" : [ "fileasyncapitestsuploadanddownloaddata428314c213cbe", "fileasyncapitestsuploadanddownloaddata290748934bbc0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadDataWithArgs.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadDataWithArgs.json index 31e4d99982052..546275736c4bb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadDataWithArgs.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadDataWithArgs.json @@ -1,115 +1,115 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloaddatawithargs33982808a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloaddatawithargs966231247?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e573c099-eda0-49f0-95e3-a56b598d35c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7ecd9e06-a15e-4e4a-b603-df6848d2f1a1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F79B8E432", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:48 GMT", + "ETag" : "0x8D77911D997FC36", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e784-f01a-00ef-3e88-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "x-ms-client-request-id" : "e573c099-eda0-49f0-95e3-a56b598d35c6" + "x-ms-request-id" : "77a67604-f01a-002d-0ffa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "7ecd9e06-a15e-4e4a-b603-df6848d2f1a1" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloaddatawithargs33982808a/fileasyncapitestsuploadanddownloaddatawithargs4705276dc", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloaddatawithargs966231247/fileasyncapitestsuploadanddownloaddatawithargs104104cb4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "182a7b1d-9ddd-4f32-b21f-e60262bf2b73" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ebd75f5-f518-4b23-bb77-1bbc6a21ce44" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:48.0547654Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:48 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:46.9202658Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:47 GMT", - "ETag" : "0x8D7519F79C0DF46", + "Date" : "Wed, 04 Dec 2019 23:29:46 GMT", + "ETag" : "0x8D77911D9A6BCE2", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:48.0547654Z", + "x-ms-file-change-time" : "2019-12-04T23:29:46.9202658Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e786-f01a-00ef-3f88-833b08000000", - "x-ms-client-request-id" : "182a7b1d-9ddd-4f32-b21f-e60262bf2b73", - "x-ms-file-last-write-time" : "2019-10-15T18:42:48.0547654Z" + "x-ms-request-id" : "77a67606-f01a-002d-10fa-aa2148000000", + "x-ms-client-request-id" : "3ebd75f5-f518-4b23-bb77-1bbc6a21ce44", + "x-ms-file-last-write-time" : "2019-12-04T23:29:46.9202658Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloaddatawithargs33982808a/fileasyncapitestsuploadanddownloaddatawithargs4705276dc?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloaddatawithargs966231247/fileasyncapitestsuploadanddownloaddatawithargs104104cb4?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "040810dd-ae09-4a04-81f3-3f3b8b9a4598", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bad1377e-2839-456d-8231-55173ca02904", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F79D6686A", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:48 GMT", + "ETag" : "0x8D77911D9B44F82", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e787-f01a-00ef-4088-833b08000000", + "x-ms-request-id" : "77a67607-f01a-002d-11fa-aa2148000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:48 GMT", - "x-ms-client-request-id" : "040810dd-ae09-4a04-81f3-3f3b8b9a4598", + "Date" : "Wed, 04 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "bad1377e-2839-456d-8231-55173ca02904", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloaddatawithargs33982808a/fileasyncapitestsuploadanddownloaddatawithargs4705276dc", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloaddatawithargs966231247/fileasyncapitestsuploadanddownloaddatawithargs104104cb4", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ed59cca9-7f5f-4dd7-ae63-651145fa4ff9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bf0a4a2a-c4af-4582-a01c-af48d420a3ce" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:48.0547654Z", + "x-ms-file-creation-time" : "2019-12-04T23:29:46.9202658Z", "Content-Range" : "bytes 1-7/1024", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:48 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:47 GMT", "retry-after" : "0", "StatusCode" : "206", "x-ms-file-attributes" : "Archive", "Content-Length" : "7", - "x-ms-request-id" : "89e9e788-f01a-00ef-4188-833b08000000", + "x-ms-request-id" : "77a67609-f01a-002d-13fa-aa2148000000", "Body" : "[100, 101, 102, 97, 117, 108, 116]", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "Date" : "Tue, 15 Oct 2019 18:42:48 GMT", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Wed, 04 Dec 2019 23:29:46 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F79D6686A", - "x-ms-file-change-time" : "2019-10-15T18:42:48.0547654Z", + "ETag" : "0x8D77911D9B44F82", + "x-ms-file-change-time" : "2019-12-04T23:29:46.9202658Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "ed59cca9-7f5f-4dd7-ae63-651145fa4ff9", - "x-ms-file-last-write-time" : "2019-10-15T18:42:48.0547654Z" + "x-ms-client-request-id" : "bf0a4a2a-c4af-4582-a01c-af48d420a3ce", + "x-ms-file-last-write-time" : "2019-12-04T23:29:46.9202658Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploadanddownloaddatawithargs33982808a", "fileasyncapitestsuploadanddownloaddatawithargs4705276dc" ] + "variables" : [ "fileasyncapitestsuploadanddownloaddatawithargs966231247", "fileasyncapitestsuploadanddownloaddatawithargs104104cb4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadFileExists.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadFileExists.json index 293e61dec771d..d753b4e732b07 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadFileExists.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadFileExists.json @@ -1,78 +1,78 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloadfileexists093615cb77?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloadfileexists86434cb261?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ce66f0cb-51ff-4ee3-870a-31a8940d542c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "83f8cb96-9324-4173-8497-61e49ab959ab" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7D324912", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:53 GMT", + "ETag" : "0x8D77911E5912000", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489d5-a01a-0116-5a88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:52 GMT", - "x-ms-client-request-id" : "ce66f0cb-51ff-4ee3-870a-31a8940d542c" + "x-ms-request-id" : "9ba99bf4-201a-0011-27fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:06 GMT", + "x-ms-client-request-id" : "83f8cb96-9324-4173-8497-61e49ab959ab" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloadfileexists093615cb77/fileasyncapitestsuploadanddownloadfileexists622554cbd4", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloadfileexists86434cb261/fileasyncapitestsuploadanddownloadfileexists57848d1bbd", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "079eeac0-2bcd-4c80-866d-685343ebcef9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b1610bcc-a879-481b-a1f9-686c5890743e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:53.8813882Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:53 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:07.0163602Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:07 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:53 GMT", - "ETag" : "0x8D7519F7D39F1BA", + "Date" : "Wed, 04 Dec 2019 23:30:06 GMT", + "ETag" : "0x8D77911E5A12892", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:53.8813882Z", + "x-ms-file-change-time" : "2019-12-04T23:30:07.0163602Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e489d7-a01a-0116-5b88-83b7bd000000", - "x-ms-client-request-id" : "079eeac0-2bcd-4c80-866d-685343ebcef9", - "x-ms-file-last-write-time" : "2019-10-15T18:42:53.8813882Z" + "x-ms-request-id" : "9ba99bf6-201a-0011-28fa-aa088f000000", + "x-ms-client-request-id" : "b1610bcc-a879-481b-a1f9-686c5890743e", + "x-ms-file-last-write-time" : "2019-12-04T23:30:07.0163602Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloadfileexists093615cb77/fileasyncapitestsuploadanddownloadfileexists622554cbd4?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloadfileexists86434cb261/fileasyncapitestsuploadanddownloadfileexists57848d1bbd?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a713eeb4-89a2-40de-9435-5e4a4499e102", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d873d181-ecee-4913-b3ed-16e7d007cb69", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7D40830B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:53 GMT", + "ETag" : "0x8D77911E5AE6EE5", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489d9-a01a-0116-5c88-83b7bd000000", + "x-ms-request-id" : "9ba99bf8-201a-0011-2afa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:53 GMT", - "x-ms-client-request-id" : "a713eeb4-89a2-40de-9435-5e4a4499e102", + "Date" : "Wed, 04 Dec 2019 23:30:06 GMT", + "x-ms-client-request-id" : "d873d181-ecee-4913-b3ed-16e7d007cb69", "Content-MD5" : "SBhvnLsTIqH+vn9SjVscdA==" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploadanddownloadfileexists093615cb77", "fileasyncapitestsuploadanddownloadfileexists622554cbd4" ] + "variables" : [ "fileasyncapitestsuploadanddownloadfileexists86434cb261", "fileasyncapitestsuploadanddownloadfileexists57848d1bbd" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadToFileDoesNotExist.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadToFileDoesNotExist.json index a5e86ea02bf09..af88a5beca504 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadToFileDoesNotExist.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadAndDownloadToFileDoesNotExist.json @@ -1,147 +1,147 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist327650?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist62591a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "31ef2001-3a73-4700-85aa-0401219e7567" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47f346db-59ed-40c1-83bf-489ee027b12c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7D57DB85", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:54 GMT", + "ETag" : "0x8D77911E5D3A5D2", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489dc-a01a-0116-5f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:53 GMT", - "x-ms-client-request-id" : "31ef2001-3a73-4700-85aa-0401219e7567" + "x-ms-request-id" : "9ba99c00-201a-0011-32fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", + "x-ms-client-request-id" : "47f346db-59ed-40c1-83bf-489ee027b12c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist327650/fileasyncapitestsuploadanddownloadtofiledoesnotexist136068", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist62591a/fileasyncapitestsuploadanddownloadtofiledoesnotexist230707", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f7d5e809-e419-4361-bdd6-512494e9f2c9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4d7576cc-dc06-4f90-bcd8-bab8eb802602" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:54.1426396Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:54 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:07.4473634Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:07 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:53 GMT", - "ETag" : "0x8D7519F7D61CEDC", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", + "ETag" : "0x8D77911E5E2ECA2", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:54.1426396Z", + "x-ms-file-change-time" : "2019-12-04T23:30:07.4473634Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e489de-a01a-0116-6088-83b7bd000000", - "x-ms-client-request-id" : "f7d5e809-e419-4361-bdd6-512494e9f2c9", - "x-ms-file-last-write-time" : "2019-10-15T18:42:54.1426396Z" + "x-ms-request-id" : "9ba99c02-201a-0011-33fa-aa088f000000", + "x-ms-client-request-id" : "4d7576cc-dc06-4f90-bcd8-bab8eb802602", + "x-ms-file-last-write-time" : "2019-12-04T23:30:07.4473634Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist327650/fileasyncapitestsuploadanddownloadtofiledoesnotexist136068?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist62591a/fileasyncapitestsuploadanddownloadtofiledoesnotexist230707?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bc4a48ef-fc40-409c-a50b-3a24aec1d56a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "75640125-3983-4a5c-ac73-10f02935a8f6", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7D67EAD9", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:54 GMT", + "ETag" : "0x8D77911E5F00C08", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489df-a01a-0116-6188-83b7bd000000", + "x-ms-request-id" : "9ba99c07-201a-0011-38fa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:53 GMT", - "x-ms-client-request-id" : "bc4a48ef-fc40-409c-a50b-3a24aec1d56a", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", + "x-ms-client-request-id" : "75640125-3983-4a5c-ac73-10f02935a8f6", "Content-MD5" : "1tRkiflHQxQzG0ItV6HNAg==" }, "Exception" : null }, { "Method" : "HEAD", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist327650/fileasyncapitestsuploadanddownloadtofiledoesnotexist136068", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist62591a/fileasyncapitestsuploadanddownloadtofiledoesnotexist230707", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d4f3435e-edf3-42ee-a29c-aa60e9165f8b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63793a93-3b89-4ec2-b4d6-d23a6aafc32f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:54.1426396Z", + "x-ms-file-creation-time" : "2019-12-04T23:30:07.4473634Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:54 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:07 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:42:53 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F7D67EAD9", + "ETag" : "0x8D77911E5F00C08", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:54.1426396Z", + "x-ms-file-change-time" : "2019-12-04T23:30:07.4473634Z", "x-ms-file-parent-id" : "0", "Content-Length" : "28", - "x-ms-request-id" : "83e489e0-a01a-0116-6288-83b7bd000000", - "x-ms-client-request-id" : "d4f3435e-edf3-42ee-a29c-aa60e9165f8b", - "x-ms-file-last-write-time" : "2019-10-15T18:42:54.1426396Z", + "x-ms-request-id" : "9ba99c0a-201a-0011-3bfa-aa088f000000", + "x-ms-client-request-id" : "63793a93-3b89-4ec2-b4d6-d23a6aafc32f", + "x-ms-file-last-write-time" : "2019-12-04T23:30:07.4473634Z", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist327650/fileasyncapitestsuploadanddownloadtofiledoesnotexist136068", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadanddownloadtofiledoesnotexist62591a/fileasyncapitestsuploadanddownloadtofiledoesnotexist230707", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "78c80b32-cd24-4452-8459-484e148b9c15" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "92d79fea-b383-4609-abcb-890e6dc71d5a" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:54.1426396Z", + "x-ms-file-creation-time" : "2019-12-04T23:30:07.4473634Z", "Content-Range" : "bytes 0-27/28", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:54 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:07 GMT", "retry-after" : "0", "StatusCode" : "206", "x-ms-file-attributes" : "Archive", "Content-Length" : "28", - "x-ms-request-id" : "83e489e1-a01a-0116-6388-83b7bd000000", + "x-ms-request-id" : "9ba99c0f-201a-0011-40fa-aa088f000000", "Body" : "[68, 111, 119, 110, 108, 111, 97, 100, 32, 102, 105, 108, 101, 32, 100, 111, 101, 115, 32, 110, 111, 116, 32, 101, 120, 105, 115, 116]", "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "Date" : "Tue, 15 Oct 2019 18:42:53 GMT", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D7519F7D67EAD9", - "x-ms-file-change-time" : "2019-10-15T18:42:54.1426396Z", + "ETag" : "0x8D77911E5F00C08", + "x-ms-file-change-time" : "2019-12-04T23:30:07.4473634Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "78c80b32-cd24-4452-8459-484e148b9c15", - "x-ms-file-last-write-time" : "2019-10-15T18:42:54.1426396Z" + "x-ms-client-request-id" : "92d79fea-b383-4609-abcb-890e6dc71d5a", + "x-ms-file-last-write-time" : "2019-12-04T23:30:07.4473634Z" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploadanddownloadtofiledoesnotexist327650", "fileasyncapitestsuploadanddownloadtofiledoesnotexist136068" ] + "variables" : [ "fileasyncapitestsuploadanddownloadtofiledoesnotexist62591a", "fileasyncapitestsuploadanddownloadtofiledoesnotexist230707" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataError.json index 9549531c2233f..90ecbdae1e6e3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataError.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploaddataerror05426b580aadbefa?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploaddataerror170489590ab360dc?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c1ac73f-dd6b-46b5-8058-90e3a437c0cd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c36a8d26-1050-4a61-90cd-424522c5bc56" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F79F33C80", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:48 GMT", + "ETag" : "0x8D77911D9E4E3E4", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e78b-f01a-00ef-4488-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:48 GMT", - "x-ms-client-request-id" : "0c1ac73f-dd6b-46b5-8058-90e3a437c0cd" + "x-ms-request-id" : "77a6760d-f01a-002d-16fa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "c36a8d26-1050-4a61-90cd-424522c5bc56" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploaddataerror05426b580aadbefa/fileasyncapitestsuploaddataerror64210e9edde9c080?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploaddataerror170489590ab360dc/fileasyncapitestsuploaddataerror17045c9e89af84cb?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "18ccc9cc-7b77-4fb7-a410-a06bc2e8529e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3d5aa72-d5c0-49bb-9854-1ca88e27aa59", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "89e9e78d-f01a-00ef-4588-833b08000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:89e9e78d-f01a-00ef-4588-833b08000000\nTime:2019-10-15T18:42:48.8833125Z", - "Date" : "Tue, 15 Oct 2019 18:42:48 GMT", - "x-ms-client-request-id" : "18ccc9cc-7b77-4fb7-a410-a06bc2e8529e", + "x-ms-request-id" : "77a6760f-f01a-002d-17fa-aa2148000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:77a6760f-f01a-002d-17fa-aa2148000000\nTime:2019-12-04T23:29:47.4185872Z", + "Date" : "Wed, 04 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "c3d5aa72-d5c0-49bb-9854-1ca88e27aa59", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploaddataerror05426b580aadbefa", "fileasyncapitestsuploaddataerror64210e9edde9c080" ] + "variables" : [ "fileasyncapitestsuploaddataerror170489590ab360dc", "fileasyncapitestsuploaddataerror17045c9e89af84cb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataLengthMismatch0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataLengthMismatch0.json index bbd0c8ffcada8..75deec6c86a6a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataLengthMismatch0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataLengthMismatch0.json @@ -1,61 +1,61 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch04018933c8d1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch049057cfefb8?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5589cdd0-1a62-4a5d-8a54-f9007dd4ec54" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f3471e9-9676-4be6-97fb-78ebdae0dd70" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7A5D632B", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:49 GMT", + "ETag" : "0x8D77911DA162D23", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "89e9e790-f01a-00ef-4888-833b08000000", - "Date" : "Tue, 15 Oct 2019 18:42:48 GMT", - "x-ms-client-request-id" : "5589cdd0-1a62-4a5d-8a54-f9007dd4ec54" + "x-ms-request-id" : "77a67617-f01a-002d-1efa-aa2148000000", + "Date" : "Wed, 04 Dec 2019 23:29:46 GMT", + "x-ms-client-request-id" : "4f3471e9-9676-4be6-97fb-78ebdae0dd70" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch04018933c8d1/fileasyncapitestsuploaddatalengthmismatch044391d135bc", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch049057cfefb8/fileasyncapitestsuploaddatalengthmismatch02257058b795", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad28e04f-1be3-4e1c-af9f-a216221d2323" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ae72ebe-6b50-49d5-bd2b-dea4fb8dd703" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:49.1388116Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:49 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:47.7492306Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:49 GMT", - "ETag" : "0x8D7519F7A6648D4", + "Date" : "Wed, 04 Dec 2019 23:29:46 GMT", + "ETag" : "0x8D77911DA253A52", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:49.1388116Z", + "x-ms-file-change-time" : "2019-12-04T23:29:47.7492306Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "89e9e792-f01a-00ef-4988-833b08000000", - "x-ms-client-request-id" : "ad28e04f-1be3-4e1c-af9f-a216221d2323", - "x-ms-file-last-write-time" : "2019-10-15T18:42:49.1388116Z" + "x-ms-request-id" : "77a6761b-f01a-002d-21fa-aa2148000000", + "x-ms-client-request-id" : "3ae72ebe-6b50-49d5-bd2b-dea4fb8dd703", + "x-ms-file-last-write-time" : "2019-12-04T23:29:47.7492306Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch04018933c8d1/fileasyncapitestsuploaddatalengthmismatch044391d135bc?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch049057cfefb8/fileasyncapitestsuploaddatalengthmismatch02257058b795?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7403f561-5f7a-478f-82a6-f4ef5930f945", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c286be97-1f4d-4d2c-b300-2bc1c6bef8d3", "Content-Type" : "application/octet-stream" }, "Response" : null, @@ -64,5 +64,5 @@ "ErrorMessage" : "Request body emitted 7 bytes more than the expected 6 bytes." } } ], - "variables" : [ "fileasyncapitestsuploaddatalengthmismatch04018933c8d1", "fileasyncapitestsuploaddatalengthmismatch044391d135bc" ] + "variables" : [ "fileasyncapitestsuploaddatalengthmismatch049057cfefb8", "fileasyncapitestsuploaddatalengthmismatch02257058b795" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataLengthMismatch1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataLengthMismatch1.json index 0a870f4e008cd..e53a1bba964bd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataLengthMismatch1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadDataLengthMismatch1.json @@ -1,61 +1,61 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch150073bad866?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch149105905655?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b03eb667-cff5-4822-bbd0-3f326a914e80" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1d9730b6-c02e-40e8-90ff-be02224a93b6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7BBB7F8F", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:51 GMT", + "ETag" : "0x8D77911DA6FBF22", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5d792d50-d01a-0112-4088-83423f000000", - "Date" : "Tue, 15 Oct 2019 18:42:50 GMT", - "x-ms-client-request-id" : "b03eb667-cff5-4822-bbd0-3f326a914e80" + "x-ms-request-id" : "cfc03fdb-101a-0025-7efa-aa3b47000000", + "Date" : "Wed, 04 Dec 2019 23:29:48 GMT", + "x-ms-client-request-id" : "1d9730b6-c02e-40e8-90ff-be02224a93b6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch150073bad866/fileasyncapitestsuploaddatalengthmismatch1166380b3b95", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch149105905655/fileasyncapitestsuploaddatalengthmismatch196131970c3e", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f6c56e71-618d-4a2b-b089-4259691532a3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0b861ae6-2a63-496c-bca0-82ca0f5d00db" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:42:51.4850751Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:51 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:29:48.3352661Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:29:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:42:50 GMT", - "ETag" : "0x8D7519F7BCC4BBF", + "Date" : "Wed, 04 Dec 2019 23:29:48 GMT", + "ETag" : "0x8D77911DA7EA655", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:42:51.4850751Z", + "x-ms-file-change-time" : "2019-12-04T23:29:48.3352661Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "5d792d53-d01a-0112-4188-83423f000000", - "x-ms-client-request-id" : "f6c56e71-618d-4a2b-b089-4259691532a3", - "x-ms-file-last-write-time" : "2019-10-15T18:42:51.4850751Z" + "x-ms-request-id" : "cfc03fe3-101a-0025-05fa-aa3b47000000", + "x-ms-client-request-id" : "0b861ae6-2a63-496c-bca0-82ca0f5d00db", + "x-ms-file-last-write-time" : "2019-12-04T23:29:48.3352661Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch150073bad866/fileasyncapitestsuploaddatalengthmismatch1166380b3b95?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploaddatalengthmismatch149105905655/fileasyncapitestsuploaddatalengthmismatch196131970c3e?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "79f4136a-a250-4724-af84-f237fa2c15e0", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "125f786e-2dde-4583-bf9e-c2a3fd1f86a7", "Content-Type" : "application/octet-stream" }, "Response" : null, @@ -64,5 +64,5 @@ "ErrorMessage" : "Request body emitted 7 bytes less than the expected 8 bytes." } } ], - "variables" : [ "fileasyncapitestsuploaddatalengthmismatch150073bad866", "fileasyncapitestsuploaddatalengthmismatch1166380b3b95" ] + "variables" : [ "fileasyncapitestsuploaddatalengthmismatch149105905655", "fileasyncapitestsuploaddatalengthmismatch196131970c3e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFileDoesNotExist.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFileDoesNotExist.json index a82124e0d945f..694d177c567bb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFileDoesNotExist.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFileDoesNotExist.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadfiledoesnotexist72434b5d57a97?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfiledoesnotexist44189dd187512?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a982b3d0-03a6-4b40-a6eb-ad9b5efb6ef7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5712ce83-7152-4d45-a916-006b8d4b6991" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F7D1C23AA", - "Last-Modified" : "Tue, 15 Oct 2019 18:42:53 GMT", + "ETag" : "0x8D77911E56A0EE6", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e489d1-a01a-0116-5788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:42:52 GMT", - "x-ms-client-request-id" : "a982b3d0-03a6-4b40-a6eb-ad9b5efb6ef7" + "x-ms-request-id" : "9ba99bee-201a-0011-23fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:06 GMT", + "x-ms-client-request-id" : "5712ce83-7152-4d45-a916-006b8d4b6991" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploadfiledoesnotexist72434b5d57a97", "fileasyncapitestsuploadfiledoesnotexist59272e8ebf883" ] + "variables" : [ "fileasyncapitestsuploadfiledoesnotexist44189dd187512", "fileasyncapitestsuploadfiledoesnotexist05015c0a42fd6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFromFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFromFileLease.json new file mode 100644 index 0000000000000..63c25d2f2f388 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFromFileLease.json @@ -0,0 +1,100 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfromfilelease3558837c450ada?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "9dd42110-3ffc-48a5-9927-4774c9b39ef4" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC45CE2BA", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:30 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd22-501a-0034-7e27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:29 GMT", + "x-ms-client-request-id" : "9dd42110-3ffc-48a5-9927-4774c9b39ef4" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfromfilelease3558837c450ada/fileasyncapitestsuploadfromfilelease81206067b2d4a9", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "063af38c-3a4c-4056-9174-86f868929aa9" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:30.2951231Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:29 GMT", + "ETag" : "0x8D7833EC46DBB3F", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:30.2951231Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bd27-501a-0034-0227-b5a1f3000000", + "x-ms-client-request-id" : "063af38c-3a4c-4056-9174-86f868929aa9", + "x-ms-file-last-write-time" : "2019-12-17T22:16:30.2951231Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfromfilelease3558837c450ada/fileasyncapitestsuploadfromfilelease81206067b2d4a9?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "43056d07-b801-49e8-9fb8-3f2bd79e3ea6" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC46DBB3F", + "x-ms-lease-id" : "d569386e-dd88-40c8-8265-1d33d1dc09f7", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd2b-501a-0034-0627-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:29 GMT", + "x-ms-client-request-id" : "43056d07-b801-49e8-9fb8-3f2bd79e3ea6" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfromfilelease3558837c450ada/fileasyncapitestsuploadfromfilelease81206067b2d4a9?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "ccf7c492-b36c-4bed-9324-05f70293508d", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC48B55E2", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:30 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd2f-501a-0034-0927-b5a1f3000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:30 GMT", + "x-ms-client-request-id" : "ccf7c492-b36c-4bed-9324-05f70293508d", + "Content-MD5" : "DzQ7CTESaiDxM9Z8KwGKOw==" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsuploadfromfilelease3558837c450ada", "fileasyncapitestsuploadfromfilelease81206067b2d4a9", "filefileasyncapitestsuploadfromfileleasee1d302830a274b" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFromFileLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFromFileLeaseFail.json new file mode 100644 index 0000000000000..d5524e34c97c4 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadFromFileLeaseFail.json @@ -0,0 +1,99 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfromfileleasefail149934c37ad4?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "10e8003d-9a3f-4bc5-9715-3d6c17006724" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783F900ECED06", + "Last-Modified" : "Wed, 18 Dec 2019 20:29:38 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "581da6a0-701a-0023-7ae1-b508f8000000", + "Date" : "Wed, 18 Dec 2019 20:29:37 GMT", + "x-ms-client-request-id" : "10e8003d-9a3f-4bc5-9715-3d6c17006724" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfromfileleasefail149934c37ad4/fileasyncapitestsuploadfromfileleasefail83427c26f207", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "76d1e555-9a4b-421c-b786-95ff673c5497" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-18T20:29:38.5864399Z", + "Last-Modified" : "Wed, 18 Dec 2019 20:29:38 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Wed, 18 Dec 2019 20:29:37 GMT", + "ETag" : "0x8D783F9012A60CF", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-18T20:29:38.5864399Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "581da6af-701a-0023-06e1-b508f8000000", + "x-ms-client-request-id" : "76d1e555-9a4b-421c-b786-95ff673c5497", + "x-ms-file-last-write-time" : "2019-12-18T20:29:38.5864399Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfromfileleasefail149934c37ad4/fileasyncapitestsuploadfromfileleasefail83427c26f207?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "2fecee8c-e258-4daf-aaf6-46b2ffb46eaf" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D783F9012A60CF", + "x-ms-lease-id" : "34b88a76-f03b-472c-91ad-444601ffb941", + "Last-Modified" : "Wed, 18 Dec 2019 20:29:38 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "581da6c8-701a-0023-1fe1-b508f8000000", + "Date" : "Wed, 18 Dec 2019 20:29:38 GMT", + "x-ms-client-request-id" : "2fecee8c-e258-4daf-aaf6-46b2ffb46eaf" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadfromfileleasefail149934c37ad4/fileasyncapitestsuploadfromfileleasefail83427c26f207?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "b91dfd22-168a-4629-8be7-45b9227bfea7", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "581da6d8-701a-0023-2ee1-b508f8000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:581da6d8-701a-0023-2ee1-b508f8000000\nTime:2019-12-18T20:29:38.9574091Z", + "Date" : "Wed, 18 Dec 2019 20:29:38 GMT", + "x-ms-client-request-id" : "b91dfd22-168a-4629-8be7-45b9227bfea7", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsuploadfromfileleasefail149934c37ad4", "fileasyncapitestsuploadfromfileleasefail83427c26f207", "filefileasyncapitestsuploadfromfileleasefailde6003599d14", "8a8de7b7-9f20-4f8d-8a0d-a3f7b28397b6" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadLease.json new file mode 100644 index 0000000000000..e1eeb4f71e8a5 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadLease.json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadlease043528e0dd2612b764?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d77720c0-2487-4344-8fc5-dc1cecb51ba3" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EBF731522", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:21 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "b0a6b0ad-201a-002e-3927-b5c02c000000", + "Date" : "Tue, 17 Dec 2019 22:16:21 GMT", + "x-ms-client-request-id" : "d77720c0-2487-4344-8fc5-dc1cecb51ba3" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadlease043528e0dd2612b764/fileasyncapitestsuploadlease2485191ebe2df879e4", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "83c4d1eb-0844-4136-9548-46ca071efc2a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:22.0440915Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:22 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:21 GMT", + "ETag" : "0x8D7833EBF82B953", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:22.0440915Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "b0a6b0b0-201a-002e-3b27-b5c02c000000", + "x-ms-client-request-id" : "83c4d1eb-0844-4136-9548-46ca071efc2a", + "x-ms-file-last-write-time" : "2019-12-17T22:16:22.0440915Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadlease043528e0dd2612b764/fileasyncapitestsuploadlease2485191ebe2df879e4?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "2f7bfdc0-9476-4593-aec5-e202c1d331cd" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EBF82B953", + "x-ms-lease-id" : "e4264ada-e9c1-4442-a2c0-bf505235e7cf", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:22 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "b0a6b0b4-201a-002e-3f27-b5c02c000000", + "Date" : "Tue, 17 Dec 2019 22:16:21 GMT", + "x-ms-client-request-id" : "2f7bfdc0-9476-4593-aec5-e202c1d331cd" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsuploadlease043528e0dd2612b764", "fileasyncapitestsuploadlease2485191ebe2df879e4" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadLeaseFail.json new file mode 100644 index 0000000000000..c7a865c1f1ab0 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadLeaseFail.json @@ -0,0 +1,99 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadleasefail591277e73a063fea?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "739ae0fd-178f-4e7a-823d-702964cf903f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EBFB57546", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:22 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "b0a6b0c2-201a-002e-4b27-b5c02c000000", + "Date" : "Tue, 17 Dec 2019 22:16:21 GMT", + "x-ms-client-request-id" : "739ae0fd-178f-4e7a-823d-702964cf903f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadleasefail591277e73a063fea/fileasyncapitestsuploadleasefail35799ca973f2c8dc", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "e72edbb0-9e63-4ae2-b129-a4e7466cedd0" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:22.4770958Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:22 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:21 GMT", + "ETag" : "0x8D7833EBFC4CB8E", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:22.4770958Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "b0a6b0c7-201a-002e-4f27-b5c02c000000", + "x-ms-client-request-id" : "e72edbb0-9e63-4ae2-b129-a4e7466cedd0", + "x-ms-file-last-write-time" : "2019-12-17T22:16:22.4770958Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadleasefail591277e73a063fea/fileasyncapitestsuploadleasefail35799ca973f2c8dc?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "9d12d06e-8377-41be-93a6-23f22288e99c" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EBFC4CB8E", + "x-ms-lease-id" : "35e43da5-37f0-4c7d-b37f-931bf0c9a70e", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:22 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "b0a6b0c9-201a-002e-5127-b5c02c000000", + "Date" : "Tue, 17 Dec 2019 22:16:21 GMT", + "x-ms-client-request-id" : "9d12d06e-8377-41be-93a6-23f22288e99c" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadleasefail591277e73a063fea/fileasyncapitestsuploadleasefail35799ca973f2c8dc?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "3ee91877-ea68-4091-961f-869dbbc05f05", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "b0a6b0cc-201a-002e-5427-b5c02c000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:b0a6b0cc-201a-002e-5427-b5c02c000000\nTime:2019-12-17T22:16:22.6465842Z", + "Date" : "Tue, 17 Dec 2019 22:16:21 GMT", + "x-ms-client-request-id" : "3ee91877-ea68-4091-961f-869dbbc05f05", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsuploadleasefail591277e73a063fea", "fileasyncapitestsuploadleasefail35799ca973f2c8dc", "ca368779-ebe0-4ab3-b7dc-2de832cd9f14" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURL.json index 4f49f2f277f7f..a1c9463a5d452 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURL.json @@ -1,165 +1,165 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadrangefromurl484297529b1d096?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurl006096a71f1511b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "38c2572f-2b86-41ce-80c5-05dd7a12bc3b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4ad66e1d-64f6-478e-8813-2a80337cac68" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F4783112C0", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:07 GMT", + "ETag" : "0x8D77911E62FCF29", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c594-801a-00e0-61dd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:06 GMT", - "x-ms-client-request-id" : "38c2572f-2b86-41ce-80c5-05dd7a12bc3b" + "x-ms-request-id" : "9ba99c12-201a-0011-43fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", + "x-ms-client-request-id" : "4ad66e1d-64f6-478e-8813-2a80337cac68" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadrangefromurl484297529b1d096/fileasyncapitestsuploadrangefromurl46364fc3ae2e06d", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurl006096a71f1511b/fileasyncapitestsuploadrangefromurl54006fb7a70dd40", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c677aff0-d8da-4f1c-8fa7-a19b73d755ac" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1c0b5323-2f4a-4019-900e-4024ed6774d5" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:07.1192114Z", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:07 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:08.0523726Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:08 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:06 GMT", - "ETag" : "0x8D766F47837D232", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", + "ETag" : "0x8D77911E63F3DCE", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-11T22:14:07.1192114Z", + "x-ms-file-change-time" : "2019-12-04T23:30:08.0523726Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "5332c596-801a-00e0-62dd-98d6fe000000", - "x-ms-client-request-id" : "c677aff0-d8da-4f1c-8fa7-a19b73d755ac", - "x-ms-file-last-write-time" : "2019-11-11T22:14:07.1192114Z" + "x-ms-request-id" : "9ba99c15-201a-0011-45fa-aa088f000000", + "x-ms-client-request-id" : "1c0b5323-2f4a-4019-900e-4024ed6774d5", + "x-ms-file-last-write-time" : "2019-12-04T23:30:08.0523726Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadrangefromurl484297529b1d096/fileasyncapitestsuploadrangefromurl46364fc3ae2e06d?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurl006096a71f1511b/fileasyncapitestsuploadrangefromurl54006fb7a70dd40?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f1ef8155-af49-4910-a4eb-507fb073195f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "329cda51-ddb8-4c53-8263-9982aa6836ec", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F4783D9FFE", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:07 GMT", + "ETag" : "0x8D77911E64C0EF0", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c597-801a-00e0-63dd-98d6fe000000", + "x-ms-request-id" : "9ba99c17-201a-0011-47fa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:06 GMT", - "x-ms-client-request-id" : "f1ef8155-af49-4910-a4eb-507fb073195f", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", + "x-ms-client-request-id" : "329cda51-ddb8-4c53-8263-9982aa6836ec", "Content-MD5" : "nhB9nTcrtoJr2B01QqQZ1g==" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadrangefromurl484297529b1d096/fileasyncapitestsuploadrangefromurl46364fc3ae2e06d", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurl006096a71f1511b/fileasyncapitestsuploadrangefromurl54006fb7a70dd40", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0bc0b24d-4148-401f-9405-a820efe15015" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "714afb13-5c29-400c-a5ef-c8a0fa442584" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:07.1922803Z", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:07 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:08.2183684Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:08 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:06 GMT", - "ETag" : "0x8D766F47842F873", + "Date" : "Wed, 04 Dec 2019 23:30:07 GMT", + "ETag" : "0x8D77911E6589204", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-11T22:14:07.1922803Z", + "x-ms-file-change-time" : "2019-12-04T23:30:08.2183684Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "5332c598-801a-00e0-64dd-98d6fe000000", - "x-ms-client-request-id" : "0bc0b24d-4148-401f-9405-a820efe15015", - "x-ms-file-last-write-time" : "2019-11-11T22:14:07.1922803Z" + "x-ms-request-id" : "9ba99c1b-201a-0011-4bfa-aa088f000000", + "x-ms-client-request-id" : "714afb13-5c29-400c-a5ef-c8a0fa442584", + "x-ms-file-last-write-time" : "2019-12-04T23:30:08.2183684Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadrangefromurl484297529b1d096/fileasyncapitestsuploadrangefromurl46364fc3ae2e06d?comp=range", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurl006096a71f1511b/fileasyncapitestsuploadrangefromurl54006fb7a70dd40?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "14b3d9c0-fe85-4885-8ef7-dfa26d8e4fd7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1b2af421-e49b-4b4e-a1ad-045e95dcf928" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F4789C51A1", + "ETag" : "0x8D77911E6819DF3", "x-ms-content-crc64" : "9TRwg1LzFO0=", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:07 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c599-801a-00e0-65dd-98d6fe000000", + "x-ms-request-id" : "9ba99c1d-201a-0011-4dfa-aa088f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 11 Nov 2019 22:14:07 GMT", - "x-ms-client-request-id" : "14b3d9c0-fe85-4885-8ef7-dfa26d8e4fd7" + "Date" : "Wed, 04 Dec 2019 23:30:08 GMT", + "x-ms-client-request-id" : "1b2af421-e49b-4b4e-a1ad-045e95dcf928" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileasyncapitestsuploadrangefromurl484297529b1d096/fileasyncapitestsuploadrangefromurl46364fc3ae2e06d", + "Uri" : "https://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurl006096a71f1511b/fileasyncapitestsuploadrangefromurl54006fb7a70dd40", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3e7abfd7-c7fe-4100-807a-76829b4b89f2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7597c8b-941d-46bb-b0dd-84099a5cb4b7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-11T22:14:07.1922803Z", + "x-ms-file-creation-time" : "2019-12-04T23:30:08.2183684Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:07 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Mon, 11 Nov 2019 22:14:07 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:08 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D766F4789C51A1", + "ETag" : "0x8D77911E6819DF3", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-11T22:14:07.1922803Z", + "x-ms-file-change-time" : "2019-12-04T23:30:08.2183684Z", "x-ms-file-parent-id" : "0", "Content-Length" : "1024", - "x-ms-request-id" : "5332c59c-801a-00e0-67dd-98d6fe000000", + "x-ms-request-id" : "9ba99c20-201a-0011-50fa-aa088f000000", "Body" : "[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]", - "x-ms-client-request-id" : "3e7abfd7-c7fe-4100-807a-76829b4b89f2", - "x-ms-file-last-write-time" : "2019-11-11T22:14:07.1922803Z", + "x-ms-client-request-id" : "b7597c8b-941d-46bb-b0dd-84099a5cb4b7", + "x-ms-file-last-write-time" : "2019-12-04T23:30:08.2183684Z", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "fileasyncapitestsuploadrangefromurl484297529b1d096", "fileasyncapitestsuploadrangefromurl46364fc3ae2e06d", "2019-11-11T22:14:07.174469Z" ] + "variables" : [ "fileasyncapitestsuploadrangefromurl006096a71f1511b", "fileasyncapitestsuploadrangefromurl54006fb7a70dd40", "2019-12-04T23:30:08.136452600Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURLLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURLLease.json new file mode 100644 index 0000000000000..3be7c2292beca --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURLLease.json @@ -0,0 +1,152 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurllease49763170c55e?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "4c3af521-7745-4df6-9fdd-a0fe4970caff" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC6492289", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:33 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd71-501a-0034-4527-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:32 GMT", + "x-ms-client-request-id" : "4c3af521-7745-4df6-9fdd-a0fe4970caff" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurllease49763170c55e/fileasyncapitestsuploadrangefromurllease319845d0d1bc", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "ecdb8c21-e04c-45de-81f1-2f2c07c548a7" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:33.5160980Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:33 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:33 GMT", + "ETag" : "0x8D7833EC6593694", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:33.5160980Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bd74-501a-0034-4727-b5a1f3000000", + "x-ms-client-request-id" : "ecdb8c21-e04c-45de-81f1-2f2c07c548a7", + "x-ms-file-last-write-time" : "2019-12-17T22:16:33.5160980Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurllease49763170c55e/fileasyncapitestsuploadrangefromurllease319845d0d1bc?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d701fdcb-010f-465b-8334-fc02d416094d", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC666A592", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:33 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd76-501a-0034-4927-b5a1f3000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:33 GMT", + "x-ms-client-request-id" : "d701fdcb-010f-465b-8334-fc02d416094d", + "Content-MD5" : "nhB9nTcrtoJr2B01QqQZ1g==" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurllease49763170c55e/fileasyncapitestsuploadrangefromurllease319845d0d1bc", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "5e7dc623-51db-40f5-bbdf-b783e7ee76db" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:33.6920985Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:33 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:33 GMT", + "ETag" : "0x8D7833EC6741199", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:33.6920985Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bd77-501a-0034-4a27-b5a1f3000000", + "x-ms-client-request-id" : "5e7dc623-51db-40f5-bbdf-b783e7ee76db", + "x-ms-file-last-write-time" : "2019-12-17T22:16:33.6920985Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurllease49763170c55e/fileasyncapitestsuploadrangefromurllease319845d0d1bc?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "9037b437-4aa1-4e5d-a769-33017949086f" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC6741199", + "x-ms-lease-id" : "1dde9985-bee4-4c9b-b5f5-bce78da8f6a9", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:33 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd7a-501a-0034-4d27-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:33 GMT", + "x-ms-client-request-id" : "9037b437-4aa1-4e5d-a769-33017949086f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurllease49763170c55e/fileasyncapitestsuploadrangefromurllease319845d0d1bc?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "af48a13c-a84e-4488-b754-1488da4fa6d0" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC68FD6F7", + "x-ms-content-crc64" : "9TRwg1LzFO0=", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:33 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd7c-501a-0034-4f27-b5a1f3000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:33 GMT", + "x-ms-client-request-id" : "af48a13c-a84e-4488-b754-1488da4fa6d0" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsuploadrangefromurllease49763170c55e", "fileasyncapitestsuploadrangefromurllease319845d0d1bc", "2019-12-17T22:16:33.793922700Z" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURLLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURLLeaseFail.json new file mode 100644 index 0000000000000..e4d6baf6d9027 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileAsyncAPITestsUploadRangeFromURLLeaseFail.json @@ -0,0 +1,151 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurlleasefail74161f2226?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "762dd40f-4310-445e-9d20-9e68bff546cd" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC6BAA943", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:34 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd83-501a-0034-5627-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:33 GMT", + "x-ms-client-request-id" : "762dd40f-4310-445e-9d20-9e68bff546cd" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurlleasefail74161f2226/fileasyncapitestsuploadrangefromurlleasefail541866010b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "8a140b24-48a7-4455-b66a-67de843f0621" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:34.2551464Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:34 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:33 GMT", + "ETag" : "0x8D7833EC6C9FBA8", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:34.2551464Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bd87-501a-0034-5927-b5a1f3000000", + "x-ms-client-request-id" : "8a140b24-48a7-4455-b66a-67de843f0621", + "x-ms-file-last-write-time" : "2019-12-17T22:16:34.2551464Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurlleasefail74161f2226/fileasyncapitestsuploadrangefromurlleasefail541866010b?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "88283730-0443-4a0d-bbfb-f421147b0e2a", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC6D7403D", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:34 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd8a-501a-0034-5c27-b5a1f3000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:33 GMT", + "x-ms-client-request-id" : "88283730-0443-4a0d-bbfb-f421147b0e2a", + "Content-MD5" : "nhB9nTcrtoJr2B01QqQZ1g==" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurlleasefail74161f2226/fileasyncapitestsuploadrangefromurlleasefail541866010b", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "99448cfa-cf99-4f8f-affc-bf2d5c6313b7" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:16:34.4940966Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:34 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:16:34 GMT", + "ETag" : "0x8D7833EC6EE71A6", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:16:34.4940966Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d096bd8c-501a-0034-5e27-b5a1f3000000", + "x-ms-client-request-id" : "99448cfa-cf99-4f8f-affc-bf2d5c6313b7", + "x-ms-file-last-write-time" : "2019-12-17T22:16:34.4940966Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurlleasefail74161f2226/fileasyncapitestsuploadrangefromurlleasefail541866010b?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "9d969166-9bf4-4560-9f4e-28f9cf782dfe" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833EC6EE71A6", + "x-ms-lease-id" : "cbc7ac66-430b-46cc-8f4c-1aa166ad99b5", + "Last-Modified" : "Tue, 17 Dec 2019 22:16:34 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d096bd8e-501a-0034-6027-b5a1f3000000", + "Date" : "Tue, 17 Dec 2019 22:16:34 GMT", + "x-ms-client-request-id" : "9d969166-9bf4-4560-9f4e-28f9cf782dfe" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/fileasyncapitestsuploadrangefromurlleasefail74161f2226/fileasyncapitestsuploadrangefromurlleasefail541866010b?comp=range", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d53e0626-dc94-40fc-a7c4-aa1717a62738" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "d096bd90-501a-0034-6227-b5a1f3000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:d096bd90-501a-0034-6227-b5a1f3000000\nTime:2019-12-17T22:16:34.6807246Z", + "Date" : "Tue, 17 Dec 2019 22:16:34 GMT", + "x-ms-client-request-id" : "d53e0626-dc94-40fc-a7c4-aa1717a62738", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileasyncapitestsuploadrangefromurlleasefail74161f2226", "fileasyncapitestsuploadrangefromurlleasefail541866010b", "2019-12-17T22:16:34.596442Z", "9225aa4c-11e0-4d12-a72d-7a2786a7779d" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsAccountSASNetworkAccountSasTokenOnEndpoint.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsAccountSASNetworkAccountSasTokenOnEndpoint.json index a80fa38c36642..073fb718ed3da 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsAccountSASNetworkAccountSasTokenOnEndpoint.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsAccountSASNetworkAccountSasTokenOnEndpoint.json @@ -1,90 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesastestsaccountsasnetworkaccountsastokenonendpoint11325?restype=share&sv=2019-02-02&se=2019-12-03T19%3A58%3A40Z&sp=rc&sig=REDACTED&ss=f&srt=sco", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsaccountsasnetworkaccountsastokenonendpoint52889?restype=share&sv=2019-07-07&se=2019-12-27T22%3A50%3A54Z&sp=rc&sig=REDACTED&ss=f&srt=sco", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1229eefa-a244-497d-8ae1-f246188b7f9d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a4957b8a-f84e-422a-b22d-94c46351e7fd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7776207753BD0", - "Last-Modified" : "Mon, 02 Dec 2019 19:58:41 GMT", + "ETag" : "0x8D78A5611140DE7", + "Last-Modified" : "Thu, 26 Dec 2019 22:50:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "758db19c-601a-002f-0c4a-a99ff0000000", - "Date" : "Mon, 02 Dec 2019 19:58:40 GMT", - "x-ms-client-request-id" : "1229eefa-a244-497d-8ae1-f246188b7f9d" + "x-ms-request-id" : "f357beca-301a-0022-613e-bc5724000000", + "Date" : "Thu, 26 Dec 2019 22:50:54 GMT", + "x-ms-client-request-id" : "a4957b8a-f84e-422a-b22d-94c46351e7fd" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesastestsaccountsasnetworkaccountsastokenonendpoint11325/filesastestsaccountsasnetworkaccountsastokenonendpoint56859?sv=2019-02-02&se=2019-12-03T19%3A58%3A40Z&sp=rc&sig=REDACTED&ss=f&srt=sco", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsaccountsasnetworkaccountsastokenonendpoint52889/filesastestsaccountsasnetworkaccountsastokenonendpoint23039?sv=2019-07-07&se=2019-12-27T22%3A50%3A54Z&sp=rc&sig=REDACTED&ss=f&srt=sco", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b14491ee-7db4-4101-8850-0656e6eeb22b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c8e9726-c2f6-4f93-a251-d38828f9075f" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "15581347578553677299*8114634751575874941", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-02T19:58:41.3849888Z", - "Last-Modified" : "Mon, 02 Dec 2019 19:58:41 GMT", + "x-ms-file-creation-time" : "2019-12-26T22:50:55.8018119Z", + "Last-Modified" : "Thu, 26 Dec 2019 22:50:55 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Mon, 02 Dec 2019 19:58:41 GMT", - "ETag" : "0x8D777620793ED20", + "Date" : "Thu, 26 Dec 2019 22:50:55 GMT", + "ETag" : "0x8D78A561148CA47", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-12-02T19:58:41.3849888Z", + "x-ms-file-change-time" : "2019-12-26T22:50:55.8018119Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "758db1a0-601a-002f-0e4a-a99ff0000000", - "x-ms-client-request-id" : "b14491ee-7db4-4101-8850-0656e6eeb22b", - "x-ms-file-last-write-time" : "2019-12-02T19:58:41.3849888Z" + "x-ms-request-id" : "f357bed7-301a-0022-6c3e-bc5724000000", + "x-ms-client-request-id" : "4c8e9726-c2f6-4f93-a251-d38828f9075f", + "x-ms-file-last-write-time" : "2019-12-26T22:50:55.8018119Z" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://gapradev.file.core.windows.net/filesastestsaccountsasnetworkaccountsastokenonendpoint11325/filesastestsaccountsasnetworkaccountsastokenonendpoint56859?sv=2019-02-02&se=2019-12-03T19%3A58%3A40Z&sp=rc&sig=REDACTED&ss=f&srt=sco", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsaccountsasnetworkaccountsastokenonendpoint52889/filesastestsaccountsasnetworkaccountsastokenonendpoint23039?sv=2019-07-07&se=2019-12-27T22%3A50%3A54Z&sp=rc&sig=REDACTED&ss=f&srt=sco", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5906f771-4cf4-4286-b91c-9a774d847d41" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9055a906-c8d1-400c-bd9e-94a62084e061" }, "Response" : { + "x-ms-version" : "2019-07-07", "x-ms-lease-status" : "unlocked", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-02T19:58:41.3849888Z", - "Access-Control-Allow-Origin" : "*", + "x-ms-file-creation-time" : "2019-12-26T22:50:55.8018119Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Mon, 02 Dec 2019 19:58:41 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 22:50:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-file-attributes" : "Archive", - "Content-Length" : "1024", - "x-ms-request-id" : "758db1a1-601a-002f-0f4a-a99ff0000000", - "Body" : "[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]", - "Content-Type" : "application/octet-stream", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "15581347578553677299*8114634751575874941", - "Date" : "Mon, 02 Dec 2019 19:58:41 GMT", + "Date" : "Thu, 26 Dec 2019 22:50:55 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "0x8D777620793ED20", - "x-ms-file-change-time" : "2019-12-02T19:58:41.3849888Z", + "ETag" : "0x8D78A561148CA47", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-26T22:50:55.8018119Z", "x-ms-file-parent-id" : "0", - "x-ms-client-request-id" : "5906f771-4cf4-4286-b91c-9a774d847d41", - "x-ms-file-last-write-time" : "2019-12-02T19:58:41.3849888Z" + "Content-Length" : "1024", + "x-ms-request-id" : "f357bee0-301a-0022-753e-bc5724000000", + "Body" : "[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]", + "x-ms-client-request-id" : "9055a906-c8d1-400c-bd9e-94a62084e061", + "x-ms-file-last-write-time" : "2019-12-26T22:50:55.8018119Z", + "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "filesastestsaccountsasnetworkaccountsastokenonendpoint75310", "2019-12-02T19:58:40.437922300Z", "filesastestsaccountsasnetworkaccountsastokenonendpoint11325", "filesastestsaccountsasnetworkaccountsastokenonendpoint56859" ] + "variables" : [ "filesastestsaccountsasnetworkaccountsastokenonendpoint14532", "2019-12-26T22:50:54.697982200Z", "filesastestsaccountsasnetworkaccountsastokenonendpoint52889", "filesastestsaccountsasnetworkaccountsastokenonendpoint23039" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsAccountSASNetworkCreateDeleteShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsAccountSASNetworkCreateDeleteShare.json index bb7eae67401ed..e6e3090ce3d3f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsAccountSASNetworkCreateDeleteShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsAccountSASNetworkCreateDeleteShare.json @@ -1,44 +1,44 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsaccountsasnetworkcreatedeleteshare166619e93?restype=share&sv=2019-02-02&ss=f&srt=sco&se=2019-12-13T00%3A49%3A07Z&sp=rdc&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsaccountsasnetworkcreatedeleteshare188972fd0?restype=share&sv=2019-07-07&ss=f&srt=sco&se=2019-12-27T21%3A47%3A58Z&sp=rdc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "dc30e693-9ccf-4ae7-8edf-30f0623c65d2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2a1fcba2-7997-4856-b56e-9850cabdf619" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77E9D17DEEB06", - "Last-Modified" : "Thu, 12 Dec 2019 00:49:07 GMT", + "ETag" : "0x8D78A4D461E989A", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "24e0fd69-101a-006d-2785-b09a58000000", - "Date" : "Thu, 12 Dec 2019 00:49:06 GMT", - "x-ms-client-request-id" : "dc30e693-9ccf-4ae7-8edf-30f0623c65d2" + "x-ms-request-id" : "bc019ca5-001a-0029-7636-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:58 GMT", + "x-ms-client-request-id" : "2a1fcba2-7997-4856-b56e-9850cabdf619" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsaccountsasnetworkcreatedeleteshare166619e93?restype=share&sv=2019-02-02&ss=f&srt=sco&se=2019-12-13T00%3A49%3A07Z&sp=rdc&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsaccountsasnetworkcreatedeleteshare188972fd0?restype=share&sv=2019-07-07&ss=f&srt=sco&se=2019-12-27T21%3A47%3A58Z&sp=rdc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "579ce36e-3d13-4cdd-93c9-7b3ac1337554" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a32edff4-b6cb-4da1-b1e5-dcff5718d570" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "24e0fd6b-101a-006d-2885-b09a58000000", - "Date" : "Thu, 12 Dec 2019 00:49:06 GMT", - "x-ms-client-request-id" : "579ce36e-3d13-4cdd-93c9-7b3ac1337554" + "x-ms-request-id" : "bc019ca9-001a-0029-7936-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:58 GMT", + "x-ms-client-request-id" : "a32edff4-b6cb-4da1-b1e5-dcff5718d570" }, "Exception" : null } ], - "variables" : [ "filesastestsaccountsasnetworkcreatedeleteshare83897e9b3", "2019-12-12T00:49:07.115153700Z", "filesastestsaccountsasnetworkcreatedeleteshare166619e93" ] + "variables" : [ "filesastestsaccountsasnetworkcreatedeleteshare4164350b4", "2019-12-26T21:47:58.901775700Z", "filesastestsaccountsasnetworkcreatedeleteshare188972fd0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASNetworkTestDownloadUpload.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASNetworkTestDownloadUpload.json index f1aa944451ccb..19895fefa3540 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASNetworkTestDownloadUpload.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASNetworkTestDownloadUpload.json @@ -1,140 +1,140 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload656974b827?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload024037c068?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "a98454fc-ebfd-4089-95a2-7111a266063b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d5126d5a-8c0a-4ace-b1cb-2feac16424cb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D76D53617A4859", - "Last-Modified" : "Wed, 20 Nov 2019 00:48:38 GMT", + "ETag" : "0x8D78A4D45018D39", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d24e1e1e-b01a-000d-3c3c-9fdf7a000000", - "Date" : "Wed, 20 Nov 2019 00:48:37 GMT", - "x-ms-client-request-id" : "a98454fc-ebfd-4089-95a2-7111a266063b" + "x-ms-request-id" : "bc019c8b-001a-0029-6036-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:56 GMT", + "x-ms-client-request-id" : "d5126d5a-8c0a-4ace-b1cb-2feac16424cb" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload656974b827/filename", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload024037c068/filename", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "d1546bc0-58a4-42e1-aa2b-580f404d931f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "21c616d4-67d0-4fcd-a411-fdd2b74ef755" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-20T00:48:38.1797794Z", - "Last-Modified" : "Wed, 20 Nov 2019 00:48:38 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:57.2039113Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:57 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 20 Nov 2019 00:48:37 GMT", - "ETag" : "0x8D76D53618165A2", + "Date" : "Thu, 26 Dec 2019 21:47:56 GMT", + "ETag" : "0x8D78A4D451081C9", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-20T00:48:38.1797794Z", + "x-ms-file-change-time" : "2019-12-26T21:47:57.2039113Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "d24e1e20-b01a-000d-3d3c-9fdf7a000000", - "x-ms-client-request-id" : "d1546bc0-58a4-42e1-aa2b-580f404d931f", - "x-ms-file-last-write-time" : "2019-11-20T00:48:38.1797794Z" + "x-ms-request-id" : "bc019c8d-001a-0029-6136-bcac4f000000", + "x-ms-client-request-id" : "21c616d4-67d0-4fcd-a411-fdd2b74ef755", + "x-ms-file-last-write-time" : "2019-12-26T21:47:57.2039113Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload656974b827/filename?comp=range", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload024037c068/filename?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "85d2bda3-8a5c-4dca-9614-a76a1aabec23", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3556c5fb-15ca-47c6-8fbf-cd7b9b61c995", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D76D536187F6E2", - "Last-Modified" : "Wed, 20 Nov 2019 00:48:38 GMT", + "ETag" : "0x8D78A4D451DC93E", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d24e1e21-b01a-000d-3e3c-9fdf7a000000", + "x-ms-request-id" : "bc019c8f-001a-0029-6336-bcac4f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 20 Nov 2019 00:48:37 GMT", - "x-ms-client-request-id" : "85d2bda3-8a5c-4dca-9614-a76a1aabec23", + "Date" : "Thu, 26 Dec 2019 21:47:56 GMT", + "x-ms-client-request-id" : "3556c5fb-15ca-47c6-8fbf-cd7b9b61c995", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload656974b827/filename?sv=2019-02-02&spr=https%2Chttp&st=2019-11-19T00%3A48%3A38Z&se=2019-11-21T00%3A48%3A38Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload024037c068/filename?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T21%3A47%3A57Z&se=2019-12-27T21%3A47%3A57Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "ea695eb2-35bb-445e-87a1-10ce0a2c1215" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "60e9040b-4bb4-4036-9fa2-1b2461236fe1" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-20T00:48:38.1797794Z", + "x-ms-file-creation-time" : "2019-12-26T21:47:57.2039113Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Wed, 20 Nov 2019 00:48:38 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:57 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-file-attributes" : "Archive", "Content-Length" : "1024", - "x-ms-request-id" : "d24e1e22-b01a-000d-3f3c-9fdf7a000000", + "x-ms-request-id" : "bc019c90-001a-0029-6436-bcac4f000000", "Body" : "test\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", "Content-Type" : "type", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", - "x-ms-version" : "2019-02-02", - "Date" : "Wed, 20 Nov 2019 00:48:37 GMT", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-version" : "2019-07-07", + "Date" : "Thu, 26 Dec 2019 21:47:56 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", "Cache-Control" : "cache", - "ETag" : "0x8D76D536187F6E2", + "ETag" : "0x8D78A4D451DC93E", "Content-Disposition" : "disposition", - "x-ms-file-change-time" : "2019-11-20T00:48:38.1797794Z", + "x-ms-file-change-time" : "2019-12-26T21:47:57.2039113Z", "x-ms-file-parent-id" : "0", "Content-Language" : "language", - "x-ms-client-request-id" : "ea695eb2-35bb-445e-87a1-10ce0a2c1215", - "x-ms-file-last-write-time" : "2019-11-20T00:48:38.1797794Z" + "x-ms-client-request-id" : "60e9040b-4bb4-4036-9fa2-1b2461236fe1", + "x-ms-file-last-write-time" : "2019-12-26T21:47:57.2039113Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload656974b827/filename?comp=range&sv=2019-02-02&spr=https%2Chttp&st=2019-11-19T00%3A48%3A38Z&se=2019-11-21T00%3A48%3A38Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestdownloadupload024037c068/filename?comp=range&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T21%3A47%3A57Z&se=2019-12-27T21%3A47%3A57Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "abfcf6b9-fa79-47e8-917c-fa1e26153c1e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "231f485f-f282-4883-86d3-86f5bdf1a533", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D76D5361A43857", - "Last-Modified" : "Wed, 20 Nov 2019 00:48:38 GMT", + "ETag" : "0x8D78A4D453966D6", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d24e1e23-b01a-000d-403c-9fdf7a000000", + "x-ms-request-id" : "bc019c91-001a-0029-6536-bcac4f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 20 Nov 2019 00:48:37 GMT", - "x-ms-client-request-id" : "abfcf6b9-fa79-47e8-917c-fa1e26153c1e", + "Date" : "Thu, 26 Dec 2019 21:47:57 GMT", + "x-ms-client-request-id" : "231f485f-f282-4883-86d3-86f5bdf1a533", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==" }, "Exception" : null } ], - "variables" : [ "filesastestsfilesasnetworktestdownloadupload656974b827", "2019-11-20T00:48:38.247Z", "2019-11-20T00:48:38.247Z" ] + "variables" : [ "filesastestsfilesasnetworktestdownloadupload024037c068", "2019-12-26T21:47:57.305660400Z", "2019-12-26T21:47:57.305660400Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASNetworkTestUploadFails.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASNetworkTestUploadFails.json index 7d8313a5f537c..9d1b5f83c778d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASNetworkTestUploadFails.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASNetworkTestUploadFails.json @@ -1,96 +1,96 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestuploadfails67293fd49772?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestuploadfails73115c0bdd96?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "65fee68b-b8ef-4870-9365-8c4690699579" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ee41174b-12ae-4244-8366-32394fb32e7a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D76D5361B67583", - "Last-Modified" : "Wed, 20 Nov 2019 00:48:38 GMT", + "ETag" : "0x8D78A4D455FDB95", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d24e1e26-b01a-000d-433c-9fdf7a000000", - "Date" : "Wed, 20 Nov 2019 00:48:38 GMT", - "x-ms-client-request-id" : "65fee68b-b8ef-4870-9365-8c4690699579" + "x-ms-request-id" : "bc019c93-001a-0029-6736-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:57 GMT", + "x-ms-client-request-id" : "ee41174b-12ae-4244-8366-32394fb32e7a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestuploadfails67293fd49772/filename", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestuploadfails73115c0bdd96/filename", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "33aadf69-9063-4960-a957-0ec823b3b942" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5ed29252-90d3-402d-aaa0-47f94a4c1d9a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-11-20T00:48:38.5701481Z", - "Last-Modified" : "Wed, 20 Nov 2019 00:48:38 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:57.8269138Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:57 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Wed, 20 Nov 2019 00:48:38 GMT", - "ETag" : "0x8D76D5361BCF669", + "Date" : "Thu, 26 Dec 2019 21:47:57 GMT", + "ETag" : "0x8D78A4D456F91D2", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-11-20T00:48:38.5701481Z", + "x-ms-file-change-time" : "2019-12-26T21:47:57.8269138Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "d24e1e28-b01a-000d-443c-9fdf7a000000", - "x-ms-client-request-id" : "33aadf69-9063-4960-a957-0ec823b3b942", - "x-ms-file-last-write-time" : "2019-11-20T00:48:38.5701481Z" + "x-ms-request-id" : "bc019c95-001a-0029-6836-bcac4f000000", + "x-ms-client-request-id" : "5ed29252-90d3-402d-aaa0-47f94a4c1d9a", + "x-ms-file-last-write-time" : "2019-12-26T21:47:57.8269138Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestuploadfails67293fd49772/filename?comp=range&sv=2019-02-02&spr=https%2Chttp&st=2019-11-19T00%3A48%3A38Z&se=2019-11-21T00%3A48%3A38Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestuploadfails73115c0bdd96/filename?comp=range&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T21%3A47%3A57Z&se=2019-12-27T21%3A47%3A57Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "48b2862e-57d5-496b-aa39-f5b302056b4b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "29107aaf-68da-405c-9e5e-5e40459f1bd6", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "d24e1e29-b01a-000d-453c-9fdf7a000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:d24e1e29-b01a-000d-453c-9fdf7a000000\nTime:2019-11-20T00:48:38.6066018Z", - "Date" : "Wed, 20 Nov 2019 00:48:38 GMT", - "x-ms-client-request-id" : "48b2862e-57d5-496b-aa39-f5b302056b4b", + "x-ms-request-id" : "bc019c96-001a-0029-6936-bcac4f000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:bc019c96-001a-0029-6936-bcac4f000000\nTime:2019-12-26T21:47:57.9109006Z", + "Date" : "Thu, 26 Dec 2019 21:47:57 GMT", + "x-ms-client-request-id" : "29107aaf-68da-405c-9e5e-5e40459f1bd6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestsfilesasnetworktestuploadfails67293fd49772/filename?sv=2019-02-02&spr=https%2Chttp&st=2019-11-19T00%3A48%3A38Z&se=2019-11-21T00%3A48%3A38Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestsfilesasnetworktestuploadfails73115c0bdd96/filename?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T21%3A47%3A57Z&se=2019-12-27T21%3A47%3A57Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (1.8.0_221; Windows 10 10.0)", - "x-ms-client-request-id" : "547cc0e5-9eb5-4839-a47e-ff76c7002e2e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "edb3ef82-c926-4e05-a108-4bec380cab22" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d24e1e2a-b01a-000d-463c-9fdf7a000000", - "Date" : "Wed, 20 Nov 2019 00:48:38 GMT", - "x-ms-client-request-id" : "547cc0e5-9eb5-4839-a47e-ff76c7002e2e" + "x-ms-request-id" : "bc019c98-001a-0029-6b36-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:57 GMT", + "x-ms-client-request-id" : "edb3ef82-c926-4e05-a108-4bec380cab22" }, "Exception" : null } ], - "variables" : [ "filesastestsfilesasnetworktestuploadfails67293fd49772", "2019-11-20T00:48:38.592Z", "2019-11-20T00:48:38.592Z" ] + "variables" : [ "filesastestsfilesasnetworktestuploadfails73115c0bdd96", "2019-12-26T21:47:57.840709Z", "2019-12-26T21:47:57.840709Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse0.json index 1d9e9672995b4..64b1a0d35ea8e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse0.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionsparse04210942e2ad40f" ] + "variables" : [ "filesastestsfilesaspermissionsparse027802c552215ef" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse1.json index 158cc8bc2b6e4..4f610a8656679 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse1.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionsparse138251117526432" ] + "variables" : [ "filesastestsfilesaspermissionsparse157014e39a90427" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse2.json index da6b51c3fb100..1eecdbe2d89d4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse2.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionsparse228552c986bebac" ] + "variables" : [ "filesastestsfilesaspermissionsparse22972915d11f438" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse3.json index 4f9c158b1a1d5..d1a04d41e5bf3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse3.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionsparse3867902da55fa62" ] + "variables" : [ "filesastestsfilesaspermissionsparse3700609326711dc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse4.json index 541b24ea80928..2c2870cde0761 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse4.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse4.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionsparse404378771c30e51" ] + "variables" : [ "filesastestsfilesaspermissionsparse47035806f74342b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse5.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse5.json index 74ae7f3093f75..5602297517a95 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse5.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParse5.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionsparse5642463ba924a6c" ] + "variables" : [ "filesastestsfilesaspermissionsparse583848421413aba" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParseIA.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParseIA.json index 6c1950ea1f2c9..a901502c849aa 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParseIA.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsParseIA.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionsparseia900248fcbc579f" ] + "variables" : [ "filesastestsfilesaspermissionsparseia3053108e1c0ac3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString0.json index 04f131a527a01..a3ddeba9d264b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString0.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionstostring057888af55ad5f" ] + "variables" : [ "filesastestsfilesaspermissionstostring09512171602ec9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString1.json index a1855b57d1b37..9f651fb20dcb8 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString1.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionstostring1900607a83c534" ] + "variables" : [ "filesastestsfilesaspermissionstostring1047396c84e6d8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString2.json index 9a0e5d3d98bf7..a4ef952955592 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString2.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionstostring298582d4ca6ae7" ] + "variables" : [ "filesastestsfilesaspermissionstostring2461557482382e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString3.json index d08e3a38ca3f1..9b7807e24099c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString3.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionstostring361785bf1b677a" ] + "variables" : [ "filesastestsfilesaspermissionstostring31724248bbd54a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString4.json index 9c62fe180a0a9..0befa436560c6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString4.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsFileSASPermissionsToString4.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestsfilesaspermissionstostring44162865d0eafe" ] + "variables" : [ "filesastestsfilesaspermissionstostring429810d0bf5484" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASNetworkIdentifierPermissions.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASNetworkIdentifierPermissions.json index a32038232cd89..64bcc0d6f3773 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASNetworkIdentifierPermissions.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASNetworkIdentifierPermissions.json @@ -1,143 +1,143 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions970584ed?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions0629636a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "fc023d84-a31d-4415-8239-d6a94a97ac0b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "671332c8-29fd-4707-8525-7483f8209e8a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77E9AF07536B1", - "Last-Modified" : "Thu, 12 Dec 2019 00:33:42 GMT", + "ETag" : "0x8D78A4D45B0E11D", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "b523bb76-c01a-0002-5083-b0328c000000", - "Date" : "Thu, 12 Dec 2019 00:33:41 GMT", - "x-ms-client-request-id" : "fc023d84-a31d-4415-8239-d6a94a97ac0b" + "x-ms-request-id" : "bc019c99-001a-0029-6c36-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:57 GMT", + "x-ms-client-request-id" : "671332c8-29fd-4707-8525-7483f8209e8a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions970584ed?restype=share&comp=acl", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions0629636a?restype=share&comp=acl", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b0ca540b-dd05-4065-a9f6-feeaa3bb09a2", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "096272d7-26c8-460c-9e04-721dc0c41dd2", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D77E9AF0B24539", - "Last-Modified" : "Thu, 12 Dec 2019 00:33:42 GMT", + "ETag" : "0x8D78A4D45BF8A1F", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "b523bb79-c01a-0002-5183-b0328c000000", - "Date" : "Thu, 12 Dec 2019 00:33:41 GMT", - "x-ms-client-request-id" : "b0ca540b-dd05-4065-a9f6-feeaa3bb09a2" + "x-ms-request-id" : "bc019c9b-001a-0029-6d36-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:57 GMT", + "x-ms-client-request-id" : "096272d7-26c8-460c-9e04-721dc0c41dd2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions970584ed/filesastestssharesasnetworkidentifierpermissions614833aa?restype=directory&sv=2019-02-02&si=0000&sr=s&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions0629636a/filesastestssharesasnetworkidentifierpermissions504103c9?restype=directory&sv=2019-07-07&si=0000&sr=s&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d75de484-ef18-421d-9c1c-48b9ad339d54" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b20fa904-e648-499f-a78a-de9fbe3f2e1c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-12T00:33:42.5443371Z", - "Last-Modified" : "Thu, 12 Dec 2019 00:33:42 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:58.4489269Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:58 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 12 Dec 2019 00:33:41 GMT", - "ETag" : "0x8D77E9AF0C0C62B", + "Date" : "Thu, 26 Dec 2019 21:47:57 GMT", + "ETag" : "0x8D78A4D45CE7B35", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-12-12T00:33:42.5443371Z", + "x-ms-file-change-time" : "2019-12-26T21:47:58.4489269Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "b523bb7a-c01a-0002-5283-b0328c000000", - "x-ms-client-request-id" : "d75de484-ef18-421d-9c1c-48b9ad339d54", - "x-ms-file-last-write-time" : "2019-12-12T00:33:42.5443371Z" + "x-ms-request-id" : "bc019c9c-001a-0029-6e36-bcac4f000000", + "x-ms-client-request-id" : "b20fa904-e648-499f-a78a-de9fbe3f2e1c", + "x-ms-file-last-write-time" : "2019-12-26T21:47:58.4489269Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions970584ed/filesastestssharesasnetworkidentifierpermissions614833aa?restype=directory&sv=2019-02-02&si=0000&sr=s&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions0629636a/filesastestssharesasnetworkidentifierpermissions504103c9?restype=directory&sv=2019-07-07&si=0000&sr=s&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9cf578f1-d932-4ab5-ad76-68527f52c408" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b3768ef4-da2b-446d-afa3-8647e7c1ba68" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "b523bb7d-c01a-0002-5583-b0328c000000", - "Date" : "Thu, 12 Dec 2019 00:33:41 GMT", - "x-ms-client-request-id" : "9cf578f1-d932-4ab5-ad76-68527f52c408" + "x-ms-request-id" : "bc019c9d-001a-0029-6f36-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:58 GMT", + "x-ms-client-request-id" : "b3768ef4-da2b-446d-afa3-8647e7c1ba68" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions970584ed/filesastestssharesasnetworkidentifierpermissions432234d0?restype=directory&sv=2019-02-02&se=2019-12-13T00%3A33%3A42Z&sr=s&sp=rcwdl&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions0629636a/filesastestssharesasnetworkidentifierpermissions40285ed0?restype=directory&sv=2019-07-07&se=2019-12-27T21%3A47%3A58Z&sr=s&sp=rcwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "25b8cbc3-7fc6-4e39-82b5-ee23c80dd5d0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2afc6817-01aa-4150-9bb4-86ad28b210c8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-12T00:33:42.6714582Z", - "Last-Modified" : "Thu, 12 Dec 2019 00:33:42 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:58.6189363Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:58 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 12 Dec 2019 00:33:41 GMT", - "ETag" : "0x8D77E9AF0D42BD6", + "Date" : "Thu, 26 Dec 2019 21:47:58 GMT", + "ETag" : "0x8D78A4D45E86C33", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-12-12T00:33:42.6714582Z", + "x-ms-file-change-time" : "2019-12-26T21:47:58.6189363Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "b523bb7e-c01a-0002-5683-b0328c000000", - "x-ms-client-request-id" : "25b8cbc3-7fc6-4e39-82b5-ee23c80dd5d0", - "x-ms-file-last-write-time" : "2019-12-12T00:33:42.6714582Z" + "x-ms-request-id" : "bc019c9f-001a-0029-7036-bcac4f000000", + "x-ms-client-request-id" : "2afc6817-01aa-4150-9bb4-86ad28b210c8", + "x-ms-file-last-write-time" : "2019-12-26T21:47:58.6189363Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions970584ed/filesastestssharesasnetworkidentifierpermissions432234d0?restype=directory&sv=2019-02-02&se=2019-12-13T00%3A33%3A42Z&sr=s&sp=rcwdl&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesastestssharesasnetworkidentifierpermissions0629636a/filesastestssharesasnetworkidentifierpermissions40285ed0?restype=directory&sv=2019-07-07&se=2019-12-27T21%3A47%3A58Z&sr=s&sp=rcwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "cbfcfce3-da59-4a38-a4ac-4790c7dbf2a7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1df3090e-5356-4624-bfcf-05a33fbcc425" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "b523bb7f-c01a-0002-5783-b0328c000000", - "Date" : "Thu, 12 Dec 2019 00:33:41 GMT", - "x-ms-client-request-id" : "cbfcfce3-da59-4a38-a4ac-4790c7dbf2a7" + "x-ms-request-id" : "bc019ca2-001a-0029-7336-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:58 GMT", + "x-ms-client-request-id" : "1df3090e-5356-4624-bfcf-05a33fbcc425" }, "Exception" : null } ], - "variables" : [ "filesastestssharesasnetworkidentifierpermissions970584ed", "2019-12-12T00:33:40.648810100Z", "2019-12-12T00:33:42.489341300Z", "filesastestssharesasnetworkidentifierpermissions614833aa", "filesastestssharesasnetworkidentifierpermissions432234d0" ] + "variables" : [ "filesastestssharesasnetworkidentifierpermissions0629636a", "2019-12-26T21:47:58.186001800Z", "2019-12-26T21:47:58.364557Z", "filesastestssharesasnetworkidentifierpermissions504103c9", "filesastestssharesasnetworkidentifierpermissions40285ed0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse0.json index e8e98314287f4..393a9abba7b98 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse0.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionsparse0862965f0eddf34" ] + "variables" : [ "filesastestssharesaspermissionsparse0017818e83edaf4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse1.json index 4561641b488cb..f380e71caa93e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse1.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionsparse170362478dba3d8" ] + "variables" : [ "filesastestssharesaspermissionsparse1183104b623db34" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse2.json index 3037ba594eb9c..b92bd407d82ba 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse2.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionsparse26945984b65d96c" ] + "variables" : [ "filesastestssharesaspermissionsparse278158ae2d74a2c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse3.json index a2d61e86a8b0c..1a853d69c3463 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse3.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionsparse37092165bba90fe" ] + "variables" : [ "filesastestssharesaspermissionsparse3746952d1608611" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse4.json index 69e4afe6d8681..82e68aec5e29b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse4.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse4.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionsparse467648b1c633b49" ] + "variables" : [ "filesastestssharesaspermissionsparse486311520664f69" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse5.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse5.json index d987ba5429db8..8bb2140097cdb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse5.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse5.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionsparse5412814a5d2b51e" ] + "variables" : [ "filesastestssharesaspermissionsparse527606b71938d10" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse6.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse6.json index e3aadd1cf4589..357a9e8eb6cd5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse6.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParse6.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionsparse674374400d6e97c" ] + "variables" : [ "filesastestssharesaspermissionsparse683630b4c74cfe2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParseIA.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParseIA.json index 9a693933da26a..a7e414db0102b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParseIA.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsParseIA.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionsparseia4355877b5e5ac" ] + "variables" : [ "filesastestssharesaspermissionsparseia13168972d9725" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString0.json index 11ecfb7a1c839..aa42c4af51c17 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString0.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionstostring090009092e780" ] + "variables" : [ "filesastestssharesaspermissionstostring0440263f91d21" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString1.json index 13b5739bf52de..faf92966649bd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString1.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionstostring15854495ce819" ] + "variables" : [ "filesastestssharesaspermissionstostring125126e014b0a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString2.json index 9db310ba1d8c1..415f27d5091a4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString2.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionstostring2007015dcb695" ] + "variables" : [ "filesastestssharesaspermissionstostring268888589e1e7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString3.json index 0f204ec93f648..55e62ab47ce7a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString3.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionstostring331846d698e18" ] + "variables" : [ "filesastestssharesaspermissionstostring37677832c9359" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString4.json index f7385bd115c48..81ce81f0e0c08 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString4.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString4.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionstostring416661a825fcb" ] + "variables" : [ "filesastestssharesaspermissionstostring41718206d4231" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString5.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString5.json index 932bed90ad7a1..56e032a8a9d62 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString5.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSASTestsShareSASPermissionsToString5.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "filesastestssharesaspermissionstostring5058106e6ece0" ] + "variables" : [ "filesastestssharesaspermissionstostring555455383a994" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsAccountSASNetworkCreateDeleteShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsAccountSASNetworkCreateDeleteShare.json index 525e5be8ec400..65d6df0c2b539 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsAccountSASNetworkCreateDeleteShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsAccountSASNetworkCreateDeleteShare.json @@ -1,94 +1,94 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsaccountsasnetworkcreatedeleteshare113593?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsaccountsasnetworkcreatedeleteshare62275e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7e2be6b5-1cb0-4427-a4b5-2870586edb47" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af1b5986-1069-4afc-9cb9-09cdfae71ecf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7780FD157E07E", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:42 GMT", + "ETag" : "0x8D78A4D434F7020", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "afed1108-e01a-001e-65f8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:42 GMT", - "x-ms-client-request-id" : "7e2be6b5-1cb0-4427-a4b5-2870586edb47" + "x-ms-request-id" : "bc019c6b-001a-0029-4436-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "x-ms-client-request-id" : "af1b5986-1069-4afc-9cb9-09cdfae71ecf" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsaccountsasnetworkcreatedeleteshare113593/filename", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsaccountsasnetworkcreatedeleteshare62275e/filename", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "755a910b-3f08-4c4c-b8e9-8bc61f59e1eb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1942fd70-a39e-43b0-8a7a-fef709d84928" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "15581347578553677299*8114634751575874941", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-03T16:42:42.9247296Z", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:42 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:54.3758781Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:54 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 03 Dec 2019 16:42:42 GMT", - "ETag" : "0x8D7780FD1670740", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "ETag" : "0x8D78A4D4360FBBD", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-12-03T16:42:42.9247296Z", + "x-ms-file-change-time" : "2019-12-26T21:47:54.3758781Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "afed110a-e01a-001e-66f8-a97ee3000000", - "x-ms-client-request-id" : "755a910b-3f08-4c4c-b8e9-8bc61f59e1eb", - "x-ms-file-last-write-time" : "2019-12-03T16:42:42.9247296Z" + "x-ms-request-id" : "bc019c6e-001a-0029-4636-bcac4f000000", + "x-ms-client-request-id" : "1942fd70-a39e-43b0-8a7a-fef709d84928", + "x-ms-file-last-write-time" : "2019-12-26T21:47:54.3758781Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/create?restype=share&sv=2019-02-02&ss=f&srt=sco&se=2019-12-04T16%3A42%3A42Z&sp=rdc&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/create?restype=share&sv=2019-07-07&ss=f&srt=sco&se=2019-12-27T21%3A47%3A54Z&sp=rdc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "519d138f-a44c-49bc-ad0a-bb4773a76e02" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f8f9b9eb-ef45-41ca-b98a-6d7e1b2bdc23" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7780FD17BBBF2", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:43 GMT", + "ETag" : "0x8D78A4D43737471", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "afed110c-e01a-001e-68f8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:42 GMT", - "x-ms-client-request-id" : "519d138f-a44c-49bc-ad0a-bb4773a76e02" + "x-ms-request-id" : "bc019c70-001a-0029-4836-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:54 GMT", + "x-ms-client-request-id" : "f8f9b9eb-ef45-41ca-b98a-6d7e1b2bdc23" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://gapradev.file.core.windows.net/create?restype=share&sv=2019-02-02&ss=f&srt=sco&se=2019-12-04T16%3A42%3A42Z&sp=rdc&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/create?restype=share&sv=2019-07-07&ss=f&srt=sco&se=2019-12-27T21%3A47%3A54Z&sp=rdc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e32d2076-17dd-4af8-9e24-1aa729b45517" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af42c14c-44fa-4f93-9c61-a897289fcb9b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "afed110e-e01a-001e-69f8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:42 GMT", - "x-ms-client-request-id" : "e32d2076-17dd-4af8-9e24-1aa729b45517" + "x-ms-request-id" : "bc019c73-001a-0029-4a36-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:54 GMT", + "x-ms-client-request-id" : "af42c14c-44fa-4f93-9c61-a897289fcb9b" }, "Exception" : null } ], - "variables" : [ "filesasclienttestsaccountsasnetworkcreatedeleteshare113593", "2019-12-03T16:42:42.972784200Z" ] + "variables" : [ "filesasclienttestsaccountsasnetworkcreatedeleteshare62275e", "2019-12-26T21:47:54.413437800Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsFileSASNetworkTestDownloadUpload.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsFileSASNetworkTestDownloadUpload.json index 86530822d6065..0e6a4576381c9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsFileSASNetworkTestDownloadUpload.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsFileSASNetworkTestDownloadUpload.json @@ -1,141 +1,140 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload11910eb?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload469122d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "60ec0837-286a-40a8-a093-43ab191d92a7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dbef8ecf-8d5c-4645-809f-a56068990907" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7780FC6BF0439", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:25 GMT", + "ETag" : "0x8D78A4D41ABF8AC", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "afed10cf-e01a-001e-48f8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:24 GMT", - "x-ms-client-request-id" : "60ec0837-286a-40a8-a093-43ab191d92a7" + "x-ms-request-id" : "bc019c41-001a-0029-1f36-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:51 GMT", + "x-ms-client-request-id" : "dbef8ecf-8d5c-4645-809f-a56068990907" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload11910eb/filename", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload469122d/filename", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "870f1cfa-6d8a-48cd-b597-fe305a4192ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "988bff29-eefd-4b8a-be7e-514b1ae351a0" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "15581347578553677299*8114634751575874941", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-03T16:42:25.2568727Z", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:25 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:51.8378458Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:51 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 03 Dec 2019 16:42:24 GMT", - "ETag" : "0x8D7780FC6DF2097", + "Date" : "Thu, 26 Dec 2019 21:47:51 GMT", + "ETag" : "0x8D78A4D41DDB5DA", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-12-03T16:42:25.2568727Z", + "x-ms-file-change-time" : "2019-12-26T21:47:51.8378458Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "afed10d2-e01a-001e-49f8-a97ee3000000", - "x-ms-client-request-id" : "870f1cfa-6d8a-48cd-b597-fe305a4192ed", - "x-ms-file-last-write-time" : "2019-12-03T16:42:25.2568727Z" + "x-ms-request-id" : "bc019c47-001a-0029-2336-bcac4f000000", + "x-ms-client-request-id" : "988bff29-eefd-4b8a-be7e-514b1ae351a0", + "x-ms-file-last-write-time" : "2019-12-26T21:47:51.8378458Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload11910eb/filename?comp=range", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload469122d/filename?comp=range", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7466e09f-410c-4560-9b15-a6f3aa1a77ff", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "43e7a9a6-0992-4387-8e3c-7f2a50748382", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7780FC6F3B7F6", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:25 GMT", + "ETag" : "0x8D78A4D41F07ADD", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "afed10d4-e01a-001e-4af8-a97ee3000000", + "x-ms-request-id" : "bc019c49-001a-0029-2536-bcac4f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 03 Dec 2019 16:42:24 GMT", - "x-ms-client-request-id" : "7466e09f-410c-4560-9b15-a6f3aa1a77ff", + "Date" : "Thu, 26 Dec 2019 21:47:51 GMT", + "x-ms-client-request-id" : "43e7a9a6-0992-4387-8e3c-7f2a50748382", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload11910eb/filename?sv=2019-02-02&spr=https%2Chttp&st=2019-12-02T16%3A42%3A25Z&se=2019-12-04T16%3A42%3A25Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload469122d/filename?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T21%3A47%3A51Z&se=2019-12-27T21%3A47%3A51Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "28800290-c247-4d65-adc2-957c41c6c009" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0c31d693-bf85-43af-acad-bc331ffb7816" }, "Response" : { "x-ms-lease-status" : "unlocked", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-03T16:42:25.2568727Z", - "Access-Control-Allow-Origin" : "*", + "x-ms-file-creation-time" : "2019-12-26T21:47:51.8378458Z", "x-ms-lease-state" : "available", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:25 GMT", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:51 GMT", "retry-after" : "0", "StatusCode" : "200", "x-ms-file-attributes" : "Archive", "Content-Length" : "1024", - "x-ms-request-id" : "afed10d5-e01a-001e-4bf8-a97ee3000000", + "x-ms-request-id" : "bc019c4a-001a-0029-2636-bcac4f000000", "Body" : "test\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", "Content-Type" : "type", - "x-ms-file-permission-key" : "15581347578553677299*8114634751575874941", - "x-ms-version" : "2019-02-02", - "Date" : "Tue, 03 Dec 2019 16:42:24 GMT", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-version" : "2019-07-07", + "Date" : "Thu, 26 Dec 2019 21:47:51 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", "Cache-Control" : "cache", - "ETag" : "0x8D7780FC6F3B7F6", + "ETag" : "0x8D78A4D41F07ADD", "Content-Disposition" : "disposition", - "x-ms-file-change-time" : "2019-12-03T16:42:25.2568727Z", + "x-ms-file-change-time" : "2019-12-26T21:47:51.8378458Z", "x-ms-file-parent-id" : "0", "Content-Language" : "language", - "x-ms-client-request-id" : "28800290-c247-4d65-adc2-957c41c6c009", - "x-ms-file-last-write-time" : "2019-12-03T16:42:25.2568727Z" + "x-ms-client-request-id" : "0c31d693-bf85-43af-acad-bc331ffb7816", + "x-ms-file-last-write-time" : "2019-12-26T21:47:51.8378458Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload11910eb/filename?comp=range&sv=2019-02-02&spr=https%2Chttp&st=2019-12-02T16%3A42%3A25Z&se=2019-12-04T16%3A42%3A25Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestdownloadupload469122d/filename?comp=range&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T21%3A47%3A51Z&se=2019-12-27T21%3A47%3A51Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcwd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "6b3471ea-f4ce-4ed7-8c4e-8c9e72515354", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6220d47f-5dfc-4b8a-8008-142f96d8fbdb", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7780FC71A7995", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:25 GMT", + "ETag" : "0x8D78A4D421FC874", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "afed10d6-e01a-001e-4cf8-a97ee3000000", + "x-ms-request-id" : "bc019c4c-001a-0029-2836-bcac4f000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 03 Dec 2019 16:42:25 GMT", - "x-ms-client-request-id" : "6b3471ea-f4ce-4ed7-8c4e-8c9e72515354", + "Date" : "Thu, 26 Dec 2019 21:47:51 GMT", + "x-ms-client-request-id" : "6220d47f-5dfc-4b8a-8008-142f96d8fbdb", "Content-MD5" : "CY9rzUYh03PK3k6DJie09g==" }, "Exception" : null } ], - "variables" : [ "filesasclienttestsfilesasnetworktestdownloadupload11910eb", "2019-12-03T16:42:25.407336100Z", "2019-12-03T16:42:25.412335400Z" ] + "variables" : [ "filesasclienttestsfilesasnetworktestdownloadupload469122d", "2019-12-26T21:47:51.984099600Z", "2019-12-26T21:47:51.995102900Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsFileSASNetworkTestUploadFails.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsFileSASNetworkTestUploadFails.json index 43770ac4b7e00..7dd1cc5bd3eca 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsFileSASNetworkTestUploadFails.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsFileSASNetworkTestUploadFails.json @@ -1,96 +1,96 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestuploadfails035865738?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestuploadfails96812bca6?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3c987ad0-40ee-4aee-9b3c-ca497b37ec2a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "60e570da-96f0-460e-98f9-68549f419a99" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7780FD06E43C6", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:41 GMT", + "ETag" : "0x8D78A4D427674C4", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "afed10f9-e01a-001e-59f8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:40 GMT", - "x-ms-client-request-id" : "3c987ad0-40ee-4aee-9b3c-ca497b37ec2a" + "x-ms-request-id" : "bc019c52-001a-0029-2e36-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:52 GMT", + "x-ms-client-request-id" : "60e570da-96f0-460e-98f9-68549f419a99" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestuploadfails035865738/filename", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestuploadfails96812bca6/filename", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b4c65739-2b44-49c2-8ae7-0ba57922072d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "513105d9-c4f7-4ecf-b2e2-7b70295a5b58" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "15581347578553677299*8114634751575874941", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-03T16:42:41.3937251Z", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:41 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:52.9428671Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:52 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 03 Dec 2019 16:42:40 GMT", - "ETag" : "0x8D7780FD07D6A63", + "Date" : "Thu, 26 Dec 2019 21:47:52 GMT", + "ETag" : "0x8D78A4D428652BF", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-12-03T16:42:41.3937251Z", + "x-ms-file-change-time" : "2019-12-26T21:47:52.9428671Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "afed10fb-e01a-001e-5af8-a97ee3000000", - "x-ms-client-request-id" : "b4c65739-2b44-49c2-8ae7-0ba57922072d", - "x-ms-file-last-write-time" : "2019-12-03T16:42:41.3937251Z" + "x-ms-request-id" : "bc019c54-001a-0029-2f36-bcac4f000000", + "x-ms-client-request-id" : "513105d9-c4f7-4ecf-b2e2-7b70295a5b58", + "x-ms-file-last-write-time" : "2019-12-26T21:47:52.9428671Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestuploadfails035865738/filename?comp=range&sv=2019-02-02&spr=https%2Chttp&st=2019-12-02T16%3A42%3A41Z&se=2019-12-04T16%3A42%3A41Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestuploadfails96812bca6/filename?comp=range&sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T21%3A47%3A52Z&se=2019-12-27T21%3A47%3A52Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1e975055-b2ed-416f-86cd-269521410521", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a65ece8-589e-4685-916a-86f2d116bd0e", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "afed10fc-e01a-001e-5bf8-a97ee3000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:afed10fc-e01a-001e-5bf8-a97ee3000000\nTime:2019-12-03T16:42:41.4814328Z", - "Date" : "Tue, 03 Dec 2019 16:42:40 GMT", - "x-ms-client-request-id" : "1e975055-b2ed-416f-86cd-269521410521", + "x-ms-request-id" : "bc019c55-001a-0029-3036-bcac4f000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:bc019c55-001a-0029-3036-bcac4f000000\nTime:2019-12-26T21:47:53.0329473Z", + "Date" : "Thu, 26 Dec 2019 21:47:52 GMT", + "x-ms-client-request-id" : "6a65ece8-589e-4685-916a-86f2d116bd0e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestsfilesasnetworktestuploadfails035865738/filename?sv=2019-02-02&spr=https%2Chttp&st=2019-12-02T16%3A42%3A41Z&se=2019-12-04T16%3A42%3A41Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestsfilesasnetworktestuploadfails96812bca6/filename?sv=2019-07-07&spr=https%2Chttp&st=2019-12-25T21%3A47%3A52Z&se=2019-12-27T21%3A47%3A52Z&sip=0.0.0.0-255.255.255.255&sr=f&sp=rcd&sig=REDACTED&rscc=cache&rscd=disposition&rsce=encoding&rscl=language&rsct=type", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a2c711b5-a161-4a96-a14e-27f13a649684" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c1a62d9-af34-44d8-90b5-b44af0defb7f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "afed10fd-e01a-001e-5cf8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:40 GMT", - "x-ms-client-request-id" : "a2c711b5-a161-4a96-a14e-27f13a649684" + "x-ms-request-id" : "bc019c57-001a-0029-3236-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:52 GMT", + "x-ms-client-request-id" : "4c1a62d9-af34-44d8-90b5-b44af0defb7f" }, "Exception" : null } ], - "variables" : [ "filesasclienttestsfilesasnetworktestuploadfails035865738", "2019-12-03T16:42:41.404028Z", "2019-12-03T16:42:41.404028Z" ] + "variables" : [ "filesasclienttestsfilesasnetworktestuploadfails96812bca6", "2019-12-26T21:47:52.959067900Z", "2019-12-26T21:47:52.959067900Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsShareSASNetworkIdentifierPermissions.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsShareSASNetworkIdentifierPermissions.json index 31cbba329d73b..0475e4240b445 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsShareSASNetworkIdentifierPermissions.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileSasClientTestsShareSASNetworkIdentifierPermissions.json @@ -1,172 +1,172 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions30482?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions75073?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "fb2d3bc3-67f4-40ce-8196-32ea86f1944d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aca9d72e-4fa5-4d5b-b191-529fbd98eb03" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7780FD0CABB76", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:41 GMT", + "ETag" : "0x8D78A4D42CAAFC3", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "afed10fe-e01a-001e-5df8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:41 GMT", - "x-ms-client-request-id" : "fb2d3bc3-67f4-40ce-8196-32ea86f1944d" + "x-ms-request-id" : "bc019c5b-001a-0029-3636-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "x-ms-client-request-id" : "aca9d72e-4fa5-4d5b-b191-529fbd98eb03" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions30482/filename", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions75073/filename", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ad57e220-658e-4c27-936e-dff774b85580" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "25d64c7a-cc38-4a17-a2b6-9f3a2c668bf9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "15581347578553677299*8114634751575874941", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-03T16:42:42.0017909Z", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:42 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:53.4969136Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:53 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 03 Dec 2019 16:42:41 GMT", - "ETag" : "0x8D7780FD0DA32F5", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "ETag" : "0x8D78A4D42DADD30", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-12-03T16:42:42.0017909Z", + "x-ms-file-change-time" : "2019-12-26T21:47:53.4969136Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "afed1100-e01a-001e-5ef8-a97ee3000000", - "x-ms-client-request-id" : "ad57e220-658e-4c27-936e-dff774b85580", - "x-ms-file-last-write-time" : "2019-12-03T16:42:42.0017909Z" + "x-ms-request-id" : "bc019c5d-001a-0029-3736-bcac4f000000", + "x-ms-client-request-id" : "25d64c7a-cc38-4a17-a2b6-9f3a2c668bf9", + "x-ms-file-last-write-time" : "2019-12-26T21:47:53.4969136Z" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions30482?restype=share&comp=acl", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions75073?restype=share&comp=acl", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "60632e25-9ed9-4ce6-8b3c-5cca1d156f87", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "071685e0-4ab7-48c1-b9b3-739765a09ecf", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7780FD0EB63AF", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:42 GMT", + "ETag" : "0x8D78A4D42EBA983", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "afed1102-e01a-001e-5ff8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:41 GMT", - "x-ms-client-request-id" : "60632e25-9ed9-4ce6-8b3c-5cca1d156f87" + "x-ms-request-id" : "bc019c62-001a-0029-3b36-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "x-ms-client-request-id" : "071685e0-4ab7-48c1-b9b3-739765a09ecf" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions30482/dir?restype=directory&sv=2019-02-02&si=0000&sr=s&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions75073/dir?restype=directory&sv=2019-07-07&si=0000&sr=s&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1d9c9bcf-7fa9-4896-9f90-209b614233dd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "693d39ff-6670-444e-bef7-e5c56063c66a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1749612463032355572*8114634751575874941", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "11529285414812647424", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-03T16:42:42.2587658Z", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:42 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:53.7139167Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:53 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 03 Dec 2019 16:42:41 GMT", - "ETag" : "0x8D7780FD101690A", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "ETag" : "0x8D78A4D42FBF9DF", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-12-03T16:42:42.2587658Z", + "x-ms-file-change-time" : "2019-12-26T21:47:53.7139167Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "afed1103-e01a-001e-60f8-a97ee3000000", - "x-ms-client-request-id" : "1d9c9bcf-7fa9-4896-9f90-209b614233dd", - "x-ms-file-last-write-time" : "2019-12-03T16:42:42.2587658Z" + "x-ms-request-id" : "bc019c64-001a-0029-3d36-bcac4f000000", + "x-ms-client-request-id" : "693d39ff-6670-444e-bef7-e5c56063c66a", + "x-ms-file-last-write-time" : "2019-12-26T21:47:53.7139167Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions30482/dir?restype=directory&sv=2019-02-02&si=0000&sr=s&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions75073/dir?restype=directory&sv=2019-07-07&si=0000&sr=s&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2b65328c-a133-4a8d-bcdf-2aa9f212f34c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d3aa6a3c-bd09-483b-aa1b-1d512859326f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "afed1104-e01a-001e-61f8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:41 GMT", - "x-ms-client-request-id" : "2b65328c-a133-4a8d-bcdf-2aa9f212f34c" + "x-ms-request-id" : "bc019c67-001a-0029-4036-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "x-ms-client-request-id" : "d3aa6a3c-bd09-483b-aa1b-1d512859326f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions30482/dir?restype=directory&sv=2019-02-02&se=2019-12-04T16%3A42%3A42Z&sr=s&sp=rcwdl&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions75073/dir?restype=directory&sv=2019-07-07&se=2019-12-27T21%3A47%3A53Z&sr=s&sp=rcwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7fbc9bd9-c173-4ebe-bde0-536f5b8793a6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b48057f4-fa46-4e8f-bd9f-f02e6976ce20" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1749612463032355572*8114634751575874941", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "16140971433240035328", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-12-03T16:42:42.4627566Z", - "Last-Modified" : "Tue, 03 Dec 2019 16:42:42 GMT", + "x-ms-file-creation-time" : "2019-12-26T21:47:53.9168744Z", + "Last-Modified" : "Thu, 26 Dec 2019 21:47:53 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 03 Dec 2019 16:42:41 GMT", - "ETag" : "0x8D7780FD120896E", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "ETag" : "0x8D78A4D431AF1E8", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-12-03T16:42:42.4627566Z", + "x-ms-file-change-time" : "2019-12-26T21:47:53.9168744Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "afed1106-e01a-001e-63f8-a97ee3000000", - "x-ms-client-request-id" : "7fbc9bd9-c173-4ebe-bde0-536f5b8793a6", - "x-ms-file-last-write-time" : "2019-12-03T16:42:42.4627566Z" + "x-ms-request-id" : "bc019c68-001a-0029-4136-bcac4f000000", + "x-ms-client-request-id" : "b48057f4-fa46-4e8f-bd9f-f02e6976ce20", + "x-ms-file-last-write-time" : "2019-12-26T21:47:53.9168744Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://gapradev.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions30482/dir?restype=directory&sv=2019-02-02&se=2019-12-04T16%3A42%3A42Z&sr=s&sp=rcwdl&sig=REDACTED", + "Uri" : "http://gaprastg71.file.core.windows.net/filesasclienttestssharesasnetworkidentifierpermissions75073/dir?restype=directory&sv=2019-07-07&se=2019-12-27T21%3A47%3A53Z&sr=s&sp=rcwdl&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d6d7298e-c599-403c-b205-b5ea2eb3fd68" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.1.0-beta.2 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3e2ee74-9360-42af-bce8-c7f965de4a11" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "afed1107-e01a-001e-64f8-a97ee3000000", - "Date" : "Tue, 03 Dec 2019 16:42:41 GMT", - "x-ms-client-request-id" : "d6d7298e-c599-403c-b205-b5ea2eb3fd68" + "x-ms-request-id" : "bc019c6a-001a-0029-4336-bcac4f000000", + "Date" : "Thu, 26 Dec 2019 21:47:53 GMT", + "x-ms-client-request-id" : "c3e2ee74-9360-42af-bce8-c7f965de4a11" }, "Exception" : null } ], - "variables" : [ "filesasclienttestssharesasnetworkidentifierpermissions30482", "2019-12-03T16:42:42.017575800Z", "2019-12-03T16:42:42.152625600Z" ] + "variables" : [ "filesasclienttestssharesasnetworkidentifierpermissions75073", "2019-12-26T21:47:53.519067100Z", "2019-12-26T21:47:53.628066900Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShare.json index 79c968824cb26..2989c2137e0a0 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShare.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestscreateshare75062a0f32c660a4f?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestscreateshare5809697b8be19e865?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4664950d-8de6-4a42-ab1a-0ef95d841b86" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82db50b2-c48e-4915-adcc-61cfe176b3e4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F849C7211", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:06 GMT", + "ETag" : "0x8D77911EF4BA68A", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ab8-a01a-0116-1b88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:05 GMT", - "x-ms-client-request-id" : "4664950d-8de6-4a42-ab1a-0ef95d841b86" + "x-ms-request-id" : "9ba99d69-201a-0011-65fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:22 GMT", + "x-ms-client-request-id" : "82db50b2-c48e-4915-adcc-61cfe176b3e4" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestscreateshare75062a0f32c660a4f" ] + "variables" : [ "fileserviceapitestscreateshare5809697b8be19e865" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareMaxOverloads.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareMaxOverloads.json index bd0ae245791d0..f300ad9e01cc2 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareMaxOverloads.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareMaxOverloads.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestscreatesharemaxoverloads12816872c18?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestscreatesharemaxoverloads37861d9efcf?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4aa4eb52-62ef-4982-8450-96f7eee345a6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f7216108-8afc-472d-b2fe-281082eac734" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F84B09B35", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:06 GMT", + "ETag" : "0x8D77911EF730499", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48abd-a01a-0116-1f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:05 GMT", - "x-ms-client-request-id" : "4aa4eb52-62ef-4982-8450-96f7eee345a6" + "x-ms-request-id" : "9ba99d6d-201a-0011-68fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:23 GMT", + "x-ms-client-request-id" : "f7216108-8afc-472d-b2fe-281082eac734" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestscreatesharemaxoverloads12816872c18" ] + "variables" : [ "fileserviceapitestscreatesharemaxoverloads37861d9efcf" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareWithInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareWithInvalidArgs0.json index 6a9ec0b64e060..1101c6d61f571 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareWithInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareWithInvalidArgs0.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestscreatesharewithinvalidargs016478df17?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestscreatesharewithinvalidargs0676149f76?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "615bde44-ac32-4642-bcef-bece4c010235" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "98716999-95c6-4ce5-8a0e-28d19adcfed7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "83e48ac2-a01a-0116-2388-83b7bd000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:83e48ac2-a01a-0116-2388-83b7bd000000\nTime:2019-10-15T18:43:06.5292228Z", - "Date" : "Tue, 15 Oct 2019 18:43:05 GMT", - "x-ms-client-request-id" : "615bde44-ac32-4642-bcef-bece4c010235", + "x-ms-request-id" : "9ba99d71-201a-0011-6bfa-aa088f000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:9ba99d71-201a-0011-6bfa-aa088f000000\nTime:2019-12-04T23:30:23.7491433Z", + "Date" : "Wed, 04 Dec 2019 23:30:23 GMT", + "x-ms-client-request-id" : "98716999-95c6-4ce5-8a0e-28d19adcfed7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestscreatesharewithinvalidargs016478df17" ] + "variables" : [ "fileserviceapitestscreatesharewithinvalidargs0676149f76" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareWithInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareWithInvalidArgs1.json index 8f5ff1b1bbc7f..dfa48b59571af 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareWithInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareWithInvalidArgs1.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestscreatesharewithinvalidargs1077815a66?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestscreatesharewithinvalidargs130390b5e8?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "08c79788-6083-4f11-baef-f52df336d0e8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "675a7fed-d4a0-4ad0-9c24-a245d04f358b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "83e48ac4-a01a-0116-2588-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48ac4-a01a-0116-2588-83b7bd000000\nTime:2019-10-15T18:43:06.6082975Zx-ms-share-quota-1", - "Date" : "Tue, 15 Oct 2019 18:43:05 GMT", - "x-ms-client-request-id" : "08c79788-6083-4f11-baef-f52df336d0e8", + "x-ms-request-id" : "9ba99d73-201a-0011-6dfa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99d73-201a-0011-6dfa-aa088f000000\nTime:2019-12-04T23:30:23.9241526Zx-ms-share-quota-1", + "Date" : "Wed, 04 Dec 2019 23:30:23 GMT", + "x-ms-client-request-id" : "675a7fed-d4a0-4ad0-9c24-a245d04f358b", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestscreatesharewithinvalidargs1077815a66" ] + "variables" : [ "fileserviceapitestscreatesharewithinvalidargs130390b5e8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsDeleteShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsDeleteShare.json index e17ea9556cd57..691703869bfe6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsDeleteShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsDeleteShare.json @@ -1,44 +1,44 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestsdeleteshare826314d86f8fb0b1f?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestsdeleteshare62031b704907b0a46?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "617a9e50-78f2-4b5c-8833-a230c6617f9a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c52c874-c1f2-4a60-9b7a-f6a5786f996b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F84DD0D2E", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:06 GMT", + "ETag" : "0x8D77911EFCD099E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ac6-a01a-0116-2788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:05 GMT", - "x-ms-client-request-id" : "617a9e50-78f2-4b5c-8833-a230c6617f9a" + "x-ms-request-id" : "9ba99d75-201a-0011-6ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:23 GMT", + "x-ms-client-request-id" : "5c52c874-c1f2-4a60-9b7a-f6a5786f996b" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestsdeleteshare826314d86f8fb0b1f?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestsdeleteshare62031b704907b0a46?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fd82b99e-7cb2-4b40-97b2-a9e1bca8a5fb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "30db25a6-70d4-4ead-8153-6f4dfced6df9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "83e48ac8-a01a-0116-2888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:05 GMT", - "x-ms-client-request-id" : "fd82b99e-7cb2-4b40-97b2-a9e1bca8a5fb" + "x-ms-request-id" : "9ba99d78-201a-0011-70fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:23 GMT", + "x-ms-client-request-id" : "30db25a6-70d4-4ead-8153-6f4dfced6df9" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestsdeleteshare826314d86f8fb0b1f" ] + "variables" : [ "fileserviceapitestsdeleteshare62031b704907b0a46" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsDeleteShareDoesNotExist.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsDeleteShareDoesNotExist.json index 7938b93304fd9..d14d79974bcbb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsDeleteShareDoesNotExist.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsDeleteShareDoesNotExist.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestsdeletesharedoesnotexist325602f4777?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestsdeletesharedoesnotexist69558177702?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5ae5ad05-e59b-42a1-a7b4-0b8123529769" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4193c67f-063d-4c53-86e0-dc166d63826c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48aca-a01a-0116-2a88-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48aca-a01a-0116-2a88-83b7bd000000\nTime:2019-10-15T18:43:06.8375158Z", - "Date" : "Tue, 15 Oct 2019 18:43:05 GMT", - "x-ms-client-request-id" : "5ae5ad05-e59b-42a1-a7b4-0b8123529769", + "x-ms-request-id" : "9ba99d7c-201a-0011-74fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99d7c-201a-0011-74fa-aa088f000000\nTime:2019-12-04T23:30:24.3931431Z", + "Date" : "Wed, 04 Dec 2019 23:30:23 GMT", + "x-ms-client-request-id" : "4193c67f-063d-4c53-86e0-dc166d63826c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestsdeletesharedoesnotexist91551beb238", "fileserviceapitestsdeletesharedoesnotexist325602f4777" ] + "variables" : [ "fileserviceapitestsdeletesharedoesnotexist514743831f2", "fileserviceapitestsdeletesharedoesnotexist69558177702" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsGetFileServiceURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsGetFileServiceURL.json index 186bd59fea8d8..d08bc1eab22ec 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsGetFileServiceURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsGetFileServiceURL.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "fileserviceapitestsgetfileserviceurl65606788b9c8bd" ] + "variables" : [ "fileserviceapitestsgetfileserviceurl49155926545b77" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsGetShareDoesNotCreateAShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsGetShareDoesNotCreateAShare.json index 7bd917123e4bc..2e8f69c1545e4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsGetShareDoesNotCreateAShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsGetShareDoesNotCreateAShare.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "fileserviceapitestsgetsharedoesnotcreateashare38516dc4c" ] + "variables" : [ "fileserviceapitestsgetsharedoesnotcreateashare02155b8f3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json index 8eb84b7e74c75..d578dc06a085a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json @@ -1,110 +1,110 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs000837ab20fc550?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs069944584810050?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "281aadd0-d592-4d34-acdd-efc4a0cf79f2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6ec70ea5-cd6f-4da4-9b35-0d553031d5b2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F85FDB74E", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:08 GMT", + "ETag" : "0x8D77911F1BC2ED1", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48afa-a01a-0116-4d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:07 GMT", - "x-ms-client-request-id" : "281aadd0-d592-4d34-acdd-efc4a0cf79f2" + "x-ms-request-id" : "9ba99db3-201a-0011-1cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:26 GMT", + "x-ms-client-request-id" : "6ec70ea5-cd6f-4da4-9b35-0d553031d5b2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs000837ab20fc551?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs069944584810051?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c57b422d-1cfa-4d11-9657-21b5fea6f89f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "480f4e0d-f1e4-4119-8a05-c1c31bca2b89" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F86042180", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:08 GMT", + "ETag" : "0x8D77911F1C8B48A", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48afc-a01a-0116-4e88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:07 GMT", - "x-ms-client-request-id" : "c57b422d-1cfa-4d11-9657-21b5fea6f89f" + "x-ms-request-id" : "9ba99db5-201a-0011-1dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:26 GMT", + "x-ms-client-request-id" : "480f4e0d-f1e4-4119-8a05-c1c31bca2b89" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs000837ab20fc552?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs069944584810052?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d3bdf507-2e5d-465d-a5f9-fa1b6a298867" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06635081-2f95-42d4-91ab-c6c1da49cfac" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F860A3D77", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:08 GMT", + "ETag" : "0x8D77911F1D61F75", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48afe-a01a-0116-4f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:07 GMT", - "x-ms-client-request-id" : "d3bdf507-2e5d-465d-a5f9-fa1b6a298867" + "x-ms-request-id" : "9ba99db7-201a-0011-1efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:27 GMT", + "x-ms-client-request-id" : "06635081-2f95-42d4-91ab-c6c1da49cfac" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs000837ab20fc552?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs069944584810052?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20bd039f-c84d-4870-bf6e-a7588d7f46e8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "038b5a69-408e-457e-88ac-07533181321d" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:08.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:27.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F860A3D77", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:08 GMT", + "ETag" : "0x8D77911F1D61F75", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b00-a01a-0116-5088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "20bd039f-c84d-4870-bf6e-a7588d7f46e8" + "x-ms-request-id" : "9ba99db9-201a-0011-1ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:27 GMT", + "x-ms-client-request-id" : "038b5a69-408e-457e-88ac-07533181321d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dc2aabdc-2a15-47af-9c5c-080ff6933bfd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f70934b1-3799-4870-8371-b3a126514693" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b01-a01a-0116-5188-83b7bd000000", - "Body" : "fileserviceapitestslistshareswithargsfileserviceapitestslistshareswithargs000837ab20fc550Tue, 15 Oct 2019 18:43:08 GMT\"0x8D7519F85FDB74E\"2fileserviceapitestslistshareswithargs000837ab20fc551Tue, 15 Oct 2019 18:43:08 GMT\"0x8D7519F86042180\"2fileserviceapitestslistshareswithargs000837ab20fc552Tue, 15 Oct 2019 18:43:08 GMT\"0x8D7519F860A3D77\"2", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "dc2aabdc-2a15-47af-9c5c-080ff6933bfd", + "x-ms-request-id" : "9ba99dba-201a-0011-20fa-aa088f000000", + "Body" : "fileserviceapitestslistshareswithargsfileserviceapitestslistshareswithargs069944584810050Wed, 04 Dec 2019 23:30:27 GMT\"0x8D77911F1BC2ED1\"2fileserviceapitestslistshareswithargs069944584810051Wed, 04 Dec 2019 23:30:27 GMT\"0x8D77911F1C8B48A\"2fileserviceapitestslistshareswithargs069944584810052Wed, 04 Dec 2019 23:30:27 GMT\"0x8D77911F1D61F75\"2", + "Date" : "Wed, 04 Dec 2019 23:30:27 GMT", + "x-ms-client-request-id" : "f70934b1-3799-4870-8371-b3a126514693", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestslistshareswithargs000837ab20fc55" ] + "variables" : [ "fileserviceapitestslistshareswithargs06994458481005" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json index 9e0bff18fe018..d215e3d3a1e14 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json @@ -1,110 +1,110 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs1984598691f3740?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs149623f0e87d850?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "30ee197d-9d73-41fc-9d49-c3a7730129de" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1a4ef737-09f1-428d-91f3-d12909a629cc" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F866852C7", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:09 GMT", + "ETag" : "0x8D77911F23333A7", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b06-a01a-0116-5688-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "30ee197d-9d73-41fc-9d49-c3a7730129de" + "x-ms-request-id" : "9ba99dbf-201a-0011-25fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:27 GMT", + "x-ms-client-request-id" : "1a4ef737-09f1-428d-91f3-d12909a629cc" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs1984598691f3741?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs149623f0e87d851?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9ae4da17-713d-4a6d-b716-dd1d43e64b15" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "58a7289c-2a30-4f60-bf8b-ac4a2525e51f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F866E47B5", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:09 GMT", + "ETag" : "0x8D77911F240070E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b08-a01a-0116-5788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "9ae4da17-713d-4a6d-b716-dd1d43e64b15" + "x-ms-request-id" : "9ba99dc2-201a-0011-27fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:27 GMT", + "x-ms-client-request-id" : "58a7289c-2a30-4f60-bf8b-ac4a2525e51f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs1984598691f3742?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs149623f0e87d852?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ada4ad10-713b-4200-b35a-a54f27ed60af" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9b9e4862-2602-4c2a-be18-d58682c38f95" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F867463A2", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:09 GMT", + "ETag" : "0x8D77911F24D7225", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b0a-a01a-0116-5888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "ada4ad10-713b-4200-b35a-a54f27ed60af" + "x-ms-request-id" : "9ba99dc4-201a-0011-28fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:27 GMT", + "x-ms-client-request-id" : "9b9e4862-2602-4c2a-be18-d58682c38f95" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs1984598691f3742?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs149623f0e87d852?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c3df9e95-7d1e-462e-a397-a34d6fb88425" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e4475daf-025b-4af8-a634-5a1a40c8ba13" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:09.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:28.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F867463A2", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:09 GMT", + "ETag" : "0x8D77911F24D7225", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b0c-a01a-0116-5988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "c3df9e95-7d1e-462e-a397-a34d6fb88425" + "x-ms-request-id" : "9ba99dc6-201a-0011-29fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:27 GMT", + "x-ms-client-request-id" : "e4475daf-025b-4af8-a634-5a1a40c8ba13" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs&include=metadata&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs&include=metadata&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1565d410-44ab-4f20-9f44-d70455642155" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b424ba64-8373-446e-a892-bec0c43215b7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b0d-a01a-0116-5a88-83b7bd000000", - "Body" : "fileserviceapitestslistshareswithargsfileserviceapitestslistshareswithargs1984598691f3740Tue, 15 Oct 2019 18:43:09 GMT\"0x8D7519F866852C7\"2valuefileserviceapitestslistshareswithargs1984598691f3741Tue, 15 Oct 2019 18:43:09 GMT\"0x8D7519F866E47B5\"2valuefileserviceapitestslistshareswithargs1984598691f3742Tue, 15 Oct 2019 18:43:09 GMT\"0x8D7519F867463A2\"2value", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "1565d410-44ab-4f20-9f44-d70455642155", + "x-ms-request-id" : "9ba99dc7-201a-0011-2afa-aa088f000000", + "Body" : "fileserviceapitestslistshareswithargsfileserviceapitestslistshareswithargs149623f0e87d850Wed, 04 Dec 2019 23:30:28 GMT\"0x8D77911F23333A7\"2valuefileserviceapitestslistshareswithargs149623f0e87d851Wed, 04 Dec 2019 23:30:28 GMT\"0x8D77911F240070E\"2valuefileserviceapitestslistshareswithargs149623f0e87d852Wed, 04 Dec 2019 23:30:28 GMT\"0x8D77911F24D7225\"2value", + "Date" : "Wed, 04 Dec 2019 23:30:27 GMT", + "x-ms-client-request-id" : "b424ba64-8373-446e-a892-bec0c43215b7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestslistshareswithargs1984598691f374" ] + "variables" : [ "fileserviceapitestslistshareswithargs149623f0e87d85" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json index 729956ef81109..c01216c7fcaba 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json @@ -1,110 +1,110 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs272334f836e01c0?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs24054183ec518b0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ef527408-d6fe-4842-b0a7-c68d7070507d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b92ba162-1daf-417a-a306-1113a198ee5b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F86A0876D", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:09 GMT", + "ETag" : "0x8D77911F2A8B2D7", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b12-a01a-0116-5f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "ef527408-d6fe-4842-b0a7-c68d7070507d" + "x-ms-request-id" : "9ba99dcc-201a-0011-2ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:28 GMT", + "x-ms-client-request-id" : "b92ba162-1daf-417a-a306-1113a198ee5b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs272334f836e01c1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs24054183ec518b1?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3b07ba34-4802-495c-89ff-560ac18a7a6f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3a042f66-8076-4af6-9f72-cdc282433bca" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F86A766E6", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:09 GMT", + "ETag" : "0x8D77911F2B5D0BA", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b14-a01a-0116-6088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "3b07ba34-4802-495c-89ff-560ac18a7a6f" + "x-ms-request-id" : "9ba99dce-201a-0011-30fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:28 GMT", + "x-ms-client-request-id" : "3a042f66-8076-4af6-9f72-cdc282433bca" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs272334f836e01c2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs24054183ec518b2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4f402221-1680-4ba1-9b11-805e30a9c56c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1a7bc729-284e-46f9-9054-9efb629d2d56" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F86AF5813", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:09 GMT", + "ETag" : "0x8D77911F2C38C20", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b16-a01a-0116-6188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "4f402221-1680-4ba1-9b11-805e30a9c56c" + "x-ms-request-id" : "9ba99dd0-201a-0011-31fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:28 GMT", + "x-ms-client-request-id" : "1a7bc729-284e-46f9-9054-9efb629d2d56" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithargs272334f836e01c2?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithargs24054183ec518b2?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "44605217-2bda-42b5-b71e-7f5109b7b9f1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1b35db13-478d-4992-a429-6d5ccd9585c3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:09.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:29.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F86AF5813", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:09 GMT", + "ETag" : "0x8D77911F2C38C20", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b18-a01a-0116-6288-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "44605217-2bda-42b5-b71e-7f5109b7b9f1" + "x-ms-request-id" : "9ba99dd3-201a-0011-32fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:28 GMT", + "x-ms-client-request-id" : "1b35db13-478d-4992-a429-6d5ccd9585c3" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs&include=metadata%2csnapshots&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs&include=metadata%2csnapshots&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "55227a26-683f-4c59-81c1-238f18aab89e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "995e38bc-cad6-48e9-9291-c2cd8a82ca30" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b19-a01a-0116-6388-83b7bd000000", - "Body" : "fileserviceapitestslistshareswithargsfileserviceapitestslistshareswithargs272334f836e01c0Tue, 15 Oct 2019 18:43:09 GMT\"0x8D7519F86A0876D\"2valuefileserviceapitestslistshareswithargs272334f836e01c1Tue, 15 Oct 2019 18:43:09 GMT\"0x8D7519F86A766E6\"2valuefileserviceapitestslistshareswithargs272334f836e01c22019-10-15T18:43:09.0000000ZTue, 15 Oct 2019 18:43:09 GMT\"0x8D7519F86AF5813\"2valuefileserviceapitestslistshareswithargs272334f836e01c2Tue, 15 Oct 2019 18:43:09 GMT\"0x8D7519F86AF5813\"2value", - "Date" : "Tue, 15 Oct 2019 18:43:08 GMT", - "x-ms-client-request-id" : "55227a26-683f-4c59-81c1-238f18aab89e", + "x-ms-request-id" : "9ba99dd4-201a-0011-33fa-aa088f000000", + "Body" : "fileserviceapitestslistshareswithargsfileserviceapitestslistshareswithargs24054183ec518b0Wed, 04 Dec 2019 23:30:28 GMT\"0x8D77911F2A8B2D7\"2valuefileserviceapitestslistshareswithargs24054183ec518b1Wed, 04 Dec 2019 23:30:28 GMT\"0x8D77911F2B5D0BA\"2valuefileserviceapitestslistshareswithargs24054183ec518b22019-12-04T23:30:29.0000000ZWed, 04 Dec 2019 23:30:29 GMT\"0x8D77911F2C38C20\"2valuefileserviceapitestslistshareswithargs24054183ec518b2Wed, 04 Dec 2019 23:30:29 GMT\"0x8D77911F2C38C20\"2value", + "Date" : "Wed, 04 Dec 2019 23:30:28 GMT", + "x-ms-client-request-id" : "995e38bc-cad6-48e9-9291-c2cd8a82ca30", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestslistshareswithargs272334f836e01c" ] + "variables" : [ "fileserviceapitestslistshareswithargs24054183ec518b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter0.json index f9b896b5b2500..774e6e6627875 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter0.json @@ -1,88 +1,88 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter0146338d8e4560?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter013317a3f529c0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "39d93f53-50f4-4e26-9b03-dd97e2df9b58" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8f8c884f-45f6-4eb6-b3e8-583c8a23384f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F85033C10", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:06 GMT", + "ETag" : "0x8D77911F01538BA", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48acc-a01a-0116-2c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "39d93f53-50f4-4e26-9b03-dd97e2df9b58" + "x-ms-request-id" : "9ba99d81-201a-0011-77fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:24 GMT", + "x-ms-client-request-id" : "8f8c884f-45f6-4eb6-b3e8-583c8a23384f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter0146338d8e4561?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter013317a3f529c1?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3d5d9995-c0d9-42c3-b570-72cd33126e95" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aa1e7d92-234f-4f97-a3b0-825cf352dc35" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F850B7B70", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:06 GMT", + "ETag" : "0x8D77911F021E616", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ace-a01a-0116-2d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "3d5d9995-c0d9-42c3-b570-72cd33126e95" + "x-ms-request-id" : "9ba99d83-201a-0011-78fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:24 GMT", + "x-ms-client-request-id" : "aa1e7d92-234f-4f97-a3b0-825cf352dc35" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter0146338d8e4562?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter013317a3f529c2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "62e93833-5445-4b84-a5ea-bec6db339db4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca10df94-a473-4825-ad08-75d368f281bd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8511E5A8", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:07 GMT", + "ETag" : "0x8D77911F02E8BA5", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ad0-a01a-0116-2e88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "62e93833-5445-4b84-a5ea-bec6db339db4" + "x-ms-request-id" : "9ba99d85-201a-0011-79fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:24 GMT", + "x-ms-client-request-id" : "ca10df94-a473-4825-ad08-75d368f281bd" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f4a5739c-4b35-490f-9e9c-410310e66483" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a1797e65-2136-4e4d-bf58-e40f29c8fd27" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48ad2-a01a-0116-2f88-83b7bd000000", - "Body" : "fileserviceapitestslistshareswithfilterfileserviceapitestslistshareswithfilter0146338d8e4560Tue, 15 Oct 2019 18:43:06 GMT\"0x8D7519F85033C10\"1fileserviceapitestslistshareswithfilter0146338d8e4561Tue, 15 Oct 2019 18:43:06 GMT\"0x8D7519F850B7B70\"2fileserviceapitestslistshareswithfilter0146338d8e4562Tue, 15 Oct 2019 18:43:07 GMT\"0x8D7519F8511E5A8\"3", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "f4a5739c-4b35-490f-9e9c-410310e66483", + "x-ms-request-id" : "9ba99d87-201a-0011-7afa-aa088f000000", + "Body" : "fileserviceapitestslistshareswithfilterfileserviceapitestslistshareswithfilter013317a3f529c0Wed, 04 Dec 2019 23:30:24 GMT\"0x8D77911F01538BA\"1fileserviceapitestslistshareswithfilter013317a3f529c1Wed, 04 Dec 2019 23:30:24 GMT\"0x8D77911F021E616\"2fileserviceapitestslistshareswithfilter013317a3f529c2Wed, 04 Dec 2019 23:30:24 GMT\"0x8D77911F02E8BA5\"3", + "Date" : "Wed, 04 Dec 2019 23:30:24 GMT", + "x-ms-client-request-id" : "a1797e65-2136-4e4d-bf58-e40f29c8fd27", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestslistshareswithfilter0146338d8e456" ] + "variables" : [ "fileserviceapitestslistshareswithfilter013317a3f529c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json index 7d2035c68d741..c15dc8753e30f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json @@ -1,88 +1,88 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter169101f3707060?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter157817ec8a4170?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a3e3c600-75ba-41e1-891d-c98679c875a0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ebdb571d-85c5-4de8-8f45-6789c3581b8d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F853B2283", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:07 GMT", + "ETag" : "0x8D77911F07B2409", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ad7-a01a-0116-3488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "a3e3c600-75ba-41e1-891d-c98679c875a0" + "x-ms-request-id" : "9ba99d8c-201a-0011-7ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:24 GMT", + "x-ms-client-request-id" : "ebdb571d-85c5-4de8-8f45-6789c3581b8d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter169101f3707061?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter157817ec8a4171?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1a0c431f-5b41-44a4-9450-681f0fee22ba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "88b94e84-9f8e-4cd7-8648-ff5466057458" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8542EC90", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:07 GMT", + "ETag" : "0x8D77911F08846DD", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ad9-a01a-0116-3588-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "1a0c431f-5b41-44a4-9450-681f0fee22ba" + "x-ms-request-id" : "9ba99d8e-201a-0011-80fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:24 GMT", + "x-ms-client-request-id" : "88b94e84-9f8e-4cd7-8648-ff5466057458" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter169101f3707062?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter157817ec8a4172?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e59fcf9b-364a-4005-8094-ad6c90539adc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "19ac09b1-ba01-4a05-b855-74ac333e2617" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F854A8F8A", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:07 GMT", + "ETag" : "0x8D77911F095897E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48adb-a01a-0116-3688-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "e59fcf9b-364a-4005-8094-ad6c90539adc" + "x-ms-request-id" : "9ba99d90-201a-0011-01fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:24 GMT", + "x-ms-client-request-id" : "19ac09b1-ba01-4a05-b855-74ac333e2617" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&include=metadata&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&include=metadata&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bc90f651-e820-435e-8d9b-911a848c1ede" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4a39a8e1-aae2-41f1-b560-9ca890cb6440" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48add-a01a-0116-3788-83b7bd000000", - "Body" : "fileserviceapitestslistshareswithfilterfileserviceapitestslistshareswithfilter169101f3707060Tue, 15 Oct 2019 18:43:07 GMT\"0x8D7519F853B2283\"1fileserviceapitestslistshareswithfilter169101f3707061Tue, 15 Oct 2019 18:43:07 GMT\"0x8D7519F8542EC90\"2fileserviceapitestslistshareswithfilter169101f3707062Tue, 15 Oct 2019 18:43:07 GMT\"0x8D7519F854A8F8A\"3value", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "bc90f651-e820-435e-8d9b-911a848c1ede", + "x-ms-request-id" : "9ba99d92-201a-0011-02fa-aa088f000000", + "Body" : "fileserviceapitestslistshareswithfilterfileserviceapitestslistshareswithfilter157817ec8a4170Wed, 04 Dec 2019 23:30:25 GMT\"0x8D77911F07B2409\"1fileserviceapitestslistshareswithfilter157817ec8a4171Wed, 04 Dec 2019 23:30:25 GMT\"0x8D77911F08846DD\"2fileserviceapitestslistshareswithfilter157817ec8a4172Wed, 04 Dec 2019 23:30:25 GMT\"0x8D77911F095897E\"3value", + "Date" : "Wed, 04 Dec 2019 23:30:25 GMT", + "x-ms-client-request-id" : "4a39a8e1-aae2-41f1-b560-9ca890cb6440", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestslistshareswithfilter169101f370706" ] + "variables" : [ "fileserviceapitestslistshareswithfilter157817ec8a417" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json index 4b5d4001a6916..89e86deb095ba 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json @@ -1,88 +1,88 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter25514644b7feb0?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter213660fdd6da20?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a982ce93-a0a7-4f0a-a787-825b09c6ad27" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "07e2031c-b3dc-4283-a9c0-743eeea5edae" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8573A553", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:07 GMT", + "ETag" : "0x8D77911F0E249FE", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ae3-a01a-0116-3c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "a982ce93-a0a7-4f0a-a787-825b09c6ad27" + "x-ms-request-id" : "9ba99d99-201a-0011-09fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:25 GMT", + "x-ms-client-request-id" : "07e2031c-b3dc-4283-a9c0-743eeea5edae" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter25514644b7feb1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter213660fdd6da21?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "31b4d529-cf42-43ba-985a-9e49176a6b38" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a4969ef-6900-41f1-a4a8-b005dcf9d788" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F857AABF0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:07 GMT", + "ETag" : "0x8D77911F0F00735", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ae5-a01a-0116-3d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "31b4d529-cf42-43ba-985a-9e49176a6b38" + "x-ms-request-id" : "9ba99d9c-201a-0011-0bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:25 GMT", + "x-ms-client-request-id" : "0a4969ef-6900-41f1-a4a8-b005dcf9d788" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter25514644b7feb2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter213660fdd6da22?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "68ce8bc9-2039-4913-a3e0-1c4288ea4c51" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "24887b03-ae1e-42df-b2da-3309d245ee2d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8580C7E7", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:07 GMT", + "ETag" : "0x8D77911F0FCAF77", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ae7-a01a-0116-3e88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "68ce8bc9-2039-4913-a3e0-1c4288ea4c51" + "x-ms-request-id" : "9ba99d9e-201a-0011-0cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:25 GMT", + "x-ms-client-request-id" : "24887b03-ae1e-42df-b2da-3309d245ee2d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b13c498-b6eb-4a96-9a59-d596e242238e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a20bb6b5-68bd-440a-bad8-da32be88c330" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48ae9-a01a-0116-3f88-83b7bd000000", - "Body" : "fileserviceapitestslistshareswithfilterfileserviceapitestslistshareswithfilter25514644b7feb0Tue, 15 Oct 2019 18:43:07 GMT\"0x8D7519F8573A553\"1fileserviceapitestslistshareswithfilter25514644b7feb1Tue, 15 Oct 2019 18:43:07 GMT\"0x8D7519F857AABF0\"2fileserviceapitestslistshareswithfilter25514644b7feb2Tue, 15 Oct 2019 18:43:07 GMT\"0x8D7519F8580C7E7\"3", - "Date" : "Tue, 15 Oct 2019 18:43:06 GMT", - "x-ms-client-request-id" : "9b13c498-b6eb-4a96-9a59-d596e242238e", + "x-ms-request-id" : "9ba99da0-201a-0011-0dfa-aa088f000000", + "Body" : "fileserviceapitestslistshareswithfilterfileserviceapitestslistshareswithfilter213660fdd6da20Wed, 04 Dec 2019 23:30:25 GMT\"0x8D77911F0E249FE\"1fileserviceapitestslistshareswithfilter213660fdd6da21Wed, 04 Dec 2019 23:30:25 GMT\"0x8D77911F0F00735\"2fileserviceapitestslistshareswithfilter213660fdd6da22Wed, 04 Dec 2019 23:30:26 GMT\"0x8D77911F0FCAF77\"3", + "Date" : "Wed, 04 Dec 2019 23:30:25 GMT", + "x-ms-client-request-id" : "a20bb6b5-68bd-440a-bad8-da32be88c330", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestslistshareswithfilter25514644b7feb" ] + "variables" : [ "fileserviceapitestslistshareswithfilter213660fdd6da2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json index fb34be28d0b61..225d304964c88 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json @@ -1,109 +1,109 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter333412c1158b90?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter396647bc9bd190?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fcad3e19-e2dc-42d1-93be-a006fcb92d96" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a90288cd-ab65-46ef-93a3-b5eb5b81f30f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F85A7932A", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:08 GMT", + "ETag" : "0x8D77911F14A832E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48aee-a01a-0116-4488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:07 GMT", - "x-ms-client-request-id" : "fcad3e19-e2dc-42d1-93be-a006fcb92d96" + "x-ms-request-id" : "9ba99da5-201a-0011-12fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:26 GMT", + "x-ms-client-request-id" : "a90288cd-ab65-46ef-93a3-b5eb5b81f30f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter333412c1158b91?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter396647bc9bd191?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "366d7d50-e97f-4cb8-8fe7-b718aefd8ce4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "488e26b1-6a74-45b0-bfa5-64ca468418da" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F85AF0F0D", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:08 GMT", + "ETag" : "0x8D77911F1572B5E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48af0-a01a-0116-4588-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:07 GMT", - "x-ms-client-request-id" : "366d7d50-e97f-4cb8-8fe7-b718aefd8ce4" + "x-ms-request-id" : "9ba99da8-201a-0011-13fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:26 GMT", + "x-ms-client-request-id" : "488e26b1-6a74-45b0-bfa5-64ca468418da" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceapitestslistshareswithfilter333412c1158b92?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestslistshareswithfilter396647bc9bd192?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e0fa61e5-78de-4885-8f8d-1ebfc3aa61a1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bec98dbc-1ce1-430c-bf2d-65720df1366d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F85B79C9B", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:08 GMT", + "ETag" : "0x8D77911F163FCA2", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48af2-a01a-0116-4688-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:07 GMT", - "x-ms-client-request-id" : "e0fa61e5-78de-4885-8f8d-1ebfc3aa61a1" + "x-ms-request-id" : "9ba99daa-201a-0011-14fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:26 GMT", + "x-ms-client-request-id" : "bec98dbc-1ce1-430c-bf2d-65720df1366d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&maxresults=2&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&maxresults=2&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f6457a34-eea3-4ff9-a24a-d824bfff9fa8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d2beddf-e384-4899-aac1-302546d1eb84" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48af4-a01a-0116-4788-83b7bd000000", - "Body" : "fileserviceapitestslistshareswithfilter2fileserviceapitestslistshareswithfilter333412c1158b90Tue, 15 Oct 2019 18:43:08 GMT\"0x8D7519F85A7932A\"1fileserviceapitestslistshareswithfilter333412c1158b91Tue, 15 Oct 2019 18:43:08 GMT\"0x8D7519F85AF0F0D\"2/azstoragesdkaccount/fileserviceapitestslistshareswithfilter333412c1158b92", - "Date" : "Tue, 15 Oct 2019 18:43:07 GMT", - "x-ms-client-request-id" : "f6457a34-eea3-4ff9-a24a-d824bfff9fa8", + "x-ms-request-id" : "9ba99dac-201a-0011-15fa-aa088f000000", + "Body" : "fileserviceapitestslistshareswithfilter2fileserviceapitestslistshareswithfilter396647bc9bd190Wed, 04 Dec 2019 23:30:26 GMT\"0x8D77911F14A832E\"1fileserviceapitestslistshareswithfilter396647bc9bd191Wed, 04 Dec 2019 23:30:26 GMT\"0x8D77911F1572B5E\"2/gaprastg71/fileserviceapitestslistshareswithfilter396647bc9bd192", + "Date" : "Wed, 04 Dec 2019 23:30:26 GMT", + "x-ms-client-request-id" : "7d2beddf-e384-4899-aac1-302546d1eb84", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&marker=/azstoragesdkaccount/fileserviceapitestslistshareswithfilter333412c1158b92&maxresults=2&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter&marker=/gaprastg71/fileserviceapitestslistshareswithfilter396647bc9bd192&maxresults=2&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ba669d2f-7ce1-437c-9cbb-571da602415e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c8960653-1b54-46f8-a0c0-af3063eb8b72" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48af5-a01a-0116-4888-83b7bd000000", - "Body" : "fileserviceapitestslistshareswithfilter/azstoragesdkaccount/fileserviceapitestslistshareswithfilter333412c1158b922fileserviceapitestslistshareswithfilter333412c1158b92Tue, 15 Oct 2019 18:43:08 GMT\"0x8D7519F85B79C9B\"3", - "Date" : "Tue, 15 Oct 2019 18:43:07 GMT", - "x-ms-client-request-id" : "ba669d2f-7ce1-437c-9cbb-571da602415e", + "x-ms-request-id" : "9ba99dad-201a-0011-16fa-aa088f000000", + "Body" : "fileserviceapitestslistshareswithfilter/gaprastg71/fileserviceapitestslistshareswithfilter396647bc9bd1922fileserviceapitestslistshareswithfilter396647bc9bd192Wed, 04 Dec 2019 23:30:26 GMT\"0x8D77911F163FCA2\"3", + "Date" : "Wed, 04 Dec 2019 23:30:26 GMT", + "x-ms-client-request-id" : "c8960653-1b54-46f8-a0c0-af3063eb8b72", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestslistshareswithfilter333412c1158b9" ] + "variables" : [ "fileserviceapitestslistshareswithfilter396647bc9bd19" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithPremiumShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithPremiumShare.json new file mode 100644 index 0000000000000..9b68c9cff6500 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithPremiumShare.json @@ -0,0 +1,46 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://e88xscnapdz5ptf01d.file.preprod.core.windows.net/jtsfileserviceapitestslistshareswithpremiumshare07537755af?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bcfdfebd-f90c-40a2-a223-7d427f521f06" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D779C30379688F", + "Last-Modified" : "Thu, 05 Dec 2019 20:37:58 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d9075ffd-401a-0024-77ab-ab7482000000", + "Date" : "Thu, 05 Dec 2019 20:37:57 GMT", + "x-ms-client-request-id" : "bcfdfebd-f90c-40a2-a223-7d427f521f06" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://e88xscnapdz5ptf01d.file.preprod.core.windows.net?include=&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5205ba4a-9ad0-4916-9329-ff5a7cc8c054" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "d9076000-401a-0024-78ab-ab7482000000", + "Body" : "jtsfileserviceapitestslistshareswithpremiumshare0038723930Thu, 05 Dec 2019 19:25:55 GMT\"0x8D779B8F32EE1E0\"100SMB1004466Thu, 05 Dec 2019 19:25:55 GMTjtsfileserviceapitestslistshareswithpremiumshare07537755afThu, 05 Dec 2019 20:37:58 GMT\"0x8D779C30379688F\"100SMB1004466Thu, 05 Dec 2019 20:37:57 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare0229959aThu, 05 Dec 2019 19:34:11 GMT\"0x8D779BA1AA09CDE\"100SMB1004466Thu, 05 Dec 2019 19:34:11 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare05687330Thu, 05 Dec 2019 20:16:46 GMT\"0x8D779C00D582B1D\"100SMB1004466Thu, 05 Dec 2019 20:16:46 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare0588960dThu, 05 Dec 2019 19:31:12 GMT\"0x8D779B9AFFA6838\"100SMB1004466Thu, 05 Dec 2019 19:31:12 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare07866844Thu, 05 Dec 2019 20:16:55 GMT\"0x8D779C013258493\"100SMB1004466Thu, 05 Dec 2019 20:16:55 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare0799469dThu, 05 Dec 2019 19:35:52 GMT\"0x8D779BA56C81E32\"100SMB1004466Thu, 05 Dec 2019 19:35:52 GMTjtsshareapitestsgetpropertiespremium083320a655990a80Thu, 05 Dec 2019 19:16:45 GMT\"0x8D779B7AB2E6AE9\"100SMB1004466Thu, 05 Dec 2019 19:16:45 GMTjtsshareasyncapitestsgetpropertiespremium004757e6d7da63Thu, 05 Dec 2019 20:20:32 GMT\"0x8D779C094778270\"100SMB1004466Thu, 05 Dec 2019 20:20:32 GMTtest-share-4f448f0a-b9a5-3581-bff4-b852cd2a616eThu, 21 Nov 2019 23:58:27 GMT\"0x8D76EDEB41D146D\"100SMB1004466Thu, 21 Nov 2019 23:58:27 GMTtest-share-bde8486f-e193-78f9-914e-19c3418dae0dFri, 22 Nov 2019 00:24:32 GMT\"0x8D76EE25888B159\"100SMB1004466Fri, 22 Nov 2019 00:24:32 GMT", + "Date" : "Thu, 05 Dec 2019 20:37:57 GMT", + "x-ms-client-request-id" : "5205ba4a-9ad0-4916-9329-ff5a7cc8c054", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileserviceapitestslistshareswithpremiumshare83743e1127", "jtsfileserviceapitestslistshareswithpremiumshare07537755af" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetProperties.json index dac439db8be17..e430b75b3c3ff 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetProperties.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetProperties.json @@ -1,87 +1,87 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "http://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3bba5a6f-325f-4e10-ba60-b83821206b1e" + "x-ms-client-request-id" : "67c38c0e-532e-4789-a403-737bb7863cd6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "85a17cdd-601a-00c8-6127-d2a141000000", + "x-ms-request-id" : "c4f78b47-101a-0035-5d19-d6fe2f000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Thu, 23 Jan 2020 19:55:20 GMT", - "x-ms-client-request-id" : "3bba5a6f-325f-4e10-ba60-b83821206b1e", + "Date" : "Tue, 28 Jan 2020 20:28:07 GMT", + "x-ms-client-request-id" : "67c38c0e-532e-4789-a403-737bb7863cd6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "http://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "009f0d0d-1b5a-4d54-ba77-d9b7566be135" + "x-ms-client-request-id" : "048a4de6-3f9f-4653-8ed3-95dac13be14d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "85a17ce0-601a-00c8-6227-d2a141000000", + "x-ms-request-id" : "c4f78b48-101a-0035-5e19-d6fe2f000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Thu, 23 Jan 2020 19:55:20 GMT", - "x-ms-client-request-id" : "009f0d0d-1b5a-4d54-ba77-d9b7566be135", + "Date" : "Tue, 28 Jan 2020 20:28:08 GMT", + "x-ms-client-request-id" : "048a4de6-3f9f-4653-8ed3-95dac13be14d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "http://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "9587eca6-1b2a-4a6f-92de-c205cfaa18cc", + "x-ms-client-request-id" : "0c429045-65b7-4e49-bc32-c8ee899030e7", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "85a17ce1-601a-00c8-6327-d2a141000000", - "Date" : "Thu, 23 Jan 2020 19:55:22 GMT", - "x-ms-client-request-id" : "9587eca6-1b2a-4a6f-92de-c205cfaa18cc" + "x-ms-request-id" : "c4f78b49-101a-0035-5f19-d6fe2f000000", + "Date" : "Tue, 28 Jan 2020 20:28:08 GMT", + "x-ms-client-request-id" : "0c429045-65b7-4e49-bc32-c8ee899030e7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "http://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "630d586e-e279-4f91-945c-a7649e0fcee2" + "x-ms-client-request-id" : "2c8f1a7f-426e-4c66-a7a7-5be9b02213bf" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "85a17cf9-601a-00c8-7127-d2a141000000", + "x-ms-request-id" : "c4f78b4a-101a-0035-6019-d6fe2f000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Thu, 23 Jan 2020 19:55:22 GMT", - "x-ms-client-request-id" : "630d586e-e279-4f91-945c-a7649e0fcee2", + "Date" : "Tue, 28 Jan 2020 20:28:08 GMT", + "x-ms-client-request-id" : "2c8f1a7f-426e-4c66-a7a7-5be9b02213bf", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestssetandgetproperties57745432c836e" ] + "variables" : [ "fileserviceapitestssetandgetproperties19823172aee52" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs0.json index 39575d0613216..bbf0742b346a0 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs0.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cb72b97a-0b2b-497c-bb00-6997ba61af32", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "542059c8-cbaa-4fc0-b6cd-fa8915767be9", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "83e48b2f-a01a-0116-6f88-83b7bd000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:83e48b2f-a01a-0116-6f88-83b7bd000000\nTime:2019-10-15T18:43:13.4437724Z00", - "Date" : "Tue, 15 Oct 2019 18:43:12 GMT", - "x-ms-client-request-id" : "cb72b97a-0b2b-497c-bb00-6997ba61af32", + "x-ms-request-id" : "9ba99de4-201a-0011-3efa-aa088f000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ba99de4-201a-0011-3efa-aa088f000000\nTime:2019-12-04T23:30:30.9081007Z00", + "Date" : "Wed, 04 Dec 2019 23:30:30 GMT", + "x-ms-client-request-id" : "542059c8-cbaa-4fc0-b6cd-fa8915767be9", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs089465" ] + "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs001670" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs1.json index 1b64e07480a25..0c99d0701dae8 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs1.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9953c9a7-9e37-4cc2-8e03-97c80766dc6c", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f262de20-fb0d-4e3d-997c-3def5943092f", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "83e48b31-a01a-0116-7188-83b7bd000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:83e48b31-a01a-0116-7188-83b7bd000000\nTime:2019-10-15T18:43:13.5198445Z00", - "Date" : "Tue, 15 Oct 2019 18:43:12 GMT", - "x-ms-client-request-id" : "9953c9a7-9e37-4cc2-8e03-97c80766dc6c", + "x-ms-request-id" : "9ba99de6-201a-0011-40fa-aa088f000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ba99de6-201a-0011-40fa-aa088f000000\nTime:2019-12-04T23:30:31.0771284Z00", + "Date" : "Wed, 04 Dec 2019 23:30:30 GMT", + "x-ms-client-request-id" : "f262de20-fb0d-4e3d-997c-3def5943092f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs100674" ] + "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs106062" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs2.json index 38d764d715dff..a4372464cb1a5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs2.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0d759cd6-b0f3-4a15-aed3-7587515871e5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5ab96379-db18-41a7-b6f5-149108bf5d46", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "83e48b33-a01a-0116-7388-83b7bd000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:83e48b33-a01a-0116-7388-83b7bd000000\nTime:2019-10-15T18:43:13.5909116Z00", - "Date" : "Tue, 15 Oct 2019 18:43:12 GMT", - "x-ms-client-request-id" : "0d759cd6-b0f3-4a15-aed3-7587515871e5", + "x-ms-request-id" : "9ba99de8-201a-0011-42fa-aa088f000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ba99de8-201a-0011-42fa-aa088f000000\nTime:2019-12-04T23:30:31.2541086Z00", + "Date" : "Wed, 04 Dec 2019 23:30:30 GMT", + "x-ms-client-request-id" : "5ab96379-db18-41a7-b6f5-149108bf5d46", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs215365" ] + "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs269904" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs3.json index fe6fae43c938e..75a6fb41f7486 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs3.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "594cee19-4ead-4761-b276-b4dcdde71777", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "56d0a7a9-92a5-49e9-80c9-f5c46c6795ce", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "83e48b35-a01a-0116-7588-83b7bd000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:83e48b35-a01a-0116-7588-83b7bd000000\nTime:2019-10-15T18:43:13.6629803Z00", - "Date" : "Tue, 15 Oct 2019 18:43:12 GMT", - "x-ms-client-request-id" : "594cee19-4ead-4761-b276-b4dcdde71777", + "x-ms-request-id" : "9ba99dec-201a-0011-45fa-aa088f000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ba99dec-201a-0011-45fa-aa088f000000\nTime:2019-12-04T23:30:31.4151021Z00", + "Date" : "Wed, 04 Dec 2019 23:30:30 GMT", + "x-ms-client-request-id" : "56d0a7a9-92a5-49e9-80c9-f5c46c6795ce", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs327214" ] + "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs389403" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs4.json index 1063697fec4c4..08cbb34ec15a5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs4.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsSetAndGetPropertiesWithInvalidArgs4.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "38cad6f4-44c6-45a3-85d4-1979831d79a1", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63c9ce26-4908-4130-9625-55d2e3520007", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlNodeValue", "retry-after" : "0", "Content-Length" : "340", "StatusCode" : "400", - "x-ms-request-id" : "83e48b37-a01a-0116-7788-83b7bd000000", - "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:83e48b37-a01a-0116-7788-83b7bd000000\nTime:2019-10-15T18:43:13.7350481ZAllowedMethodsNOTAREALHTTPMETHOD", - "Date" : "Tue, 15 Oct 2019 18:43:12 GMT", - "x-ms-client-request-id" : "38cad6f4-44c6-45a3-85d4-1979831d79a1", + "x-ms-request-id" : "9ba99dee-201a-0011-47fa-aa088f000000", + "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:9ba99dee-201a-0011-47fa-aa088f000000\nTime:2019-12-04T23:30:31.6011620ZAllowedMethodsNOTAREALHTTPMETHOD", + "Date" : "Wed, 04 Dec 2019 23:30:31 GMT", + "x-ms-client-request-id" : "63c9ce26-4908-4130-9625-55d2e3520007", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs457927" ] + "variables" : [ "fileserviceapitestssetandgetpropertieswithinvalidargs445943" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShare.json index a75f12f7fb2cc..2fb7ac181794d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShare.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreateshare494046f9b20ed53?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreateshare61408c7e3d024d7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d0fb3b4e-3e6a-4e3d-b12c-c39a8b2d31b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f9b9a088-8159-43a1-bdd6-5e521ca67b86" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F892E396C", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:13 GMT", + "ETag" : "0x8D77911F47C3ABD", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b3c-a01a-0116-7b88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "d0fb3b4e-3e6a-4e3d-b12c-c39a8b2d31b5" + "x-ms-request-id" : "9ba99df3-201a-0011-4bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:31 GMT", + "x-ms-client-request-id" : "f9b9a088-8159-43a1-bdd6-5e521ca67b86" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreateshare494046f9b20ed53" ] + "variables" : [ "fileserviceasyncapitestscreateshare61408c7e3d024d7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs0.json index b5cff8008a985..3c4e5f12ed455 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs0.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreatesharewithinvalidargs00349037?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreatesharewithinvalidargs01799295?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f1ce57f3-8a4d-40bc-ad4c-f3da5678f8f6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d9e3f306-f094-4f7a-9011-3aa93de49be9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "83e48b44-a01a-0116-0288-83b7bd000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:83e48b44-a01a-0116-0288-83b7bd000000\nTime:2019-10-15T18:43:14.2345228Z", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "f1ce57f3-8a4d-40bc-ad4c-f3da5678f8f6", + "x-ms-request-id" : "9ba99e0a-201a-0011-5cfa-aa088f000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:9ba99e0a-201a-0011-5cfa-aa088f000000\nTime:2019-12-04T23:30:33.1801004Z", + "Date" : "Wed, 04 Dec 2019 23:30:32 GMT", + "x-ms-client-request-id" : "d9e3f306-f094-4f7a-9011-3aa93de49be9", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreatesharewithinvalidargs00349037" ] + "variables" : [ "fileserviceasyncapitestscreatesharewithinvalidargs01799295" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs1.json index 7e3e4d8dcecad..ca657c2ade41d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs1.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreatesharewithinvalidargs1898733c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreatesharewithinvalidargs1352263f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "429b22a9-7af6-4589-a338-798d3a4d7b11" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9e47786f-44a2-4ca7-8341-e30d98f8aed0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "83e48b46-a01a-0116-0488-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48b46-a01a-0116-0488-83b7bd000000\nTime:2019-10-15T18:43:14.3145973Zx-ms-share-quota-1", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "429b22a9-7af6-4589-a338-798d3a4d7b11", + "x-ms-request-id" : "9ba99e0c-201a-0011-5efa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99e0c-201a-0011-5efa-aa088f000000\nTime:2019-12-04T23:30:33.3310962Zx-ms-share-quota-1", + "Date" : "Wed, 04 Dec 2019 23:30:32 GMT", + "x-ms-client-request-id" : "9e47786f-44a2-4ca7-8341-e30d98f8aed0", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreatesharewithinvalidargs1898733c" ] + "variables" : [ "fileserviceasyncapitestscreatesharewithinvalidargs1352263f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs2.json index 5e8ea1109bd5a..33b3354930020 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs2.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreatesharewithinvalidargs2294925d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreatesharewithinvalidargs23657605?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f87de6a3-0a49-4f98-802a-b5012015d61c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "abb7bbc2-c06b-4065-90d7-e2e389b9a08c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "323", "StatusCode" : "400", - "x-ms-request-id" : "83e48b48-a01a-0116-0688-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48b48-a01a-0116-0688-83b7bd000000\nTime:2019-10-15T18:43:14.3856648Zx-ms-share-quota0", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "f87de6a3-0a49-4f98-802a-b5012015d61c", + "x-ms-request-id" : "9ba99e0e-201a-0011-60fa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99e0e-201a-0011-60fa-aa088f000000\nTime:2019-12-04T23:30:33.4800835Zx-ms-share-quota0", + "Date" : "Wed, 04 Dec 2019 23:30:32 GMT", + "x-ms-client-request-id" : "abb7bbc2-c06b-4065-90d7-e2e389b9a08c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreatesharewithinvalidargs2294925d" ] + "variables" : [ "fileserviceasyncapitestscreatesharewithinvalidargs23657605" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs3.json index d6112b3080835..364c9feb6148b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithInvalidArgs3.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreatesharewithinvalidargs36314104?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreatesharewithinvalidargs390883e2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0bb72bdf-cc19-4d8d-ad4e-65ac00fcc09b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "34d41140-6975-4bd1-b319-0d0ee94d45ee" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "326", "StatusCode" : "400", - "x-ms-request-id" : "83e48b4a-a01a-0116-0888-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48b4a-a01a-0116-0888-83b7bd000000\nTime:2019-10-15T18:43:14.4587338Zx-ms-share-quota5200", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "0bb72bdf-cc19-4d8d-ad4e-65ac00fcc09b", + "x-ms-request-id" : "9ba99e10-201a-0011-62fa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99e10-201a-0011-62fa-aa088f000000\nTime:2019-12-04T23:30:33.6321545Zx-ms-share-quota5200", + "Date" : "Wed, 04 Dec 2019 23:30:33 GMT", + "x-ms-client-request-id" : "34d41140-6975-4bd1-b319-0d0ee94d45ee", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreatesharewithinvalidargs36314104" ] + "variables" : [ "fileserviceasyncapitestscreatesharewithinvalidargs390883e2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata0.json index a79d70f058a22..a9552caca31b7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata0.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreatesharewithmetadata0189344ce?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreatesharewithmetadata050433f0e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "78a17ff1-4c22-4c51-a307-9cfe78f40247" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "388f5903-a429-44ef-9c73-bc6576067d1b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F48047CE7D", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:20 GMT", + "ETag" : "0x8D77911F4A1C1CC", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c6f5-801a-00e0-7cdd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:20 GMT", - "x-ms-client-request-id" : "78a17ff1-4c22-4c51-a307-9cfe78f40247" + "x-ms-request-id" : "9ba99df9-201a-0011-4ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:31 GMT", + "x-ms-client-request-id" : "388f5903-a429-44ef-9c73-bc6576067d1b" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreatesharewithmetadata0189344ce" ] + "variables" : [ "fileserviceasyncapitestscreatesharewithmetadata050433f0e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata1.json index 4429ad95a82a1..53960ee40fb23 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata1.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreatesharewithmetadata1992691e9?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreatesharewithmetadata1242448ef?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fe1d46eb-270d-474f-b7f7-adbd706f699a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb0e2c61-0b05-448e-9a51-f4a82136b474" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F4805ABEE1", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:20 GMT", + "ETag" : "0x8D77911F4C85DA8", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c6fa-801a-00e0-7fdd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:20 GMT", - "x-ms-client-request-id" : "fe1d46eb-270d-474f-b7f7-adbd706f699a" + "x-ms-request-id" : "9ba99dfd-201a-0011-52fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:31 GMT", + "x-ms-client-request-id" : "eb0e2c61-0b05-448e-9a51-f4a82136b474" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreatesharewithmetadata1992691e9" ] + "variables" : [ "fileserviceasyncapitestscreatesharewithmetadata1242448ef" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata2.json index 91c1f919e3b99..1d3763f648559 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata2.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreatesharewithmetadata297265f35?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreatesharewithmetadata204739bb9?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d6180769-f034-4942-86a8-1aa08b45a658" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef22aab7-33fd-4ae1-8e64-caa69fe8f9a2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F48069B689", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:20 GMT", + "ETag" : "0x8D77911F4EEA8A9", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c6fe-801a-00e0-02dd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:20 GMT", - "x-ms-client-request-id" : "d6180769-f034-4942-86a8-1aa08b45a658" + "x-ms-request-id" : "9ba99e02-201a-0011-56fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:32 GMT", + "x-ms-client-request-id" : "ef22aab7-33fd-4ae1-8e64-caa69fe8f9a2" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreatesharewithmetadata297265f35" ] + "variables" : [ "fileserviceasyncapitestscreatesharewithmetadata204739bb9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata3.json index 4437315c73b61..c11e0b04d0529 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsCreateShareWithMetadata3.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestscreatesharewithmetadata38160832a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestscreatesharewithmetadata327343211?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "adc4e920-9c16-424a-8ae1-7bb2cf1e9e09" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9232f16-8a2c-4461-bd6a-7595e5ef44fd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F4807C7FC7", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:20 GMT", + "ETag" : "0x8D77911F514802C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c702-801a-00e0-05dd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:20 GMT", - "x-ms-client-request-id" : "adc4e920-9c16-424a-8ae1-7bb2cf1e9e09" + "x-ms-request-id" : "9ba99e06-201a-0011-59fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:32 GMT", + "x-ms-client-request-id" : "e9232f16-8a2c-4461-bd6a-7595e5ef44fd" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestscreatesharewithmetadata38160832a" ] + "variables" : [ "fileserviceasyncapitestscreatesharewithmetadata327343211" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsDeleteShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsDeleteShare.json index 4c18c917fed3c..455b8157565ef 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsDeleteShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsDeleteShare.json @@ -1,44 +1,44 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestsdeleteshare58087048eed9be5?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestsdeleteshare637363c757b0150?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dee391f8-0ce6-4adb-b574-28b7bf3a6163" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4d2e5594-5687-45bd-b382-ca7fa1f16241" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D766F480B2DF30", - "Last-Modified" : "Mon, 11 Nov 2019 22:14:21 GMT", + "ETag" : "0x8D77911F595BDBF", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5332c70e-801a-00e0-10dd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:20 GMT", - "x-ms-client-request-id" : "dee391f8-0ce6-4adb-b574-28b7bf3a6163" + "x-ms-request-id" : "9ba99e12-201a-0011-64fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:33 GMT", + "x-ms-client-request-id" : "4d2e5594-5687-45bd-b382-ca7fa1f16241" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestsdeleteshare58087048eed9be5?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestsdeleteshare637363c757b0150?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f48b1691-6540-44f5-afe4-08194e4d4653" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e98c9cd2-5766-42b6-8f0b-568219c0cb84" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "5332c710-801a-00e0-11dd-98d6fe000000", - "Date" : "Mon, 11 Nov 2019 22:14:20 GMT", - "x-ms-client-request-id" : "f48b1691-6540-44f5-afe4-08194e4d4653" + "x-ms-request-id" : "9ba99e15-201a-0011-66fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:33 GMT", + "x-ms-client-request-id" : "e98c9cd2-5766-42b6-8f0b-568219c0cb84" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestsdeleteshare58087048eed9be5" ] + "variables" : [ "fileserviceasyncapitestsdeleteshare637363c757b0150" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsDeleteShareDoesNotExist.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsDeleteShareDoesNotExist.json index 4fdd123f10c5e..6787eecdddb4b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsDeleteShareDoesNotExist.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsDeleteShareDoesNotExist.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestsdeletesharedoesnotexist48278f4fc?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestsdeletesharedoesnotexist823525699?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "74478370-90d5-49f1-8106-61739bea3f03" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1e00d4fd-a0a0-4af9-81a6-802e6bc45778" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48b4d-a01a-0116-0b88-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48b4d-a01a-0116-0b88-83b7bd000000\nTime:2019-10-15T18:43:14.5708395Z", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "74478370-90d5-49f1-8106-61739bea3f03", + "x-ms-request-id" : "9ba99e17-201a-0011-68fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99e17-201a-0011-68fa-aa088f000000\nTime:2019-12-04T23:30:34.0421271Z", + "Date" : "Wed, 04 Dec 2019 23:30:33 GMT", + "x-ms-client-request-id" : "1e00d4fd-a0a0-4af9-81a6-802e6bc45778", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestsdeletesharedoesnotexist15383534f", "fileserviceasyncapitestsdeletesharedoesnotexist48278f4fc" ] + "variables" : [ "fileserviceasyncapitestsdeletesharedoesnotexist8935433bd", "fileserviceasyncapitestsdeletesharedoesnotexist823525699" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsGetFileServiceURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsGetFileServiceURL.json index 6d8d1ed1146eb..fa74ffeb97966 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsGetFileServiceURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsGetFileServiceURL.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "fileserviceasyncapitestsgetfileserviceurl23462f57e4a1" ] + "variables" : [ "fileserviceasyncapitestsgetfileserviceurl3536580b8ea1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsGetShareDoesNotCreateAShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsGetShareDoesNotCreateAShare.json index c878e8ebe46b5..0976f9f61f21e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsGetShareDoesNotCreateAShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsGetShareDoesNotCreateAShare.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "fileserviceasyncapitestsgetsharedoesnotcreateashare276427d" ] + "variables" : [ "fileserviceasyncapitestsgetsharedoesnotcreateashare289244c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs0.json index 72c19d72765e8..59ffc2adbd61f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs0.json @@ -1,110 +1,110 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs0549112b41c90?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs096958cfb2da0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4b9e1a71-f0ee-45e0-b126-fcc52ba2207a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "57cb2e2f-a339-49fd-ad12-ef44f3028ffe" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A7F753C", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:16 GMT", + "ETag" : "0x8D77911F777003C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b81-a01a-0116-3088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "4b9e1a71-f0ee-45e0-b126-fcc52ba2207a" + "x-ms-request-id" : "9ba99e4c-201a-0011-0efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:36 GMT", + "x-ms-client-request-id" : "57cb2e2f-a339-49fd-ad12-ef44f3028ffe" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs0549112b41c91?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs096958cfb2da1?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7cc64519-a339-4923-a83d-8e06b175a49c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "448f280d-1f34-4051-b4af-8e0c0025e499" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A8802C5", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:16 GMT", + "ETag" : "0x8D77911F7841F88", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b83-a01a-0116-3188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "7cc64519-a339-4923-a83d-8e06b175a49c" + "x-ms-request-id" : "9ba99e4e-201a-0011-0ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:36 GMT", + "x-ms-client-request-id" : "448f280d-1f34-4051-b4af-8e0c0025e499" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs0549112b41c92?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs096958cfb2da2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fbb0ace5-d703-4d53-8320-6c67b0cbd254" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e1057ab5-d691-413b-a63d-eb20c353f190" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A8F7EA4", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:16 GMT", + "ETag" : "0x8D77911F7913EEC", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b86-a01a-0116-3288-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "fbb0ace5-d703-4d53-8320-6c67b0cbd254" + "x-ms-request-id" : "9ba99e50-201a-0011-10fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:36 GMT", + "x-ms-client-request-id" : "e1057ab5-d691-413b-a63d-eb20c353f190" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs0549112b41c92?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs096958cfb2da2?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e53b3af0-1a69-4d25-a242-8780660083e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f7ce067f-96d3-4f3e-a4b0-56d2a01511bf" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:16.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:37.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A8F7EA4", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:16 GMT", + "ETag" : "0x8D77911F7913EEC", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b88-a01a-0116-3388-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "e53b3af0-1a69-4d25-a242-8780660083e6" + "x-ms-request-id" : "9ba99e53-201a-0011-12fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:36 GMT", + "x-ms-client-request-id" : "f7ce067f-96d3-4f3e-a4b0-56d2a01511bf" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithargs&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithargs&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "598a51dd-b705-4fe7-8cbd-90a1d73d5e53" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6cf19686-b52f-4b5d-8c41-c7be36e685f2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b89-a01a-0116-3488-83b7bd000000", - "Body" : "fileserviceasyncapitestslistshareswithargsfileserviceasyncapitestslistshareswithargs0549112b41c90Tue, 15 Oct 2019 18:43:16 GMT\"0x8D7519F8A7F753C\"2fileserviceasyncapitestslistshareswithargs0549112b41c91Tue, 15 Oct 2019 18:43:16 GMT\"0x8D7519F8A8802C5\"2fileserviceasyncapitestslistshareswithargs0549112b41c92Tue, 15 Oct 2019 18:43:16 GMT\"0x8D7519F8A8F7EA4\"2", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "598a51dd-b705-4fe7-8cbd-90a1d73d5e53", + "x-ms-request-id" : "9ba99e54-201a-0011-13fa-aa088f000000", + "Body" : "fileserviceasyncapitestslistshareswithargsfileserviceasyncapitestslistshareswithargs096958cfb2da0Wed, 04 Dec 2019 23:30:36 GMT\"0x8D77911F777003C\"2fileserviceasyncapitestslistshareswithargs096958cfb2da1Wed, 04 Dec 2019 23:30:37 GMT\"0x8D77911F7841F88\"2fileserviceasyncapitestslistshareswithargs096958cfb2da2Wed, 04 Dec 2019 23:30:37 GMT\"0x8D77911F7913EEC\"2", + "Date" : "Wed, 04 Dec 2019 23:30:36 GMT", + "x-ms-client-request-id" : "6cf19686-b52f-4b5d-8c41-c7be36e685f2", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestslistshareswithargs0549112b41c9" ] + "variables" : [ "fileserviceasyncapitestslistshareswithargs096958cfb2da" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs1.json index 7392e9dc6d0f8..0e57ff006d359 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs1.json @@ -1,110 +1,110 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs152821912d5c0?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs137678171bbf0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c8e996a4-8b39-446f-a17e-87509fc5ba83" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7088522c-c7ef-493e-b2cd-736aee43cb98" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8AD375F6", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:16 GMT", + "ETag" : "0x8D77911F7EC0A9E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b99-a01a-0116-4288-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "c8e996a4-8b39-446f-a17e-87509fc5ba83" + "x-ms-request-id" : "9ba99e5a-201a-0011-19fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:37 GMT", + "x-ms-client-request-id" : "7088522c-c7ef-493e-b2cd-736aee43cb98" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs152821912d5c1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs137678171bbf1?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "12306782-59a4-4794-a7e9-52bd4c0b7b34" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "94d6d660-326c-4872-929e-09881767f3c2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8AD96AD5", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:16 GMT", + "ETag" : "0x8D77911F7F9057F", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b9f-a01a-0116-4788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "12306782-59a4-4794-a7e9-52bd4c0b7b34" + "x-ms-request-id" : "9ba99e5c-201a-0011-1afa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:37 GMT", + "x-ms-client-request-id" : "94d6d660-326c-4872-929e-09881767f3c2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs152821912d5c2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs137678171bbf2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "56f9089e-a0bb-42bd-a759-742139b45c50" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4b63b00b-9332-42f3-b379-59996615df91" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8ADFADE8", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:16 GMT", + "ETag" : "0x8D77911F8062379", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ba4-a01a-0116-4b88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "56f9089e-a0bb-42bd-a759-742139b45c50" + "x-ms-request-id" : "9ba99e5e-201a-0011-1bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:37 GMT", + "x-ms-client-request-id" : "4b63b00b-9332-42f3-b379-59996615df91" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs152821912d5c2?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs137678171bbf2?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "149ac935-7618-4976-b11e-36a7fcd1ea2a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6d686dbc-298a-4a86-b8f8-daa5066acdf3" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:16.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:37.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8ADFADE8", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:16 GMT", + "ETag" : "0x8D77911F8062379", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:37 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48baa-a01a-0116-5088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "149ac935-7618-4976-b11e-36a7fcd1ea2a" + "x-ms-request-id" : "9ba99e60-201a-0011-1cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:37 GMT", + "x-ms-client-request-id" : "6d686dbc-298a-4a86-b8f8-daa5066acdf3" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithargs&include=metadata&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithargs&include=metadata&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d2986b23-d7b4-4539-9376-3ca534f20039" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77760abf-e044-435d-939d-008d6f35de22" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48bb0-a01a-0116-5688-83b7bd000000", - "Body" : "fileserviceasyncapitestslistshareswithargsfileserviceasyncapitestslistshareswithargs152821912d5c0Tue, 15 Oct 2019 18:43:16 GMT\"0x8D7519F8AD375F6\"2valuefileserviceasyncapitestslistshareswithargs152821912d5c1Tue, 15 Oct 2019 18:43:16 GMT\"0x8D7519F8AD96AD5\"2valuefileserviceasyncapitestslistshareswithargs152821912d5c2Tue, 15 Oct 2019 18:43:16 GMT\"0x8D7519F8ADFADE8\"2value", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "d2986b23-d7b4-4539-9376-3ca534f20039", + "x-ms-request-id" : "9ba99e61-201a-0011-1dfa-aa088f000000", + "Body" : "fileserviceasyncapitestslistshareswithargsfileserviceasyncapitestslistshareswithargs137678171bbf0Wed, 04 Dec 2019 23:30:37 GMT\"0x8D77911F7EC0A9E\"2valuefileserviceasyncapitestslistshareswithargs137678171bbf1Wed, 04 Dec 2019 23:30:37 GMT\"0x8D77911F7F9057F\"2valuefileserviceasyncapitestslistshareswithargs137678171bbf2Wed, 04 Dec 2019 23:30:37 GMT\"0x8D77911F8062379\"2value", + "Date" : "Wed, 04 Dec 2019 23:30:37 GMT", + "x-ms-client-request-id" : "77760abf-e044-435d-939d-008d6f35de22", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestslistshareswithargs152821912d5c" ] + "variables" : [ "fileserviceasyncapitestslistshareswithargs137678171bbf" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs2.json index a4ff8be4f0a93..cec49497b8a4f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithArgs2.json @@ -1,110 +1,110 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs235193432af10?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs2507653777270?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5c3548d9-fce3-4ef3-8774-ff23cee6a7b1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a3f535dd-d405-4766-8926-e7542d7e9815" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8B0E6A5D", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:17 GMT", + "ETag" : "0x8D77911F85E0644", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bb6-a01a-0116-5c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:16 GMT", - "x-ms-client-request-id" : "5c3548d9-fce3-4ef3-8774-ff23cee6a7b1" + "x-ms-request-id" : "9ba99e66-201a-0011-22fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:37 GMT", + "x-ms-client-request-id" : "a3f535dd-d405-4766-8926-e7542d7e9815" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs235193432af11?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs2507653777271?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c40e976d-a211-4b6e-97b1-a186531a685e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6a2a222-1328-44d4-a66f-e0749bc88679" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8B14FBAC", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:17 GMT", + "ETag" : "0x8D77911F86AFCCD", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bb8-a01a-0116-5d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:16 GMT", - "x-ms-client-request-id" : "c40e976d-a211-4b6e-97b1-a186531a685e" + "x-ms-request-id" : "9ba99e68-201a-0011-23fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:37 GMT", + "x-ms-client-request-id" : "d6a2a222-1328-44d4-a66f-e0749bc88679" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs235193432af12?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs2507653777272?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ab93790e-6142-47ca-8c03-a854d8a34562" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f7677d6-9046-4e2b-b9ef-7e9beada0ba5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8B1C0236", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:17 GMT", + "ETag" : "0x8D77911F8781C2C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bba-a01a-0116-5e88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:16 GMT", - "x-ms-client-request-id" : "ab93790e-6142-47ca-8c03-a854d8a34562" + "x-ms-request-id" : "9ba99e6a-201a-0011-24fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:38 GMT", + "x-ms-client-request-id" : "5f7677d6-9046-4e2b-b9ef-7e9beada0ba5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithargs235193432af12?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithargs2507653777272?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3a1e11a2-a52d-4968-95bb-19b5c73eb002" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1206bda9-fd43-478e-9e5a-6104817b0d54" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:17.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:38.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8B1C0236", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:17 GMT", + "ETag" : "0x8D77911F8781C2C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:38 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bbc-a01a-0116-5f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:16 GMT", - "x-ms-client-request-id" : "3a1e11a2-a52d-4968-95bb-19b5c73eb002" + "x-ms-request-id" : "9ba99e6c-201a-0011-25fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:38 GMT", + "x-ms-client-request-id" : "1206bda9-fd43-478e-9e5a-6104817b0d54" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithargs&include=metadata%2csnapshots&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithargs&include=metadata%2csnapshots&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b455425-a6f0-4102-beef-d31da0a91c73" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9eea2b30-022f-4d73-b7c5-85c8cf9dab91" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48bbd-a01a-0116-6088-83b7bd000000", - "Body" : "fileserviceasyncapitestslistshareswithargsfileserviceasyncapitestslistshareswithargs235193432af10Tue, 15 Oct 2019 18:43:17 GMT\"0x8D7519F8B0E6A5D\"2valuefileserviceasyncapitestslistshareswithargs235193432af11Tue, 15 Oct 2019 18:43:17 GMT\"0x8D7519F8B14FBAC\"2valuefileserviceasyncapitestslistshareswithargs235193432af122019-10-15T18:43:17.0000000ZTue, 15 Oct 2019 18:43:17 GMT\"0x8D7519F8B1C0236\"2valuefileserviceasyncapitestslistshareswithargs235193432af12Tue, 15 Oct 2019 18:43:17 GMT\"0x8D7519F8B1C0236\"2value", - "Date" : "Tue, 15 Oct 2019 18:43:16 GMT", - "x-ms-client-request-id" : "2b455425-a6f0-4102-beef-d31da0a91c73", + "x-ms-request-id" : "9ba99e6d-201a-0011-26fa-aa088f000000", + "Body" : "fileserviceasyncapitestslistshareswithargsfileserviceasyncapitestslistshareswithargs2507653777270Wed, 04 Dec 2019 23:30:38 GMT\"0x8D77911F85E0644\"2valuefileserviceasyncapitestslistshareswithargs2507653777271Wed, 04 Dec 2019 23:30:38 GMT\"0x8D77911F86AFCCD\"2valuefileserviceasyncapitestslistshareswithargs25076537772722019-12-04T23:30:38.0000000ZWed, 04 Dec 2019 23:30:38 GMT\"0x8D77911F8781C2C\"2valuefileserviceasyncapitestslistshareswithargs2507653777272Wed, 04 Dec 2019 23:30:38 GMT\"0x8D77911F8781C2C\"2value", + "Date" : "Wed, 04 Dec 2019 23:30:38 GMT", + "x-ms-client-request-id" : "9eea2b30-022f-4d73-b7c5-85c8cf9dab91", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestslistshareswithargs235193432af1" ] + "variables" : [ "fileserviceasyncapitestslistshareswithargs250765377727" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter0.json index 756181a309f0a..a876c85d1df4f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter0.json @@ -1,88 +1,88 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter098123372d00?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter0823916a05c0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "86c72f57-80e8-4c9f-b650-7eafdd4a7c65" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f70184d9-2e83-4d20-be90-ac9b130fa81f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F899B1F62", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:14 GMT", + "ETag" : "0x8D77911F5D44D69", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b50-a01a-0116-0e88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "86c72f57-80e8-4c9f-b650-7eafdd4a7c65" + "x-ms-request-id" : "9ba99e1a-201a-0011-6afa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:33 GMT", + "x-ms-client-request-id" : "f70184d9-2e83-4d20-be90-ac9b130fa81f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter098123372d01?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter0823916a05c1?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e871645b-d222-4f50-b978-d5b2d51fa70f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "45f7dd75-882a-45e6-94fa-89916a8eb58f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F89A16279", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:14 GMT", + "ETag" : "0x8D77911F5E1E1E7", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b53-a01a-0116-1088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "e871645b-d222-4f50-b978-d5b2d51fa70f" + "x-ms-request-id" : "9ba99e1c-201a-0011-6bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:33 GMT", + "x-ms-client-request-id" : "45f7dd75-882a-45e6-94fa-89916a8eb58f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter098123372d02?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter0823916a05c2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "284cac65-c48e-4a41-a83e-63d503f831c2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9e39fd71-2e01-4107-82bd-1bc198726e64" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F89A77E74", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:14 GMT", + "ETag" : "0x8D77911F5EEB330", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b55-a01a-0116-1188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "284cac65-c48e-4a41-a83e-63d503f831c2" + "x-ms-request-id" : "9ba99e1e-201a-0011-6cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:33 GMT", + "x-ms-client-request-id" : "9e39fd71-2e01-4107-82bd-1bc198726e64" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a79116e7-7bd5-4b65-9b4b-1b024ac8035f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "23740fa2-d812-4105-a1e1-f459906f4cbd" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b57-a01a-0116-1288-83b7bd000000", - "Body" : "fileserviceasyncapitestslistshareswithfilterfileserviceasyncapitestslistshareswithfilter098123372d00Tue, 15 Oct 2019 18:43:14 GMT\"0x8D7519F899B1F62\"1fileserviceasyncapitestslistshareswithfilter098123372d01Tue, 15 Oct 2019 18:43:14 GMT\"0x8D7519F89A16279\"2fileserviceasyncapitestslistshareswithfilter098123372d02Tue, 15 Oct 2019 18:43:14 GMT\"0x8D7519F89A77E74\"3", - "Date" : "Tue, 15 Oct 2019 18:43:13 GMT", - "x-ms-client-request-id" : "a79116e7-7bd5-4b65-9b4b-1b024ac8035f", + "x-ms-request-id" : "9ba99e21-201a-0011-6dfa-aa088f000000", + "Body" : "fileserviceasyncapitestslistshareswithfilterfileserviceasyncapitestslistshareswithfilter0823916a05c0Wed, 04 Dec 2019 23:30:34 GMT\"0x8D77911F5D44D69\"1fileserviceasyncapitestslistshareswithfilter0823916a05c1Wed, 04 Dec 2019 23:30:34 GMT\"0x8D77911F5E1E1E7\"2fileserviceasyncapitestslistshareswithfilter0823916a05c2Wed, 04 Dec 2019 23:30:34 GMT\"0x8D77911F5EEB330\"3", + "Date" : "Wed, 04 Dec 2019 23:30:33 GMT", + "x-ms-client-request-id" : "23740fa2-d812-4105-a1e1-f459906f4cbd", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestslistshareswithfilter098123372d0" ] + "variables" : [ "fileserviceasyncapitestslistshareswithfilter0823916a05c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter1.json index 83fa04a92c32b..9de3251b9fd02 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter1.json @@ -1,88 +1,88 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter117045e8c1c0?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter1006064205e0?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b06b24d-a16a-4699-b576-06b5c4f1159d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a38ce2b-5461-40c4-8ee2-61d53d504eda" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F89CEE627", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:14 GMT", + "ETag" : "0x8D77911F63AD72F", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b5d-a01a-0116-1788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "2b06b24d-a16a-4699-b576-06b5c4f1159d" + "x-ms-request-id" : "9ba99e27-201a-0011-73fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:34 GMT", + "x-ms-client-request-id" : "6a38ce2b-5461-40c4-8ee2-61d53d504eda" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter117045e8c1c1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter1006064205e1?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "92c83084-c7af-4755-84fe-93c53f9d28ee" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e60a5e69-049f-48dd-8b27-769d4b3ca65a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F89D4DB0B", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:15 GMT", + "ETag" : "0x8D77911F647CFE8", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b60-a01a-0116-1888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "92c83084-c7af-4755-84fe-93c53f9d28ee" + "x-ms-request-id" : "9ba99e29-201a-0011-74fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:34 GMT", + "x-ms-client-request-id" : "e60a5e69-049f-48dd-8b27-769d4b3ca65a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter117045e8c1c2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter1006064205e2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87447e99-72c7-45be-a19f-c1b41daeb216" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0ab41ee-2f68-4632-95e3-d503d6912601" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F89DB9368", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:15 GMT", + "ETag" : "0x8D77911F654A0E0", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b62-a01a-0116-1988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "87447e99-72c7-45be-a19f-c1b41daeb216" + "x-ms-request-id" : "9ba99e2b-201a-0011-75fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:34 GMT", + "x-ms-client-request-id" : "a0ab41ee-2f68-4632-95e3-d503d6912601" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&include=metadata&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&include=metadata&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fe169ba6-38ea-4f37-9a4f-3c76cf4ad814" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e95ce78-92fb-41bc-92bc-1cbbac6812f0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b64-a01a-0116-1a88-83b7bd000000", - "Body" : "fileserviceasyncapitestslistshareswithfilterfileserviceasyncapitestslistshareswithfilter117045e8c1c0Tue, 15 Oct 2019 18:43:14 GMT\"0x8D7519F89CEE627\"1fileserviceasyncapitestslistshareswithfilter117045e8c1c1Tue, 15 Oct 2019 18:43:15 GMT\"0x8D7519F89D4DB0B\"2fileserviceasyncapitestslistshareswithfilter117045e8c1c2Tue, 15 Oct 2019 18:43:15 GMT\"0x8D7519F89DB9368\"3value", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "fe169ba6-38ea-4f37-9a4f-3c76cf4ad814", + "x-ms-request-id" : "9ba99e2d-201a-0011-76fa-aa088f000000", + "Body" : "fileserviceasyncapitestslistshareswithfilterfileserviceasyncapitestslistshareswithfilter1006064205e0Wed, 04 Dec 2019 23:30:34 GMT\"0x8D77911F63AD72F\"1fileserviceasyncapitestslistshareswithfilter1006064205e1Wed, 04 Dec 2019 23:30:34 GMT\"0x8D77911F647CFE8\"2fileserviceasyncapitestslistshareswithfilter1006064205e2Wed, 04 Dec 2019 23:30:35 GMT\"0x8D77911F654A0E0\"3value", + "Date" : "Wed, 04 Dec 2019 23:30:34 GMT", + "x-ms-client-request-id" : "8e95ce78-92fb-41bc-92bc-1cbbac6812f0", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestslistshareswithfilter117045e8c1c" ] + "variables" : [ "fileserviceasyncapitestslistshareswithfilter1006064205e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter2.json index 04f3770871c51..3ac502ec2ef22 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter2.json @@ -1,88 +1,88 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter2545163d9a40?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter263189ae9640?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cdb53108-be6e-4dae-9cc1-2be83b16cda9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "898b48cf-70e8-4b5a-b9d0-0f4dfaf2342b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A037060", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:15 GMT", + "ETag" : "0x8D77911F6A09E08", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b69-a01a-0116-1f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "cdb53108-be6e-4dae-9cc1-2be83b16cda9" + "x-ms-request-id" : "9ba99e33-201a-0011-7cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:34 GMT", + "x-ms-client-request-id" : "898b48cf-70e8-4b5a-b9d0-0f4dfaf2342b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter2545163d9a41?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter263189ae9641?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "15f6305f-d313-46af-9a8f-8895d803b9e0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5ba6a166-92c1-4958-bd6f-3ab09655e90d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A0D84F6", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:15 GMT", + "ETag" : "0x8D77911F6AD6EE4", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b6b-a01a-0116-2088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "15f6305f-d313-46af-9a8f-8895d803b9e0" + "x-ms-request-id" : "9ba99e35-201a-0011-7dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:35 GMT", + "x-ms-client-request-id" : "5ba6a166-92c1-4958-bd6f-3ab09655e90d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter2545163d9a42?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter263189ae9642?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6d864cb6-83e4-4f4a-b1de-0051bf9fe21f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ffd8fce4-54b7-413d-8c5d-1927f8d86417" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A159D3A", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:15 GMT", + "ETag" : "0x8D77911F6BA67A3", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b6d-a01a-0116-2188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "6d864cb6-83e4-4f4a-b1de-0051bf9fe21f" + "x-ms-request-id" : "9ba99e37-201a-0011-7efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:35 GMT", + "x-ms-client-request-id" : "ffd8fce4-54b7-413d-8c5d-1927f8d86417" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "62e0e073-2eb5-4988-8ce7-b0b2e7622c00" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c6ca76e-ba5e-4df4-9cf0-baf1842cc9eb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b70-a01a-0116-2288-83b7bd000000", - "Body" : "fileserviceasyncapitestslistshareswithfilterfileserviceasyncapitestslistshareswithfilter2545163d9a40Tue, 15 Oct 2019 18:43:15 GMT\"0x8D7519F8A037060\"1fileserviceasyncapitestslistshareswithfilter2545163d9a41Tue, 15 Oct 2019 18:43:15 GMT\"0x8D7519F8A0D84F6\"2fileserviceasyncapitestslistshareswithfilter2545163d9a42Tue, 15 Oct 2019 18:43:15 GMT\"0x8D7519F8A159D3A\"3", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "62e0e073-2eb5-4988-8ce7-b0b2e7622c00", + "x-ms-request-id" : "9ba99e39-201a-0011-7ffa-aa088f000000", + "Body" : "fileserviceasyncapitestslistshareswithfilterfileserviceasyncapitestslistshareswithfilter263189ae9640Wed, 04 Dec 2019 23:30:35 GMT\"0x8D77911F6A09E08\"1fileserviceasyncapitestslistshareswithfilter263189ae9641Wed, 04 Dec 2019 23:30:35 GMT\"0x8D77911F6AD6EE4\"2fileserviceasyncapitestslistshareswithfilter263189ae9642Wed, 04 Dec 2019 23:30:35 GMT\"0x8D77911F6BA67A3\"3", + "Date" : "Wed, 04 Dec 2019 23:30:35 GMT", + "x-ms-client-request-id" : "4c6ca76e-ba5e-4df4-9cf0-baf1842cc9eb", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestslistshareswithfilter2545163d9a4" ] + "variables" : [ "fileserviceasyncapitestslistshareswithfilter263189ae964" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter3.json index 27df59e050b22..b68544e0ee8ac 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithFilter3.json @@ -1,109 +1,109 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter375318533af0?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter3387379ecb60?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a4921971-d36d-4bf7-baab-0b28b4a5e395" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "07911e17-e4c2-45fb-9f8a-9c3e9cdf7665" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A42364B", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:15 GMT", + "ETag" : "0x8D77911F70664A6", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b75-a01a-0116-2788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "a4921971-d36d-4bf7-baab-0b28b4a5e395" + "x-ms-request-id" : "9ba99e3e-201a-0011-04fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:35 GMT", + "x-ms-client-request-id" : "07911e17-e4c2-45fb-9f8a-9c3e9cdf7665" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter375318533af1?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter3387379ecb61?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "334bcab3-87c8-467a-b61a-cbe15ecb318f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6d95cc0e-1b7f-4963-8f13-2c85462ddc02" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A485246", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:15 GMT", + "ETag" : "0x8D77911F713387E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b77-a01a-0116-2888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "334bcab3-87c8-467a-b61a-cbe15ecb318f" + "x-ms-request-id" : "9ba99e40-201a-0011-05fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:35 GMT", + "x-ms-client-request-id" : "6d95cc0e-1b7f-4963-8f13-2c85462ddc02" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter375318533af2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceasyncapitestslistshareswithfilter3387379ecb62?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ab067d9f-cc63-4fd2-97f7-3db1485ff8e7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e81bc243-79ef-428e-98c7-7f9081b92cd9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8A50DFD9", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:15 GMT", + "ETag" : "0x8D77911F7202DE7", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48b79-a01a-0116-2988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "ab067d9f-cc63-4fd2-97f7-3db1485ff8e7" + "x-ms-request-id" : "9ba99e43-201a-0011-07fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:35 GMT", + "x-ms-client-request-id" : "e81bc243-79ef-428e-98c7-7f9081b92cd9" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&maxresults=2&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&maxresults=2&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "251f4598-146d-476d-b2bf-0e4095a7caae" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "430fd897-cd8d-442f-9bbe-b62ea96b5c88" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b7b-a01a-0116-2a88-83b7bd000000", - "Body" : "fileserviceasyncapitestslistshareswithfilter2fileserviceasyncapitestslistshareswithfilter375318533af0Tue, 15 Oct 2019 18:43:15 GMT\"0x8D7519F8A42364B\"1fileserviceasyncapitestslistshareswithfilter375318533af1Tue, 15 Oct 2019 18:43:15 GMT\"0x8D7519F8A485246\"2/azstoragesdkaccount/fileserviceasyncapitestslistshareswithfilter375318533af2", - "Date" : "Tue, 15 Oct 2019 18:43:14 GMT", - "x-ms-client-request-id" : "251f4598-146d-476d-b2bf-0e4095a7caae", + "x-ms-request-id" : "9ba99e45-201a-0011-08fa-aa088f000000", + "Body" : "fileserviceasyncapitestslistshareswithfilter2fileserviceasyncapitestslistshareswithfilter3387379ecb60Wed, 04 Dec 2019 23:30:36 GMT\"0x8D77911F70664A6\"1fileserviceasyncapitestslistshareswithfilter3387379ecb61Wed, 04 Dec 2019 23:30:36 GMT\"0x8D77911F713387E\"2/gaprastg71/fileserviceasyncapitestslistshareswithfilter3387379ecb62", + "Date" : "Wed, 04 Dec 2019 23:30:35 GMT", + "x-ms-client-request-id" : "430fd897-cd8d-442f-9bbe-b62ea96b5c88", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&marker=/azstoragesdkaccount/fileserviceasyncapitestslistshareswithfilter375318533af2&maxresults=2&include=&comp=list", + "Uri" : "https://gaprastg71.file.core.windows.net?prefix=fileserviceasyncapitestslistshareswithfilter&marker=/gaprastg71/fileserviceasyncapitestslistshareswithfilter3387379ecb62&maxresults=2&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "49bf1e56-6f5b-433f-929e-bda240e9b299" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f4803ef1-4840-4747-9fdf-e25d0bbad83c" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48b7c-a01a-0116-2b88-83b7bd000000", - "Body" : "fileserviceasyncapitestslistshareswithfilter/azstoragesdkaccount/fileserviceasyncapitestslistshareswithfilter375318533af22fileserviceasyncapitestslistshareswithfilter375318533af2Tue, 15 Oct 2019 18:43:15 GMT\"0x8D7519F8A50DFD9\"3", - "Date" : "Tue, 15 Oct 2019 18:43:15 GMT", - "x-ms-client-request-id" : "49bf1e56-6f5b-433f-929e-bda240e9b299", + "x-ms-request-id" : "9ba99e46-201a-0011-09fa-aa088f000000", + "Body" : "fileserviceasyncapitestslistshareswithfilter/gaprastg71/fileserviceasyncapitestslistshareswithfilter3387379ecb622fileserviceasyncapitestslistshareswithfilter3387379ecb62Wed, 04 Dec 2019 23:30:36 GMT\"0x8D77911F7202DE7\"3", + "Date" : "Wed, 04 Dec 2019 23:30:35 GMT", + "x-ms-client-request-id" : "f4803ef1-4840-4747-9fdf-e25d0bbad83c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestslistshareswithfilter375318533af" ] + "variables" : [ "fileserviceasyncapitestslistshareswithfilter3387379ecb6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithPremiumShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithPremiumShare.json new file mode 100644 index 0000000000000..244fdaf420658 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsListSharesWithPremiumShare.json @@ -0,0 +1,46 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://e88xscnapdz5ptf01d.file.preprod.core.windows.net/jtsfileserviceasyncapitestslistshareswithpremiumshare056496c5?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8f5cc721-a266-4e7f-a701-e7e0bb6289e9" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D779C31B4C492D", + "Last-Modified" : "Thu, 05 Dec 2019 20:38:37 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ccf4dcc2-a01a-006a-4cab-abb167000000", + "Date" : "Thu, 05 Dec 2019 20:38:37 GMT", + "x-ms-client-request-id" : "8f5cc721-a266-4e7f-a701-e7e0bb6289e9" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://e88xscnapdz5ptf01d.file.preprod.core.windows.net?include=&comp=list", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0ac5fec7-9257-4e2b-b6b6-ca9a9369d3ae" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "ccf4dcc5-a01a-006a-4dab-abb167000000", + "Body" : "jtsfileserviceapitestslistshareswithpremiumshare0038723930Thu, 05 Dec 2019 19:25:55 GMT\"0x8D779B8F32EE1E0\"100SMB1004466Thu, 05 Dec 2019 19:25:55 GMTjtsfileserviceapitestslistshareswithpremiumshare07537755afThu, 05 Dec 2019 20:37:58 GMT\"0x8D779C30379688F\"100SMB1004466Thu, 05 Dec 2019 20:37:57 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare0229959aThu, 05 Dec 2019 19:34:11 GMT\"0x8D779BA1AA09CDE\"100SMB1004466Thu, 05 Dec 2019 19:34:11 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare056496c5Thu, 05 Dec 2019 20:38:37 GMT\"0x8D779C31B4C492D\"100SMB1004466Thu, 05 Dec 2019 20:38:37 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare05687330Thu, 05 Dec 2019 20:16:46 GMT\"0x8D779C00D582B1D\"100SMB1004466Thu, 05 Dec 2019 20:16:46 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare0588960dThu, 05 Dec 2019 19:31:12 GMT\"0x8D779B9AFFA6838\"100SMB1004466Thu, 05 Dec 2019 19:31:12 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare07866844Thu, 05 Dec 2019 20:16:55 GMT\"0x8D779C013258493\"100SMB1004466Thu, 05 Dec 2019 20:16:55 GMTjtsfileserviceasyncapitestslistshareswithpremiumshare0799469dThu, 05 Dec 2019 19:35:52 GMT\"0x8D779BA56C81E32\"100SMB1004466Thu, 05 Dec 2019 19:35:52 GMTjtsshareapitestsgetpropertiespremium083320a655990a80Thu, 05 Dec 2019 19:16:45 GMT\"0x8D779B7AB2E6AE9\"100SMB1004466Thu, 05 Dec 2019 19:16:45 GMTjtsshareasyncapitestsgetpropertiespremium004757e6d7da63Thu, 05 Dec 2019 20:20:32 GMT\"0x8D779C094778270\"100SMB1004466Thu, 05 Dec 2019 20:20:32 GMTtest-share-4f448f0a-b9a5-3581-bff4-b852cd2a616eThu, 21 Nov 2019 23:58:27 GMT\"0x8D76EDEB41D146D\"100SMB1004466Thu, 21 Nov 2019 23:58:27 GMTtest-share-bde8486f-e193-78f9-914e-19c3418dae0dFri, 22 Nov 2019 00:24:32 GMT\"0x8D76EE25888B159\"100SMB1004466Fri, 22 Nov 2019 00:24:32 GMT", + "Date" : "Thu, 05 Dec 2019 20:38:38 GMT", + "x-ms-client-request-id" : "0ac5fec7-9257-4e2b-b6b6-ca9a9369d3ae", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "fileserviceasyncapitestslistshareswithpremiumshare815412b", "jtsfileserviceasyncapitestslistshareswithpremiumshare056496c5" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetProperties.json index 93010add6cd66..13b89ebe7a412 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetProperties.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetProperties.json @@ -1,87 +1,87 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "http://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "2496386a-2d2a-47ed-845a-a0689eb0c33a" + "x-ms-client-request-id" : "a604a18d-7b16-4b39-8266-ce23e74dcd27" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8ab6de57-901a-00f4-7426-d2159a000000", + "x-ms-request-id" : "c4f78b23-101a-0035-5519-d6fe2f000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Thu, 23 Jan 2020 19:54:43 GMT", - "x-ms-client-request-id" : "2496386a-2d2a-47ed-845a-a0689eb0c33a", + "Date" : "Tue, 28 Jan 2020 20:27:50 GMT", + "x-ms-client-request-id" : "a604a18d-7b16-4b39-8266-ce23e74dcd27", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "http://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7deff47a-3009-4bbc-8352-74e81adb38ca" + "x-ms-client-request-id" : "41261502-82ab-4bee-9970-64661e951692" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8ab6de59-901a-00f4-7526-d2159a000000", + "x-ms-request-id" : "c4f78b25-101a-0035-5619-d6fe2f000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Thu, 23 Jan 2020 19:54:44 GMT", - "x-ms-client-request-id" : "7deff47a-3009-4bbc-8352-74e81adb38ca", + "Date" : "Tue, 28 Jan 2020 20:27:51 GMT", + "x-ms-client-request-id" : "41261502-82ab-4bee-9970-64661e951692", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "http://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "dce8f444-fcab-4697-bd35-354ddc79f9dc", + "x-ms-client-request-id" : "6fb20984-1cc9-476a-9ed7-cd5ab2ec2548", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "8ab6de5a-901a-00f4-7626-d2159a000000", - "Date" : "Thu, 23 Jan 2020 19:54:45 GMT", - "x-ms-client-request-id" : "dce8f444-fcab-4697-bd35-354ddc79f9dc" + "x-ms-request-id" : "c4f78b26-101a-0035-5719-d6fe2f000000", + "Date" : "Tue, 28 Jan 2020 20:27:52 GMT", + "x-ms-client-request-id" : "6fb20984-1cc9-476a-9ed7-cd5ab2ec2548" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "http://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "98d01b80-0e5f-4b57-adf2-11d0cc12753a" + "x-ms-client-request-id" : "dd3e6f67-9bf4-4280-a8b8-2190f739f2b4" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "8ab6de61-901a-00f4-7726-d2159a000000", + "x-ms-request-id" : "c4f78b2c-101a-0035-5819-d6fe2f000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Thu, 23 Jan 2020 19:54:45 GMT", - "x-ms-client-request-id" : "98d01b80-0e5f-4b57-adf2-11d0cc12753a", + "Date" : "Tue, 28 Jan 2020 20:27:52 GMT", + "x-ms-client-request-id" : "dd3e6f67-9bf4-4280-a8b8-2190f739f2b4", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "fileserviceasyncapitestssetandgetproperties5180462e759" ] + "variables" : [ "fileserviceasyncapitestssetandgetproperties2882042b67e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs0.json index 2747d94811100..fc6726211a810 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs0.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "03bec24d-8299-469c-8186-0dcc503eed98", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "960d43e3-d429-4741-8791-896ad3590e1c", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "83e48bc7-a01a-0116-6988-83b7bd000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:83e48bc7-a01a-0116-6988-83b7bd000000\nTime:2019-10-15T18:43:17.6988026Z00", - "Date" : "Tue, 15 Oct 2019 18:43:16 GMT", - "x-ms-client-request-id" : "03bec24d-8299-469c-8186-0dcc503eed98", + "x-ms-request-id" : "9ba99e7b-201a-0011-32fa-aa088f000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ba99e7b-201a-0011-32fa-aa088f000000\nTime:2019-12-04T23:30:39.6060919Z00", + "Date" : "Wed, 04 Dec 2019 23:30:39 GMT", + "x-ms-client-request-id" : "960d43e3-d429-4741-8791-896ad3590e1c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "3bd786e0d1b44fa584434cfff54c6dcec7bf6598baba41198dd651006e82da5c" ] + "variables" : [ "a204b1b8648b43659b81af3ac6f8493be6d2d16894d447fba25f901d45445d2e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs1.json index aac9ab0fe5801..68b42d4128b51 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs1.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8fef6ead-845d-4628-bf67-61e8ca6247a6", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7a573391-e9a7-48fa-b3b5-1594073742ad", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "83e48bc9-a01a-0116-6b88-83b7bd000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:83e48bc9-a01a-0116-6b88-83b7bd000000\nTime:2019-10-15T18:43:17.8049027Z00", - "Date" : "Tue, 15 Oct 2019 18:43:16 GMT", - "x-ms-client-request-id" : "8fef6ead-845d-4628-bf67-61e8ca6247a6", + "x-ms-request-id" : "9ba99e7d-201a-0011-34fa-aa088f000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ba99e7d-201a-0011-34fa-aa088f000000\nTime:2019-12-04T23:30:39.7570470Z00", + "Date" : "Wed, 04 Dec 2019 23:30:39 GMT", + "x-ms-client-request-id" : "7a573391-e9a7-48fa-b3b5-1594073742ad", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "0238cc1f26fc45c79914b174ef0758bfd69aa524e1534f738dbcdcbaa427e89a" ] + "variables" : [ "6e452d180d6a4b438d2af99a5c5c294758761aa0b2dc442b91a32be418bd4ec4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs2.json index 41b7960c9b311..7715d249b13fc 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs2.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4146dd6d-dc46-4d81-81d0-e55edb51e68c", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8cecd11f-8c39-4ccf-8471-1110cd06af70", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "83e48bcb-a01a-0116-6d88-83b7bd000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:83e48bcb-a01a-0116-6d88-83b7bd000000\nTime:2019-10-15T18:43:17.9130055Z00", - "Date" : "Tue, 15 Oct 2019 18:43:17 GMT", - "x-ms-client-request-id" : "4146dd6d-dc46-4d81-81d0-e55edb51e68c", + "x-ms-request-id" : "9ba99e7f-201a-0011-36fa-aa088f000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ba99e7f-201a-0011-36fa-aa088f000000\nTime:2019-12-04T23:30:39.9071113Z00", + "Date" : "Wed, 04 Dec 2019 23:30:39 GMT", + "x-ms-client-request-id" : "8cecd11f-8c39-4ccf-8471-1110cd06af70", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "3664d611e6b64efb987774a784b78e53e12555c1f7514afeb6b5ccf28a08fbd5" ] + "variables" : [ "6254b5f53d9c48dc9dede05b1ea272891e06bf6b7d114b4a98e621ce249e9ad3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs3.json index 6935f47a4b2c5..f936cd3507553 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs3.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "41d99a4c-2c3d-4279-b925-0fe75e0b8940", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42a281b9-383e-49f1-adde-9e60db14cf2f", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "83e48bcd-a01a-0116-6f88-83b7bd000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:83e48bcd-a01a-0116-6f88-83b7bd000000\nTime:2019-10-15T18:43:17.9990875Z00", - "Date" : "Tue, 15 Oct 2019 18:43:17 GMT", - "x-ms-client-request-id" : "41d99a4c-2c3d-4279-b925-0fe75e0b8940", + "x-ms-request-id" : "9ba99e81-201a-0011-38fa-aa088f000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ba99e81-201a-0011-38fa-aa088f000000\nTime:2019-12-04T23:30:40.0570546Z00", + "Date" : "Wed, 04 Dec 2019 23:30:39 GMT", + "x-ms-client-request-id" : "42a281b9-383e-49f1-adde-9e60db14cf2f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "6b5ff416b78a4fdebfb5eb2de38c38602d40921e23bc4077bb8b0391d629b554" ] + "variables" : [ "b47d12a7a15a44c4ac1fc3c1beed894966cf3c777de044cc8dc056334b48b0ee" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs4.json index 85e792022ec45..0d94dc35e16cb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs4.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsSetAndGetPropertiesWithInvalidArgs4.json @@ -1,27 +1,27 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "07919de8-1e86-4985-8f43-d0963f3f2d81", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "81d93135-12ac-4aca-8db3-cd043b78fdaf", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlNodeValue", "retry-after" : "0", "Content-Length" : "340", "StatusCode" : "400", - "x-ms-request-id" : "83e48bcf-a01a-0116-7188-83b7bd000000", - "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:83e48bcf-a01a-0116-7188-83b7bd000000\nTime:2019-10-15T18:43:18.0871710ZAllowedMethodsNOTAREALHTTPMETHOD", - "Date" : "Tue, 15 Oct 2019 18:43:17 GMT", - "x-ms-client-request-id" : "07919de8-1e86-4985-8f43-d0963f3f2d81", + "x-ms-request-id" : "9ba99e83-201a-0011-3afa-aa088f000000", + "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:9ba99e83-201a-0011-3afa-aa088f000000\nTime:2019-12-04T23:30:40.2060559ZAllowedMethodsNOTAREALHTTPMETHOD", + "Date" : "Wed, 04 Dec 2019 23:30:39 GMT", + "x-ms-client-request-id" : "81d93135-12ac-4aca-8db3-cd043b78fdaf", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "4a0816bd0d064d7293e9afad8135f20cd5a78ee67a2b4e5ba640ce295c5a08c5" ] + "variables" : [ "c1362f52a321436b92c6e3587200b545c558938c9837494f92b0731d5b4d4eca" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLease.json new file mode 100644 index 0000000000000..4535682e92f91 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLease.json @@ -0,0 +1,110 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestacquirefilelease90113b500138da9524?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "36712834-db91-472d-910b-77c938e7a3ca" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C8EAA6970", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:41 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b0654-301a-0040-7525-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:41 GMT", + "x-ms-client-request-id" : "36712834-db91-472d-910b-77c938e7a3ca" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestacquirefilelease90113b500138da9524/leaseapitestacquirefilelease03837e2e3085ff8114", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "6edaeae0-ff77-4b13-a3b1-66b0311569e9" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:41.3276090Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:41 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:41 GMT", + "ETag" : "0x8D7833C8ECCC7BA", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:41.3276090Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b065f-301a-0040-7e25-b59503000000", + "x-ms-client-request-id" : "6edaeae0-ff77-4b13-a3b1-66b0311569e9", + "x-ms-file-last-write-time" : "2019-12-17T22:00:41.3276090Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestacquirefilelease90113b500138da9524/leaseapitestacquirefilelease03837e2e3085ff8114?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0f34459f-49bd-4d1f-8e6f-1611429c66a2" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C8ECCC7BA", + "x-ms-lease-id" : "ba37acb0-2e48-49c8-910b-fa6a10fee4ba", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:41 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b0662-301a-0040-8025-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:41 GMT", + "x-ms-client-request-id" : "0f34459f-49bd-4d1f-8e6f-1611429c66a2" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestacquirefilelease90113b500138da9524/leaseapitestacquirefilelease03837e2e3085ff8114", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "628c8de0-5b0f-42f3-b5a0-5385f8d54615" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-lease-status" : "locked", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:41.3276090Z", + "x-ms-lease-state" : "leased", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:41 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 17 Dec 2019 22:00:41 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D7833C8ECCC7BA", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:41.3276090Z", + "x-ms-file-parent-id" : "0", + "x-ms-lease-duration" : "infinite", + "Content-Length" : "50", + "x-ms-request-id" : "9f3b0668-301a-0040-0625-b59503000000", + "x-ms-client-request-id" : "628c8de0-5b0f-42f3-b5a0-5385f8d54615", + "x-ms-file-last-write-time" : "2019-12-17T22:00:41.3276090Z", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestacquirefilelease90113b500138da9524", "leaseapitestacquirefilelease03837e2e3085ff8114", "ba37acb0-2e48-49c8-910b-fa6a10fee4ba" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLeaseError.json new file mode 100644 index 0000000000000..77d90110433a2 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLeaseError.json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestacquirefileleaseerror750308c9e6950e6f?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "6c827833-1381-4188-8e82-adb1e65a102f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C8F48A590", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b0673-301a-0040-1125-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:42 GMT", + "x-ms-client-request-id" : "6c827833-1381-4188-8e82-adb1e65a102f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestacquirefileleaseerror750308c9e6950e6f/leaseapitestacquirefileleaseerror786600a38850296c", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "44089f4e-5f5c-4a9b-b191-9785d7a39f31" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:42.2596153Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:42 GMT", + "ETag" : "0x8D7833C8F5AFE39", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:42.2596153Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b0676-301a-0040-1325-b59503000000", + "x-ms-client-request-id" : "44089f4e-5f5c-4a9b-b191-9785d7a39f31", + "x-ms-file-last-write-time" : "2019-12-17T22:00:42.2596153Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestacquirefileleaseerror750308c9e6950e6f/garbage?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "cd6cbeb7-2676-4fb8-a649-8149fcadb253" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "ResourceNotFound", + "retry-after" : "0", + "Content-Length" : "223", + "StatusCode" : "404", + "x-ms-request-id" : "9f3b067a-301a-0040-1725-b59503000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9f3b067a-301a-0040-1725-b59503000000\nTime:2019-12-17T22:00:42.3563918Z", + "Date" : "Tue, 17 Dec 2019 22:00:42 GMT", + "x-ms-client-request-id" : "cd6cbeb7-2676-4fb8-a649-8149fcadb253", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestacquirefileleaseerror750308c9e6950e6f", "leaseapitestacquirefileleaseerror786600a38850296c" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLease.json new file mode 100644 index 0000000000000..b13909241e9be --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLease.json @@ -0,0 +1,131 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakbloblease58804764002b426c34d?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "4da02d02-9cbb-4433-956f-00524d80433f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C90A55017", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:44 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06b6-301a-0040-4e25-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:44 GMT", + "x-ms-client-request-id" : "4da02d02-9cbb-4433-956f-00524d80433f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakbloblease58804764002b426c34d/leaseapitestbreakbloblease287705c787c8d3b044d", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "60be2679-a180-45d3-84ce-9e64ae1ef7db" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:44.5426104Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:44 GMT", + "ETag" : "0x8D7833C90B759B8", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:44.5426104Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b06b9-301a-0040-5025-b59503000000", + "x-ms-client-request-id" : "60be2679-a180-45d3-84ce-9e64ae1ef7db", + "x-ms-file-last-write-time" : "2019-12-17T22:00:44.5426104Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakbloblease58804764002b426c34d/leaseapitestbreakbloblease287705c787c8d3b044d?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c15980ab-6be7-40e9-90a9-458d5690a6d4" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C90B759B8", + "x-ms-lease-id" : "0528f648-e0f8-4277-aaf0-7a02c259ee2b", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:44 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06ba-301a-0040-5125-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:44 GMT", + "x-ms-client-request-id" : "c15980ab-6be7-40e9-90a9-458d5690a6d4" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakbloblease58804764002b426c34d/leaseapitestbreakbloblease287705c787c8d3b044d?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "dd408ff7-de03-4bd7-b67b-528313392085" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C90B759B8", + "x-ms-lease-time" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:44 GMT", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "9f3b06bb-301a-0040-5225-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:44 GMT", + "x-ms-client-request-id" : "dd408ff7-de03-4bd7-b67b-528313392085" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakbloblease58804764002b426c34d/leaseapitestbreakbloblease287705c787c8d3b044d", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0a03e89d-b538-45ce-bcaa-3ffa03d82172" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-lease-status" : "unlocked", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:44.5426104Z", + "x-ms-lease-state" : "broken", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:44 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 17 Dec 2019 22:00:44 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D7833C90B759B8", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:44.5426104Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "50", + "x-ms-request-id" : "9f3b06bc-301a-0040-5325-b59503000000", + "x-ms-client-request-id" : "0a03e89d-b538-45ce-bcaa-3ffa03d82172", + "x-ms-file-last-write-time" : "2019-12-17T22:00:44.5426104Z", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestbreakbloblease58804764002b426c34d", "leaseapitestbreakbloblease287705c787c8d3b044d", "0528f648-e0f8-4277-aaf0-7a02c259ee2b" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLeaseError.json new file mode 100644 index 0000000000000..188a599a58231 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLeaseError.json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakblobleaseerror07199681fe466c262?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d4e787fc-0c5f-4d42-aa04-8479656601fb" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C915F9FBD", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:45 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06d2-301a-0040-6625-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:45 GMT", + "x-ms-client-request-id" : "d4e787fc-0c5f-4d42-aa04-8479656601fb" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakblobleaseerror07199681fe466c262/leaseapitestbreakblobleaseerror741170ec4704f9b78", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "4f83823b-d558-4cbd-811e-c9431cd3de21" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:45.7606187Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:45 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:45 GMT", + "ETag" : "0x8D7833C9171342B", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:45.7606187Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b06d6-301a-0040-6925-b59503000000", + "x-ms-client-request-id" : "4f83823b-d558-4cbd-811e-c9431cd3de21", + "x-ms-file-last-write-time" : "2019-12-17T22:00:45.7606187Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakblobleaseerror07199681fe466c262/leaseapitestbreakblobleaseerror741170ec4704f9b78?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "91612a5a-77f6-47e3-849e-df71f765eea9" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseNotPresentWithLeaseOperation", + "retry-after" : "0", + "Content-Length" : "242", + "StatusCode" : "409", + "x-ms-request-id" : "9f3b06d7-301a-0040-6a25-b59503000000", + "Body" : "LeaseNotPresentWithLeaseOperationThere is currently no lease on the file.\nRequestId:9f3b06d7-301a-0040-6a25-b59503000000\nTime:2019-12-17T22:00:45.8544068Z", + "Date" : "Tue, 17 Dec 2019 22:00:45 GMT", + "x-ms-client-request-id" : "91612a5a-77f6-47e3-849e-df71f765eea9", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestbreakblobleaseerror07199681fe466c262", "leaseapitestbreakblobleaseerror741170ec4704f9b78" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLeaseMin.json new file mode 100644 index 0000000000000..7a3bb4159fd65 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakBlobLeaseMin.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakblobleasemin43638312626a99d364?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "ce418542-de8b-43d7-8332-36f8374df467" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C9108A5FE", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:45 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06c0-301a-0040-5625-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:45 GMT", + "x-ms-client-request-id" : "ce418542-de8b-43d7-8332-36f8374df467" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakblobleasemin43638312626a99d364/leaseapitestbreakblobleasemin910716f3677a849be4", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "a0df46cb-170a-4a9e-9f17-4f2ff98e2ca5" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:45.1886099Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:45 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:45 GMT", + "ETag" : "0x8D7833C9119EC13", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:45.1886099Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b06c2-301a-0040-5725-b59503000000", + "x-ms-client-request-id" : "a0df46cb-170a-4a9e-9f17-4f2ff98e2ca5", + "x-ms-file-last-write-time" : "2019-12-17T22:00:45.1886099Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakblobleasemin43638312626a99d364/leaseapitestbreakblobleasemin910716f3677a849be4?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "016899ec-20b9-4a50-bfe9-fe105ee36f94" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C9119EC13", + "x-ms-lease-id" : "6a4b637d-b70f-4c8f-b716-0c7083749cae", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:45 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06c4-301a-0040-5925-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:45 GMT", + "x-ms-client-request-id" : "016899ec-20b9-4a50-bfe9-fe105ee36f94" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestbreakblobleasemin43638312626a99d364/leaseapitestbreakblobleasemin910716f3677a849be4?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0aeee401-c391-40fa-ab24-6157b92d8853" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C9119EC13", + "x-ms-lease-time" : "0", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:45 GMT", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "9f3b06ca-301a-0040-5e25-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:45 GMT", + "x-ms-client-request-id" : "0aeee401-c391-40fa-ab24-6157b92d8853" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestbreakblobleasemin43638312626a99d364", "leaseapitestbreakblobleasemin910716f3677a849be4" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLease.json new file mode 100644 index 0000000000000..b20f984840a38 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLease.json @@ -0,0 +1,119 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangebloblease9161185e917e6c8434d?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "464516d8-b4b0-4cbc-8d28-621b695cea19" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C91A70927", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06e0-301a-0040-7325-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "x-ms-client-request-id" : "464516d8-b4b0-4cbc-8d28-621b695cea19" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangebloblease9161185e917e6c8434d/leaseapitestchangebloblease1204295269298fc9442", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "e2b650ed-e4ac-41c9-856e-2a20f96eeb42" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:46.2196139Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "ETag" : "0x8D7833C91B73DAB", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:46.2196139Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b06e4-301a-0040-7625-b59503000000", + "x-ms-client-request-id" : "e2b650ed-e4ac-41c9-856e-2a20f96eeb42", + "x-ms-file-last-write-time" : "2019-12-17T22:00:46.2196139Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangebloblease9161185e917e6c8434d/leaseapitestchangebloblease1204295269298fc9442?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "5b0abffc-2864-47dc-9486-2a07faae491e" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C91B73DAB", + "x-ms-lease-id" : "ea6a4cf4-6d6c-43c2-8a99-378679069b3c", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06e7-301a-0040-7925-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "x-ms-client-request-id" : "5b0abffc-2864-47dc-9486-2a07faae491e" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangebloblease9161185e917e6c8434d/leaseapitestchangebloblease1204295269298fc9442?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "a96bc18e-98fa-4277-ba2d-fe1bec640c64" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C91B73DAB", + "x-ms-lease-id" : "09cd3208-8aa8-40ce-920b-2efce5e6048d", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "9f3b06e8-301a-0040-7a25-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "x-ms-client-request-id" : "a96bc18e-98fa-4277-ba2d-fe1bec640c64" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangebloblease9161185e917e6c8434d/leaseapitestchangebloblease1204295269298fc9442?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "dd6e06ff-19b8-4725-b525-088626fa3123" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C91B73DAB", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "9f3b06ed-301a-0040-7e25-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "x-ms-client-request-id" : "dd6e06ff-19b8-4725-b525-088626fa3123" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestchangebloblease9161185e917e6c8434d", "leaseapitestchangebloblease1204295269298fc9442", "ea6a4cf4-6d6c-43c2-8a99-378679069b3c", "09cd3208-8aa8-40ce-920b-2efce5e6048d" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLeaseError.json new file mode 100644 index 0000000000000..157b6c0605126 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLeaseError.json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangeblobleaseerror9698611613678d72?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "bf4d4cff-8f1a-4329-bf1d-918b1fbfca5f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C925FD1FB", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:47 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b0709-301a-0040-1925-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:47 GMT", + "x-ms-client-request-id" : "bf4d4cff-8f1a-4329-bf1d-918b1fbfca5f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangeblobleaseerror9698611613678d72/leaseapitestchangeblobleaseerror460890224108e867", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "4f51a893-2eec-42b7-9477-6a4d2250bb30" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:47.4396505Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:47 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:47 GMT", + "ETag" : "0x8D7833C92716759", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:47.4396505Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b070c-301a-0040-1b25-b59503000000", + "x-ms-client-request-id" : "4f51a893-2eec-42b7-9477-6a4d2250bb30", + "x-ms-file-last-write-time" : "2019-12-17T22:00:47.4396505Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangeblobleaseerror9698611613678d72/garbage?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "b213fc09-9678-4ceb-a5f7-947d1b932730" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "InvalidHeaderValue", + "retry-after" : "0", + "Content-Length" : "321", + "StatusCode" : "400", + "x-ms-request-id" : "9f3b070d-301a-0040-1c25-b59503000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9f3b070d-301a-0040-1c25-b59503000000\nTime:2019-12-17T22:00:47.5274181Zx-ms-lease-idid", + "Date" : "Tue, 17 Dec 2019 22:00:47 GMT", + "x-ms-client-request-id" : "b213fc09-9678-4ceb-a5f7-947d1b932730", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestchangeblobleaseerror9698611613678d72", "leaseapitestchangeblobleaseerror460890224108e867" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLeaseMin.json new file mode 100644 index 0000000000000..a960279f306fd --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeBlobLeaseMin.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangeblobleasemin61817215af4e2f047?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "3fe558bf-cf95-4f6d-a730-7ade9256bd48" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C920BE5DA", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06f6-301a-0040-0725-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "x-ms-client-request-id" : "3fe558bf-cf95-4f6d-a730-7ade9256bd48" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangeblobleasemin61817215af4e2f047/leaseapitestchangeblobleasemin461628f1818419285", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "28e5f044-792a-45fb-9de4-56c312154664" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:46.8806159Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "ETag" : "0x8D7833C921C1A0F", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:46.8806159Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b06fb-301a-0040-0b25-b59503000000", + "x-ms-client-request-id" : "28e5f044-792a-45fb-9de4-56c312154664", + "x-ms-file-last-write-time" : "2019-12-17T22:00:46.8806159Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangeblobleasemin61817215af4e2f047/leaseapitestchangeblobleasemin461628f1818419285?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "f563ca9b-9c31-4df0-bf52-43d343dec592" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C921C1A0F", + "x-ms-lease-id" : "b89bb3d8-4b19-4202-afbe-117ce94d3a95", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06fe-301a-0040-0e25-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "x-ms-client-request-id" : "f563ca9b-9c31-4df0-bf52-43d343dec592" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestchangeblobleasemin61817215af4e2f047/leaseapitestchangeblobleasemin461628f1818419285?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d829fe7d-2cb7-4d1f-a6f9-943b4603f86a" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C921C1A0F", + "x-ms-lease-id" : "e7290bb5-10ca-46cb-8d70-da89089dfbe3", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:46 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "9f3b06ff-301a-0040-0f25-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:46 GMT", + "x-ms-client-request-id" : "d829fe7d-2cb7-4d1f-a6f9-943b4603f86a" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestchangeblobleasemin61817215af4e2f047", "leaseapitestchangeblobleasemin461628f1818419285", "e7290bb5-10ca-46cb-8d70-da89089dfbe3" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseBlobLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseBlobLeaseError.json new file mode 100644 index 0000000000000..5b45a3f818f6e --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseBlobLeaseError.json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseblobleaseerror17114fadd54265d3?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "fd5a0e3b-2a52-4c33-a491-0915e756107a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C9051FFBF", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:43 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b06a5-301a-0040-4025-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:43 GMT", + "x-ms-client-request-id" : "fd5a0e3b-2a52-4c33-a491-0915e756107a" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseblobleaseerror17114fadd54265d3/leaseapitestreleaseblobleaseerror55035effcc8ed6db", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "d085e0bf-94c8-4197-b67f-b70c34af4a16" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:43.9926190Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:43 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:43 GMT", + "ETag" : "0x8D7833C90636DAE", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:43.9926190Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b06a9-301a-0040-4225-b59503000000", + "x-ms-client-request-id" : "d085e0bf-94c8-4197-b67f-b70c34af4a16", + "x-ms-file-last-write-time" : "2019-12-17T22:00:43.9926190Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseblobleaseerror17114fadd54265d3/garbage?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "2283862a-08bb-4af8-8324-9c9dc811d714" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "InvalidHeaderValue", + "retry-after" : "0", + "Content-Length" : "321", + "StatusCode" : "400", + "x-ms-request-id" : "9f3b06aa-301a-0040-4325-b59503000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9f3b06aa-301a-0040-4325-b59503000000\nTime:2019-12-17T22:00:44.1663943Zx-ms-lease-idid", + "Date" : "Tue, 17 Dec 2019 22:00:44 GMT", + "x-ms-client-request-id" : "2283862a-08bb-4af8-8324-9c9dc811d714", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestreleaseblobleaseerror17114fadd54265d3", "leaseapitestreleaseblobleaseerror55035effcc8ed6db" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLease.json new file mode 100644 index 0000000000000..7982aa9a32c55 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLease.json @@ -0,0 +1,130 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease72e1167299?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "951405b6-25c5-4091-9d78-4bfedc3650ec" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C8F95663C", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b0682-301a-0040-1f25-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:42 GMT", + "x-ms-client-request-id" : "951405b6-25c5-4091-9d78-4bfedc3650ec" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease72e1167299/leaseapitestreleaseleaseleaseapitestreleaselease72e07369d5", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "c0c0a36a-0e81-4324-b11a-f9416d20e4a4" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:42.7616089Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:42 GMT", + "ETag" : "0x8D7833C8FA79759", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:42.7616089Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b0688-301a-0040-2425-b59503000000", + "x-ms-client-request-id" : "c0c0a36a-0e81-4324-b11a-f9416d20e4a4", + "x-ms-file-last-write-time" : "2019-12-17T22:00:42.7616089Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease72e1167299/leaseapitestreleaseleaseleaseapitestreleaselease72e07369d5?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0511c170-4949-4556-a914-ec7d89ba982c" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C8FA79759", + "x-ms-lease-id" : "4a6e7b94-5e80-4d4a-baed-312b3253498c", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b068b-301a-0040-2725-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:42 GMT", + "x-ms-client-request-id" : "0511c170-4949-4556-a914-ec7d89ba982c" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease72e1167299/leaseapitestreleaseleaseleaseapitestreleaselease72e07369d5?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "7fa22fde-1959-4e38-a0ed-28805aedcdea" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C8FA79759", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:42 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "9f3b068c-301a-0040-2825-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:42 GMT", + "x-ms-client-request-id" : "7fa22fde-1959-4e38-a0ed-28805aedcdea" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease72e1167299/leaseapitestreleaseleaseleaseapitestreleaselease72e07369d5", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "71cbc5f7-482e-4996-b5a7-685012498fa1" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-lease-status" : "unlocked", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:42.7616089Z", + "x-ms-lease-state" : "available", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:42 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 17 Dec 2019 22:00:42 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "0x8D7833C8FA79759", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:42.7616089Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "50", + "x-ms-request-id" : "9f3b068e-301a-0040-2a25-b59503000000", + "x-ms-client-request-id" : "71cbc5f7-482e-4996-b5a7-685012498fa1", + "x-ms-file-last-write-time" : "2019-12-17T22:00:42.7616089Z", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestreleaseleaseleaseapitestreleaselease72e1167299", "leaseapitestreleaseleaseleaseapitestreleaselease72e07369d5" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLeaseMin.json new file mode 100644 index 0000000000000..6eb95ea31f0f1 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLeaseMin.json @@ -0,0 +1,97 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleasemin09997f5f5d54480c946?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "da644e5e-0958-4f4d-817a-1a53d730b2f1" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C8FFBC994", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:43 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b0695-301a-0040-3125-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:43 GMT", + "x-ms-client-request-id" : "da644e5e-0958-4f4d-817a-1a53d730b2f1" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleasemin09997f5f5d54480c946/leaseapitestreleaseleasemin9086329f5ae84ab9d4a", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "1ee2fb3e-d455-429c-8e61-5c423310b131" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:00:43.4286156Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:43 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:00:43 GMT", + "ETag" : "0x8D7833C900D5E4C", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:00:43.4286156Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "9f3b0699-301a-0040-3425-b59503000000", + "x-ms-client-request-id" : "1ee2fb3e-d455-429c-8e61-5c423310b131", + "x-ms-file-last-write-time" : "2019-12-17T22:00:43.4286156Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleasemin09997f5f5d54480c946/leaseapitestreleaseleasemin9086329f5ae84ab9d4a?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "773fa64b-989e-4e14-b7b7-b77361e98764" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C900D5E4C", + "x-ms-lease-id" : "1764ecf5-ce3c-48fa-8e5c-68f8a95540f4", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:43 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "9f3b069b-301a-0040-3625-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:43 GMT", + "x-ms-client-request-id" : "773fa64b-989e-4e14-b7b7-b77361e98764" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/leaseapitestreleaseleasemin09997f5f5d54480c946/leaseapitestreleaseleasemin9086329f5ae84ab9d4a?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "dae10547-710b-44ed-aab9-30ffe265b83f" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833C900D5E4C", + "Last-Modified" : "Tue, 17 Dec 2019 22:00:43 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "9f3b069e-301a-0040-3925-b59503000000", + "Date" : "Tue, 17 Dec 2019 22:00:43 GMT", + "x-ms-client-request-id" : "dae10547-710b-44ed-aab9-30ffe265b83f" + }, + "Exception" : null + } ], + "variables" : [ "leaseapitestreleaseleasemin09997f5f5d54480c946", "leaseapitestreleaseleasemin9086329f5ae84ab9d4a" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateAndGetPermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateAndGetPermission.json index 54a2302bb49f7..79da8bff7967b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateAndGetPermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateAndGetPermission.json @@ -1,66 +1,66 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreateandgetpermission72072c5686adb11?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreateandgetpermission93230c16c99c80f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "b9bc1559-9e0b-4ff9-9af3-3f62bc3d2038" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ed44e884-7324-4fdf-b4bb-702444fa66f0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D769623EA2C5E1", - "Last-Modified" : "Fri, 15 Nov 2019 00:24:57 GMT", + "ETag" : "0x8D77912017D8424", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cb798a14-b01a-0024-324b-9ba938000000", - "Date" : "Fri, 15 Nov 2019 00:24:57 GMT", - "x-ms-client-request-id" : "b9bc1559-9e0b-4ff9-9af3-3f62bc3d2038" + "x-ms-request-id" : "9ba99f6a-201a-0011-66fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:53 GMT", + "x-ms-client-request-id" : "ed44e884-7324-4fdf-b4bb-702444fa66f0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreateandgetpermission72072c5686adb11?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreateandgetpermission93230c16c99c80f?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "a23fe7a8-2d47-449b-9226-c7050d01a9f3", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "272a7b68-4a51-462f-9110-870967427817", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cb798a16-b01a-0024-334b-9ba938000000", - "Date" : "Fri, 15 Nov 2019 00:24:57 GMT", - "x-ms-client-request-id" : "a23fe7a8-2d47-449b-9226-c7050d01a9f3" + "x-ms-request-id" : "9ba99f6c-201a-0011-67fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:53 GMT", + "x-ms-client-request-id" : "272a7b68-4a51-462f-9110-870967427817" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreateandgetpermission72072c5686adb11?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreateandgetpermission93230c16c99c80f?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0-beta.6 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "0dddcfd9-a2d6-47f2-8e7b-21ac086698cf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a727d31f-1a24-41eb-b0f9-321c5b735265" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "225", "StatusCode" : "200", - "x-ms-request-id" : "cb798a1d-b01a-0024-384b-9ba938000000", + "x-ms-request-id" : "9ba99f6d-201a-0011-68fa-aa088f000000", "Body" : "{\"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)S:NO_ACCESS_CONTROL\"}", - "Date" : "Fri, 15 Nov 2019 00:24:57 GMT", - "x-ms-client-request-id" : "0dddcfd9-a2d6-47f2-8e7b-21ac086698cf" + "Date" : "Wed, 04 Dec 2019 23:30:53 GMT", + "x-ms-client-request-id" : "a727d31f-1a24-41eb-b0f9-321c5b735265" }, "Exception" : null } ], - "variables" : [ "shareapitestscreateandgetpermission72072c5686adb11" ] + "variables" : [ "shareapitestscreateandgetpermission93230c16c99c80f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectory.json index e7dd60d0205ed..0b85b33c381e7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectory.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectory3893448aaeec410cb4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectory3174982ff4fa9113d4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dd9a2d4a-b4b1-4108-90ca-006f2dd1a88e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "815343bd-1d79-418d-97bf-e342a59a8638" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8DEBAF3A", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "ETag" : "0x8D77911FD0FA3D9", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c2d-a01a-0116-3888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "dd9a2d4a-b4b1-4108-90ca-006f2dd1a88e" + "x-ms-request-id" : "9ba99ee9-201a-0011-09fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:45 GMT", + "x-ms-client-request-id" : "815343bd-1d79-418d-97bf-e342a59a8638" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectory3893448aaeec410cb4/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectory3174982ff4fa9113d4/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "222010ca-a124-4f8a-b8d5-d812f83300ba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "31d8555c-2c82-4035-9c10-c37c907becae" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:21.9344489Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:46.4446362Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "ETag" : "0x8D7519F8DF28069", + "Date" : "Wed, 04 Dec 2019 23:30:45 GMT", + "ETag" : "0x8D77911FD216F9A", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:21.9344489Z", + "x-ms-file-change-time" : "2019-12-04T23:30:46.4446362Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c2f-a01a-0116-3988-83b7bd000000", - "x-ms-client-request-id" : "222010ca-a124-4f8a-b8d5-d812f83300ba", - "x-ms-file-last-write-time" : "2019-10-15T18:43:21.9344489Z" + "x-ms-request-id" : "9ba99eeb-201a-0011-0afa-aa088f000000", + "x-ms-client-request-id" : "31d8555c-2c82-4035-9c10-c37c907becae", + "x-ms-file-last-write-time" : "2019-12-04T23:30:46.4446362Z" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatedirectory3893448aaeec410cb4" ] + "variables" : [ "shareapitestscreatedirectory3174982ff4fa9113d4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryFilePermission.json index b3c5d8800da1c..2e75568c3139a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryFilePermission.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectoryfilepermission01005460c04?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectoryfilepermission7381967a9a7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6928e89e-5c49-4a00-acbf-1a8d76fe4132" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9146d2de-de0a-4b48-95b5-d6cfec1c93f3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8E061B74", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:22 GMT", + "ETag" : "0x8D77911FD477C9F", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c32-a01a-0116-3c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "6928e89e-5c49-4a00-acbf-1a8d76fe4132" + "x-ms-request-id" : "9ba99eef-201a-0011-0dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:46 GMT", + "x-ms-client-request-id" : "9146d2de-de0a-4b48-95b5-d6cfec1c93f3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectoryfilepermission01005460c04/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectoryfilepermission7381967a9a7/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d4f228f7-1543-4dc8-b3e5-fc8623b99fac" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "41625eac-d478-413a-8196-33fe074d0842" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:22.1106189Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:22 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:46.7916510Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:46 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "ETag" : "0x8D7519F8E0D620D", + "Date" : "Wed, 04 Dec 2019 23:30:46 GMT", + "ETag" : "0x8D77911FD5662DE", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:22.1106189Z", + "x-ms-file-change-time" : "2019-12-04T23:30:46.7916510Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c34-a01a-0116-3d88-83b7bd000000", - "x-ms-client-request-id" : "d4f228f7-1543-4dc8-b3e5-fc8623b99fac", - "x-ms-file-last-write-time" : "2019-10-15T18:43:22.1106189Z" + "x-ms-request-id" : "9ba99ef1-201a-0011-0efa-aa088f000000", + "x-ms-client-request-id" : "41625eac-d478-413a-8196-33fe074d0842", + "x-ms-file-last-write-time" : "2019-12-04T23:30:46.7916510Z" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatedirectoryfilepermission01005460c04" ] + "variables" : [ "shareapitestscreatedirectoryfilepermission7381967a9a7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryFilePermissionKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryFilePermissionKey.json index be08aa6567331..6286aea665b47 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryFilePermissionKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryFilePermissionKey.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectoryfilepermissionkey19832b3ff7?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectoryfilepermissionkey1787112f21?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "16912ffc-370a-4bea-b31a-db5ad66f7867" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cd6b7c08-e4ae-4649-96a8-8cdb3c7b4d4e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8E1F9D11", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:22 GMT", + "ETag" : "0x8D77911FD7DA7BD", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c37-a01a-0116-4088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "16912ffc-370a-4bea-b31a-db5ad66f7867" + "x-ms-request-id" : "9ba99ef4-201a-0011-11fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:46 GMT", + "x-ms-client-request-id" : "cd6b7c08-e4ae-4649-96a8-8cdb3c7b4d4e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectoryfilepermissionkey19832b3ff7?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectoryfilepermissionkey1787112f21?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5232b5be-7d5f-4b37-88e3-77ffbc6f59d9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "42d4b738-8f3b-41a5-a21f-88ae8dca37e9", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c39-a01a-0116-4188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "5232b5be-7d5f-4b37-88e3-77ffbc6f59d9" + "x-ms-request-id" : "9ba99ef6-201a-0011-12fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:46 GMT", + "x-ms-client-request-id" : "42d4b738-8f3b-41a5-a21f-88ae8dca37e9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectoryfilepermissionkey19832b3ff7/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectoryfilepermissionkey1787112f21/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b329b7b8-6fb1-4488-8306-1de3724ebe9a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2bb46d64-bccf-4de7-8c17-8cd89f78996c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:22.3021870Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:22 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:47.1434411Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "ETag" : "0x8D7519F8E2A9D2E", + "Date" : "Wed, 04 Dec 2019 23:30:46 GMT", + "ETag" : "0x8D77911FD8C10AB", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:22.3021870Z", + "x-ms-file-change-time" : "2019-12-04T23:30:47.1434411Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c3a-a01a-0116-4288-83b7bd000000", - "x-ms-client-request-id" : "b329b7b8-6fb1-4488-8306-1de3724ebe9a", - "x-ms-file-last-write-time" : "2019-10-15T18:43:22.3021870Z" + "x-ms-request-id" : "9ba99ef7-201a-0011-13fa-aa088f000000", + "x-ms-client-request-id" : "2bb46d64-bccf-4de7-8c17-8cd89f78996c", + "x-ms-file-last-write-time" : "2019-12-04T23:30:47.1434411Z" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatedirectoryfilepermissionkey19832b3ff7", "2019-10-15T18:43:22.302187Z", "2019-10-15T18:43:22.302187Z" ] + "variables" : [ "shareapitestscreatedirectoryfilepermissionkey1787112f21", "2019-12-04T23:30:47.143441100Z", "2019-12-04T23:30:47.143441100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryInvalidName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryInvalidName.json index 083c8b9befaa7..ab58fe69f394e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryInvalidName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryInvalidName.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectoryinvalidname50127d935940c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectoryinvalidname371984d4d032d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a7a507d3-5c54-4119-8ab9-41955a22d2b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0be146c6-1a44-4d1e-9bd6-49f6d4434e58" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8E41AC46", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:22 GMT", + "ETag" : "0x8D77911FDBF1D73", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c3d-a01a-0116-4588-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "a7a507d3-5c54-4119-8ab9-41955a22d2b5" + "x-ms-request-id" : "9ba99efa-201a-0011-16fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:46 GMT", + "x-ms-client-request-id" : "0be146c6-1a44-4d1e-9bd6-49f6d4434e58" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectoryinvalidname50127d935940c/test%2fdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectoryinvalidname371984d4d032d/test%2fdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5f222cd0-040d-4297-8f00-9799304fa0c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "69a25f4b-1644-4fa6-b2e7-e142b5eabed7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ParentNotFound", "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "83e48c3f-a01a-0116-4688-83b7bd000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:83e48c3f-a01a-0116-4688-83b7bd000000\nTime:2019-10-15T18:43:22.5193692Z", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "5f222cd0-040d-4297-8f00-9799304fa0c6", + "x-ms-request-id" : "9ba99efc-201a-0011-17fa-aa088f000000", + "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:9ba99efc-201a-0011-17fa-aa088f000000\nTime:2019-12-04T23:30:47.5780050Z", + "Date" : "Wed, 04 Dec 2019 23:30:46 GMT", + "x-ms-client-request-id" : "69a25f4b-1644-4fa6-b2e7-e142b5eabed7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatedirectoryinvalidname50127d935940c" ] + "variables" : [ "shareapitestscreatedirectoryinvalidname371984d4d032d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryMetadata.json index f643ec0a665f6..25b4215a9a277 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryMetadata.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectorymetadata992351ab972eb7?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectorymetadata74231681ad2eab?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c968f6b5-d604-44f9-ae88-8558770a964f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e0e80512-27ce-496f-adaf-aa38e93244ed" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8E60AD7D", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:22 GMT", + "ETag" : "0x8D77911FDF23CE1", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c43-a01a-0116-4988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "c968f6b5-d604-44f9-ae88-8558770a964f" + "x-ms-request-id" : "9ba99eff-201a-0011-1afa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:47 GMT", + "x-ms-client-request-id" : "e0e80512-27ce-496f-adaf-aa38e93244ed" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectorymetadata992351ab972eb7/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectorymetadata74231681ad2eab/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9f007dfa-4e00-40aa-b217-ab18ca5b79bf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c9079ae-0704-4e8c-8fe9-676fc328ee6c" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:22.7132003Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:22 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:47.9076465Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:47 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "ETag" : "0x8D7519F8E695463", + "Date" : "Wed, 04 Dec 2019 23:30:47 GMT", + "ETag" : "0x8D77911FE00AC71", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:22.7132003Z", + "x-ms-file-change-time" : "2019-12-04T23:30:47.9076465Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c45-a01a-0116-4a88-83b7bd000000", - "x-ms-client-request-id" : "9f007dfa-4e00-40aa-b217-ab18ca5b79bf", - "x-ms-file-last-write-time" : "2019-10-15T18:43:22.7132003Z" + "x-ms-request-id" : "9ba99f01-201a-0011-1bfa-aa088f000000", + "x-ms-client-request-id" : "2c9079ae-0704-4e8c-8fe9-676fc328ee6c", + "x-ms-file-last-write-time" : "2019-12-04T23:30:47.9076465Z" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatedirectorymetadata992351ab972eb7" ] + "variables" : [ "shareapitestscreatedirectorymetadata74231681ad2eab" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryMetadataError.json index 0379500a28c71..f989c54c2e6af 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateDirectoryMetadataError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectorymetadataerror491125103846?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectorymetadataerror80151b6c985c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "436a8c67-5f91-45f4-b3af-0dee3c8c730d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d03642b8-3968-4d97-b86b-cd4cf2a671d4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8E7B8F10", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:22 GMT", + "ETag" : "0x8D77911FE25CE84", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c48-a01a-0116-4d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "436a8c67-5f91-45f4-b3af-0dee3c8c730d" + "x-ms-request-id" : "9ba99f05-201a-0011-1ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:47 GMT", + "x-ms-client-request-id" : "d03642b8-3968-4d97-b86b-cd4cf2a671d4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatedirectorymetadataerror491125103846/testdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatedirectorymetadataerror80151b6c985c/testdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "50e93376-0b76-4168-b41c-123a308c5d3b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e09f6468-687d-4ea8-8cb3-4cecbc1f1ce0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "83e48c4a-a01a-0116-4e88-83b7bd000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:83e48c4a-a01a-0116-4e88-83b7bd000000\nTime:2019-10-15T18:43:22.8737044Zvalue", - "Date" : "Tue, 15 Oct 2019 18:43:21 GMT", - "x-ms-client-request-id" : "50e93376-0b76-4168-b41c-123a308c5d3b", + "x-ms-request-id" : "9ba99f07-201a-0011-20fa-aa088f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:9ba99f07-201a-0011-20fa-aa088f000000\nTime:2019-12-04T23:30:48.2340077Zvalue", + "Date" : "Wed, 04 Dec 2019 23:30:47 GMT", + "x-ms-client-request-id" : "e09f6468-687d-4ea8-8cb3-4cecbc1f1ce0", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatedirectorymetadataerror491125103846" ] + "variables" : [ "shareapitestscreatedirectorymetadataerror80151b6c985c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFile.json index 55184740f2b79..63a62343b5618 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFile.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefileshareapitestscreatefile15896140378?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefileshareapitestscreatefile153803127fc?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "10cb42ce-b520-411b-b180-f070821fe7c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf325102-e1bd-421b-8d59-0827c87f1452" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8E967086", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:23 GMT", + "ETag" : "0x8D77911FE580236", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c4d-a01a-0116-5188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:22 GMT", - "x-ms-client-request-id" : "10cb42ce-b520-411b-b180-f070821fe7c6" + "x-ms-request-id" : "9ba99f0b-201a-0011-23fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:47 GMT", + "x-ms-client-request-id" : "cf325102-e1bd-421b-8d59-0827c87f1452" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefileshareapitestscreatefile15896140378/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefileshareapitestscreatefile153803127fc/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eb7425c8-f478-4af9-a477-157fa9a3c2c3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1412fcd8-dfbc-4cf5-ac3f-508df1271f31" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:23.0815557Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:23 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:48.5776962Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:22 GMT", - "ETag" : "0x8D7519F8EA18945", + "Date" : "Wed, 04 Dec 2019 23:30:47 GMT", + "ETag" : "0x8D77911FE66EA42", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:23.0815557Z", + "x-ms-file-change-time" : "2019-12-04T23:30:48.5776962Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c4f-a01a-0116-5288-83b7bd000000", - "x-ms-client-request-id" : "eb7425c8-f478-4af9-a477-157fa9a3c2c3", - "x-ms-file-last-write-time" : "2019-10-15T18:43:23.0815557Z" + "x-ms-request-id" : "9ba99f0d-201a-0011-24fa-aa088f000000", + "x-ms-client-request-id" : "1412fcd8-dfbc-4cf5-ac3f-508df1271f31", + "x-ms-file-last-write-time" : "2019-12-04T23:30:48.5776962Z" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefileshareapitestscreatefile15896140378" ] + "variables" : [ "shareapitestscreatefileshareapitestscreatefile153803127fc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileFilePermission.json index 822ec3b779554..21c04b122052e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileFilePermission.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilefilepermission1842226244ef10?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilefilepermission00496974ae121d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8c5785a9-ad9a-4de6-bab8-5ff8374fa634" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df508247-81d7-47ac-b1b3-aa2d5ac256d3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8EB60E1F", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:23 GMT", + "ETag" : "0x8D77911FE8B9547", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c52-a01a-0116-5588-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:22 GMT", - "x-ms-client-request-id" : "8c5785a9-ad9a-4de6-bab8-5ff8374fa634" + "x-ms-request-id" : "9ba99f10-201a-0011-27fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:48 GMT", + "x-ms-client-request-id" : "df508247-81d7-47ac-b1b3-aa2d5ac256d3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilefilepermission1842226244ef10/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilefilepermission00496974ae121d/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "54e2e503-6c90-4bb4-803a-6a3e8c836488" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7aa7ac50-37f9-4eae-bcd5-70ef56891ded" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:23.2937619Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:23 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:48.9196573Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:48 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:22 GMT", - "ETag" : "0x8D7519F8EC1EA93", + "Date" : "Wed, 04 Dec 2019 23:30:48 GMT", + "ETag" : "0x8D77911FE9B181D", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:23.2937619Z", + "x-ms-file-change-time" : "2019-12-04T23:30:48.9196573Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c54-a01a-0116-5688-83b7bd000000", - "x-ms-client-request-id" : "54e2e503-6c90-4bb4-803a-6a3e8c836488", - "x-ms-file-last-write-time" : "2019-10-15T18:43:23.2937619Z" + "x-ms-request-id" : "9ba99f12-201a-0011-28fa-aa088f000000", + "x-ms-client-request-id" : "7aa7ac50-37f9-4eae-bcd5-70ef56891ded", + "x-ms-file-last-write-time" : "2019-12-04T23:30:48.9196573Z" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefilefilepermission1842226244ef10" ] + "variables" : [ "shareapitestscreatefilefilepermission00496974ae121d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileFilePermissionKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileFilePermissionKey.json index ec4fc06f839c4..bc229a62ce933 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileFilePermissionKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileFilePermissionKey.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilefilepermissionkey6132695ff12e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilefilepermissionkey98483d3a929c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "67df4a1c-0b14-4d4e-b615-fd68da06a48d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "23d7dc29-ff50-43c2-825b-529f602bd996" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8EDA67CF", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:23 GMT", + "ETag" : "0x8D77911FEBFEB9E", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c57-a01a-0116-5988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:22 GMT", - "x-ms-client-request-id" : "67df4a1c-0b14-4d4e-b615-fd68da06a48d" + "x-ms-request-id" : "9ba99f1e-201a-0011-2bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:48 GMT", + "x-ms-client-request-id" : "23d7dc29-ff50-43c2-825b-529f602bd996" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilefilepermissionkey6132695ff12e?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilefilepermissionkey98483d3a929c?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bdbbf189-d018-4612-9184-40ddb8f2f6a8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0864f4ff-e070-4c7d-b64b-73e2f29d038f", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c59-a01a-0116-5a88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:22 GMT", - "x-ms-client-request-id" : "bdbbf189-d018-4612-9184-40ddb8f2f6a8" + "x-ms-request-id" : "9ba99f20-201a-0011-2cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:48 GMT", + "x-ms-client-request-id" : "0864f4ff-e070-4c7d-b64b-73e2f29d038f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilefilepermissionkey6132695ff12e/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilefilepermissionkey98483d3a929c/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b9551c45-c2f4-46bc-b0b8-ed274942315c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f41abaab-2704-4089-a102-d0f7c74c9ad7" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:23.5437706Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:23 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:49.2524958Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:49 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:22 GMT", - "ETag" : "0x8D7519F8EE8108A", + "Date" : "Wed, 04 Dec 2019 23:30:48 GMT", + "ETag" : "0x8D77911FECDE19E", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:23.5437706Z", + "x-ms-file-change-time" : "2019-12-04T23:30:49.2524958Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c5a-a01a-0116-5b88-83b7bd000000", - "x-ms-client-request-id" : "b9551c45-c2f4-46bc-b0b8-ed274942315c", - "x-ms-file-last-write-time" : "2019-10-15T18:43:23.5447982Z" + "x-ms-request-id" : "9ba99f21-201a-0011-2dfa-aa088f000000", + "x-ms-client-request-id" : "f41abaab-2704-4089-a102-d0f7c74c9ad7", + "x-ms-file-last-write-time" : "2019-12-04T23:30:49.2524958Z" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefilefilepermissionkey6132695ff12e", "2019-10-15T18:43:23.543770600Z", "2019-10-15T18:43:23.544798200Z" ] + "variables" : [ "shareapitestscreatefilefilepermissionkey98483d3a929c", "2019-12-04T23:30:49.252495800Z", "2019-12-04T23:30:49.252495800Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileInvalidArgs0.json index 528d546491bfc..d77df9141a768 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileInvalidArgs0.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefileinvalidargs0000039bf3a7ade3?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefileinvalidargs04738130fe291e2e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b4ece806-1a78-4a1f-aff1-6036d0718d8f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "18f141bc-1859-4c54-99ca-d81e60ac91f6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8F0096B2", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:23 GMT", + "ETag" : "0x8D77911FF007924", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c5f-a01a-0116-6088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:22 GMT", - "x-ms-client-request-id" : "b4ece806-1a78-4a1f-aff1-6036d0718d8f" + "x-ms-request-id" : "9ba99f25-201a-0011-30fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:48 GMT", + "x-ms-client-request-id" : "18f141bc-1859-4c54-99ca-d81e60ac91f6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefileinvalidargs0000039bf3a7ade3/testfile:", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefileinvalidargs04738130fe291e2e/testfile:", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "96df6abe-77c8-4f7a-9427-e5047e30b1f6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b851aaf4-eab6-4212-a8ca-8bedd7a50064" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "83e48c61-a01a-0116-6188-83b7bd000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:83e48c61-a01a-0116-6188-83b7bd000000\nTime:2019-10-15T18:43:24.0878556Z", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "x-ms-client-request-id" : "96df6abe-77c8-4f7a-9427-e5047e30b1f6", + "x-ms-request-id" : "9ba99f27-201a-0011-31fa-aa088f000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:9ba99f27-201a-0011-31fa-aa088f000000\nTime:2019-12-04T23:30:49.6779937Z", + "Date" : "Wed, 04 Dec 2019 23:30:49 GMT", + "x-ms-client-request-id" : "b851aaf4-eab6-4212-a8ca-8bedd7a50064", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefileinvalidargs0000039bf3a7ade3" ] + "variables" : [ "shareapitestscreatefileinvalidargs04738130fe291e2e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileInvalidArgs1.json index ac4bde6908761..673e9fa6e2725 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileInvalidArgs1.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefileinvalidargs187399569a72ea3e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefileinvalidargs173284dd7d2a3ad1?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "00676522-6ce3-4e64-b23b-4d58edce1d83" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aea7646b-592a-4066-8d56-bcea1c849848" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8F4CA643", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:24 GMT", + "ETag" : "0x8D77911FF33467B", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c64-a01a-0116-6488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "x-ms-client-request-id" : "00676522-6ce3-4e64-b23b-4d58edce1d83" + "x-ms-request-id" : "9ba99f2c-201a-0011-35fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:49 GMT", + "x-ms-client-request-id" : "aea7646b-592a-4066-8d56-bcea1c849848" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefileinvalidargs187399569a72ea3e/fileName", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefileinvalidargs173284dd7d2a3ad1/fileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1d59ab63-52db-41a5-925c-2adef0cafcdb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0cd84b99-2615-4733-b5ce-9ba801d0a749" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "83e48c66-a01a-0116-6588-83b7bd000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:83e48c66-a01a-0116-6588-83b7bd000000\nTime:2019-10-15T18:43:24.2570152Z", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "x-ms-client-request-id" : "1d59ab63-52db-41a5-925c-2adef0cafcdb", + "x-ms-request-id" : "9ba99f2f-201a-0011-37fa-aa088f000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:9ba99f2f-201a-0011-37fa-aa088f000000\nTime:2019-12-04T23:30:50.0010082Z", + "Date" : "Wed, 04 Dec 2019 23:30:49 GMT", + "x-ms-client-request-id" : "0cd84b99-2615-4733-b5ce-9ba801d0a749", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefileinvalidargs187399569a72ea3e" ] + "variables" : [ "shareapitestscreatefileinvalidargs173284dd7d2a3ad1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverload.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverload.json index 4869939922448..6eefb29ea8501 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverload.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverload.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverload0124069b394e95d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverload889275183e15d6a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "46e61d0d-ba3a-433c-816c-0ff1a1d986e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b302bdad-dc7f-4a1a-b5a0-d4888ec7a2ba" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8F6760AC", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:24 GMT", + "ETag" : "0x8D77911FF6468C3", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c69-a01a-0116-6888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "x-ms-client-request-id" : "46e61d0d-ba3a-433c-816c-0ff1a1d986e6" + "x-ms-request-id" : "9ba99f32-201a-0011-3afa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:49 GMT", + "x-ms-client-request-id" : "b302bdad-dc7f-4a1a-b5a0-d4888ec7a2ba" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverload0124069b394e95d/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverload889275183e15d6a/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "43f883c7-f5bd-4cd7-96fe-1df6564ea47a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a5fd8273-1199-492b-9a2b-11fc37ac4f90" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:24.4121247Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:24 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:50.2466068Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:50 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "ETag" : "0x8D7519F8F6C909F", + "Date" : "Wed, 04 Dec 2019 23:30:49 GMT", + "ETag" : "0x8D77911FF659214", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:24.4121247Z", + "x-ms-file-change-time" : "2019-12-04T23:30:50.2466068Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c6b-a01a-0116-6988-83b7bd000000", - "x-ms-client-request-id" : "43f883c7-f5bd-4cd7-96fe-1df6564ea47a", - "x-ms-file-last-write-time" : "2019-10-15T18:43:24.4121247Z" + "x-ms-request-id" : "9ba99f35-201a-0011-3bfa-aa088f000000", + "x-ms-client-request-id" : "a5fd8273-1199-492b-9a2b-11fc37ac4f90", + "x-ms-file-last-write-time" : "2019-12-04T23:30:50.2466068Z" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefilemaxoverload0124069b394e95d", "2019-10-15T18:43:24.412124700Z", "2019-10-15T18:43:24.412124700Z" ] + "variables" : [ "shareapitestscreatefilemaxoverload889275183e15d6a", "2019-12-04T23:30:50.246606800Z", "2019-12-04T23:30:50.246606800Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs0.json index 76b416beaa6fa..36f55798b69b3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs0.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs06573343f3?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs020497e0dc?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0a11d506-97d7-4b8c-89bc-a7701ce781c6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "298cbfcd-4bc2-4c6d-b027-50cb67981cab" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8F821B1E", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:24 GMT", + "ETag" : "0x8D77911FF989A6F", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c6e-a01a-0116-6c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "x-ms-client-request-id" : "0a11d506-97d7-4b8c-89bc-a7701ce781c6" + "x-ms-request-id" : "9ba99f38-201a-0011-3efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:49 GMT", + "x-ms-client-request-id" : "298cbfcd-4bc2-4c6d-b027-50cb67981cab" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs06573343f3/testfile:", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs020497e0dc/testfile:", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b42934e-2952-4207-bbc4-02fc24c34fec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d3fc9c8c-f0f2-44fc-8c0d-115bffbb2fb7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "83e48c70-a01a-0116-6d88-83b7bd000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:83e48c70-a01a-0116-6d88-83b7bd000000\nTime:2019-10-15T18:43:24.6063458Z", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "x-ms-client-request-id" : "9b42934e-2952-4207-bbc4-02fc24c34fec", + "x-ms-request-id" : "9ba99f3a-201a-0011-3ffa-aa088f000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:9ba99f3a-201a-0011-3ffa-aa088f000000\nTime:2019-12-04T23:30:50.6740535Z", + "Date" : "Wed, 04 Dec 2019 23:30:50 GMT", + "x-ms-client-request-id" : "d3fc9c8c-f0f2-44fc-8c0d-115bffbb2fb7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefilemaxoverloadinvalidargs06573343f3" ] + "variables" : [ "shareapitestscreatefilemaxoverloadinvalidargs020497e0dc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs1.json index 035cb0c2c2d15..30a68c8b0e976 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs1.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs192635d183?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs1942947953?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e9ec65f3-f6fe-4b83-8f21-9d2b4b199b31" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9e66cc63-4d22-44d9-b471-689f8d722647" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8FA5B148", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:24 GMT", + "ETag" : "0x8D77911FFCC537A", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c73-a01a-0116-7088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "x-ms-client-request-id" : "e9ec65f3-f6fe-4b83-8f21-9d2b4b199b31" + "x-ms-request-id" : "9ba99f3f-201a-0011-44fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:50 GMT", + "x-ms-client-request-id" : "9e66cc63-4d22-44d9-b471-689f8d722647" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs192635d183/fileName", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs1942947953/fileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "989cbcd5-6403-452f-b288-1d4397161872" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cbe8b37a-940b-4a41-8d60-c934e57b2b38" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "83e48c75-a01a-0116-7188-83b7bd000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:83e48c75-a01a-0116-7188-83b7bd000000\nTime:2019-10-15T18:43:24.8255532Z", - "Date" : "Tue, 15 Oct 2019 18:43:23 GMT", - "x-ms-client-request-id" : "989cbcd5-6403-452f-b288-1d4397161872", + "x-ms-request-id" : "9ba99f41-201a-0011-45fa-aa088f000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:9ba99f41-201a-0011-45fa-aa088f000000\nTime:2019-12-04T23:30:51.0039852Z", + "Date" : "Wed, 04 Dec 2019 23:30:50 GMT", + "x-ms-client-request-id" : "cbe8b37a-940b-4a41-8d60-c934e57b2b38", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefilemaxoverloadinvalidargs192635d183" ] + "variables" : [ "shareapitestscreatefilemaxoverloadinvalidargs1942947953" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs2.json index 058e0ff341bc2..4cc52fe1b047a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs2.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs242191652a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs222060d8e8?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b351679a-12d1-4aa3-a999-4e08584b46fa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d91323d-c49d-4c64-bec3-d6c3561490eb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8FBD0F85", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:24 GMT", + "ETag" : "0x8D77911FFFE3771", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c78-a01a-0116-7488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "b351679a-12d1-4aa3-a999-4e08584b46fa" + "x-ms-request-id" : "9ba99f44-201a-0011-48fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:50 GMT", + "x-ms-client-request-id" : "8d91323d-c49d-4c64-bec3-d6c3561490eb" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs242191652a/fileName", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs222060d8e8/fileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "68baf50b-4487-450c-ba78-8ef2bc5de112" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "02eac544-e9a7-4b8a-9f56-1a577d9d7ded" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "310", "StatusCode" : "400", - "x-ms-request-id" : "83e48c7a-a01a-0116-7588-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48c7a-a01a-0116-7588-83b7bd000000\nTime:2019-10-15T18:43:24.9786981Zx-ms-content-md5", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "68baf50b-4487-450c-ba78-8ef2bc5de112", + "x-ms-request-id" : "9ba99f46-201a-0011-49fa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99f46-201a-0011-49fa-aa088f000000\nTime:2019-12-04T23:30:51.3320471Zx-ms-content-md5", + "Date" : "Wed, 04 Dec 2019 23:30:50 GMT", + "x-ms-client-request-id" : "02eac544-e9a7-4b8a-9f56-1a577d9d7ded", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefilemaxoverloadinvalidargs242191652a" ] + "variables" : [ "shareapitestscreatefilemaxoverloadinvalidargs222060d8e8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs3.json index 5d02d1c1dc487..e431a798175c3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateFileMaxOverloadInvalidArgs3.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs300628d272?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs3355717339?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "daba5755-896e-4e86-830e-e7a6292c1a7e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "95bdca6b-bbdc-4a8f-8435-b44d9c033c4f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8FD6DF5A", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:25 GMT", + "ETag" : "0x8D7791200312F0B", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c7e-a01a-0116-7888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "daba5755-896e-4e86-830e-e7a6292c1a7e" + "x-ms-request-id" : "9ba99f49-201a-0011-4cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:50 GMT", + "x-ms-client-request-id" : "95bdca6b-bbdc-4a8f-8435-b44d9c033c4f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs300628d272/fileName", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatefilemaxoverloadinvalidargs3355717339/fileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "06765ee1-7a30-43e5-9934-ee9c7e278bba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef936c0b-ba61-4f71-a686-3b43683602f1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "83e48c80-a01a-0116-7988-83b7bd000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:83e48c80-a01a-0116-7988-83b7bd000000\nTime:2019-10-15T18:43:25.1468588Zvalue", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "06765ee1-7a30-43e5-9934-ee9c7e278bba", + "x-ms-request-id" : "9ba99f4c-201a-0011-4dfa-aa088f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:9ba99f4c-201a-0011-4dfa-aa088f000000\nTime:2019-12-04T23:30:51.6640451Zvalue", + "Date" : "Wed, 04 Dec 2019 23:30:50 GMT", + "x-ms-client-request-id" : "ef936c0b-ba61-4f71-a686-3b43683602f1", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatefilemaxoverloadinvalidargs300628d272" ] + "variables" : [ "shareapitestscreatefilemaxoverloadinvalidargs3355717339" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreatePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreatePermission.json index a6f34fc4538c6..b53891ba619e7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreatePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreatePermission.json @@ -1,46 +1,46 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatepermission052144ba160eb891c4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatepermission46598d682d4e78fcd4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f5d1f1e4-e142-4e9c-ae87-6d2735d4463e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e99cde8d-2781-42a2-90ed-d22326c536e7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F906D5063", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:26 GMT", + "ETag" : "0x8D77912014B774A", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c9d-a01a-0116-1088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "f5d1f1e4-e142-4e9c-ae87-6d2735d4463e" + "x-ms-request-id" : "9ba99f65-201a-0011-62fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:52 GMT", + "x-ms-client-request-id" : "e99cde8d-2781-42a2-90ed-d22326c536e7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatepermission052144ba160eb891c4?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatepermission46598d682d4e78fcd4?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "636185f9-5a52-45bc-8707-bf98f6203bd9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5464d649-8dd2-4203-9b72-202e3d1ec102", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c9f-a01a-0116-1188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "636185f9-5a52-45bc-8707-bf98f6203bd9" + "x-ms-request-id" : "9ba99f67-201a-0011-63fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:52 GMT", + "x-ms-client-request-id" : "5464d649-8dd2-4203-9b72-202e3d1ec102" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatepermission052144ba160eb891c4" ] + "variables" : [ "shareapitestscreatepermission46598d682d4e78fcd4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreatePermissionError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreatePermissionError.json index 4ac386df1f57a..4e269c00fd4b9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreatePermissionError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreatePermissionError.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatepermissionerror838499602b66107?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatepermissionerror799772bd1c597d5?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6a469a9c-8092-4428-b14b-29dbcbc714af" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f575a546-3faf-47f4-a416-83c89626d816" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F9085C054", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:26 GMT", + "ETag" : "0x8D7791201BBEC2C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ca2-a01a-0116-1488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "6a469a9c-8092-4428-b14b-29dbcbc714af" + "x-ms-request-id" : "9ba99f71-201a-0011-6bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:53 GMT", + "x-ms-client-request-id" : "f575a546-3faf-47f4-a416-83c89626d816" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatepermissionerror838499602b66107?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatepermissionerror799772bd1c597d5?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5562ce10-4dce-426b-b682-16e8303076e8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "807d83ff-81f2-438e-a3bb-e7333964b131", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "FileInvalidPermission", "retry-after" : "0", "Content-Length" : "233", "StatusCode" : "400", - "x-ms-request-id" : "83e48ca4-a01a-0116-1588-83b7bd000000", - "Body" : "FileInvalidPermissionThe specified file permission is not valid.\nRequestId:83e48ca4-a01a-0116-1588-83b7bd000000\nTime:2019-10-15T18:43:26.2999501Z", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "5562ce10-4dce-426b-b682-16e8303076e8", + "x-ms-request-id" : "9ba99f73-201a-0011-6cfa-aa088f000000", + "Body" : "FileInvalidPermissionThe specified file permission is not valid.\nRequestId:9ba99f73-201a-0011-6cfa-aa088f000000\nTime:2019-12-04T23:30:54.2660302Z", + "Date" : "Wed, 04 Dec 2019 23:30:53 GMT", + "x-ms-client-request-id" : "807d83ff-81f2-438e-a3bb-e7333964b131", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatepermissionerror838499602b66107" ] + "variables" : [ "shareapitestscreatepermissionerror799772bd1c597d5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShare.json index b6d9e7fe29c1f..2f57b221c7a90 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShare.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreateshareshareapitestscreateshare3b300739b3?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreateshareshareapitestscreatesharea4a648968f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fbb05681-a928-4d19-b18b-d8dcd0a944a3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "04bbe675-5557-42b8-89c4-5e9b86c199f0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8BE6FD81", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:18 GMT", + "ETag" : "0x8D77911F9DCDBF9", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bd9-a01a-0116-7a88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:17 GMT", - "x-ms-client-request-id" : "fbb05681-a928-4d19-b18b-d8dcd0a944a3" + "x-ms-request-id" : "9ba99e91-201a-0011-45fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:40 GMT", + "x-ms-client-request-id" : "04bbe675-5557-42b8-89c4-5e9b86c199f0" }, "Exception" : null } ], - "variables" : [ "shareapitestscreateshareshareapitestscreateshare3b300739b3" ] + "variables" : [ "shareapitestscreateshareshareapitestscreatesharea4a648968f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs0.json index a5f653c89fe5f..ede95fe4f6784 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs0.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesharewithargs025084fd010dca137?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesharewithargs0711905d525ac82f4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bbee1491-3cdc-4b43-9901-5877182dcbda" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2ba7853d-11ad-480b-aabe-877cffb87675" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8BFB74D8", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:18 GMT", + "ETag" : "0x8D77911FA048866", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bdd-a01a-0116-7d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:17 GMT", - "x-ms-client-request-id" : "bbee1491-3cdc-4b43-9901-5877182dcbda" + "x-ms-request-id" : "9ba99e95-201a-0011-48fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:40 GMT", + "x-ms-client-request-id" : "2ba7853d-11ad-480b-aabe-877cffb87675" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesharewithargs025084fd010dca137" ] + "variables" : [ "shareapitestscreatesharewithargs0711905d525ac82f4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs1.json index 5d3e2cbecdc12..dba0cece84f85 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs1.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesharewithargs123698f1dfed5099c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesharewithargs143957cf2effdee37?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fb1562bf-49e6-4b21-bb4a-9f6112a13c72" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "323b6c85-db11-472c-8d99-b070df824daf" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8C11732D", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:18 GMT", + "ETag" : "0x8D77911FA2ECC6F", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48be1-a01a-0116-8088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:17 GMT", - "x-ms-client-request-id" : "fb1562bf-49e6-4b21-bb4a-9f6112a13c72" + "x-ms-request-id" : "9ba99e99-201a-0011-4bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:40 GMT", + "x-ms-client-request-id" : "323b6c85-db11-472c-8d99-b070df824daf" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesharewithargs123698f1dfed5099c" ] + "variables" : [ "shareapitestscreatesharewithargs143957cf2effdee37" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs2.json index 4e93134b5de92..623c51a931cab 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs2.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesharewithargs203144e7b7b4a8a7b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesharewithargs260064bcfda8a751a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0f0ec404-2ed9-48ad-8f02-c06ceb1f7dd5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e1901b4-d5fe-4e4a-a62b-6d6975bb45b5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8C248A9C", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:18 GMT", + "ETag" : "0x8D77911FA56052B", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:41 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48be5-a01a-0116-0388-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:18 GMT", - "x-ms-client-request-id" : "0f0ec404-2ed9-48ad-8f02-c06ceb1f7dd5" + "x-ms-request-id" : "9ba99e9f-201a-0011-4ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:41 GMT", + "x-ms-client-request-id" : "6e1901b4-d5fe-4e4a-a62b-6d6975bb45b5" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesharewithargs203144e7b7b4a8a7b" ] + "variables" : [ "shareapitestscreatesharewithargs260064bcfda8a751a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs3.json index f32fa01b4904e..3e0fdef62b8d3 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs3.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesharewithargs390566aa02838734c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesharewithargs3866190e0ab80017a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0b5ff5f2-5a53-40cd-ab2e-66d92afb4a17" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b46fcd5f-7728-400c-a900-79a0889d2af8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8C38DADB", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:19 GMT", + "ETag" : "0x8D77911FA7F5D85", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48be9-a01a-0116-0688-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:18 GMT", - "x-ms-client-request-id" : "0b5ff5f2-5a53-40cd-ab2e-66d92afb4a17" + "x-ms-request-id" : "9ba99ea5-201a-0011-53fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:41 GMT", + "x-ms-client-request-id" : "b46fcd5f-7728-400c-a900-79a0889d2af8" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesharewithargs390566aa02838734c" ] + "variables" : [ "shareapitestscreatesharewithargs3866190e0ab80017a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs0.json index 181c16d6ed9ae..df7983a7fea88 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs0.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesharewithinvalidargs0464396af8642?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesharewithinvalidargs025455c48bdb4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "625abeae-0b38-4577-a47f-c5287c9d20f3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "04905044-553b-484b-b51c-1c6ba0373185" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "83e48bed-a01a-0116-0988-83b7bd000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:83e48bed-a01a-0116-0988-83b7bd000000\nTime:2019-10-15T18:43:19.1601869Zvalue", - "Date" : "Tue, 15 Oct 2019 18:43:18 GMT", - "x-ms-client-request-id" : "625abeae-0b38-4577-a47f-c5287c9d20f3", + "x-ms-request-id" : "9ba99eab-201a-0011-57fa-aa088f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:9ba99eab-201a-0011-57fa-aa088f000000\nTime:2019-12-04T23:30:42.2921028Zvalue", + "Date" : "Wed, 04 Dec 2019 23:30:41 GMT", + "x-ms-client-request-id" : "04905044-553b-484b-b51c-1c6ba0373185", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesharewithinvalidargs0464396af8642" ] + "variables" : [ "shareapitestscreatesharewithinvalidargs025455c48bdb4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs1.json index d20e4a8f8260a..9b374a6cb94ca 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs1.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesharewithinvalidargs15104470c59cd?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesharewithinvalidargs125023282a8b9?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3134210e-a5d4-44a0-91f3-ae235e5ecb16" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7cfd23c-b750-4240-8442-73af9f3798a7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "83e48bef-a01a-0116-0b88-83b7bd000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:83e48bef-a01a-0116-0b88-83b7bd000000\nTime:2019-10-15T18:43:19.2412644Z", - "Date" : "Tue, 15 Oct 2019 18:43:18 GMT", - "x-ms-client-request-id" : "3134210e-a5d4-44a0-91f3-ae235e5ecb16", + "x-ms-request-id" : "9ba99ead-201a-0011-59fa-aa088f000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:9ba99ead-201a-0011-59fa-aa088f000000\nTime:2019-12-04T23:30:42.4500324Z", + "Date" : "Wed, 04 Dec 2019 23:30:41 GMT", + "x-ms-client-request-id" : "c7cfd23c-b750-4240-8442-73af9f3798a7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesharewithinvalidargs15104470c59cd" ] + "variables" : [ "shareapitestscreatesharewithinvalidargs125023282a8b9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs2.json index 90e1e2467271a..d34d1fcd58efc 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithInvalidArgs2.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesharewithinvalidargs202327ab360f2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesharewithinvalidargs277931d19276b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cb887793-9ad6-465a-8482-5f2977624f48" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ae46f4ce-98af-440e-abb9-6b889449383d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "326", "StatusCode" : "400", - "x-ms-request-id" : "83e48bf1-a01a-0116-0d88-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48bf1-a01a-0116-0d88-83b7bd000000\nTime:2019-10-15T18:43:19.3153341Zx-ms-share-quota6000", - "Date" : "Tue, 15 Oct 2019 18:43:18 GMT", - "x-ms-client-request-id" : "cb887793-9ad6-465a-8482-5f2977624f48", + "x-ms-request-id" : "9ba99eaf-201a-0011-5bfa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99eaf-201a-0011-5bfa-aa088f000000\nTime:2019-12-04T23:30:42.6100401Zx-ms-share-quota6000", + "Date" : "Wed, 04 Dec 2019 23:30:42 GMT", + "x-ms-client-request-id" : "ae46f4ce-98af-440e-abb9-6b889449383d", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesharewithinvalidargs202327ab360f2" ] + "variables" : [ "shareapitestscreatesharewithinvalidargs277931d19276b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshot.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshot.json index 7a05edc3d8420..b5cc394dc6a1f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshot.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshot.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesnapshot572486f3cc232459045?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesnapshot635255d20a7ffebe145?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "69c3e091-835a-481d-adfc-d744328af32f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0209f4b-52c8-48bc-ba72-eef272259d19" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8C6E4FB6", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:19 GMT", + "ETag" : "0x8D77911FAF30660", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bf3-a01a-0116-0f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:18 GMT", - "x-ms-client-request-id" : "69c3e091-835a-481d-adfc-d744328af32f" + "x-ms-request-id" : "9ba99eb1-201a-0011-5dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:42 GMT", + "x-ms-client-request-id" : "f0209f4b-52c8-48bc-ba72-eef272259d19" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesnapshot572486f3cc232459045?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesnapshot635255d20a7ffebe145?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "695596d0-c2fb-4fb6-a6e3-1f1601b38aba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7b78fbad-77bc-4137-8434-13545f5d1969" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:19.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:42.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8C6E4FB6", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:19 GMT", + "ETag" : "0x8D77911FAF30660", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bf5-a01a-0116-1088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:18 GMT", - "x-ms-client-request-id" : "695596d0-c2fb-4fb6-a6e3-1f1601b38aba" + "x-ms-request-id" : "9ba99eb3-201a-0011-5efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:42 GMT", + "x-ms-client-request-id" : "7b78fbad-77bc-4137-8434-13545f5d1969" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesnapshot572486f3cc232459045", "shareapitestscreatesnapshot7658427388822b0134f" ] + "variables" : [ "shareapitestscreatesnapshot635255d20a7ffebe145", "shareapitestscreatesnapshot0553975be5868101a4d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotError.json index bafea53abcd7f..40cbb8482aecd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesnapshoterror563910725ee306e9?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesnapshoterror03724cd5f25efce6?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "90838486-81ad-4a48-94f4-ebbbd34aeea5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6752d75b-5193-4444-88e3-9ee551bc5bed" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48bf8-a01a-0116-1388-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48bf8-a01a-0116-1388-83b7bd000000\nTime:2019-10-15T18:43:20.3513156Z", - "Date" : "Tue, 15 Oct 2019 18:43:19 GMT", - "x-ms-client-request-id" : "90838486-81ad-4a48-94f4-ebbbd34aeea5", + "x-ms-request-id" : "9ba99eb6-201a-0011-61fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99eb6-201a-0011-61fa-aa088f000000\nTime:2019-12-04T23:30:43.1320382Z", + "Date" : "Wed, 04 Dec 2019 23:30:42 GMT", + "x-ms-client-request-id" : "6752d75b-5193-4444-88e3-9ee551bc5bed", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesnapshoterror563910725ee306e9" ] + "variables" : [ "shareapitestscreatesnapshoterror03724cd5f25efce6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotMetadata.json index 793386b20cf1d..0cd305c75ec4f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotMetadata.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesnapshotmetadata33132423e0086ea?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesnapshotmetadata52290456b397b0b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6dfd6003-0d49-4025-8762-9b65e1a0edd9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0c14584-aa3b-4c7b-8c95-147cb04a2566" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8D15185E", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:20 GMT", + "ETag" : "0x8D77911FB3F0369", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c01-a01a-0116-1588-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:19 GMT", - "x-ms-client-request-id" : "6dfd6003-0d49-4025-8762-9b65e1a0edd9" + "x-ms-request-id" : "9ba99eb9-201a-0011-63fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:42 GMT", + "x-ms-client-request-id" : "a0c14584-aa3b-4c7b-8c95-147cb04a2566" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesnapshotmetadata33132423e0086ea?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestscreatesnapshotmetadata52290456b397b0b?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8c82648d-222c-4032-8ee4-84219f29664a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8ba5f8ef-1200-48da-9957-9f4a0d3ad5d5" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:20.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:43.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8CCB5400", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:20 GMT", + "ETag" : "0x8D77911FB13D380", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c04-a01a-0116-1688-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:19 GMT", - "x-ms-client-request-id" : "8c82648d-222c-4032-8ee4-84219f29664a" + "x-ms-request-id" : "9ba99ebb-201a-0011-64fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:42 GMT", + "x-ms-client-request-id" : "8ba5f8ef-1200-48da-9957-9f4a0d3ad5d5" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesnapshotmetadata33132423e0086ea", "shareapitestscreatesnapshotmetadata0149036792cd4e6" ] + "variables" : [ "shareapitestscreatesnapshotmetadata52290456b397b0b", "shareapitestscreatesnapshotmetadata516406c5e6f5908" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotMetadataError.json index 4ed301b5506ca..0c7396938e32d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateSnapshotMetadataError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesnapshotmetadataerror598075de45ff?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/shareapitestscreatesnapshotmetadataerror54307cd8d9d6?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a8c22e64-d539-4172-91d5-1037dc7b87e9" + "x-ms-client-request-id" : "83b7d71c-0d8b-410f-b25e-abc484b64e3f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7A03E7E0C730C", - "Last-Modified" : "Thu, 23 Jan 2020 19:57:35 GMT", + "ETag" : "0x8D7A430DBAB85F9", + "Last-Modified" : "Tue, 28 Jan 2020 20:30:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "266e2c3d-701a-00fe-1427-d20c13000000", - "Date" : "Thu, 23 Jan 2020 19:57:35 GMT", - "x-ms-client-request-id" : "a8c22e64-d539-4172-91d5-1037dc7b87e9" + "x-ms-request-id" : "c4f78bf9-101a-0035-0919-d6fe2f000000", + "Date" : "Tue, 28 Jan 2020 20:30:04 GMT", + "x-ms-client-request-id" : "83b7d71c-0d8b-410f-b25e-abc484b64e3f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestscreatesnapshotmetadataerror598075de45ff?restype=share&comp=snapshot", + "Uri" : "http://gaprastg71.file.core.windows.net/shareapitestscreatesnapshotmetadataerror54307cd8d9d6?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "21d18a22-d73c-4a15-9724-3f132b199107" + "x-ms-client-request-id" : "3e40bf59-19c3-4eee-b290-6ab8a5364609" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "266e2c40-701a-00fe-1527-d20c13000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:266e2c40-701a-00fe-1527-d20c13000000\nTime:2020-01-23T19:57:36.2048718Zvalue", - "Date" : "Thu, 23 Jan 2020 19:57:35 GMT", - "x-ms-client-request-id" : "21d18a22-d73c-4a15-9724-3f132b199107", + "x-ms-request-id" : "c4f78bfc-101a-0035-0a19-d6fe2f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:c4f78bfc-101a-0035-0a19-d6fe2f000000\nTime:2020-01-28T20:30:04.8742005Zvalue", + "Date" : "Tue, 28 Jan 2020 20:30:04 GMT", + "x-ms-client-request-id" : "3e40bf59-19c3-4eee-b290-6ab8a5364609", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestscreatesnapshotmetadataerror598075de45ff" ] + "variables" : [ "shareapitestscreatesnapshotmetadataerror54307cd8d9d6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteDirectory.json index 0540d025b3f33..649f8cf26a395 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteDirectory.json @@ -1,73 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletedirectory62436193881089d294?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletedirectory16087ad8edb04cfeb4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f2449dea-2163-49e5-aa94-f9757dec093a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "27467ef1-1ae8-4cbb-94b6-fbde2b38179b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8FEE3D92", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:25 GMT", + "ETag" : "0x8D779120061DD68", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c83-a01a-0116-7c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "f2449dea-2163-49e5-aa94-f9757dec093a" + "x-ms-request-id" : "9ba99f4f-201a-0011-50fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:51 GMT", + "x-ms-client-request-id" : "27467ef1-1ae8-4cbb-94b6-fbde2b38179b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletedirectory62436193881089d294/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletedirectory16087ad8edb04cfeb4/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "43ad2bde-9c10-4989-8776-6e5671d0d9c3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e9b9acb-4135-489e-b5de-a41c8e26e3b9" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:25.3147107Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:25 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:51.9946748Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:51 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "ETag" : "0x8D7519F8FF649E3", + "Date" : "Wed, 04 Dec 2019 23:30:51 GMT", + "ETag" : "0x8D7791200704DFC", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:25.3147107Z", + "x-ms-file-change-time" : "2019-12-04T23:30:51.9946748Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c85-a01a-0116-7d88-83b7bd000000", - "x-ms-client-request-id" : "43ad2bde-9c10-4989-8776-6e5671d0d9c3", - "x-ms-file-last-write-time" : "2019-10-15T18:43:25.3147107Z" + "x-ms-request-id" : "9ba99f51-201a-0011-51fa-aa088f000000", + "x-ms-client-request-id" : "6e9b9acb-4135-489e-b5de-a41c8e26e3b9", + "x-ms-file-last-write-time" : "2019-12-04T23:30:51.9946748Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletedirectory62436193881089d294/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletedirectory16087ad8edb04cfeb4/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "242437fd-f6de-4cbf-bbe8-7bd994c4b5e9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f18af96-320e-4fc7-a1c8-f66deda3952d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "83e48c88-a01a-0116-8088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "242437fd-f6de-4cbf-bbe8-7bd994c4b5e9" + "x-ms-request-id" : "9ba99f52-201a-0011-52fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:51 GMT", + "x-ms-client-request-id" : "4f18af96-320e-4fc7-a1c8-f66deda3952d" }, "Exception" : null } ], - "variables" : [ "shareapitestsdeletedirectory62436193881089d294" ] + "variables" : [ "shareapitestsdeletedirectory16087ad8edb04cfeb4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteDirectoryError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteDirectoryError.json index 8d1f0619bbd4c..f781e0ee7adbb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteDirectoryError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteDirectoryError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletedirectoryerror55267fb1ba532f68?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletedirectoryerror836614f3e4a7456f?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c05010ac-d045-4c9a-9f64-d22a3d4d1b74" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "74855afa-9602-4c38-bc58-be97bdf25260" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F900E2962", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:25 GMT", + "ETag" : "0x8D7791200A217EB", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c8b-a01a-0116-0388-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "c05010ac-d045-4c9a-9f64-d22a3d4d1b74" + "x-ms-request-id" : "9ba99f55-201a-0011-55fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:51 GMT", + "x-ms-client-request-id" : "74855afa-9602-4c38-bc58-be97bdf25260" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletedirectoryerror55267fb1ba532f68/testdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletedirectoryerror836614f3e4a7456f/testdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "554f0df7-cb09-4fe5-aaa8-dfb07011a142" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fef1208b-a6f2-4dbc-8b50-a3e162a8458a" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "83e48c8e-a01a-0116-0488-83b7bd000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:83e48c8e-a01a-0116-0488-83b7bd000000\nTime:2019-10-15T18:43:25.5342245Z", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "554f0df7-cb09-4fe5-aaa8-dfb07011a142", + "x-ms-request-id" : "9ba99f57-201a-0011-56fa-aa088f000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9ba99f57-201a-0011-56fa-aa088f000000\nTime:2019-12-04T23:30:52.4090446Z", + "Date" : "Wed, 04 Dec 2019 23:30:51 GMT", + "x-ms-client-request-id" : "fef1208b-a6f2-4dbc-8b50-a3e162a8458a", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestsdeletedirectoryerror55267fb1ba532f68" ] + "variables" : [ "shareapitestsdeletedirectoryerror836614f3e4a7456f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteFile.json index 3a4ce342e2bc6..1e71c7aa23e8a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteFile.json @@ -1,73 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletefileshareapitestsdeletefiled8548947a2c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletefileshareapitestsdeletefiledfc554716af?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c8dc306d-ece9-400c-9c15-ec1f6375896d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "03648964-42c9-4b6a-9c88-8ec95859f5ea" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F902A1C9C", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:25 GMT", + "ETag" : "0x8D7791200D44E27", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c91-a01a-0116-0788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "c8dc306d-ece9-400c-9c15-ec1f6375896d" + "x-ms-request-id" : "9ba99f5a-201a-0011-59fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:51 GMT", + "x-ms-client-request-id" : "03648964-42c9-4b6a-9c88-8ec95859f5ea" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletefileshareapitestsdeletefiled8548947a2c/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletefileshareapitestsdeletefiledfc554716af/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "423e6a6f-616b-477f-88b1-b43ec49eb50b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f4dd0c51-3964-4b4c-ba01-6ce862626603" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:25.7261074Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:25 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:30:52.7476734Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:52 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "ETag" : "0x8D7519F90351012", + "Date" : "Wed, 04 Dec 2019 23:30:52 GMT", + "ETag" : "0x8D7791200E333FE", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:25.7261074Z", + "x-ms-file-change-time" : "2019-12-04T23:30:52.7476734Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48c93-a01a-0116-0888-83b7bd000000", - "x-ms-client-request-id" : "423e6a6f-616b-477f-88b1-b43ec49eb50b", - "x-ms-file-last-write-time" : "2019-10-15T18:43:25.7261074Z" + "x-ms-request-id" : "9ba99f5c-201a-0011-5afa-aa088f000000", + "x-ms-client-request-id" : "f4dd0c51-3964-4b4c-ba01-6ce862626603", + "x-ms-file-last-write-time" : "2019-12-04T23:30:52.7476734Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletefileshareapitestsdeletefiled8548947a2c/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletefileshareapitestsdeletefiledfc554716af/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aeeca5ef-af43-4b58-8920-5aa7a093128b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c773c6d8-4134-48c4-be6a-8d45b4de4b47" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "83e48c94-a01a-0116-0988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:24 GMT", - "x-ms-client-request-id" : "aeeca5ef-af43-4b58-8920-5aa7a093128b" + "x-ms-request-id" : "9ba99f5d-201a-0011-5bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:52 GMT", + "x-ms-client-request-id" : "c773c6d8-4134-48c4-be6a-8d45b4de4b47" }, "Exception" : null } ], - "variables" : [ "shareapitestsdeletefileshareapitestsdeletefiled8548947a2c" ] + "variables" : [ "shareapitestsdeletefileshareapitestsdeletefiledfc554716af" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteFileError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteFileError.json index 1ca13f62cd4d2..c3483f531ac53 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteFileError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteFileError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletefileerror7146761074dbe49944?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletefileerror900672ce3f5d36a1f4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "612e8c5b-c5d9-4689-9756-4424a4bd7967" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "80ffc357-0b42-4a1f-abee-343024dcb059" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F90507295", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:25 GMT", + "ETag" : "0x8D77912011684EB", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c97-a01a-0116-0c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "612e8c5b-c5d9-4689-9756-4424a4bd7967" + "x-ms-request-id" : "9ba99f60-201a-0011-5efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:52 GMT", + "x-ms-client-request-id" : "80ffc357-0b42-4a1f-abee-343024dcb059" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeletefileerror7146761074dbe49944/testdirectory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeletefileerror900672ce3f5d36a1f4/testdirectory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b6d4da10-dc21-4c92-93d2-4761485c70bc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f9eaf42-2ee9-4615-a9f7-974dc93901ac" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "83e48c99-a01a-0116-0d88-83b7bd000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:83e48c99-a01a-0116-0d88-83b7bd000000\nTime:2019-10-15T18:43:25.9486170Z", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "b6d4da10-dc21-4c92-93d2-4761485c70bc", + "x-ms-request-id" : "9ba99f62-201a-0011-5ffa-aa088f000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9ba99f62-201a-0011-5ffa-aa088f000000\nTime:2019-12-04T23:30:53.1729664Z", + "Date" : "Wed, 04 Dec 2019 23:30:52 GMT", + "x-ms-client-request-id" : "7f9eaf42-2ee9-4615-a9f7-974dc93901ac", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestsdeletefileerror7146761074dbe49944" ] + "variables" : [ "shareapitestsdeletefileerror900672ce3f5d36a1f4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteShare.json index 7dffe095f9ee0..d518fb829510b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteShare.json @@ -1,44 +1,44 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeleteshareshareapitestsdeleteshare161811552e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeleteshareshareapitestsdeletesharec979549531?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7c8a8401-f131-494b-b1f3-e8a84f905b97" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "357e0401-560d-4ff1-8707-04897be95ce9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8D3BE3B0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:20 GMT", + "ETag" : "0x8D77911FBA65066", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c0d-a01a-0116-1d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:19 GMT", - "x-ms-client-request-id" : "7c8a8401-f131-494b-b1f3-e8a84f905b97" + "x-ms-request-id" : "9ba99ec3-201a-0011-6bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:43 GMT", + "x-ms-client-request-id" : "357e0401-560d-4ff1-8707-04897be95ce9" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeleteshareshareapitestsdeleteshare161811552e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeleteshareshareapitestsdeletesharec979549531?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ae28d56c-fe83-4f3b-a099-a9f0c0e8b40e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5fe21e7d-8670-4c0e-a3fb-daafd5ce7138" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "83e48c0f-a01a-0116-1e88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:19 GMT", - "x-ms-client-request-id" : "ae28d56c-fe83-4f3b-a099-a9f0c0e8b40e" + "x-ms-request-id" : "9ba99ec5-201a-0011-6cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:43 GMT", + "x-ms-client-request-id" : "5fe21e7d-8670-4c0e-a3fb-daafd5ce7138" }, "Exception" : null } ], - "variables" : [ "shareapitestsdeleteshareshareapitestsdeleteshare161811552e" ] + "variables" : [ "shareapitestsdeleteshareshareapitestsdeletesharec979549531" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteShareError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteShareError.json index 697470bbe6405..b1d58bf3b890a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteShareError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsDeleteShareError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsdeleteshareerror132587e722917f3cf4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsdeleteshareerror2934558e7e08209d14?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "caaf43c4-bbcc-46cf-8c13-6bafa34c98aa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9e781af-33b4-4774-b35d-c00c25f57c36" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48c11-a01a-0116-2088-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48c11-a01a-0116-2088-83b7bd000000\nTime:2019-10-15T18:43:20.8567942Z", - "Date" : "Tue, 15 Oct 2019 18:43:19 GMT", - "x-ms-client-request-id" : "caaf43c4-bbcc-46cf-8c13-6bafa34c98aa", + "x-ms-request-id" : "9ba99ec8-201a-0011-6efa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99ec8-201a-0011-6efa-aa088f000000\nTime:2019-12-04T23:30:44.2220889Z", + "Date" : "Wed, 04 Dec 2019 23:30:43 GMT", + "x-ms-client-request-id" : "e9e781af-33b4-4774-b35d-c00c25f57c36", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestsdeleteshareerror132587e722917f3cf4" ] + "variables" : [ "shareapitestsdeleteshareerror2934558e7e08209d14" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetFileClientDoesNotCreateAFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetFileClientDoesNotCreateAFile.json index 4f507bad0f4d2..fcc54d8dbff91 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetFileClientDoesNotCreateAFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetFileClientDoesNotCreateAFile.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareapitestsgetfileclientdoesnotcreateafile51903a089b" ] + "variables" : [ "shareapitestsgetfileclientdoesnotcreateafile60313dc5a8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPermissionError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPermissionError.json index 44ec56e98ad80..1a7eb89b7fb64 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPermissionError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPermissionError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsgetpermissionerror92696a302aa96f548?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsgetpermissionerror229787cb2f0e135d2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1f1f80b5-5b85-4e94-991b-e2dce9ecd807" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f3e4e9bb-65e9-44c9-85e9-67f8752b5dc0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F909F1AD6", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:26 GMT", + "ETag" : "0x8D7791201EEBD80", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ca7-a01a-0116-1888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "1f1f80b5-5b85-4e94-991b-e2dce9ecd807" + "x-ms-request-id" : "9ba99f77-201a-0011-6ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:53 GMT", + "x-ms-client-request-id" : "f3e4e9bb-65e9-44c9-85e9-67f8752b5dc0" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsgetpermissionerror92696a302aa96f548?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsgetpermissionerror229787cb2f0e135d2?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3ffb3981-b70d-4c36-a321-ffa3751c8786" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "904ae656-9247-41d7-a279-b323e0822cbd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "335", "StatusCode" : "400", - "x-ms-request-id" : "83e48ca9-a01a-0116-1988-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48ca9-a01a-0116-1988-83b7bd000000\nTime:2019-10-15T18:43:26.5041435Zx-ms-file-permission-keyabcde", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "3ffb3981-b70d-4c36-a321-ffa3751c8786", + "x-ms-request-id" : "9ba99f79-201a-0011-70fa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99f79-201a-0011-70fa-aa088f000000\nTime:2019-12-04T23:30:54.5849574Zx-ms-file-permission-keyabcde", + "Date" : "Wed, 04 Dec 2019 23:30:53 GMT", + "x-ms-client-request-id" : "904ae656-9247-41d7-a279-b323e0822cbd", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestsgetpermissionerror92696a302aa96f548" ] + "variables" : [ "shareapitestsgetpermissionerror229787cb2f0e135d2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetProperties.json index c69a555fb1d85..70aec70518e9d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetProperties.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetProperties.json @@ -1,50 +1,50 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsgetproperties1424014341f7d4e6e45?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsgetproperties0671514f21621d9cb4a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e8efb30d-5842-464e-9e50-01a00797c288" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "572f16e2-c964-475d-88b7-1b192136bb50" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8D58E895", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:20 GMT", + "ETag" : "0x8D77911FBE900F5", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c13-a01a-0116-2288-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", - "x-ms-client-request-id" : "e8efb30d-5842-464e-9e50-01a00797c288" + "x-ms-request-id" : "9ba99eca-201a-0011-70fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:43 GMT", + "x-ms-client-request-id" : "572f16e2-c964-475d-88b7-1b192136bb50" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsgetproperties1424014341f7d4e6e45?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsgetproperties0671514f21621d9cb4a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0e5a975e-154d-4442-8962-6c8105918f1b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "10b1bd10-8b29-45d4-9554-ff531bce4337" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:20 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:43 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "1", - "ETag" : "0x8D7519F8D58E895", + "ETag" : "0x8D77911FBE900F5", "x-ms-has-immutability-policy" : "false", "x-ms-meta-testmetadata" : "value", "Content-Length" : "0", - "x-ms-request-id" : "83e48c15-a01a-0116-2388-83b7bd000000", - "x-ms-client-request-id" : "0e5a975e-154d-4442-8962-6c8105918f1b" + "x-ms-request-id" : "9ba99ecd-201a-0011-71fa-aa088f000000", + "x-ms-client-request-id" : "10b1bd10-8b29-45d4-9554-ff531bce4337" }, "Exception" : null } ], - "variables" : [ "shareapitestsgetproperties1424014341f7d4e6e45" ] + "variables" : [ "shareapitestsgetproperties0671514f21621d9cb4a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesError.json index 359c669f0a303..e9c9f22d2c0c5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsgetpropertieserror57373aaec130f37d4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsgetpropertieserror362679fba37d21b79?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "da12b8af-7596-4669-9836-cdc2a7b9acc8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a1b5451-735e-4f2c-a945-ab312a7e2129" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48c18-a01a-0116-2688-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48c18-a01a-0116-2688-83b7bd000000\nTime:2019-10-15T18:43:21.0850104Z", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", - "x-ms-client-request-id" : "da12b8af-7596-4669-9836-cdc2a7b9acc8", + "x-ms-request-id" : "9ba99ed1-201a-0011-75fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99ed1-201a-0011-75fa-aa088f000000\nTime:2019-12-04T23:30:44.7380276Z", + "Date" : "Wed, 04 Dec 2019 23:30:44 GMT", + "x-ms-client-request-id" : "0a1b5451-735e-4f2c-a945-ab312a7e2129", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestsgetpropertieserror57373aaec130f37d4" ] + "variables" : [ "shareapitestsgetpropertieserror362679fba37d21b79" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesPremium.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesPremium.json new file mode 100644 index 0000000000000..a6ffcac679e9f --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesPremium.json @@ -0,0 +1,55 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://e88xscnapdz5ptf01d.file.preprod.core.windows.net/jtsshareapitestsgetpropertiespremium083320a655990a80?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2742467f-a8fc-4812-a38c-4fdb59918f77" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D779B7AB2E6AE9", + "Last-Modified" : "Thu, 05 Dec 2019 19:16:45 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "bfb2a19a-301a-00a3-45a0-ab21ad000000", + "Date" : "Thu, 05 Dec 2019 19:16:45 GMT", + "x-ms-client-request-id" : "2742467f-a8fc-4812-a38c-4fdb59918f77" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://e88xscnapdz5ptf01d.file.preprod.core.windows.net/jtsshareapitestsgetpropertiespremium083320a655990a80?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6ef12832-c819-48df-97f8-53ccfead7733" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-share-provisioned-iops" : "100", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "Last-Modified" : "Thu, 05 Dec 2019 19:16:45 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Thu, 05 Dec 2019 19:16:45 GMT", + "x-ms-has-legal-hold" : "false", + "x-ms-share-provisioned-ingress-mbps" : "44", + "x-ms-share-quota" : "100", + "x-ms-enabled-protocols" : "SMB", + "ETag" : "0x8D779B7AB2E6AE9", + "x-ms-has-immutability-policy" : "false", + "x-ms-meta-testmetadata" : "value", + "x-ms-request-id" : "bfb2a19f-301a-00a3-46a0-ab21ad000000", + "x-ms-client-request-id" : "6ef12832-c819-48df-97f8-53ccfead7733", + "x-ms-share-provisioned-egress-mbps" : "66", + "x-ms-share-next-allowed-quota-downgrade-time" : "Thu, 05 Dec 2019 19:16:45 GMT" + }, + "Exception" : null + } ], + "variables" : [ "shareapitestsgetpropertiespremium997599877729566b", "jtsshareapitestsgetpropertiespremium083320a655990a80" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetRootDirectoryClient.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetRootDirectoryClient.json index 4b1e4cac30441..3ea3bc6da2ff5 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetRootDirectoryClient.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetRootDirectoryClient.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareapitestsgetrootdirectoryclient883059b53b1f363" ] + "variables" : [ "shareapitestsgetrootdirectoryclient167562202895b55" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareName.json index 020d4435a238d..581ae873c215b 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareName.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareapitestsgetsharenameshareapitestsgetsharename960603914" ] + "variables" : [ "shareapitestsgetsharenameshareapitestsgetsharename843672220" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareSnapshotURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareSnapshotURL.json index b1f1c07aad7b7..488de5694a72c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareSnapshotURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareSnapshotURL.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsgetsharesnapshoturl60110168310a490e?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsgetsharesnapshoturl359680ad06a7971a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "785cee00-b6e1-4a92-9772-4a30f86c91a7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "275615a4-3c45-4512-8a28-c66b40023cc1" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8BBB00DB", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:18 GMT", + "ETag" : "0x8D77911F98E6E9D", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bd2-a01a-0116-7488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:17 GMT", - "x-ms-client-request-id" : "785cee00-b6e1-4a92-9772-4a30f86c91a7" + "x-ms-request-id" : "9ba99e86-201a-0011-3dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:39 GMT", + "x-ms-client-request-id" : "275615a4-3c45-4512-8a28-c66b40023cc1" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestsgetsharesnapshoturl60110168310a490e?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestsgetsharesnapshoturl359680ad06a7971a?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2f08745c-1dd3-494d-bc34-5b2c1377b004" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a90e3edc-0343-40a5-a3fb-8266db656f93" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:18.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:40.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8BBB00DB", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:18 GMT", + "ETag" : "0x8D77911F98E6E9D", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:40 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48bd4-a01a-0116-7588-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:17 GMT", - "x-ms-client-request-id" : "2f08745c-1dd3-494d-bc34-5b2c1377b004" + "x-ms-request-id" : "9ba99e88-201a-0011-3efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:39 GMT", + "x-ms-client-request-id" : "a90e3edc-0343-40a5-a3fb-8266db656f93" }, "Exception" : null } ], - "variables" : [ "shareapitestsgetsharesnapshoturl60110168310a490e" ] + "variables" : [ "shareapitestsgetsharesnapshoturl359680ad06a7971a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareURL.json index 46b790bef665a..fc7a1c69c677d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetShareURL.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareapitestsgetshareurlshareapitestsgetshareurl3db11483a9" ] + "variables" : [ "shareapitestsgetshareurlshareapitestsgetshareurlab9817624c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetSnapshotId.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetSnapshotId.json index 93e66c0c28ff4..b6546e289fe17 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetSnapshotId.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetSnapshotId.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareapitestsgetsnapshotid99828872a16a7bcd24d" ] + "variables" : [ "shareapitestsgetsnapshotid11941b29ae3aa0f554f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadata.json index d7c9bd44308e6..296293f8ffcdd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadata.json @@ -1,96 +1,96 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadatae766798869?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadata5e73182187?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bd875832-caaf-4f02-98f4-33ab54784223" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3c8ef86a-5fc8-4a13-b28a-44e912cca4b8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8DB1090F", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "ETag" : "0x8D77911FCA80890", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c24-a01a-0116-3088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", - "x-ms-client-request-id" : "bd875832-caaf-4f02-98f4-33ab54784223" + "x-ms-request-id" : "9ba99ede-201a-0011-7ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:45 GMT", + "x-ms-client-request-id" : "3c8ef86a-5fc8-4a13-b28a-44e912cca4b8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadatae766798869?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadata5e73182187?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "02b15d7e-2368-4e01-b4c3-8b0264d2946d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "348c6125-704e-469c-9159-deeaef372c77" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:45 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "5120", - "ETag" : "0x8D7519F8DB1090F", + "ETag" : "0x8D77911FCA80890", "x-ms-has-immutability-policy" : "false", "x-ms-meta-testmetadata" : "value", "Content-Length" : "0", - "x-ms-request-id" : "83e48c26-a01a-0116-3188-83b7bd000000", - "x-ms-client-request-id" : "02b15d7e-2368-4e01-b4c3-8b0264d2946d" + "x-ms-request-id" : "9ba99ee0-201a-0011-80fa-aa088f000000", + "x-ms-client-request-id" : "348c6125-704e-469c-9159-deeaef372c77" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadatae766798869?restype=share&comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadata5e73182187?restype=share&comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "06ab7930-ea46-4526-8b6f-06aa6e5d9cc4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6d702c79-b84f-4f9d-8194-150b8f0082fd" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8DC64ED6", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "ETag" : "0x8D77911FCC14249", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48c27-a01a-0116-3288-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", - "x-ms-client-request-id" : "06ab7930-ea46-4526-8b6f-06aa6e5d9cc4" + "x-ms-request-id" : "9ba99ee1-201a-0011-01fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:45 GMT", + "x-ms-client-request-id" : "6d702c79-b84f-4f9d-8194-150b8f0082fd" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadatae766798869?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadata5e73182187?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f4dac2e-f121-4da9-8bd6-d312f849e28c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37d8cacf-ca2f-4818-91f6-ef5c99aaaef7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:45 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "5120", - "ETag" : "0x8D7519F8DC64ED6", + "ETag" : "0x8D77911FCC14249", "x-ms-has-immutability-policy" : "false", "x-ms-meta-afterset" : "value", "Content-Length" : "0", - "x-ms-request-id" : "83e48c28-a01a-0116-3388-83b7bd000000", - "x-ms-client-request-id" : "8f4dac2e-f121-4da9-8bd6-d312f849e28c" + "x-ms-request-id" : "9ba99ee2-201a-0011-02fa-aa088f000000", + "x-ms-client-request-id" : "37d8cacf-ca2f-4818-91f6-ef5c99aaaef7" }, "Exception" : null } ], - "variables" : [ "shareapitestssetmetadatashareapitestssetmetadatae766798869" ] + "variables" : [ "shareapitestssetmetadatashareapitestssetmetadata5e73182187" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataError.json index dcb9fcdb792c9..14d426651acf8 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetmetadataerror21675f4719eb69f6c4?restype=share&comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetmetadataerror51384c6105afa911a4?restype=share&comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "546fc91f-3a35-40d9-963d-b43699ef6f1e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a589d0f4-3790-4618-bb9c-0a8bf737f847" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48c2b-a01a-0116-3688-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48c2b-a01a-0116-3688-83b7bd000000\nTime:2019-10-15T18:43:21.8086956Z", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", - "x-ms-client-request-id" : "546fc91f-3a35-40d9-963d-b43699ef6f1e", + "x-ms-request-id" : "9ba99ee6-201a-0011-06fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99ee6-201a-0011-06fa-aa088f000000\nTime:2019-12-04T23:30:46.1650197Z", + "Date" : "Wed, 04 Dec 2019 23:30:45 GMT", + "x-ms-client-request-id" : "a589d0f4-3790-4618-bb9c-0a8bf737f847", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestssetmetadataerror21675f4719eb69f6c4" ] + "variables" : [ "shareapitestssetmetadataerror51384c6105afa911a4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuota.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuota.json index 7f813a901e4d4..01b3326139467 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuota.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuota.json @@ -1,94 +1,94 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetquotashareapitestssetquota59c030026c79a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetquotashareapitestssetquota8af9606801eed?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4f203457-0d7b-4e27-af67-1774ed9ca732" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1a694a02-633b-4e77-a2c2-22c179b34627" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8D7C57AC", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "ETag" : "0x8D77911FC34FDD1", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:44 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48c1b-a01a-0116-2888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", - "x-ms-client-request-id" : "4f203457-0d7b-4e27-af67-1774ed9ca732" + "x-ms-request-id" : "9ba99ed4-201a-0011-77fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:44 GMT", + "x-ms-client-request-id" : "1a694a02-633b-4e77-a2c2-22c179b34627" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetquotashareapitestssetquota59c030026c79a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetquotashareapitestssetquota8af9606801eed?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6d16c2fa-7e56-48d6-8f35-9775c830dc45" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e6e0bd41-f2bf-4ba9-8b94-cad43de3f683" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:44 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "1", - "ETag" : "0x8D7519F8D7C57AC", + "ETag" : "0x8D77911FC34FDD1", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "83e48c1d-a01a-0116-2988-83b7bd000000", - "x-ms-client-request-id" : "6d16c2fa-7e56-48d6-8f35-9775c830dc45" + "x-ms-request-id" : "9ba99ed7-201a-0011-78fa-aa088f000000", + "x-ms-client-request-id" : "e6e0bd41-f2bf-4ba9-8b94-cad43de3f683" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetquotashareapitestssetquota59c030026c79a?restype=share&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetquotashareapitestssetquota8af9606801eed?restype=share&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7ee2920e-c5c1-4613-9826-609f2d8b07f6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1cd669c4-35df-4268-813e-60c116239f42" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F8D8AE4CE", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "ETag" : "0x8D77911FC5009A6", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:45 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "83e48c1e-a01a-0116-2a88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", - "x-ms-client-request-id" : "7ee2920e-c5c1-4613-9826-609f2d8b07f6" + "x-ms-request-id" : "9ba99ed8-201a-0011-79fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:44 GMT", + "x-ms-client-request-id" : "1cd669c4-35df-4268-813e-60c116239f42" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetquotashareapitestssetquota59c030026c79a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetquotashareapitestssetquota8af9606801eed?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6dfe4350-3487-49d8-b1c1-130af386dd8e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ce7bc427-0514-4d45-bd6d-7b6e23b7a107" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:21 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:44 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "0x8D7519F8D8AE4CE", + "ETag" : "0x8D77911FC5009A6", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "83e48c1f-a01a-0116-2b88-83b7bd000000", - "x-ms-client-request-id" : "6dfe4350-3487-49d8-b1c1-130af386dd8e" + "x-ms-request-id" : "9ba99ed9-201a-0011-7afa-aa088f000000", + "x-ms-client-request-id" : "ce7bc427-0514-4d45-bd6d-7b6e23b7a107" }, "Exception" : null } ], - "variables" : [ "shareapitestssetquotashareapitestssetquota59c030026c79a" ] + "variables" : [ "shareapitestssetquotashareapitestssetquota8af9606801eed" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaError.json index 7dc2da190b38b..637f740a1c973 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareapitestssetquotaerror2860908d2410a6fc547?restype=share&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/shareapitestssetquotaerror506234ba1548945be46?restype=share&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c8621505-c5cf-43e0-be2c-e8fad7ef6ab1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "be7e189d-0486-4bf8-b22d-194cd087f909" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48c22-a01a-0116-2e88-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48c22-a01a-0116-2e88-83b7bd000000\nTime:2019-10-15T18:43:21.4243320Z", - "Date" : "Tue, 15 Oct 2019 18:43:20 GMT", - "x-ms-client-request-id" : "c8621505-c5cf-43e0-be2c-e8fad7ef6ab1", + "x-ms-request-id" : "9ba99edc-201a-0011-7dfa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99edc-201a-0011-7dfa-aa088f000000\nTime:2019-12-04T23:30:45.4750140Z", + "Date" : "Wed, 04 Dec 2019 23:30:44 GMT", + "x-ms-client-request-id" : "be7e189d-0486-4bf8-b22d-194cd087f909", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareapitestssetquotaerror2860908d2410a6fc547" ] + "variables" : [ "shareapitestssetquotaerror506234ba1548945be46" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateAndGetPermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateAndGetPermission.json new file mode 100644 index 0000000000000..71d882b8de627 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateAndGetPermission.json @@ -0,0 +1,66 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreateandgetpermission8406483c80ea?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4415731d-0989-4c31-8b0b-c15a793d7b3a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7791251D414DE", + "Last-Modified" : "Wed, 04 Dec 2019 23:33:08 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "68d11365-501a-000b-58fb-aa6950000000", + "Date" : "Wed, 04 Dec 2019 23:33:08 GMT", + "x-ms-client-request-id" : "4415731d-0989-4c31-8b0b-c15a793d7b3a" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreateandgetpermission8406483c80ea?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4ad308bb-b5a3-4fb9-889f-76b3d5231011", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "68d11368-501a-000b-59fb-aa6950000000", + "Date" : "Wed, 04 Dec 2019 23:33:08 GMT", + "x-ms-client-request-id" : "4ad308bb-b5a3-4fb9-889f-76b3d5231011" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreateandgetpermission8406483c80ea?restype=share&comp=filepermission", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c5786eee-346f-4133-bdb5-e3c159df5d3a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "225", + "StatusCode" : "200", + "x-ms-request-id" : "68d1136d-501a-000b-5efb-aa6950000000", + "Body" : "{\"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)S:NO_ACCESS_CONTROL\"}", + "Date" : "Wed, 04 Dec 2019 23:33:08 GMT", + "x-ms-client-request-id" : "c5786eee-346f-4133-bdb5-e3c159df5d3a" + }, + "Exception" : null + } ], + "variables" : [ "shareasyncapitestscreateandgetpermission8406483c80ea" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectory.json index a3cc1df56722d..99550264ff6ff 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectory.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectory84309ae11f567c55?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectory09754c50f6010246?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7fea659c-5b8b-48fc-a061-5e22062daf54" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bcc4a016-47c3-4c6c-9613-9113345f4e07" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F9261835B", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:29 GMT", + "ETag" : "0x8D77912052B480C", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cfa-a01a-0116-5788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "x-ms-client-request-id" : "7fea659c-5b8b-48fc-a061-5e22062daf54" + "x-ms-request-id" : "9ba99fd0-201a-0011-35fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:59 GMT", + "x-ms-client-request-id" : "bcc4a016-47c3-4c6c-9613-9113345f4e07" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectory84309ae11f567c55/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectory09754c50f6010246/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c9079bbf-a7a2-458a-95de-fbff5bbd272d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a2f0327-f374-4eef-aae7-13a9941b80a8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:29.4176703Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:29 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:00.0247326Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:00 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "ETag" : "0x8D7519F926859BF", + "Date" : "Wed, 04 Dec 2019 23:30:59 GMT", + "ETag" : "0x8D779120539981E", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:29.4176703Z", + "x-ms-file-change-time" : "2019-12-04T23:31:00.0247326Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48cfc-a01a-0116-5888-83b7bd000000", - "x-ms-client-request-id" : "c9079bbf-a7a2-458a-95de-fbff5bbd272d", - "x-ms-file-last-write-time" : "2019-10-15T18:43:29.4176703Z" + "x-ms-request-id" : "9ba99fd2-201a-0011-36fa-aa088f000000", + "x-ms-client-request-id" : "6a2f0327-f374-4eef-aae7-13a9941b80a8", + "x-ms-file-last-write-time" : "2019-12-04T23:31:00.0247326Z" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatedirectory84309ae11f567c55" ] + "variables" : [ "shareasyncapitestscreatedirectory09754c50f6010246" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryFilePermission.json index 8ac8034e656ed..5d730662b54df 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryFilePermission.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermission84073b067?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermission74184274d?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "12804791-2785-4d6c-bc71-fbfb6dccf75e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7d421757-2e0e-4334-98ac-d3ce395eecc7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F92B62084", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:29 GMT", + "ETag" : "0x8D7791205C42EDF", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d09-a01a-0116-6388-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "x-ms-client-request-id" : "12804791-2785-4d6c-bc71-fbfb6dccf75e" + "x-ms-request-id" : "9ba99fdf-201a-0011-41fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:00 GMT", + "x-ms-client-request-id" : "7d421757-2e0e-4334-98ac-d3ce395eecc7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermission84073b067/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermission74184274d/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9d18227d-6844-4bef-bc4c-3ebbd4ff8d7c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf700c05-227c-450c-a14f-afe8e0cc10a8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:30.0042363Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:01.0267447Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:01 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "ETag" : "0x8D7519F92C1DA7B", + "Date" : "Wed, 04 Dec 2019 23:31:00 GMT", + "ETag" : "0x8D7791205D27D37", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:30.0042363Z", + "x-ms-file-change-time" : "2019-12-04T23:31:01.0267447Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d0b-a01a-0116-6488-83b7bd000000", - "x-ms-client-request-id" : "9d18227d-6844-4bef-bc4c-3ebbd4ff8d7c", - "x-ms-file-last-write-time" : "2019-10-15T18:43:30.0042363Z" + "x-ms-request-id" : "9ba99fe1-201a-0011-42fa-aa088f000000", + "x-ms-client-request-id" : "cf700c05-227c-450c-a14f-afe8e0cc10a8", + "x-ms-file-last-write-time" : "2019-12-04T23:31:01.0267447Z" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatedirectoryfilepermission84073b067" ] + "variables" : [ "shareasyncapitestscreatedirectoryfilepermission74184274d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryFilePermissionKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryFilePermissionKey.json index 6565a91650cc1..c3f0e93ed1bf6 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryFilePermissionKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryFilePermissionKey.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermissionkey80028e4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermissionkey0283266?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c14d62c-88e3-4c87-a6e2-196b0acaf7e0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb19bb42-8493-4a05-9687-98cbbb4bcea9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F92D856D0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "ETag" : "0x8D7791205F6AF61", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d0f-a01a-0116-6788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "x-ms-client-request-id" : "1c14d62c-88e3-4c87-a6e2-196b0acaf7e0" + "x-ms-request-id" : "9ba99fe5-201a-0011-46fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:00 GMT", + "x-ms-client-request-id" : "eb19bb42-8493-4a05-9687-98cbbb4bcea9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermissionkey80028e4?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermissionkey0283266?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "53a97e53-e58a-4e59-a5ec-736c1fa1c669", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "30f25ace-8253-4ff9-88e4-c1e2ed0d7c1e", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d11-a01a-0116-6888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "x-ms-client-request-id" : "53a97e53-e58a-4e59-a5ec-736c1fa1c669" + "x-ms-request-id" : "9ba99fe7-201a-0011-47fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:00 GMT", + "x-ms-client-request-id" : "30f25ace-8253-4ff9-88e4-c1e2ed0d7c1e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermissionkey80028e4/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectoryfilepermissionkey0283266/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b3557aba-20eb-4f2b-b3cc-3d18cd382097" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5457e488-6751-4123-b6c1-36424d1f09b8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:30.2491646Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:01.3596771Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:01 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "ETag" : "0x8D7519F92E739FE", + "Date" : "Wed, 04 Dec 2019 23:31:00 GMT", + "ETag" : "0x8D7791206054A63", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:30.2491646Z", + "x-ms-file-change-time" : "2019-12-04T23:31:01.3596771Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d12-a01a-0116-6988-83b7bd000000", - "x-ms-client-request-id" : "b3557aba-20eb-4f2b-b3cc-3d18cd382097", - "x-ms-file-last-write-time" : "2019-10-15T18:43:30.2491646Z" + "x-ms-request-id" : "9ba99fe8-201a-0011-48fa-aa088f000000", + "x-ms-client-request-id" : "5457e488-6751-4123-b6c1-36424d1f09b8", + "x-ms-file-last-write-time" : "2019-12-04T23:31:01.3596771Z" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatedirectoryfilepermissionkey80028e4", "2019-10-15T18:43:30.249164600Z", "2019-10-15T18:43:30.249164600Z" ] + "variables" : [ "shareasyncapitestscreatedirectoryfilepermissionkey0283266", "2019-12-04T23:31:01.359677100Z", "2019-12-04T23:31:01.359677100Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryInvalidName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryInvalidName.json index 3d5b3092a37c1..de4a042c5a3f7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryInvalidName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryInvalidName.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectoryinvalidname23689041eb?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectoryinvalidname667518d3e7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "df247efe-1343-4be5-9097-afc764d352be" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "711f8b58-2801-47bb-af0c-ad2e1d35eee5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F927BEF9F", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:29 GMT", + "ETag" : "0x8D77912055E3F1A", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cff-a01a-0116-5b88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "x-ms-client-request-id" : "df247efe-1343-4be5-9097-afc764d352be" + "x-ms-request-id" : "9ba99fd5-201a-0011-39fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:59 GMT", + "x-ms-client-request-id" : "711f8b58-2801-47bb-af0c-ad2e1d35eee5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectoryinvalidname23689041eb/test%2fdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectoryinvalidname667518d3e7/test%2fdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7cae55ba-854b-4c8c-8b3c-c8ce6a6de9a4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3630603e-85eb-4532-84e5-4c0e0f4f59df" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ParentNotFound", "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "83e48d01-a01a-0116-5c88-83b7bd000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:83e48d01-a01a-0116-5c88-83b7bd000000\nTime:2019-10-15T18:43:29.5950713Z", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "x-ms-client-request-id" : "7cae55ba-854b-4c8c-8b3c-c8ce6a6de9a4", + "x-ms-request-id" : "9ba99fd7-201a-0011-3afa-aa088f000000", + "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:9ba99fd7-201a-0011-3afa-aa088f000000\nTime:2019-12-04T23:31:00.3619234Z", + "Date" : "Wed, 04 Dec 2019 23:30:59 GMT", + "x-ms-client-request-id" : "3630603e-85eb-4532-84e5-4c0e0f4f59df", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatedirectoryinvalidname23689041eb" ] + "variables" : [ "shareasyncapitestscreatedirectoryinvalidname667518d3e7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryMetadata.json index 3cc4572ed1f4a..e92880454e6e4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryMetadata.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectorymetadata931039d97f36?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectorymetadata42945c5ab306?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "47fb326a-282d-4f9e-9a4a-15818b3fa931" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fe3320df-71cc-4e22-923b-12e4a146c35f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F929682E8", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:29 GMT", + "ETag" : "0x8D77912059074E1", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:00 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d04-a01a-0116-5f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "x-ms-client-request-id" : "47fb326a-282d-4f9e-9a4a-15818b3fa931" + "x-ms-request-id" : "9ba99fda-201a-0011-3dfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:59 GMT", + "x-ms-client-request-id" : "fe3320df-71cc-4e22-923b-12e4a146c35f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectorymetadata931039d97f36/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectorymetadata42945c5ab306/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "800532e5-8020-4e29-93a3-e48a81f5ff9e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "483b1f52-a83f-46d5-abb6-7f47551443b8" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:29.7830217Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:29 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:00.6897357Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:00 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "ETag" : "0x8D7519F92A01949", + "Date" : "Wed, 04 Dec 2019 23:30:59 GMT", + "ETag" : "0x8D77912059F10CD", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:29.7830217Z", + "x-ms-file-change-time" : "2019-12-04T23:31:00.6897357Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d06-a01a-0116-6088-83b7bd000000", - "x-ms-client-request-id" : "800532e5-8020-4e29-93a3-e48a81f5ff9e", - "x-ms-file-last-write-time" : "2019-10-15T18:43:29.7830217Z" + "x-ms-request-id" : "9ba99fdc-201a-0011-3efa-aa088f000000", + "x-ms-client-request-id" : "483b1f52-a83f-46d5-abb6-7f47551443b8", + "x-ms-file-last-write-time" : "2019-12-04T23:31:00.6897357Z" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatedirectorymetadata931039d97f36" ] + "variables" : [ "shareasyncapitestscreatedirectorymetadata42945c5ab306" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryMetadataError.json index 06039f116c359..617186238bc2d 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateDirectoryMetadataError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectorymetadataerror34448adfb?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectorymetadataerror82495bb8e?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "790a7706-e8ee-42ce-ab1f-3826e583d5ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f581d223-17af-42b6-bc40-068459d9a697" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F93011E61", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "ETag" : "0x8D7791206376075", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:01 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d15-a01a-0116-6c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "x-ms-client-request-id" : "790a7706-e8ee-42ce-ab1f-3826e583d5ed" + "x-ms-request-id" : "9ba99fef-201a-0011-4cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:00 GMT", + "x-ms-client-request-id" : "f581d223-17af-42b6-bc40-068459d9a697" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatedirectorymetadataerror34448adfb/testdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatedirectorymetadataerror82495bb8e/testdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "52732eac-a52e-4803-823e-9132d8006beb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef8f9b97-22b7-41c2-9c8e-5b42df35d7be" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "83e48d17-a01a-0116-6d88-83b7bd000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:83e48d17-a01a-0116-6d88-83b7bd000000\nTime:2019-10-15T18:43:30.4608916Zvalue", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "x-ms-client-request-id" : "52732eac-a52e-4803-823e-9132d8006beb", + "x-ms-request-id" : "9ba99ff1-201a-0011-4dfa-aa088f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:9ba99ff1-201a-0011-4dfa-aa088f000000\nTime:2019-12-04T23:31:01.7719239Zvalue", + "Date" : "Wed, 04 Dec 2019 23:31:00 GMT", + "x-ms-client-request-id" : "ef8f9b97-22b7-41c2-9c8e-5b42df35d7be", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatedirectorymetadataerror34448adfb" ] + "variables" : [ "shareasyncapitestscreatedirectorymetadataerror82495bb8e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFile.json index 64ec3780ee32c..bd2252a85c125 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFile.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefile52919455eff4366614?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefile580349f7dff0df9244?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "170127e5-0ed3-43d7-986f-a19959d30938" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6ae11dc2-ef15-40a0-a52b-3febe813a08f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F9319DC86", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "ETag" : "0x8D77912066836D8", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d1b-a01a-0116-7088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "x-ms-client-request-id" : "170127e5-0ed3-43d7-986f-a19959d30938" + "x-ms-request-id" : "9ba99ff5-201a-0011-51fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:01 GMT", + "x-ms-client-request-id" : "6ae11dc2-ef15-40a0-a52b-3febe813a08f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefile52919455eff4366614/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefile580349f7dff0df9244/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "44e28189-58f7-4b7c-b6db-2e944dbcc36e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2e1c930e-a387-4324-8dba-caf25cc5b8b2" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:30.6468568Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:02.1157493Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:02 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "ETag" : "0x8D7519F9323E8D8", + "Date" : "Wed, 04 Dec 2019 23:31:01 GMT", + "ETag" : "0x8D779120678A875", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:30.6468568Z", + "x-ms-file-change-time" : "2019-12-04T23:31:02.1157493Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d1d-a01a-0116-7188-83b7bd000000", - "x-ms-client-request-id" : "44e28189-58f7-4b7c-b6db-2e944dbcc36e", - "x-ms-file-last-write-time" : "2019-10-15T18:43:30.6468568Z" + "x-ms-request-id" : "9ba99ff7-201a-0011-52fa-aa088f000000", + "x-ms-client-request-id" : "2e1c930e-a387-4324-8dba-caf25cc5b8b2", + "x-ms-file-last-write-time" : "2019-12-04T23:31:02.1157493Z" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefile52919455eff4366614" ] + "variables" : [ "shareasyncapitestscreatefile580349f7dff0df9244" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileFilePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileFilePermission.json index 846f95f0750a2..dd391e869a1e4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileFilePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileFilePermission.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilefilepermission495342a61f2?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilefilepermission6380956a53c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0e1b4221-43ed-45dc-872a-b7e091f53262" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "059cab2a-bbb8-4345-a7af-3f5d15663a48" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F93370887", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "ETag" : "0x8D77912069D4DDD", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d20-a01a-0116-7488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "x-ms-client-request-id" : "0e1b4221-43ed-45dc-872a-b7e091f53262" + "x-ms-request-id" : "9ba99ffc-201a-0011-56fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:01 GMT", + "x-ms-client-request-id" : "059cab2a-bbb8-4345-a7af-3f5d15663a48" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilefilepermission495342a61f2/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilefilepermission6380956a53c/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "43bab575-a8aa-433d-b842-c8d495f805e9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7b3ed5ad-7822-4e33-81cf-92b3248a6c41" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:30.8370394Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:02.4577492Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:02 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:29 GMT", - "ETag" : "0x8D7519F9340EDDA", + "Date" : "Wed, 04 Dec 2019 23:31:01 GMT", + "ETag" : "0x8D7791206ACD7D4", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:30.8370394Z", + "x-ms-file-change-time" : "2019-12-04T23:31:02.4577492Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d22-a01a-0116-7588-83b7bd000000", - "x-ms-client-request-id" : "43bab575-a8aa-433d-b842-c8d495f805e9", - "x-ms-file-last-write-time" : "2019-10-15T18:43:30.8370394Z" + "x-ms-request-id" : "9ba99ffe-201a-0011-57fa-aa088f000000", + "x-ms-client-request-id" : "7b3ed5ad-7822-4e33-81cf-92b3248a6c41", + "x-ms-file-last-write-time" : "2019-12-04T23:31:02.4577492Z" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefilefilepermission495342a61f2" ] + "variables" : [ "shareasyncapitestscreatefilefilepermission6380956a53c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileFilePermissionKey.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileFilePermissionKey.json index 64812230700e5..521a3d09536bf 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileFilePermissionKey.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileFilePermissionKey.json @@ -1,75 +1,75 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilefilepermissionkey9249193dd7?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilefilepermissionkey73662c0e65?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fd7018d0-6185-4d64-bdcd-d0e99b001be4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8bfdc1e1-eb05-41b1-8404-44700bf258c9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F9354D0F6", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:30 GMT", + "ETag" : "0x8D7791206D17F1D", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d25-a01a-0116-7888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "x-ms-client-request-id" : "fd7018d0-6185-4d64-bdcd-d0e99b001be4" + "x-ms-request-id" : "9ba9a001-201a-0011-5afa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:01 GMT", + "x-ms-client-request-id" : "8bfdc1e1-eb05-41b1-8404-44700bf258c9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilefilepermissionkey9249193dd7?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilefilepermissionkey73662c0e65?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8499c80-1d9f-4a4a-b5a3-6c8f71556081", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b072d1c-b103-44a5-a033-0f6d7f16e910", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d27-a01a-0116-7988-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "x-ms-client-request-id" : "b8499c80-1d9f-4a4a-b5a3-6c8f71556081" + "x-ms-request-id" : "9ba9a003-201a-0011-5bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:01 GMT", + "x-ms-client-request-id" : "6b072d1c-b103-44a5-a033-0f6d7f16e910" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilefilepermissionkey9249193dd7/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilefilepermissionkey73662c0e65/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "719f5ab4-2869-44a0-b0f1-d39fc1db74f9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d991fe2-aba5-4a54-999e-f6ecf7cab96e" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:31.0506541Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:31 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:02.7883573Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:02 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "ETag" : "0x8D7519F9361862D", + "Date" : "Wed, 04 Dec 2019 23:31:02 GMT", + "ETag" : "0x8D7791206DF4A35", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:31.0506541Z", + "x-ms-file-change-time" : "2019-12-04T23:31:02.7883573Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d28-a01a-0116-7a88-83b7bd000000", - "x-ms-client-request-id" : "719f5ab4-2869-44a0-b0f1-d39fc1db74f9", - "x-ms-file-last-write-time" : "2019-10-15T18:43:31.0506541Z" + "x-ms-request-id" : "9ba9a004-201a-0011-5cfa-aa088f000000", + "x-ms-client-request-id" : "2d991fe2-aba5-4a54-999e-f6ecf7cab96e", + "x-ms-file-last-write-time" : "2019-12-04T23:31:02.7883573Z" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefilefilepermissionkey9249193dd7", "2019-10-15T18:43:31.050654100Z", "2019-10-15T18:43:31.050654100Z" ] + "variables" : [ "shareasyncapitestscreatefilefilepermissionkey73662c0e65", "2019-12-04T23:31:02.788357300Z", "2019-12-04T23:31:02.788357300Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileInvalidArgs0.json index cec349754f904..e388eb6c8b30a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileInvalidArgs0.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefileinvalidargs03491108ece79?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefileinvalidargs092091dce533a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1514ae70-1e35-458e-9891-fe6214fdd4c9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5d9b5db2-f219-4ed6-9a3d-7d84b10391c6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F937C86CE", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:31 GMT", + "ETag" : "0x8D779120712F6BB", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d2b-a01a-0116-7d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "x-ms-client-request-id" : "1514ae70-1e35-458e-9891-fe6214fdd4c9" + "x-ms-request-id" : "9ba9a007-201a-0011-5ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:02 GMT", + "x-ms-client-request-id" : "5d9b5db2-f219-4ed6-9a3d-7d84b10391c6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefileinvalidargs03491108ece79/testfile:", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefileinvalidargs092091dce533a/testfile:", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e7528c0-df84-431d-b2d1-05c4a80932e4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6eb06465-5f09-42b3-8a3a-c3ac16290982" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "83e48d2d-a01a-0116-7e88-83b7bd000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:83e48d2d-a01a-0116-7e88-83b7bd000000\nTime:2019-10-15T18:43:31.2806679Z", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "x-ms-client-request-id" : "4e7528c0-df84-431d-b2d1-05c4a80932e4", + "x-ms-request-id" : "9ba9a009-201a-0011-60fa-aa088f000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:9ba9a009-201a-0011-60fa-aa088f000000\nTime:2019-12-04T23:31:03.2209776Z", + "Date" : "Wed, 04 Dec 2019 23:31:02 GMT", + "x-ms-client-request-id" : "6eb06465-5f09-42b3-8a3a-c3ac16290982", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefileinvalidargs03491108ece79" ] + "variables" : [ "shareasyncapitestscreatefileinvalidargs092091dce533a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileInvalidArgs1.json index 32139c86fbe71..f20f460c794bd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileInvalidArgs1.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefileinvalidargs126077cf22667?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefileinvalidargs147086165d3f3?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "377b8585-193d-44aa-b6ba-506a39faf4b5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bea40d33-8a51-42fc-8eb8-1855f87f2cd8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F939656A3", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:31 GMT", + "ETag" : "0x8D7791207454D62", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d30-a01a-0116-0188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "x-ms-client-request-id" : "377b8585-193d-44aa-b6ba-506a39faf4b5" + "x-ms-request-id" : "9ba9a00c-201a-0011-63fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:02 GMT", + "x-ms-client-request-id" : "bea40d33-8a51-42fc-8eb8-1855f87f2cd8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefileinvalidargs126077cf22667/fileName", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefileinvalidargs147086165d3f3/fileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "48d9e294-850b-4c01-8142-254cb0de4019" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b005ed7e-9245-4e55-8d1b-bd9ac2828a32" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "83e48d32-a01a-0116-0288-83b7bd000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:83e48d32-a01a-0116-0288-83b7bd000000\nTime:2019-10-15T18:43:31.4358151Z", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "x-ms-client-request-id" : "48d9e294-850b-4c01-8142-254cb0de4019", + "x-ms-request-id" : "9ba9a00e-201a-0011-64fa-aa088f000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:9ba9a00e-201a-0011-64fa-aa088f000000\nTime:2019-12-04T23:31:03.5409171Z", + "Date" : "Wed, 04 Dec 2019 23:31:02 GMT", + "x-ms-client-request-id" : "b005ed7e-9245-4e55-8d1b-bd9ac2828a32", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefileinvalidargs126077cf22667" ] + "variables" : [ "shareasyncapitestscreatefileinvalidargs147086165d3f3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileLease.json new file mode 100644 index 0000000000000..c93d9ad99ce13 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileLease.json @@ -0,0 +1,105 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilelease68500112144fb8ed?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "05966223-d62a-41c1-aa69-e0792c55914e" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E56FC8B82", + "Last-Modified" : "Tue, 17 Dec 2019 22:13:26 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "470986da-901a-0004-3b27-b51f3c000000", + "Date" : "Tue, 17 Dec 2019 22:13:25 GMT", + "x-ms-client-request-id" : "05966223-d62a-41c1-aa69-e0792c55914e" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilelease68500112144fb8ed/testCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "0dbc74c1-680a-4522-9165-5ce0fcd15171" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:13:26.9042400Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:13:26 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:13:26 GMT", + "ETag" : "0x8D7833E571E80E0", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:13:26.9042400Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "470986e6-901a-0004-4427-b51f3c000000", + "x-ms-client-request-id" : "0dbc74c1-680a-4522-9165-5ce0fcd15171", + "x-ms-file-last-write-time" : "2019-12-17T22:13:26.9042400Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilelease68500112144fb8ed/testCreateFile?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "b315a91b-dc46-4bfe-af7f-d76d375f2b52" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E571E80E0", + "x-ms-lease-id" : "88287963-5466-4d28-a902-a2ca9d811fa1", + "Last-Modified" : "Tue, 17 Dec 2019 22:13:26 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "470986eb-901a-0004-4927-b51f3c000000", + "Date" : "Tue, 17 Dec 2019 22:13:26 GMT", + "x-ms-client-request-id" : "b315a91b-dc46-4bfe-af7f-d76d375f2b52" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilelease68500112144fb8ed/testCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "b145d6f9-5f1c-43d8-b787-72000e4a6477" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:13:27.2022368Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:13:27 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:13:26 GMT", + "ETag" : "0x8D7833E574BF960", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:13:27.2022368Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "470986f6-901a-0004-5327-b51f3c000000", + "x-ms-client-request-id" : "b145d6f9-5f1c-43d8-b787-72000e4a6477", + "x-ms-file-last-write-time" : "2019-12-17T22:13:27.2022368Z" + }, + "Exception" : null + } ], + "variables" : [ "shareasyncapitestscreatefilelease68500112144fb8ed" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileLeaseFail.json new file mode 100644 index 0000000000000..bc39468f43e5b --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileLeaseFail.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatefileleasefail195195aa6a3827?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "e8a77572-c873-4f0b-96fe-b0bb768d605f" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E60387604", + "Last-Modified" : "Tue, 17 Dec 2019 22:13:42 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "1fc085e4-401a-0038-4827-b536fb000000", + "Date" : "Tue, 17 Dec 2019 22:13:41 GMT", + "x-ms-client-request-id" : "e8a77572-c873-4f0b-96fe-b0bb768d605f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatefileleasefail195195aa6a3827/testCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "3697ea26-d082-4378-9ab3-09072c8b5005" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:13:42.3902349Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:13:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:13:42 GMT", + "ETag" : "0x8D7833E60597A8D", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:13:42.3902349Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "1fc085e9-401a-0038-4b27-b536fb000000", + "x-ms-client-request-id" : "3697ea26-d082-4378-9ab3-09072c8b5005", + "x-ms-file-last-write-time" : "2019-12-17T22:13:42.3902349Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatefileleasefail195195aa6a3827/testCreateFile?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "6ffc2631-1047-4f55-a537-426c4558f45d" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E60597A8D", + "x-ms-lease-id" : "8b8e0dd8-658b-45ef-abac-051c4e72194f", + "Last-Modified" : "Tue, 17 Dec 2019 22:13:42 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "1fc085eb-401a-0038-4d27-b536fb000000", + "Date" : "Tue, 17 Dec 2019 22:13:42 GMT", + "x-ms-client-request-id" : "6ffc2631-1047-4f55-a537-426c4558f45d" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatefileleasefail195195aa6a3827/testCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "e714cce3-b00f-4511-aefb-75ffb3e26dcc" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "1fc085ed-401a-0038-4f27-b536fb000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:1fc085ed-401a-0038-4f27-b536fb000000\nTime:2019-12-17T22:13:42.6598463Z", + "Date" : "Tue, 17 Dec 2019 22:13:42 GMT", + "x-ms-client-request-id" : "e714cce3-b00f-4511-aefb-75ffb3e26dcc", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "shareasyncapitestscreatefileleasefail195195aa6a3827", "88807c2a-fcfd-4b1f-8ae2-05f16b2edd0b" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverload.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverload.json index 23152fcf86e63..90b94c008959e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverload.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverload.json @@ -1,54 +1,54 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverload1846913f6d291?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverload798562fc569e4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7251cd07-711c-470b-bc11-b0ca7d92735d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "418c0749-0b01-4f12-9972-7525f5f699e0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F93ACF15E", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:31 GMT", + "ETag" : "0x8D7791207764B27", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d35-a01a-0116-0588-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "x-ms-client-request-id" : "7251cd07-711c-470b-bc11-b0ca7d92735d" + "x-ms-request-id" : "9ba9a011-201a-0011-67fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:02 GMT", + "x-ms-client-request-id" : "418c0749-0b01-4f12-9972-7525f5f699e0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverload1846913f6d291/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverload798562fc569e4/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "84975d32-cccd-4001-add7-81b66d41e8c1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "95ce4d48-3cd7-4032-aff2-664e340ff882" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "6119292009901620917*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "10431655103412740186*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:31.5777705Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:31 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:03.7845254Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:03 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:30 GMT", - "ETag" : "0x8D7519F93B1F4A9", + "Date" : "Wed, 04 Dec 2019 23:31:03 GMT", + "ETag" : "0x8D7791207774B06", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:31.5777705Z", + "x-ms-file-change-time" : "2019-12-04T23:31:03.7845254Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d37-a01a-0116-0688-83b7bd000000", - "x-ms-client-request-id" : "84975d32-cccd-4001-add7-81b66d41e8c1", - "x-ms-file-last-write-time" : "2019-10-15T18:43:31.5777705Z" + "x-ms-request-id" : "9ba9a015-201a-0011-69fa-aa088f000000", + "x-ms-client-request-id" : "95ce4d48-3cd7-4032-aff2-664e340ff882", + "x-ms-file-last-write-time" : "2019-12-04T23:31:03.7845254Z" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefilemaxoverload1846913f6d291", "2019-10-15T18:43:31.577770500Z", "2019-10-15T18:43:31.577770500Z" ] + "variables" : [ "shareasyncapitestscreatefilemaxoverload798562fc569e4", "2019-12-04T23:31:03.784525400Z", "2019-12-04T23:31:03.784525400Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs0.json index 03dcc9f7713f0..238ac97cca15a 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs0.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs0495444a?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs052034f6?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "39e12b07-7d6f-4465-a56d-9c67b564d12f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "949f2ae0-6f7d-4461-9841-f12e0bfefc5e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F93E57432", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:31 GMT", + "ETag" : "0x8D7791207AB3B63", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d3b-a01a-0116-0a88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "39e12b07-7d6f-4465-a56d-9c67b564d12f" + "x-ms-request-id" : "9ba9a018-201a-0011-6cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:03 GMT", + "x-ms-client-request-id" : "949f2ae0-6f7d-4461-9841-f12e0bfefc5e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs0495444a/testfile:", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs052034f6/testfile:", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a563ae5c-dc03-492b-b462-221f8d0b529c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4322b9b7-f610-4419-b491-c55cf751a38e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "83e48d42-a01a-0116-1088-83b7bd000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:83e48d42-a01a-0116-1088-83b7bd000000\nTime:2019-10-15T18:43:31.9833335Z", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "a563ae5c-dc03-492b-b462-221f8d0b529c", + "x-ms-request-id" : "9ba9a01c-201a-0011-6efa-aa088f000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:9ba9a01c-201a-0011-6efa-aa088f000000\nTime:2019-12-04T23:31:04.2209066Z", + "Date" : "Wed, 04 Dec 2019 23:31:03 GMT", + "x-ms-client-request-id" : "4322b9b7-f610-4419-b491-c55cf751a38e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefilemaxoverloadinvalidargs0495444a" ] + "variables" : [ "shareasyncapitestscreatefilemaxoverloadinvalidargs052034f6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs1.json index 355310380118c..ba0f4bdce1f46 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs1.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs1950529c?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs1647484a?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5492ae96-0858-4030-b616-2ba93c52fa77" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "658b4783-bc38-451d-86a9-aca76989c4a9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F94018E83", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:32 GMT", + "ETag" : "0x8D7791207DDBF12", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d52-a01a-0116-2088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "5492ae96-0858-4030-b616-2ba93c52fa77" + "x-ms-request-id" : "9ba9a020-201a-0011-71fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:03 GMT", + "x-ms-client-request-id" : "658b4783-bc38-451d-86a9-aca76989c4a9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs1950529c/fileName", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs1647484a/fileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3863cf78-62ed-4486-b086-926c1c309a68" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1d5946f1-f352-4c3d-9692-716c001ff783" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "236", "StatusCode" : "400", - "x-ms-request-id" : "83e48d58-a01a-0116-2588-83b7bd000000", - "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:83e48d58-a01a-0116-2588-83b7bd000000\nTime:2019-10-15T18:43:32.1394814Z", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "3863cf78-62ed-4486-b086-926c1c309a68", + "x-ms-request-id" : "9ba9a022-201a-0011-72fa-aa088f000000", + "Body" : "OutOfRangeInputThe file size exceeds the maximum permissible limit.\nRequestId:9ba9a022-201a-0011-72fa-aa088f000000\nTime:2019-12-04T23:31:04.5389493Z", + "Date" : "Wed, 04 Dec 2019 23:31:03 GMT", + "x-ms-client-request-id" : "1d5946f1-f352-4c3d-9692-716c001ff783", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefilemaxoverloadinvalidargs1950529c" ] + "variables" : [ "shareasyncapitestscreatefilemaxoverloadinvalidargs1647484a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs2.json index 51a26adfa3488..7e9b53d92ad3e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs2.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs2550875d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs218863c6?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "084ca912-9107-4fe8-bc2d-176eb00cece1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f6cea0fc-54d7-4203-a585-fb0c792d2489" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F941CBE3A", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:32 GMT", + "ETag" : "0x8D77912080E1BA0", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d5e-a01a-0116-2b88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "084ca912-9107-4fe8-bc2d-176eb00cece1" + "x-ms-request-id" : "9ba9a025-201a-0011-75fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:03 GMT", + "x-ms-client-request-id" : "f6cea0fc-54d7-4203-a585-fb0c792d2489" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs2550875d/fileName", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs218863c6/fileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4bc4389e-316e-4a84-86c3-82b615e748f6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ba65e6ff-22a1-4670-af86-62275074edc6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "310", "StatusCode" : "400", - "x-ms-request-id" : "83e48d60-a01a-0116-2c88-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48d60-a01a-0116-2c88-83b7bd000000\nTime:2019-10-15T18:43:32.3176497Zx-ms-content-md5", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "4bc4389e-316e-4a84-86c3-82b615e748f6", + "x-ms-request-id" : "9ba9a027-201a-0011-76fa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba9a027-201a-0011-76fa-aa088f000000\nTime:2019-12-04T23:31:04.8599436Zx-ms-content-md5", + "Date" : "Wed, 04 Dec 2019 23:31:03 GMT", + "x-ms-client-request-id" : "ba65e6ff-22a1-4670-af86-62275074edc6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefilemaxoverloadinvalidargs2550875d" ] + "variables" : [ "shareasyncapitestscreatefilemaxoverloadinvalidargs218863c6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs3.json index 722140d550f40..3b465a75981df 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateFileMaxOverloadInvalidArgs3.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs32614396?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs30652595?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0ba0333a-01ee-4de8-ba83-4065befbb1c2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e5bc3f4c-dd58-4249-82fd-6763f42a7b01" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F9433F557", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:32 GMT", + "ETag" : "0x8D77912083FB29E", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d63-a01a-0116-2f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "0ba0333a-01ee-4de8-ba83-4065befbb1c2" + "x-ms-request-id" : "9ba9a02a-201a-0011-79fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:04 GMT", + "x-ms-client-request-id" : "e5bc3f4c-dd58-4249-82fd-6763f42a7b01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs32614396/fileName", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatefilemaxoverloadinvalidargs30652595/fileName", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e2c350e6-9d10-4d88-a374-fecb0f453a6d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "35062d3c-fbfd-4fd8-a39f-909b93c323f3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "83e48d65-a01a-0116-3088-83b7bd000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:83e48d65-a01a-0116-3088-83b7bd000000\nTime:2019-10-15T18:43:32.4657905Zvalue", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "e2c350e6-9d10-4d88-a374-fecb0f453a6d", + "x-ms-request-id" : "9ba9a02c-201a-0011-7afa-aa088f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:9ba9a02c-201a-0011-7afa-aa088f000000\nTime:2019-12-04T23:31:05.1799084Zvalue", + "Date" : "Wed, 04 Dec 2019 23:31:04 GMT", + "x-ms-client-request-id" : "35062d3c-fbfd-4fd8-a39f-909b93c323f3", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatefilemaxoverloadinvalidargs32614396" ] + "variables" : [ "shareasyncapitestscreatefilemaxoverloadinvalidargs30652595" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreatePermission.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreatePermission.json index 2acefc36f3a96..8795ae0cc24eb 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreatePermission.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreatePermission.json @@ -1,46 +1,46 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatepermission59806f5d4eaec41?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatepermission443602c09d3c0d4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f4b0acf0-6951-407d-b507-121ba8922bf6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6baa4640-81c9-48eb-96a7-59b8713a8d95" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F94CEAD2E", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:33 GMT", + "ETag" : "0x8D7791209573E0E", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d81-a01a-0116-4788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "f4b0acf0-6951-407d-b507-121ba8922bf6" + "x-ms-request-id" : "9ba9a04a-201a-0011-13fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:06 GMT", + "x-ms-client-request-id" : "6baa4640-81c9-48eb-96a7-59b8713a8d95" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatepermission59806f5d4eaec41?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatepermission443602c09d3c0d4?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8eaf914-a44b-43cd-9a9d-ca5691473b10", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb097459-e024-44ea-8be1-87eefeffdcb4", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "1226745640258142193*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15361494707574448414*8280205063999649007", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d83-a01a-0116-4888-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "b8eaf914-a44b-43cd-9a9d-ca5691473b10" + "x-ms-request-id" : "9ba9a04c-201a-0011-14fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:06 GMT", + "x-ms-client-request-id" : "eb097459-e024-44ea-8be1-87eefeffdcb4" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatepermission59806f5d4eaec41" ] + "variables" : [ "shareasyncapitestscreatepermission443602c09d3c0d4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreatePermissionError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreatePermissionError.json index d6bc29faae544..16f0fd0cff987 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreatePermissionError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreatePermissionError.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatepermissionerror933160f541b00?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatepermissionerror92290fdfbd900?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e800fee7-44ee-4e54-ab9f-8fc16516860c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e37dae3c-ad60-4bd9-9068-35aacd828e79" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F94EC4E7D", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:33 GMT", + "ETag" : "0x8D779120990EB51", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d86-a01a-0116-4b88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "e800fee7-44ee-4e54-ab9f-8fc16516860c" + "x-ms-request-id" : "9ba9a04f-201a-0011-17fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:06 GMT", + "x-ms-client-request-id" : "e37dae3c-ad60-4bd9-9068-35aacd828e79" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatepermissionerror933160f541b00?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatepermissionerror92290fdfbd900?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8680ba5f-6fdb-4a4e-92ed-9a8a4d1d4f74", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "221de966-dfa0-49da-9278-c865cc543d43", "Content-Type" : "application/json; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "FileInvalidPermission", "retry-after" : "0", "Content-Length" : "233", "StatusCode" : "400", - "x-ms-request-id" : "83e48d88-a01a-0116-4c88-83b7bd000000", - "Body" : "FileInvalidPermissionThe specified file permission is not valid.\nRequestId:83e48d88-a01a-0116-4c88-83b7bd000000\nTime:2019-10-15T18:43:33.6749363Z", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "8680ba5f-6fdb-4a4e-92ed-9a8a4d1d4f74", + "x-ms-request-id" : "9ba9a051-201a-0011-18fa-aa088f000000", + "Body" : "FileInvalidPermissionThe specified file permission is not valid.\nRequestId:9ba9a051-201a-0011-18fa-aa088f000000\nTime:2019-12-04T23:31:07.3968926Z", + "Date" : "Wed, 04 Dec 2019 23:31:06 GMT", + "x-ms-client-request-id" : "221de966-dfa0-49da-9278-c865cc543d43", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatepermissionerror933160f541b00" ] + "variables" : [ "shareasyncapitestscreatepermissionerror92290fdfbd900" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShare.json index ca7885ac93f8b..e34c9f6a19f36 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShare.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreateshare67748ee8cf356a0684?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreateshare07612d9165ff305ec4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b1f256df-d9b1-42e0-8783-a23ce9a110e4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e1f490f7-a9bd-446b-b92e-760cb7fa0f81" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F90DD6B6D", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:26 GMT", + "ETag" : "0x8D77912026105E4", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cb1-a01a-0116-2188-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:25 GMT", - "x-ms-client-request-id" : "b1f256df-d9b1-42e0-8783-a23ce9a110e4" + "x-ms-request-id" : "9ba99f82-201a-0011-79fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:54 GMT", + "x-ms-client-request-id" : "e1f490f7-a9bd-446b-b92e-760cb7fa0f81" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreateshare67748ee8cf356a0684" ] + "variables" : [ "shareasyncapitestscreateshare07612d9165ff305ec4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs0.json index f11e1bfc1b7c8..3b7a6ad9c425c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs0.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesharewithargs085511340ef520?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesharewithargs004568f3994924?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a603d452-335f-4af5-85b6-8951fa10e390" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c2e58ede-4ecc-4c17-891b-c36a501c0c37" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F90F4C9AF", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:26 GMT", + "ETag" : "0x8D7791202868EBB", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cb5-a01a-0116-2488-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "a603d452-335f-4af5-85b6-8951fa10e390" + "x-ms-request-id" : "9ba99f86-201a-0011-7cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:54 GMT", + "x-ms-client-request-id" : "c2e58ede-4ecc-4c17-891b-c36a501c0c37" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesharewithargs085511340ef520" ] + "variables" : [ "shareasyncapitestscreatesharewithargs004568f3994924" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs1.json index dbfa5c9769bbf..71469a3a3ca1c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs1.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesharewithargs132039f350cb55?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesharewithargs110876ad50e060?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3cab31ea-9c49-4210-bf86-7f51b62fe61a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a1e1614-1231-424d-8589-5a974dab3d3b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F91076BDD", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:27 GMT", + "ETag" : "0x8D7791202AC3F59", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cb9-a01a-0116-2788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "3cab31ea-9c49-4210-bf86-7f51b62fe61a" + "x-ms-request-id" : "9ba99f8a-201a-0011-7ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:54 GMT", + "x-ms-client-request-id" : "6a1e1614-1231-424d-8589-5a974dab3d3b" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesharewithargs132039f350cb55" ] + "variables" : [ "shareasyncapitestscreatesharewithargs110876ad50e060" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs2.json index ded37c1b17e69..f729c787bf035 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs2.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesharewithargs20451254814ebf?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesharewithargs24642120010030?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "60d7fda8-8285-41ea-b5fd-283dd727ff98" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "73d46616-c381-431e-90a0-b71ad5802d34" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F9119BFCA", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:27 GMT", + "ETag" : "0x8D7791202D21869", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cbd-a01a-0116-2a88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "60d7fda8-8285-41ea-b5fd-283dd727ff98" + "x-ms-request-id" : "9ba99f8f-201a-0011-03fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:55 GMT", + "x-ms-client-request-id" : "73d46616-c381-431e-90a0-b71ad5802d34" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesharewithargs20451254814ebf" ] + "variables" : [ "shareasyncapitestscreatesharewithargs24642120010030" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs3.json index 8b6fb00f14fff..6aa7554e05455 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs3.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithArgs3.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesharewithargs341465b6418242?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesharewithargs3700872e9c7a78?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "03164013-7fc1-4ccf-870e-e9d92df67e27" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0190a3ba-5382-48ca-87a4-bdbc9b792adb" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F912EAC6B", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:27 GMT", + "ETag" : "0x8D7791202F754AB", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cc1-a01a-0116-2d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "03164013-7fc1-4ccf-870e-e9d92df67e27" + "x-ms-request-id" : "9ba99f93-201a-0011-06fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:55 GMT", + "x-ms-client-request-id" : "0190a3ba-5382-48ca-87a4-bdbc9b792adb" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesharewithargs341465b6418242" ] + "variables" : [ "shareasyncapitestscreatesharewithargs3700872e9c7a78" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs0.json index 436fe53cbe405..e2d0ecee4b43e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs0.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs0.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesharewithinvalidargs067251cd335?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesharewithinvalidargs06961304b0c?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7de17200-8e46-4bb1-9654-045d680ce0ea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9bd69414-15a9-4bc7-91da-8f1fceb9d4b4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "83e48cc5-a01a-0116-3088-83b7bd000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:83e48cc5-a01a-0116-3088-83b7bd000000\nTime:2019-10-15T18:43:27.4840719Zvalue", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "7de17200-8e46-4bb1-9654-045d680ce0ea", + "x-ms-request-id" : "9ba99f97-201a-0011-09fa-aa088f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:9ba99f97-201a-0011-09fa-aa088f000000\nTime:2019-12-04T23:30:56.5599582Zvalue", + "Date" : "Wed, 04 Dec 2019 23:30:55 GMT", + "x-ms-client-request-id" : "9bd69414-15a9-4bc7-91da-8f1fceb9d4b4", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesharewithinvalidargs067251cd335" ] + "variables" : [ "shareasyncapitestscreatesharewithinvalidargs06961304b0c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs1.json index a1f01d5dce590..cb0d24cbc5d70 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs1.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs1.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesharewithinvalidargs1946916118d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesharewithinvalidargs13608969d95?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "91ea6a2f-4be5-4ace-ba91-0e9352296014" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c77fb09-555d-47c9-beda-ee312c940826" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "83e48cc8-a01a-0116-3288-83b7bd000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:83e48cc8-a01a-0116-3288-83b7bd000000\nTime:2019-10-15T18:43:27.5771599Z", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "91ea6a2f-4be5-4ace-ba91-0e9352296014", + "x-ms-request-id" : "9ba99f9a-201a-0011-0bfa-aa088f000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:9ba99f9a-201a-0011-0bfa-aa088f000000\nTime:2019-12-04T23:30:56.7110353Z", + "Date" : "Wed, 04 Dec 2019 23:30:55 GMT", + "x-ms-client-request-id" : "2c77fb09-555d-47c9-beda-ee312c940826", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesharewithinvalidargs1946916118d" ] + "variables" : [ "shareasyncapitestscreatesharewithinvalidargs13608969d95" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs2.json index d0edcb8c62a4b..46aba3d0c3147 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs2.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateShareWithInvalidArgs2.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesharewithinvalidargs233101dafd3?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesharewithinvalidargs2050392153b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b8fd305-aa2c-4374-9051-a320bc7b4236" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a35f1da6-a743-4e59-bdfb-2fa547e11e71" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "326", "StatusCode" : "400", - "x-ms-request-id" : "83e48cca-a01a-0116-3488-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48cca-a01a-0116-3488-83b7bd000000\nTime:2019-10-15T18:43:27.6582360Zx-ms-share-quota6000", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "2b8fd305-aa2c-4374-9051-a320bc7b4236", + "x-ms-request-id" : "9ba99f9d-201a-0011-0efa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba99f9d-201a-0011-0efa-aa088f000000\nTime:2019-12-04T23:30:56.8620135Zx-ms-share-quota6000", + "Date" : "Wed, 04 Dec 2019 23:30:56 GMT", + "x-ms-client-request-id" : "a35f1da6-a743-4e59-bdfb-2fa547e11e71", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesharewithinvalidargs233101dafd3" ] + "variables" : [ "shareasyncapitestscreatesharewithinvalidargs2050392153b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshot.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshot.json index b8ff6c457ad79..349257df453f0 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshot.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshot.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesnapshot79825c8fd3641b81?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesnapshot40405ab5b07017c2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e15d4faf-7886-4d41-a3ec-3918f368c6e9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6ae5282e-6201-437d-a084-cdc19d9aecf3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F916C126E", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:27 GMT", + "ETag" : "0x8D77912036EA492", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ccc-a01a-0116-3688-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "e15d4faf-7886-4d41-a3ec-3918f368c6e9" + "x-ms-request-id" : "9ba99fa0-201a-0011-11fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:56 GMT", + "x-ms-client-request-id" : "6ae5282e-6201-437d-a084-cdc19d9aecf3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesnapshot79825c8fd3641b81?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesnapshot40405ab5b07017c2?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "72615534-ba58-4458-a2c1-5e83e908d7d8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a3709d89-5005-4025-ba75-73b62350869a" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:27.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:57.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F916C126E", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:27 GMT", + "ETag" : "0x8D77912036EA492", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cce-a01a-0116-3788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:26 GMT", - "x-ms-client-request-id" : "72615534-ba58-4458-a2c1-5e83e908d7d8" + "x-ms-request-id" : "9ba99fa2-201a-0011-12fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:56 GMT", + "x-ms-client-request-id" : "a3709d89-5005-4025-ba75-73b62350869a" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesnapshot79825c8fd3641b81", "shareasyncapitestscreatesnapshot977310ff26a69b4e" ] + "variables" : [ "shareasyncapitestscreatesnapshot40405ab5b07017c2", "shareasyncapitestscreatesnapshot577115fec429d428" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotError.json index 34fa4ad114090..ffa0d16d027de 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesnapshoterror435147d82eb60c?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesnapshoterror282240e08bfebe?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8afe8932-cb25-40b1-8238-3f7b822f0d87" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7fc63514-3f2e-4fb4-b979-ecb662b8cb0f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48cd1-a01a-0116-3a88-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48cd1-a01a-0116-3a88-83b7bd000000\nTime:2019-10-15T18:43:28.1607124Z", - "Date" : "Tue, 15 Oct 2019 18:43:27 GMT", - "x-ms-client-request-id" : "8afe8932-cb25-40b1-8238-3f7b822f0d87", + "x-ms-request-id" : "9ba99fa5-201a-0011-15fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99fa5-201a-0011-15fa-aa088f000000\nTime:2019-12-04T23:30:57.3579444Z", + "Date" : "Wed, 04 Dec 2019 23:30:56 GMT", + "x-ms-client-request-id" : "7fc63514-3f2e-4fb4-b979-ecb662b8cb0f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesnapshoterror435147d82eb60c" ] + "variables" : [ "shareasyncapitestscreatesnapshoterror282240e08bfebe" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotMetadata.json index da856415abcf7..297a7ce7835fd 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotMetadata.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesnapshotmetadata8447926cdd3b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesnapshotmetadata08159a7606e2?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a543b85a-aa13-4e21-be7d-2a0e6a8f5e63" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8505e72b-cc76-4f1b-b6a7-28f514d204c4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F91B78595", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:28 GMT", + "ETag" : "0x8D7791203B9DE10", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cd9-a01a-0116-3c88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:27 GMT", - "x-ms-client-request-id" : "a543b85a-aa13-4e21-be7d-2a0e6a8f5e63" + "x-ms-request-id" : "9ba99fa8-201a-0011-17fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:56 GMT", + "x-ms-client-request-id" : "8505e72b-cc76-4f1b-b6a7-28f514d204c4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesnapshotmetadata8447926cdd3b?restype=share&comp=snapshot", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestscreatesnapshotmetadata08159a7606e2?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "02494372-ea1e-4968-b4a1-33bc2aa92621" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ceb53da4-2326-4785-b5d5-6d74a45d6f95" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-snapshot" : "2019-10-15T18:43:28.0000000Z", + "x-ms-version" : "2019-07-07", + "x-ms-snapshot" : "2019-12-04T23:30:57.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F91900800", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:28 GMT", + "ETag" : "0x8D77912036C0E80", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cdb-a01a-0116-3d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:27 GMT", - "x-ms-client-request-id" : "02494372-ea1e-4968-b4a1-33bc2aa92621" + "x-ms-request-id" : "9ba99faa-201a-0011-18fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:56 GMT", + "x-ms-client-request-id" : "ceb53da4-2326-4785-b5d5-6d74a45d6f95" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesnapshotmetadata8447926cdd3b", "shareasyncapitestscreatesnapshotmetadata38698111ffc8" ] + "variables" : [ "shareasyncapitestscreatesnapshotmetadata08159a7606e2", "shareasyncapitestscreatesnapshotmetadata515361c9c640" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotMetadataError.json index 7caba0838c183..fae98e142e993 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsCreateSnapshotMetadataError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesnapshotmetadataerror589139f306?restype=share", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatesnapshotmetadataerror174471a952?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ae2aa805-ff3d-490b-8c8f-b47e5db37984" + "x-ms-client-request-id" : "2794fc55-93d0-4bdb-ae13-05f030f64f67" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7A03E681B6C0A", - "Last-Modified" : "Thu, 23 Jan 2020 19:56:59 GMT", + "ETag" : "0x8D7A430D2E31C3D", + "Last-Modified" : "Tue, 28 Jan 2020 20:29:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "de16672a-801a-0123-2e27-d219e8000000", - "Date" : "Thu, 23 Jan 2020 19:56:59 GMT", - "x-ms-client-request-id" : "ae2aa805-ff3d-490b-8c8f-b47e5db37984" + "x-ms-request-id" : "c4f78bd9-101a-0035-0219-d6fe2f000000", + "Date" : "Tue, 28 Jan 2020 20:29:49 GMT", + "x-ms-client-request-id" : "2794fc55-93d0-4bdb-ae13-05f030f64f67" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestscreatesnapshotmetadataerror589139f306?restype=share&comp=snapshot", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestscreatesnapshotmetadataerror174471a952?restype=share&comp=snapshot", "Headers" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "User-Agent" : "azsdk-java-azure-storage-file-share/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "087a905a-dcbe-4762-8769-2f37aea23ef7" + "x-ms-client-request-id" : "17fb7d42-45ed-41ea-b646-8fef670aa599" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "de166730-801a-0123-3127-d219e8000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:de166730-801a-0123-3127-d219e8000000\nTime:2020-01-23T19:57:00.4120293Zvalue", - "Date" : "Thu, 23 Jan 2020 19:56:59 GMT", - "x-ms-client-request-id" : "087a905a-dcbe-4762-8769-2f37aea23ef7", + "x-ms-request-id" : "c4f78bdd-101a-0035-0319-d6fe2f000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:c4f78bdd-101a-0035-0319-d6fe2f000000\nTime:2020-01-28T20:29:50.5439265Zvalue", + "Date" : "Tue, 28 Jan 2020 20:29:50 GMT", + "x-ms-client-request-id" : "17fb7d42-45ed-41ea-b646-8fef670aa599", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestscreatesnapshotmetadataerror589139f306" ] + "variables" : [ "shareasyncapitestscreatesnapshotmetadataerror174471a952" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteDirectory.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteDirectory.json index 7be8861859d5c..f77f9e7630fea 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteDirectory.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteDirectory.json @@ -1,73 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletedirectory699756252c1c32d3?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletedirectory50666d61e02bbc74?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0e006843-9172-400c-a4df-35491625c1ed" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7592c594-caed-4e69-9881-02b0efc6c35c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F944C171A", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:32 GMT", + "ETag" : "0x8D77912086FEAE4", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d69-a01a-0116-3388-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "0e006843-9172-400c-a4df-35491625c1ed" + "x-ms-request-id" : "9ba9a030-201a-0011-7efa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:04 GMT", + "x-ms-client-request-id" : "7592c594-caed-4e69-9881-02b0efc6c35c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletedirectory699756252c1c32d3/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletedirectory50666d61e02bbc74/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "051b6b29-e282-44ee-b947-9f1040a2bedc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "23683721-ad22-4e85-89f7-48096038ea60" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "16004293428625128841*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "1887593946193683302*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:32.6337658Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:32 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:05.5067698Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:05 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "ETag" : "0x8D7519F9453167A", + "Date" : "Wed, 04 Dec 2019 23:31:04 GMT", + "ETag" : "0x8D77912087E1632", "x-ms-file-attributes" : "Directory", - "x-ms-file-change-time" : "2019-10-15T18:43:32.6337658Z", + "x-ms-file-change-time" : "2019-12-04T23:31:05.5067698Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d6c-a01a-0116-3588-83b7bd000000", - "x-ms-client-request-id" : "051b6b29-e282-44ee-b947-9f1040a2bedc", - "x-ms-file-last-write-time" : "2019-10-15T18:43:32.6337658Z" + "x-ms-request-id" : "9ba9a032-201a-0011-7ffa-aa088f000000", + "x-ms-client-request-id" : "23683721-ad22-4e85-89f7-48096038ea60", + "x-ms-file-last-write-time" : "2019-12-04T23:31:05.5067698Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletedirectory699756252c1c32d3/testCreateDirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletedirectory50666d61e02bbc74/testCreateDirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "950fa4a3-bdea-4eae-8979-3fc9141bce44" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5b4c3060-af12-4629-9848-9bb55dd3ba96" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "83e48d6e-a01a-0116-3788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "950fa4a3-bdea-4eae-8979-3fc9141bce44" + "x-ms-request-id" : "9ba9a035-201a-0011-02fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:04 GMT", + "x-ms-client-request-id" : "5b4c3060-af12-4629-9848-9bb55dd3ba96" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsdeletedirectory699756252c1c32d3" ] + "variables" : [ "shareasyncapitestsdeletedirectory50666d61e02bbc74" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteDirectoryError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteDirectoryError.json index dcf093fd8fbac..6a78196447a3f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteDirectoryError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteDirectoryError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletedirectoryerror145968a0ec3bf?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletedirectoryerror99956f20f7778?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "60eef7b1-3f43-4ba1-b2e6-74cc8474655b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2aac2154-e03b-4ee2-bf21-c8ca9a8039a4" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F946F5F11", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:32 GMT", + "ETag" : "0x8D7791208B1FC8B", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d71-a01a-0116-3a88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "60eef7b1-3f43-4ba1-b2e6-74cc8474655b" + "x-ms-request-id" : "9ba9a038-201a-0011-05fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:04 GMT", + "x-ms-client-request-id" : "2aac2154-e03b-4ee2-bf21-c8ca9a8039a4" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletedirectoryerror145968a0ec3bf/testdirectory?restype=directory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletedirectoryerror99956f20f7778/testdirectory?restype=directory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "14ba76ae-9df6-4d0d-8cc6-41834188a86b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "987bf914-32c3-4fa6-b992-7c9056482bec" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "83e48d73-a01a-0116-3b88-83b7bd000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:83e48d73-a01a-0116-3b88-83b7bd000000\nTime:2019-10-15T18:43:32.8631671Z", - "Date" : "Tue, 15 Oct 2019 18:43:31 GMT", - "x-ms-client-request-id" : "14ba76ae-9df6-4d0d-8cc6-41834188a86b", + "x-ms-request-id" : "9ba9a03b-201a-0011-07fa-aa088f000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9ba9a03b-201a-0011-07fa-aa088f000000\nTime:2019-12-04T23:31:05.9328961Z", + "Date" : "Wed, 04 Dec 2019 23:31:05 GMT", + "x-ms-client-request-id" : "987bf914-32c3-4fa6-b992-7c9056482bec", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsdeletedirectoryerror145968a0ec3bf" ] + "variables" : [ "shareasyncapitestsdeletedirectoryerror99956f20f7778" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFile.json index 9aa9c4b3f7372..d32b19d8de96f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFile.json @@ -1,73 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletefile059712c453941d64e4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefile799218e096acd0d0f4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e89edd48-1d1f-4656-89f1-a0bc838def29" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d1a0a763-c5e2-46ac-9655-21fac49c165b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F948780C7", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:32 GMT", + "ETag" : "0x8D7791208E2F9F6", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d76-a01a-0116-3e88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "e89edd48-1d1f-4656-89f1-a0bc838def29" + "x-ms-request-id" : "9ba9a03e-201a-0011-0afa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:05 GMT", + "x-ms-client-request-id" : "d1a0a763-c5e2-46ac-9655-21fac49c165b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletefile059712c453941d64e4/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefile799218e096acd0d0f4/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6a27dc35-b231-45e7-baca-9d05f1eee8fe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2eb72d17-ea29-456d-99ca-a84028a2a452" }, "Response" : { - "x-ms-version" : "2019-02-02", - "x-ms-file-permission-key" : "2189138948451189390*13168958551941065216", + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", "x-ms-file-id" : "13835128424026341376", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-file-creation-time" : "2019-10-15T18:43:33.0751920Z", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:33 GMT", + "x-ms-file-creation-time" : "2019-12-04T23:31:06.2667850Z", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:06 GMT", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "ETag" : "0x8D7519F949671B0", + "Date" : "Wed, 04 Dec 2019 23:31:05 GMT", + "ETag" : "0x8D7791208F20E4A", "x-ms-file-attributes" : "Archive", - "x-ms-file-change-time" : "2019-10-15T18:43:33.0751920Z", + "x-ms-file-change-time" : "2019-12-04T23:31:06.2667850Z", "x-ms-file-parent-id" : "0", "Content-Length" : "0", - "x-ms-request-id" : "83e48d78-a01a-0116-3f88-83b7bd000000", - "x-ms-client-request-id" : "6a27dc35-b231-45e7-baca-9d05f1eee8fe", - "x-ms-file-last-write-time" : "2019-10-15T18:43:33.0751920Z" + "x-ms-request-id" : "9ba9a040-201a-0011-0bfa-aa088f000000", + "x-ms-client-request-id" : "2eb72d17-ea29-456d-99ca-a84028a2a452", + "x-ms-file-last-write-time" : "2019-12-04T23:31:06.2667850Z" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletefile059712c453941d64e4/testCreateFile", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefile799218e096acd0d0f4/testCreateFile", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e4c35975-7c55-4528-b2c0-d5d5b6daf529" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b560379b-9f42-49fa-808e-88b814c0b9e7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "83e48d79-a01a-0116-4088-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "e4c35975-7c55-4528-b2c0-d5d5b6daf529" + "x-ms-request-id" : "9ba9a041-201a-0011-0cfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:05 GMT", + "x-ms-client-request-id" : "b560379b-9f42-49fa-808e-88b814c0b9e7" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsdeletefile059712c453941d64e4" ] + "variables" : [ "shareasyncapitestsdeletefile799218e096acd0d0f4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileError.json index 701fcce5b0b35..f8b51477b67a4 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletefileerror8403181bcdc320aa?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefileerror79051be4b0f43232?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "decaf8ef-7f47-4275-8952-1a56206ad58a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "58264755-a609-4557-b4b8-04e4cd305189" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F94B21D93", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:33 GMT", + "ETag" : "0x8D779120924E288", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d7c-a01a-0116-4388-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "decaf8ef-7f47-4275-8952-1a56206ad58a" + "x-ms-request-id" : "9ba9a044-201a-0011-0ffa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:05 GMT", + "x-ms-client-request-id" : "58264755-a609-4557-b4b8-04e4cd305189" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeletefileerror8403181bcdc320aa/testdirectory", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefileerror79051be4b0f43232/testdirectory", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e97dba3a-160e-417f-819f-be9594991936" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f6965c28-cf9f-494f-95fb-73d13dfe46ef" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ResourceNotFound", "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "83e48d7e-a01a-0116-4488-83b7bd000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:83e48d7e-a01a-0116-4488-83b7bd000000\nTime:2019-10-15T18:43:33.3015819Z", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "e97dba3a-160e-417f-819f-be9594991936", + "x-ms-request-id" : "9ba9a046-201a-0011-10fa-aa088f000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9ba9a046-201a-0011-10fa-aa088f000000\nTime:2019-12-04T23:31:06.6919553Z", + "Date" : "Wed, 04 Dec 2019 23:31:05 GMT", + "x-ms-client-request-id" : "f6965c28-cf9f-494f-95fb-73d13dfe46ef", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsdeletefileerror8403181bcdc320aa" ] + "variables" : [ "shareasyncapitestsdeletefileerror79051be4b0f43232" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileLease.json new file mode 100644 index 0000000000000..a60f39b60c854 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileLease.json @@ -0,0 +1,95 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefilelease9512701011bee0f5?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "96bbc9d9-930f-4410-9f57-571a15eb988a" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833F9A377AA9", + "Last-Modified" : "Tue, 17 Dec 2019 22:22:28 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d2ab9135-901a-0049-4a28-b5d0d0000000", + "Date" : "Tue, 17 Dec 2019 22:22:28 GMT", + "x-ms-client-request-id" : "96bbc9d9-930f-4410-9f57-571a15eb988a" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefilelease9512701011bee0f5/testCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "f5f71cf7-657f-4a95-9483-8b3a08b891c7" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:22:29.2599613Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:22:29 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:22:28 GMT", + "ETag" : "0x8D7833F9A636B3D", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:22:29.2599613Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "d2ab9146-901a-0049-5828-b5d0d0000000", + "x-ms-client-request-id" : "f5f71cf7-657f-4a95-9483-8b3a08b891c7", + "x-ms-file-last-write-time" : "2019-12-17T22:22:29.2599613Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefilelease9512701011bee0f5/testCreateFile?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "fca48d45-d654-435f-abc2-a38c072c193c" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833F9A636B3D", + "x-ms-lease-id" : "3a83698f-c8d0-4a66-93cb-047703b8d5e5", + "Last-Modified" : "Tue, 17 Dec 2019 22:22:29 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "d2ab914f-901a-0049-6128-b5d0d0000000", + "Date" : "Tue, 17 Dec 2019 22:22:28 GMT", + "x-ms-client-request-id" : "fca48d45-d654-435f-abc2-a38c072c193c" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefilelease9512701011bee0f5/testCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "030486c4-b010-4840-af3e-4d4136ef2a8d" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "d2ab915b-901a-0049-6c28-b5d0d0000000", + "Date" : "Tue, 17 Dec 2019 22:22:29 GMT", + "x-ms-client-request-id" : "030486c4-b010-4840-af3e-4d4136ef2a8d" + }, + "Exception" : null + } ], + "variables" : [ "shareasyncapitestsdeletefilelease9512701011bee0f5" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileLeaseFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileLeaseFail.json new file mode 100644 index 0000000000000..687575c835c04 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteFileLeaseFail.json @@ -0,0 +1,98 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefileleasefail7614697e911f0f?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "a84adb90-258a-40b8-9643-c60d94489a51" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E721B3E96", + "Last-Modified" : "Tue, 17 Dec 2019 22:14:12 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "3d16c001-a01a-000f-5327-b5e457000000", + "Date" : "Tue, 17 Dec 2019 22:14:12 GMT", + "x-ms-client-request-id" : "a84adb90-258a-40b8-9643-c60d94489a51" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefileleasefail7614697e911f0f/testCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "84b2d214-aec6-4bd8-865a-362aa879c833" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "x-ms-file-permission-key" : "15729343842853002337*8280205063999649007", + "x-ms-file-id" : "13835128424026341376", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-file-creation-time" : "2019-12-17T22:14:12.3942251Z", + "Last-Modified" : "Tue, 17 Dec 2019 22:14:12 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Tue, 17 Dec 2019 22:14:12 GMT", + "ETag" : "0x8D7833E723BB96B", + "x-ms-file-attributes" : "Archive", + "x-ms-file-change-time" : "2019-12-17T22:14:12.3942251Z", + "x-ms-file-parent-id" : "0", + "Content-Length" : "0", + "x-ms-request-id" : "3d16c009-a01a-000f-5927-b5e457000000", + "x-ms-client-request-id" : "84b2d214-aec6-4bd8-865a-362aa879c833", + "x-ms-file-last-write-time" : "2019-12-17T22:14:12.3942251Z" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefileleasefail7614697e911f0f/testCreateFile?comp=lease", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "2ecaa17c-cfc9-46ba-9665-092d7fe8ff9b" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D7833E723BB96B", + "x-ms-lease-id" : "5689efed-7813-4e61-bc5d-02cb364e905e", + "Last-Modified" : "Tue, 17 Dec 2019 22:14:12 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "3d16c00e-a01a-000f-5e27-b5e457000000", + "Date" : "Tue, 17 Dec 2019 22:14:12 GMT", + "x-ms-client-request-id" : "2ecaa17c-cfc9-46ba-9665-092d7fe8ff9b" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "http://gaprastg71.file.core.windows.net/shareasyncapitestsdeletefileleasefail7614697e911f0f/testCreateFile", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.5; Windows 10 10.0)", + "x-ms-client-request-id" : "450ce24f-0964-4ffa-802d-ad899207f0f8" + }, + "Response" : { + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "LeaseIdMismatchWithFileOperation", + "retry-after" : "0", + "Content-Length" : "264", + "StatusCode" : "412", + "x-ms-request-id" : "3d16c015-a01a-000f-6427-b5e457000000", + "Body" : "LeaseIdMismatchWithFileOperationThe lease ID specified did not match the lease ID for the file.\nRequestId:3d16c015-a01a-000f-6427-b5e457000000\nTime:2019-12-17T22:14:12.6403610Z", + "Date" : "Tue, 17 Dec 2019 22:14:12 GMT", + "x-ms-client-request-id" : "450ce24f-0964-4ffa-802d-ad899207f0f8", + "Content-Type" : "application/xml" + }, + "Exception" : null + } ], + "variables" : [ "shareasyncapitestsdeletefileleasefail7614697e911f0f", "dd795200-6a68-4863-b598-8e4460e79414" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteShare.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteShare.json index 361a57bce18a1..1735c014d03f1 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteShare.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteShare.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeleteshare2800057cfe55195734?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeleteshare02272791a9ae60bd44?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "355dc8e1-0de7-48a8-a54a-59635620eaa6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fda5bf22-0747-4d2a-8b4d-5e56907ceb6e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F91E57E89", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:28 GMT", + "ETag" : "0x8D77912042019DF", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ce0-a01a-0116-4288-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:27 GMT", - "x-ms-client-request-id" : "355dc8e1-0de7-48a8-a54a-59635620eaa6" + "x-ms-request-id" : "9ba99fb3-201a-0011-20fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:57 GMT", + "x-ms-client-request-id" : "fda5bf22-0747-4d2a-8b4d-5e56907ceb6e" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsdeleteshare2800057cfe55195734" ] + "variables" : [ "shareasyncapitestsdeleteshare02272791a9ae60bd44" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteShareError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteShareError.json index 70257f753b428..be83e493b4901 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteShareError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsDeleteShareError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsdeleteshareerror85196282c177982?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsdeleteshareerror30645e3c3b78040?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "35046cc3-ade8-40a5-8025-ad7be1a4b81c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "34af0ae3-288d-4449-bdb0-3aa75ca7403d" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48ce4-a01a-0116-4588-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48ce4-a01a-0116-4588-83b7bd000000\nTime:2019-10-15T18:43:28.6812063Z", - "Date" : "Tue, 15 Oct 2019 18:43:27 GMT", - "x-ms-client-request-id" : "35046cc3-ade8-40a5-8025-ad7be1a4b81c", + "x-ms-request-id" : "9ba99fb7-201a-0011-23fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99fb7-201a-0011-23fa-aa088f000000\nTime:2019-12-04T23:30:58.4390098Z", + "Date" : "Wed, 04 Dec 2019 23:30:57 GMT", + "x-ms-client-request-id" : "34af0ae3-288d-4449-bdb0-3aa75ca7403d", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsdeleteshareerror85196282c177982" ] + "variables" : [ "shareasyncapitestsdeleteshareerror30645e3c3b78040" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetFileClientDoesNotCreateAFile.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetFileClientDoesNotCreateAFile.json index 0708453fbabe4..5039e44e0711c 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetFileClientDoesNotCreateAFile.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetFileClientDoesNotCreateAFile.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareasyncapitestsgetfileclientdoesnotcreateafile78444902" ] + "variables" : [ "shareasyncapitestsgetfileclientdoesnotcreateafile07741690" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPermissionError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPermissionError.json index e4e5c55bce451..bec6930e27f71 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPermissionError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPermissionError.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsgetpermissionerror00579656ffb39d?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsgetpermissionerror7062556e48b6a7?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1717f6f0-9a7e-4ae7-bd0a-16d79724b9d1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e46fd9b-f997-473d-8296-9339a64ac1f2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F950868DB", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:33 GMT", + "ETag" : "0x8D7791209C23380", + "Last-Modified" : "Wed, 04 Dec 2019 23:31:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48d8b-a01a-0116-4f88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "1717f6f0-9a7e-4ae7-bd0a-16d79724b9d1" + "x-ms-request-id" : "9ba9a054-201a-0011-1bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:31:06 GMT", + "x-ms-client-request-id" : "4e46fd9b-f997-473d-8296-9339a64ac1f2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsgetpermissionerror00579656ffb39d?restype=share&comp=filepermission", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsgetpermissionerror7062556e48b6a7?restype=share&comp=filepermission", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1af2f050-699e-4f26-b318-d04eb0a89534" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3b91db95-e12b-4f72-88dd-00dbfc0088f9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidHeaderValue", "retry-after" : "0", "Content-Length" : "335", "StatusCode" : "400", - "x-ms-request-id" : "83e48d8d-a01a-0116-5088-83b7bd000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:83e48d8d-a01a-0116-5088-83b7bd000000\nTime:2019-10-15T18:43:33.8681186Zx-ms-file-permission-keyabcde", - "Date" : "Tue, 15 Oct 2019 18:43:32 GMT", - "x-ms-client-request-id" : "1af2f050-699e-4f26-b318-d04eb0a89534", + "x-ms-request-id" : "9ba9a056-201a-0011-1cfa-aa088f000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ba9a056-201a-0011-1cfa-aa088f000000\nTime:2019-12-04T23:31:07.7128816Zx-ms-file-permission-keyabcde", + "Date" : "Wed, 04 Dec 2019 23:31:06 GMT", + "x-ms-client-request-id" : "3b91db95-e12b-4f72-88dd-00dbfc0088f9", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsgetpermissionerror00579656ffb39d" ] + "variables" : [ "shareasyncapitestsgetpermissionerror7062556e48b6a7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetProperties.json index ee5fe1ea0def4..d781bd666427f 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetProperties.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetProperties.json @@ -1,50 +1,50 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsgetproperties052541b54005247e8?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsgetproperties85324f93e8494781b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2cb7cb88-7ee9-4c49-a2f4-d6feb4a98676" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d55cfdd-086a-4d05-b246-a5e0cab7d459" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F92025C5B", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:28 GMT", + "ETag" : "0x8D77912045EF77B", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48ce6-a01a-0116-4788-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:27 GMT", - "x-ms-client-request-id" : "2cb7cb88-7ee9-4c49-a2f4-d6feb4a98676" + "x-ms-request-id" : "9ba99fb9-201a-0011-25fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:57 GMT", + "x-ms-client-request-id" : "2d55cfdd-086a-4d05-b246-a5e0cab7d459" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsgetproperties052541b54005247e8?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsgetproperties85324f93e8494781b?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6d1d2998-5ff1-40dd-97ae-f5d167468697" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "651a8d48-0f56-4cff-b00b-e405209c93b5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:28 GMT", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 15 Oct 2019 18:43:27 GMT", + "Date" : "Wed, 04 Dec 2019 23:30:57 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "1", - "ETag" : "0x8D7519F92025C5B", + "ETag" : "0x8D77912045EF77B", "x-ms-has-immutability-policy" : "false", "x-ms-meta-testmetadata" : "value", "Content-Length" : "0", - "x-ms-request-id" : "83e48ce8-a01a-0116-4888-83b7bd000000", - "x-ms-client-request-id" : "6d1d2998-5ff1-40dd-97ae-f5d167468697" + "x-ms-request-id" : "9ba99fbb-201a-0011-26fa-aa088f000000", + "x-ms-client-request-id" : "651a8d48-0f56-4cff-b00b-e405209c93b5" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsgetproperties052541b54005247e8" ] + "variables" : [ "shareasyncapitestsgetproperties85324f93e8494781b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPropertiesError.json index 1076121706432..e73fa14c92bf2 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPropertiesError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPropertiesError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestsgetpropertieserror3508607ff9070b?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestsgetpropertieserror2134506a180d24?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "512b919e-d50b-4b51-b16d-0451a497113e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c24e0dba-9f0a-43da-9565-990a940d49d6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48ceb-a01a-0116-4b88-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48ceb-a01a-0116-4b88-83b7bd000000\nTime:2019-10-15T18:43:28.9034159Z", - "Date" : "Tue, 15 Oct 2019 18:43:27 GMT", - "x-ms-client-request-id" : "512b919e-d50b-4b51-b16d-0451a497113e", + "x-ms-request-id" : "9ba99fbe-201a-0011-29fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99fbe-201a-0011-29fa-aa088f000000\nTime:2019-12-04T23:30:58.9259781Z", + "Date" : "Wed, 04 Dec 2019 23:30:58 GMT", + "x-ms-client-request-id" : "c24e0dba-9f0a-43da-9565-990a940d49d6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestsgetpropertieserror3508607ff9070b" ] + "variables" : [ "shareasyncapitestsgetpropertieserror2134506a180d24" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPropertiesPremium.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPropertiesPremium.json new file mode 100644 index 0000000000000..f5b3a331e75dd --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetPropertiesPremium.json @@ -0,0 +1,55 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://e88xscnapdz5ptf01d.file.preprod.core.windows.net/jtsshareasyncapitestsgetpropertiespremium004757e6d7da63?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "005ffca6-deca-4c64-b05f-d5c2df5aa27f" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8D779C094778270", + "Last-Modified" : "Thu, 05 Dec 2019 20:20:32 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "5ae0add3-c01a-0094-36a9-ab8d02000000", + "Date" : "Thu, 05 Dec 2019 20:20:32 GMT", + "x-ms-client-request-id" : "005ffca6-deca-4c64-b05f-d5c2df5aa27f" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://e88xscnapdz5ptf01d.file.preprod.core.windows.net/jtsshareasyncapitestsgetpropertiespremium004757e6d7da63?restype=share", + "Headers" : { + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "47f27ab5-82be-404c-b013-0a9b298edaf6" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-ms-share-provisioned-iops" : "100", + "x-ms-version" : "2019-07-07", + "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "Last-Modified" : "Thu, 05 Dec 2019 20:20:32 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Thu, 05 Dec 2019 20:20:32 GMT", + "x-ms-has-legal-hold" : "false", + "x-ms-share-provisioned-ingress-mbps" : "44", + "x-ms-share-quota" : "100", + "x-ms-enabled-protocols" : "SMB", + "ETag" : "0x8D779C094778270", + "x-ms-has-immutability-policy" : "false", + "x-ms-meta-testmetadata" : "value", + "x-ms-request-id" : "5ae0add6-c01a-0094-37a9-ab8d02000000", + "x-ms-client-request-id" : "47f27ab5-82be-404c-b013-0a9b298edaf6", + "x-ms-share-provisioned-egress-mbps" : "66", + "x-ms-share-next-allowed-quota-downgrade-time" : "Thu, 05 Dec 2019 20:20:32 GMT" + }, + "Exception" : null + } ], + "variables" : [ "shareasyncapitestsgetpropertiespremium92549e538bed0", "jtsshareasyncapitestsgetpropertiespremium004757e6d7da63" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetRootDirectoryClient.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetRootDirectoryClient.json index 8e84fc918fffd..b8ae4188734ae 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetRootDirectoryClient.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetRootDirectoryClient.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareasyncapitestsgetrootdirectoryclient59503bcaf20b" ] + "variables" : [ "shareasyncapitestsgetrootdirectoryclient866831e0a464" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetShareName.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetShareName.json index 226a3ddf48974..39d83181d7dab 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetShareName.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetShareName.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareasyncapitestsgetsharename5848105a540d792b4" ] + "variables" : [ "shareasyncapitestsgetsharename165039fa4a9518815" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetShareURL.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetShareURL.json index a52cd9e9f7aa6..e640138331a7e 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetShareURL.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetShareURL.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareasyncapitestsgetshareurl02792138d95967a954" ] + "variables" : [ "shareasyncapitestsgetshareurl53389247f15e84ea34" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetSnapshotId.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetSnapshotId.json index 0c8a14c7fda69..232b9131ffa57 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetSnapshotId.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsGetSnapshotId.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "shareasyncapitestsgetsnapshotid88826c5dd25c13a7b" ] + "variables" : [ "shareasyncapitestsgetsnapshotid14390062f7b6770fc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetMetadata.json index 1587bd36e143e..2221558d8f0a7 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetMetadata.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetMetadata.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestssetmetadata47728f20c9f8acadc4?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestssetmetadata52853a4c024ae399d4?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "05f3310a-bc99-492d-b20d-b3d8108ea69f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "72e90dda-244b-4914-bb7e-118dcb7db89e" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F92447E7B", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:29 GMT", + "ETag" : "0x8D7791204E9AB17", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cf4-a01a-0116-5288-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "x-ms-client-request-id" : "05f3310a-bc99-492d-b20d-b3d8108ea69f" + "x-ms-request-id" : "9ba99fc9-201a-0011-30fa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:58 GMT", + "x-ms-client-request-id" : "72e90dda-244b-4914-bb7e-118dcb7db89e" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestssetmetadata47728f20c9f8acadc4" ] + "variables" : [ "shareasyncapitestssetmetadata52853a4c024ae399d4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetMetadataError.json index d2696a3b36de5..5f4b5261d4f73 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetMetadataError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetMetadataError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestssetmetadataerror343674d51bafcfa?restype=share&comp=metadata", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestssetmetadataerror31278431886a55e?restype=share&comp=metadata", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5bfbb53c-f9ca-494c-8f2f-ce27989fa5cd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e01a9951-2bf8-46c7-9240-727152bf9d0b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48cf8-a01a-0116-5588-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48cf8-a01a-0116-5588-83b7bd000000\nTime:2019-10-15T18:43:29.3037956Z", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "x-ms-client-request-id" : "5bfbb53c-f9ca-494c-8f2f-ce27989fa5cd", + "x-ms-request-id" : "9ba99fce-201a-0011-33fa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99fce-201a-0011-33fa-aa088f000000\nTime:2019-12-04T23:30:59.7799325Z", + "Date" : "Wed, 04 Dec 2019 23:30:59 GMT", + "x-ms-client-request-id" : "e01a9951-2bf8-46c7-9240-727152bf9d0b", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestssetmetadataerror343674d51bafcfa" ] + "variables" : [ "shareasyncapitestssetmetadataerror31278431886a55e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetQuota.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetQuota.json index 22cdf35a1265e..4791b51bdec91 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetQuota.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetQuota.json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestssetquota38575ed4e6508ef7748?restype=share", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestssetquota00973a0140a79582940?restype=share", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4d07e419-91d3-4d91-a4d6-92c01e975248" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "674bc862-707d-473d-ac0b-9a12bff6cd2b" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8D7519F92272B55", - "Last-Modified" : "Tue, 15 Oct 2019 18:43:28 GMT", + "ETag" : "0x8D7791204A91FD4", + "Last-Modified" : "Wed, 04 Dec 2019 23:30:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "83e48cee-a01a-0116-4d88-83b7bd000000", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "x-ms-client-request-id" : "4d07e419-91d3-4d91-a4d6-92c01e975248" + "x-ms-request-id" : "9ba99fc1-201a-0011-2bfa-aa088f000000", + "Date" : "Wed, 04 Dec 2019 23:30:58 GMT", + "x-ms-client-request-id" : "674bc862-707d-473d-ac0b-9a12bff6cd2b" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestssetquota38575ed4e6508ef7748" ] + "variables" : [ "shareasyncapitestssetquota00973a0140a79582940" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetQuotaError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetQuotaError.json index 5a2f3d3a30b64..00cb5a2a88f57 100644 --- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetQuotaError.json +++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAsyncAPITestsSetQuotaError.json @@ -1,26 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.file.core.windows.net/shareasyncapitestssetquotaerror74506ee4445a7d9af?restype=share&comp=properties", + "Uri" : "https://gaprastg71.file.core.windows.net/shareasyncapitestssetquotaerror19009beea640cf577?restype=share&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4a995b6a-beb7-4f45-ad34-cc7f47020451" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a12abd34-3a37-401b-8fd4-6d894ffb6173" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "ShareNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "83e48cf2-a01a-0116-5088-83b7bd000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:83e48cf2-a01a-0116-5088-83b7bd000000\nTime:2019-10-15T18:43:29.1156174Z", - "Date" : "Tue, 15 Oct 2019 18:43:28 GMT", - "x-ms-client-request-id" : "4a995b6a-beb7-4f45-ad34-cc7f47020451", + "x-ms-request-id" : "9ba99fc6-201a-0011-2efa-aa088f000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ba99fc6-201a-0011-2efa-aa088f000000\nTime:2019-12-04T23:30:59.3499702Z", + "Date" : "Wed, 04 Dec 2019 23:30:58 GMT", + "x-ms-client-request-id" : "a12abd34-3a37-401b-8fd4-6d894ffb6173", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "shareasyncapitestssetquotaerror74506ee4445a7d9af" ] + "variables" : [ "shareasyncapitestssetquotaerror19009beea640cf577" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/swagger/README.md b/sdk/storage/azure-storage-file-share/swagger/README.md index 9aeb3fbb41a3e..547c4d6175616 100644 --- a/sdk/storage/azure-storage-file-share/swagger/README.md +++ b/sdk/storage/azure-storage-file-share/swagger/README.md @@ -24,7 +24,7 @@ autorest --use=C:/work/autorest.java --use=C:/work/autorest.modeler --version=2. ### Code generation settings ``` yaml -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.FileStorage/preview/2019-02-02/file.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.FileStorage/preview/2019-07-07/file.json java: true output-folder: ../ namespace: com.azure.storage.file.share @@ -35,7 +35,7 @@ license-header: MICROSOFT_MIT_SMALL add-context-parameter: true models-subpackage: implementation.models custom-types-subpackage: models -custom-types: HandleItem,ShareFileHttpHeaders,ShareItem,ShareServiceProperties,ShareCorsRule,ShareProperties,Range,CopyStatusType,ShareSignedIdentifier,SourceModifiedAccessConditions,ShareErrorCode,StorageServiceProperties,ShareMetrics,ShareAccessPolicy,ShareFileDownloadHeaders +custom-types: HandleItem,ShareFileHttpHeaders,ShareItem,ShareServiceProperties,ShareCorsRule,ShareProperties,Range,CopyStatusType,ShareSignedIdentifier,SourceModifiedAccessConditions,ShareErrorCode,StorageServiceProperties,ShareMetrics,ShareAccessPolicy,ShareFileDownloadHeaders,LeaseDurationType,LeaseStateType,LeaseStatusType,PermissionCopyModeType ``` ### Query Parameters @@ -460,6 +460,66 @@ directive: } ``` +### /{shareName}/{filePath}?comp=lease&acquire +``` yaml +directive: +- from: swagger-document + where: $["x-ms-paths"] + transform: > + if (!$["/{shareName}/{filePath}?comp=lease&acquire"]) { + const op = $["/{shareName}/{filePath}?comp=lease&acquire"] = $["/{shareName}/{directory}/{fileName}?comp=lease&acquire"]; + const path = op.put.parameters[0].$ref.replace(/[#].*$/, "#/parameters/"); + op.put.parameters.splice(0, 0, { "$ref": path + "ShareName" }); + op.put.parameters.splice(1, 0, { "$ref": path + "FilePath" }); + delete $["/{shareName}/{directory}/{fileName}?comp=lease&acquire"]; + } +``` + +### /{shareName}/{filePath}?comp=lease&release +``` yaml +directive: +- from: swagger-document + where: $["x-ms-paths"] + transform: > + if (!$["/{shareName}/{filePath}?comp=lease&release"]) { + const op = $["/{shareName}/{filePath}?comp=lease&release"] = $["/{shareName}/{directory}/{fileName}?comp=lease&release"]; + const path = op.put.parameters[0].$ref.replace(/[#].*$/, "#/parameters/"); + op.put.parameters.splice(0, 0, { "$ref": path + "ShareName" }); + op.put.parameters.splice(1, 0, { "$ref": path + "FilePath" }); + delete $["/{shareName}/{directory}/{fileName}?comp=lease&release"]; + } +``` + +### /{shareName}/{filePath}?comp=lease&change +``` yaml +directive: +- from: swagger-document + where: $["x-ms-paths"] + transform: > + if (!$["/{shareName}/{filePath}?comp=lease&change"]) { + const op = $["/{shareName}/{filePath}?comp=lease&change"] = $["/{shareName}/{directory}/{fileName}?comp=lease&change"]; + const path = op.put.parameters[0].$ref.replace(/[#].*$/, "#/parameters/"); + op.put.parameters.splice(0, 0, { "$ref": path + "ShareName" }); + op.put.parameters.splice(1, 0, { "$ref": path + "FilePath" }); + delete $["/{shareName}/{directory}/{fileName}?comp=lease&change"]; + } +``` + +### /{shareName}/{filePath}?comp=lease&break +``` yaml +directive: +- from: swagger-document + where: $["x-ms-paths"] + transform: > + if (!$["/{shareName}/{filePath}?comp=lease&break"]) { + const op = $["/{shareName}/{filePath}?comp=lease&break"] = $["/{shareName}/{directory}/{fileName}?comp=lease&break"]; + const path = op.put.parameters[0].$ref.replace(/[#].*$/, "#/parameters/"); + op.put.parameters.splice(0, 0, { "$ref": path + "ShareName" }); + op.put.parameters.splice(1, 0, { "$ref": path + "FilePath" }); + delete $["/{shareName}/{directory}/{fileName}?comp=lease&break"]; + } +``` + ### ShareProperties ``` yaml directive: @@ -489,7 +549,7 @@ directive: - from: swagger-document where: $.parameters.ApiVersionParameter transform: > - $.enum = [ "2019-02-02" ]; + $.enum = [ "2019-07-07" ]; ``` ### Convert FileCreationTime and FileLastWriteTime to String to Support 'now' @@ -720,6 +780,14 @@ directive: transform: $.name.raw = 'Share-File-Download-Headers' ``` +### FileRangeWriteFromUrl Constant +``` yaml +directive: +- from: swagger-document + where: $.parameters.LeaseIdOptional + transform: > + delete $["x-ms-parameter-grouping"]; +``` ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fstorage%2Fazure-storage-file-share%2Fswagger%2FREADME.png) diff --git a/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceVersion.java b/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceVersion.java index 8913f78b92625..3837c82da5d48 100644 --- a/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceVersion.java +++ b/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceVersion.java @@ -9,7 +9,8 @@ * The versions of Azure Storage Queue supported by this client library. */ public enum QueueServiceVersion implements ServiceVersion { - V2019_02_02("2019-02-02"); + V2019_02_02("2019-02-02"), + V2019_07_07("2019-07-07"); private final String version; @@ -31,6 +32,6 @@ public String getVersion() { * @return the latest {@link QueueServiceVersion} */ public static QueueServiceVersion getLatest() { - return V2019_02_02; + return V2019_07_07; } } diff --git a/sdk/storage/azure-storage-queue/src/test/java/com/azure/storage/queue/APISpec.groovy b/sdk/storage/azure-storage-queue/src/test/java/com/azure/storage/queue/APISpec.groovy index 4fe7f9cab9940..f697e654de9af 100644 --- a/sdk/storage/azure-storage-queue/src/test/java/com/azure/storage/queue/APISpec.groovy +++ b/sdk/storage/azure-storage-queue/src/test/java/com/azure/storage/queue/APISpec.groovy @@ -33,7 +33,6 @@ class APISpec extends Specification { QueueServiceClient primaryQueueServiceClient QueueServiceAsyncClient primaryQueueServiceAsyncClient - static def PRIMARY_STORAGE = "AZURE_STORAGE_QUEUE_" protected static StorageSharedKeyCredential primaryCredential @@ -214,9 +213,14 @@ class APISpec extends Specification { def sleepIfLive(long milliseconds) { if (testMode == TestMode.PLAYBACK) { - return; + return } sleep(milliseconds) } + + boolean liveMode() { + return testMode == TestMode.RECORD + } + } diff --git a/sdk/storage/azure-storage-queue/src/test/java/com/azure/storage/queue/QueueSASTests.groovy b/sdk/storage/azure-storage-queue/src/test/java/com/azure/storage/queue/QueueSASTests.groovy index 682ae586f5359..d615d9f87a6ea 100644 --- a/sdk/storage/azure-storage-queue/src/test/java/com/azure/storage/queue/QueueSASTests.groovy +++ b/sdk/storage/azure-storage-queue/src/test/java/com/azure/storage/queue/QueueSASTests.groovy @@ -18,6 +18,7 @@ import com.azure.storage.queue.models.SendMessageResult import com.azure.storage.queue.sas.QueueSasPermission import com.azure.storage.queue.sas.QueueServiceSasSignatureValues import org.junit.Test +import spock.lang.Ignore import spock.lang.Unroll import java.time.Duration @@ -263,6 +264,7 @@ class QueueSASTests extends APISpec { .setResourceTypes(resourceType.toString()) .setPermissions(permissions) .setExpiryTime(expiryTime) + .setVersion(QueueServiceVersion.V2019_02_02.version) .generateSasQueryParameters(credential) .encode() diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsBuilderBearerTokenValidation.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsBuilderBearerTokenValidation.json index 1ee0a17c73e5a..9591530f7353e 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsBuilderBearerTokenValidation.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsBuilderBearerTokenValidation.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueapitestsbuilderbearertokenvalidation28056bf06fa0" ] + "variables" : [ "queueapitestsbuilderbearertokenvalidation384383231e5c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsClearMessages.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsClearMessages.json index ea0427eab47d1..1a0a4ce5e2d4b 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsClearMessages.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsClearMessages.json @@ -1,143 +1,150 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsclearmessages193542acd210c19404e", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsclearmessages613589d54f473e88f49", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5b389637-3cb8-4948-8b0e-a129798ab0d0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "96ada811-8818-4d88-b1fc-fe30d019a532" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e84c4-f003-0082-498d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT" + "x-ms-request-id" : "d25b8264-f003-0012-2b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:41 GMT", + "x-ms-client-request-id" : "96ada811-8818-4d88-b1fc-fe30d019a532" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsclearmessages193542acd210c19404e/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsclearmessages613589d54f473e88f49/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "39853f41-c338-4eda-be0f-35b4f0dc959f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cea9917e-380c-403f-b1c3-4fb05b4cd50c", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e84ce-f003-0082-528d-839126000000", - "Body" : "daeeca39-4f4b-4a99-abc3-ccf0f261495eTue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMTAgAAAAMAAAAAAAAAHLA+fo2D1QE=Tue, 15 Oct 2019 19:19:40 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b8266-f003-0012-2c71-e0e9eb000000", + "Body" : "c1de99f1-a465-495a-8dc1-0325515c34d3Tue, 11 Feb 2020 00:24:42 GMTTue, 18 Feb 2020 00:24:42 GMTAgAAAAMAAAAAAAAAtQN1p3Hg1QE=Tue, 11 Feb 2020 00:24:42 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:41 GMT", + "x-ms-client-request-id" : "cea9917e-380c-403f-b1c3-4fb05b4cd50c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsclearmessages193542acd210c19404e/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsclearmessages613589d54f473e88f49/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "370f0d19-2fef-4c54-b898-df1f067739c0", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2e372663-e9a3-4f26-b1d8-4275a2665fec", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e84d9-f003-0082-5b8d-839126000000", - "Body" : "325e8579-c5f6-4a6b-a045-06a7d5d4795dTue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMTAgAAAAMAAAAAAAAASZNDfo2D1QE=Tue, 15 Oct 2019 19:19:40 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:40 GMT", + "x-ms-request-id" : "d25b8267-f003-0012-2d71-e0e9eb000000", + "Body" : "8719fa5b-73e7-4cf4-be5d-1d20b741a730Tue, 11 Feb 2020 00:24:42 GMTTue, 18 Feb 2020 00:24:42 GMTAgAAAAMAAAAAAAAASOaCp3Hg1QE=Tue, 11 Feb 2020 00:24:42 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:41 GMT", + "x-ms-client-request-id" : "2e372663-e9a3-4f26-b1d8-4275a2665fec", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsclearmessages193542acd210c19404e/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsclearmessages613589d54f473e88f49/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4a372e29-46e1-436b-a83d-20c33d0913b1", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bd671575-263b-4e0c-84d3-9a059f3d9366", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e84e0-f003-0082-618d-839126000000", - "Body" : "c169516a-1623-4ba4-865e-442dad0411a4Tue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMTAgAAAAMAAAAAAAAAf3ZIfo2D1QE=Tue, 15 Oct 2019 19:19:40 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:40 GMT", + "x-ms-request-id" : "d25b8268-f003-0012-2e71-e0e9eb000000", + "Body" : "c3f2b4d6-f71e-4d61-93e9-8e1ef1cf0fe6Tue, 11 Feb 2020 00:24:42 GMTTue, 18 Feb 2020 00:24:42 GMTAgAAAAMAAAAAAAAAgsuOp3Hg1QE=Tue, 11 Feb 2020 00:24:42 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:41 GMT", + "x-ms-client-request-id" : "bd671575-263b-4e0c-84d3-9a059f3d9366", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsclearmessages193542acd210c19404e?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsclearmessages613589d54f473e88f49?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d51ad79f-d7e8-4e3f-b79d-933163676648" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9e6c80f7-5c0f-426a-a845-0949e4b16791" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "3", "StatusCode" : "200", - "x-ms-request-id" : "2f7e84e8-f003-0082-698d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:40 GMT" + "x-ms-request-id" : "d25b8269-f003-0012-2f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:41 GMT", + "x-ms-client-request-id" : "9e6c80f7-5c0f-426a-a845-0949e4b16791" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsclearmessages193542acd210c19404e/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsclearmessages613589d54f473e88f49/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "52e1582e-9656-4f8d-84cf-8319c307df14" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82346e62-6236-4318-9cc7-08aa0ad8776a" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e84f6-f003-0082-758d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:40 GMT" + "x-ms-request-id" : "d25b826a-f003-0012-3071-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:41 GMT", + "x-ms-client-request-id" : "82346e62-6236-4318-9cc7-08aa0ad8776a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsclearmessages193542acd210c19404e?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsclearmessages613589d54f473e88f49?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c50dfce2-8325-4302-9188-58e84846f863" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "70c92cf2-5773-4ca0-a553-644edacb6f3d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e84fe-f003-0082-7d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:40 GMT" + "x-ms-request-id" : "d25b826b-f003-0012-3171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:41 GMT", + "x-ms-client-request-id" : "70c92cf2-5773-4ca0-a553-644edacb6f3d" }, "Exception" : null } ], - "variables" : [ "queueapitestsclearmessages193542acd210c19404e" ] + "variables" : [ "queueapitestsclearmessages613589d54f473e88f49" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsClearMessagesError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsClearMessagesError.json index 47c4c53050282..b33972f1e00d4 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsClearMessagesError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsClearMessagesError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsclearmessageserror5681502a301155707/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsclearmessageserror55772415c39a6338e/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b681b337-2152-49f6-a7b7-93db43816707" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d3b4f08-7b54-46f7-9c54-0b7b96940f82" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e8517-f003-0082-158d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e8517-f003-0082-158d-839126000000\nTime:2019-10-15T19:19:41.1740288Z", - "Date" : "Tue, 15 Oct 2019 19:19:40 GMT", + "x-ms-request-id" : "d25b826c-f003-0012-3271-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b826c-f003-0012-3271-e0e9eb000000\nTime:2020-02-11T00:24:42.9833499Z", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "3d3b4f08-7b54-46f7-9c54-0b7b96940f82", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsclearmessageserror5681502a301155707" ] + "variables" : [ "queueapitestsclearmessageserror55772415c39a6338e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsCreateQueueWithSharedKey.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsCreateQueueWithSharedKey.json index 82dc120f76804..80de9dd200e49 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsCreateQueueWithSharedKey.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsCreateQueueWithSharedKey.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestscreatequeuewithsharedkey033844a5024431", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestscreatequeuewithsharedkey820261f7575ece", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "739769f2-54c0-4fd8-8506-2817707cc697" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "58f64da7-29d8-4d16-8cb5-6f8099f0e7a1" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7c7d-f003-0082-2f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT" + "x-ms-request-id" : "d25b81f0-f003-0012-5f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:30 GMT", + "x-ms-client-request-id" : "58f64da7-29d8-4d16-8cb5-6f8099f0e7a1" }, "Exception" : null } ], - "variables" : [ "queueapitestscreatequeuewithsharedkey033844a5024431" ] + "variables" : [ "queueapitestscreatequeuewithsharedkey820261f7575ece" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteExistQueue.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteExistQueue.json index bce63a9a36f4e..ffd0b3c644714 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteExistQueue.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteExistQueue.json @@ -1,40 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeleteexistqueue57553c6b57b47e0184", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeleteexistqueue879303d7d47a44c544", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fdc3c016-61eb-4f19-968e-a8d6d78a1214" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7b09b6ee-319f-4536-bbb6-ab5825d29d4d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7c98-f003-0082-488d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT" + "x-ms-request-id" : "d25b81f4-f003-0012-6071-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:30 GMT", + "x-ms-client-request-id" : "7b09b6ee-319f-4536-bbb6-ab5825d29d4d" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeleteexistqueue57553c6b57b47e0184", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeleteexistqueue879303d7d47a44c544", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7a717a1e-1df7-4602-ab82-f813569acac5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a3cde50d-e373-415c-84cc-73677b534558" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e7ca3-f003-0082-518d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT" + "x-ms-request-id" : "d25b81f6-f003-0012-6171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:31 GMT", + "x-ms-client-request-id" : "a3cde50d-e373-415c-84cc-73677b534558" }, "Exception" : null } ], - "variables" : [ "queueapitestsdeleteexistqueue57553c6b57b47e0184" ] + "variables" : [ "queueapitestsdeleteexistqueue879303d7d47a44c544" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessage.json index 03cded4b3bb2a..17fbb8d855ee6 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessage.json @@ -1,164 +1,172 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessage873297961435ee1e340", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessage97327b25c87c9841f43", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "89825860-5100-4342-a3c3-06d31c79d0f4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "70ebcab3-abd2-419c-94e8-9b5418911614" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "f6288374-8003-00e0-42fc-84d6fe000000", - "Date" : "Thu, 17 Oct 2019 15:04:47 GMT" + "x-ms-request-id" : "d25b826e-f003-0012-3371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "70ebcab3-abd2-419c-94e8-9b5418911614" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessage873297961435ee1e340/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessage97327b25c87c9841f43/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "38a28336-4fe6-4303-863b-988df66b0deb", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7d9d261-f2ff-485d-994f-77c7f258b66a", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "f6288394-8003-00e0-58fc-84d6fe000000", - "Body" : "c9b680d9-a34c-4bf0-9f83-8b8a041c0f55Thu, 17 Oct 2019 15:04:48 GMTThu, 24 Oct 2019 15:04:48 GMTAgAAAAMAAAAAAAAAqLbfN/yE1QE=Thu, 17 Oct 2019 15:04:48 GMT", - "Date" : "Thu, 17 Oct 2019 15:04:47 GMT", + "x-ms-request-id" : "d25b8270-f003-0012-3471-e0e9eb000000", + "Body" : "9e69dc37-b90c-48e4-9277-d43f43711994Tue, 11 Feb 2020 00:24:43 GMTTue, 18 Feb 2020 00:24:43 GMTAgAAAAMAAAAAAAAAE/kFqHHg1QE=Tue, 11 Feb 2020 00:24:43 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "b7d9d261-f2ff-485d-994f-77c7f258b66a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessage873297961435ee1e340/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessage97327b25c87c9841f43/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "ee5fa386-fc82-4f90-af85-5d1d25bb73a0", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "48f1a86e-0c76-467d-9f3e-064750b3cd7c", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "f628839c-8003-00e0-60fc-84d6fe000000", - "Body" : "0bd304a5-7c4b-471e-8ed9-0303850c479cThu, 17 Oct 2019 15:04:48 GMTThu, 24 Oct 2019 15:04:48 GMTAgAAAAMAAAAAAAAAbVH2N/yE1QE=Thu, 17 Oct 2019 15:04:48 GMT", - "Date" : "Thu, 17 Oct 2019 15:04:47 GMT", + "x-ms-request-id" : "d25b8271-f003-0012-3571-e0e9eb000000", + "Body" : "354cdd63-2cc7-4db3-aace-a6ecb9eb35c0Tue, 11 Feb 2020 00:24:43 GMTTue, 18 Feb 2020 00:24:43 GMTAgAAAAMAAAAAAAAAmeARqHHg1QE=Tue, 11 Feb 2020 00:24:43 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "48f1a86e-0c76-467d-9f3e-064750b3cd7c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessage873297961435ee1e340/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessage97327b25c87c9841f43/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "b417575a-ad90-4739-8068-d0b06c492cd8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1f7c377e-0809-49fa-a935-93757ae6d048", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "f628839e-8003-00e0-62fc-84d6fe000000", - "Body" : "f0516a2b-5e5c-4782-8f6d-294e6ea1f94fThu, 17 Oct 2019 15:04:48 GMTThu, 24 Oct 2019 15:04:48 GMTAgAAAAMAAAAAAAAA1xcAOPyE1QE=Thu, 17 Oct 2019 15:04:48 GMT", - "Date" : "Thu, 17 Oct 2019 15:04:47 GMT", + "x-ms-request-id" : "d25b8272-f003-0012-3671-e0e9eb000000", + "Body" : "eb1e1195-fc51-4c60-bf20-799c8aad8b35Tue, 11 Feb 2020 00:24:43 GMTTue, 18 Feb 2020 00:24:43 GMTAgAAAAMAAAAAAAAAFMcdqHHg1QE=Tue, 11 Feb 2020 00:24:43 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "1f7c377e-0809-49fa-a935-93757ae6d048", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessage873297961435ee1e340/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessage97327b25c87c9841f43/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "82e7ad88-9d64-4ffb-aa60-33877aebd1dd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "afd23253-a7df-47ae-969a-ed2a617a1b53" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "f62883a3-8003-00e0-67fc-84d6fe000000", - "Body" : "c9b680d9-a34c-4bf0-9f83-8b8a041c0f55Thu, 17 Oct 2019 15:04:48 GMTThu, 24 Oct 2019 15:04:48 GMTAgAAAAMAAAAAAAAAh/brSfyE1QE=Thu, 17 Oct 2019 15:05:18 GMT1test message 1", - "Date" : "Thu, 17 Oct 2019 15:04:47 GMT", + "x-ms-request-id" : "d25b8273-f003-0012-3771-e0e9eb000000", + "Body" : "9e69dc37-b90c-48e4-9277-d43f43711994Tue, 11 Feb 2020 00:24:43 GMTTue, 18 Feb 2020 00:24:43 GMTAgAAAAMAAAAAAAAA+NYMunHg1QE=Tue, 11 Feb 2020 00:25:13 GMT1test message 1", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "afd23253-a7df-47ae-969a-ed2a617a1b53", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessage873297961435ee1e340?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessage97327b25c87c9841f43?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "f5ad0da7-7431-49c0-adb9-a3519b845e57" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f830adca-7e2b-4ce2-b2ac-37731adb6e25" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "3", "StatusCode" : "200", - "x-ms-request-id" : "f62883a5-8003-00e0-69fc-84d6fe000000", - "Date" : "Thu, 17 Oct 2019 15:04:47 GMT" + "x-ms-request-id" : "d25b8274-f003-0012-3871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "f830adca-7e2b-4ce2-b2ac-37731adb6e25" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessage873297961435ee1e340/messages/c9b680d9-a34c-4bf0-9f83-8b8a041c0f55?popreceipt=AgAAAAMAAAAAAAAAh/brSfyE1QE%3d", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessage97327b25c87c9841f43/messages/9e69dc37-b90c-48e4-9277-d43f43711994?popreceipt=AgAAAAMAAAAAAAAA%2bNYMunHg1QE%3d", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "1ce64a64-28da-4a10-acb6-f82f20cfa58b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "893c63e1-cc37-4a32-96cb-3bf5addab1a0" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "f62883a7-8003-00e0-6bfc-84d6fe000000", - "Date" : "Thu, 17 Oct 2019 15:04:47 GMT" + "x-ms-request-id" : "d25b8275-f003-0012-3971-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "893c63e1-cc37-4a32-96cb-3bf5addab1a0" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessage873297961435ee1e340?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessage97327b25c87c9841f43?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "0d92dd91-a00c-456b-af81-c29b2c4b32af" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8761e7b6-6b95-4298-a22d-bd4c9cf11e8f" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "2", "StatusCode" : "200", - "x-ms-request-id" : "f62883a8-8003-00e0-6cfc-84d6fe000000", - "Date" : "Thu, 17 Oct 2019 15:04:47 GMT" + "x-ms-request-id" : "d25b8276-f003-0012-3a71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "8761e7b6-6b95-4298-a22d-bd4c9cf11e8f" }, "Exception" : null } ], - "variables" : [ "queueapitestsdeletemessage873297961435ee1e340" ] + "variables" : [ "queueapitestsdeletemessage97327b25c87c9841f43" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs0.json index 7dae688fbf2ff..e62c280970824 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs0.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs0693965ccc692d", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs045006ac47888e", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "68c1843a-4fb6-417f-b778-25c2a58a0c4e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d3ebd8f-3a8c-4d2c-98f0-41c22c15ffec" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a9a4aa96-a003-0116-46fc-84b7bd000000", - "Date" : "Thu, 17 Oct 2019 15:06:50 GMT" + "x-ms-request-id" : "d25b8277-f003-0012-3b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:42 GMT", + "x-ms-client-request-id" : "2d3ebd8f-3a8c-4d2c-98f0-41c22c15ffec" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs0693965ccc692d/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs045006ac47888e/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "4358d887-a3bf-40d4-b776-3aa6e864f580", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "01db2b3b-e576-4ed8-b33d-9801287d8668", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a9a4aae9-a003-0116-0bfc-84b7bd000000", - "Body" : "0e4d5847-0aa4-463a-9e43-698deb9b5ad5Thu, 17 Oct 2019 15:06:50 GMTThu, 24 Oct 2019 15:06:50 GMTAgAAAAMAAAAAAAAAdaACgfyE1QE=Thu, 17 Oct 2019 15:06:50 GMT", - "Date" : "Thu, 17 Oct 2019 15:06:50 GMT", + "x-ms-request-id" : "d25b8279-f003-0012-3c71-e0e9eb000000", + "Body" : "c1fe7b30-1c1d-43e7-934e-00f628a0e22dTue, 11 Feb 2020 00:24:44 GMTTue, 18 Feb 2020 00:24:44 GMTAgAAAAMAAAAAAAAAvb1/qHHg1QE=Tue, 11 Feb 2020 00:24:44 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:44 GMT", + "x-ms-client-request-id" : "01db2b3b-e576-4ed8-b33d-9801287d8668", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs0693965ccc692d/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs045006ac47888e/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "58c03a32-39e8-4c9f-bea6-dcc1342488b9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca3dafbf-1d9d-4c8f-8f5c-424411b58dd9" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a9a4ab0c-a003-0116-25fc-84b7bd000000", - "Body" : "0e4d5847-0aa4-463a-9e43-698deb9b5ad5Thu, 17 Oct 2019 15:06:50 GMTThu, 24 Oct 2019 15:06:50 GMTAgAAAAMAAAAAAAAADfv1kvyE1QE=Thu, 17 Oct 2019 15:07:20 GMT1test message", - "Date" : "Thu, 17 Oct 2019 15:06:50 GMT", + "x-ms-request-id" : "d25b827a-f003-0012-3d71-e0e9eb000000", + "Body" : "c1fe7b30-1c1d-43e7-934e-00f628a0e22dTue, 11 Feb 2020 00:24:44 GMTTue, 18 Feb 2020 00:24:44 GMTAgAAAAMAAAAAAAAAgERtunHg1QE=Tue, 11 Feb 2020 00:25:14 GMT1test message", + "Date" : "Tue, 11 Feb 2020 00:24:44 GMT", + "x-ms-client-request-id" : "ca3dafbf-1d9d-4c8f-8f5c-424411b58dd9", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs0693965ccc692d/messages/0e4d5847-0aa4-463a-9e43-698deb9b5ad5?popreceipt=AgAAAAMAAAAAAAAADfv1kvyE1QE%3dRandom", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs045006ac47888e/messages/c1fe7b30-1c1d-43e7-934e-00f628a0e22d?popreceipt=AgAAAAMAAAAAAAAAgERtunHg1QE%3dRandom", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "e409f8c7-49a2-4059-9c58-c65e71eb233f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8a5a0e85-1998-428d-bedb-a03357cb62f7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidQueryParameterValue", "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "a9a4ab24-a003-0116-38fc-84b7bd000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:a9a4ab24-a003-0116-38fc-84b7bd000000\nTime:2019-10-17T15:06:51.0297716ZpopreceiptAgAAAAMAAAAAAAAADfv1kvyE1QE=RandomInvalid pop receipt format", - "Date" : "Thu, 17 Oct 2019 15:06:50 GMT", + "x-ms-request-id" : "d25b827c-f003-0012-3e71-e0e9eb000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d25b827c-f003-0012-3e71-e0e9eb000000\nTime:2020-02-11T00:24:44.2083591ZpopreceiptAgAAAAMAAAAAAAAAgERtunHg1QE=RandomInvalid pop receipt format", + "Date" : "Tue, 11 Feb 2020 00:24:44 GMT", + "x-ms-client-request-id" : "8a5a0e85-1998-428d-bedb-a03357cb62f7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsdeletemessageinvalidargs0693965ccc692d" ] + "variables" : [ "queueapitestsdeletemessageinvalidargs045006ac47888e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs1.json index 911e360487ebc..3307e9a964d9a 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs1.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs158993525f167d", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs160529f47f0d20", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "2b3eaab8-e196-4958-9762-7a070eeb2a88" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2af8cab5-8c2c-4658-a195-ca57c5b8568a" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a9a4ab6d-a003-0116-77fc-84b7bd000000", - "Date" : "Thu, 17 Oct 2019 15:06:50 GMT" + "x-ms-request-id" : "d25b827d-f003-0012-3f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:44 GMT", + "x-ms-client-request-id" : "2af8cab5-8c2c-4658-a195-ca57c5b8568a" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs158993525f167d/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs160529f47f0d20/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "63ee82a1-e10b-44e3-8e72-6b4f23a45564", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bf08a15a-64e1-4d7e-a809-8e28737506d9", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a9a4ab90-a003-0116-0ffc-84b7bd000000", - "Body" : "584ad941-5468-44fe-b1ca-7c54141653caThu, 17 Oct 2019 15:06:51 GMTThu, 24 Oct 2019 15:06:51 GMTAgAAAAMAAAAAAAAAvIFSgfyE1QE=Thu, 17 Oct 2019 15:06:51 GMT", - "Date" : "Thu, 17 Oct 2019 15:06:51 GMT", + "x-ms-request-id" : "d25b827f-f003-0012-4071-e0e9eb000000", + "Body" : "051acf74-fccf-45a3-baa6-83a22eeaf73dTue, 11 Feb 2020 00:24:44 GMTTue, 18 Feb 2020 00:24:44 GMTAgAAAAMAAAAAAAAA8BjNqHHg1QE=Tue, 11 Feb 2020 00:24:44 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:44 GMT", + "x-ms-client-request-id" : "bf08a15a-64e1-4d7e-a809-8e28737506d9", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs158993525f167d/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs160529f47f0d20/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "4370debc-f6bb-4253-83c0-5d26b05c8866" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "723b6ce6-8349-4f02-a6d4-a5e09708def5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a9a4ab9c-a003-0116-1bfc-84b7bd000000", - "Body" : "584ad941-5468-44fe-b1ca-7c54141653caThu, 17 Oct 2019 15:06:51 GMTThu, 24 Oct 2019 15:06:51 GMTAgAAAAMAAAAAAAAAHWQ8k/yE1QE=Thu, 17 Oct 2019 15:07:21 GMT1test message", - "Date" : "Thu, 17 Oct 2019 15:06:51 GMT", + "x-ms-request-id" : "d25b8280-f003-0012-4171-e0e9eb000000", + "Body" : "051acf74-fccf-45a3-baa6-83a22eeaf73dTue, 11 Feb 2020 00:24:44 GMTTue, 18 Feb 2020 00:24:44 GMTAgAAAAMAAAAAAAAA4VS6unHg1QE=Tue, 11 Feb 2020 00:25:14 GMT1test message", + "Date" : "Tue, 11 Feb 2020 00:24:44 GMT", + "x-ms-client-request-id" : "723b6ce6-8349-4f02-a6d4-a5e09708def5", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs158993525f167d/messages/584ad941-5468-44fe-b1ca-7c54141653caRandom?popreceipt=AgAAAAMAAAAAAAAAHWQ8k/yE1QE%3d", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs160529f47f0d20/messages/051acf74-fccf-45a3-baa6-83a22eeaf73dRandom?popreceipt=AgAAAAMAAAAAAAAA4VS6unHg1QE%3d", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "aeec12ed-a37e-47c4-aa7c-8ca9b41ce8ad" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4abf2bbf-bf09-43c8-a596-de1c070eea7a" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "MessageNotFound", "retry-after" : "0", "Content-Length" : "221", "StatusCode" : "404", - "x-ms-request-id" : "a9a4aba1-a003-0116-20fc-84b7bd000000", - "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:a9a4aba1-a003-0116-20fc-84b7bd000000\nTime:2019-10-17T15:06:53.5111227Z", - "Date" : "Thu, 17 Oct 2019 15:06:53 GMT", + "x-ms-request-id" : "d25b8281-f003-0012-4271-e0e9eb000000", + "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:d25b8281-f003-0012-4271-e0e9eb000000\nTime:2020-02-11T00:24:44.7493613Z", + "Date" : "Tue, 11 Feb 2020 00:24:44 GMT", + "x-ms-client-request-id" : "4abf2bbf-bf09-43c8-a596-de1c070eea7a", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsdeletemessageinvalidargs158993525f167d" ] + "variables" : [ "queueapitestsdeletemessageinvalidargs160529f47f0d20" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs2.json index 5f085d02f7681..f303019100f64 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteMessageInvalidArgs2.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs251533bfef3787", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs2913712e250e25", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "3b9fb66a-7bf8-4ccb-ac20-242802c3c5ce" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "949681d9-6be8-437d-b3e0-cae359461965" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a9a4ada8-a003-0116-69fc-84b7bd000000", - "Date" : "Thu, 17 Oct 2019 15:06:53 GMT" + "x-ms-request-id" : "d25b8282-f003-0012-4371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:44 GMT", + "x-ms-client-request-id" : "949681d9-6be8-437d-b3e0-cae359461965" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs251533bfef3787/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs2913712e250e25/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "367429ef-d71e-488e-8555-7102544eef04", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d7cebb51-0a6e-4e8f-92ad-72c341fd3845", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a9a4adae-a003-0116-6dfc-84b7bd000000", - "Body" : "83ab1871-2c2a-4c73-9763-f3d16c6338beThu, 17 Oct 2019 15:06:53 GMTThu, 24 Oct 2019 15:06:53 GMTAgAAAAMAAAAAAAAAn265gvyE1QE=Thu, 17 Oct 2019 15:06:53 GMT", - "Date" : "Thu, 17 Oct 2019 15:06:53 GMT", + "x-ms-request-id" : "d25b8284-f003-0012-4471-e0e9eb000000", + "Body" : "5ec80590-eef3-43de-aa34-076ecb85f567Tue, 11 Feb 2020 00:24:45 GMTTue, 18 Feb 2020 00:24:45 GMTAgAAAAMAAAAAAAAAR6YfqXHg1QE=Tue, 11 Feb 2020 00:24:45 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:45 GMT", + "x-ms-client-request-id" : "d7cebb51-0a6e-4e8f-92ad-72c341fd3845", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs251533bfef3787/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs2913712e250e25/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "80f16805-1c5d-4225-a674-494e19db2c2f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b67eafec-4987-4415-885c-65704c426e55" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a9a4adb3-a003-0116-72fc-84b7bd000000", - "Body" : "83ab1871-2c2a-4c73-9763-f3d16c6338beThu, 17 Oct 2019 15:06:53 GMTThu, 24 Oct 2019 15:06:53 GMTAgAAAAMAAAAAAAAAE/GhlPyE1QE=Thu, 17 Oct 2019 15:07:23 GMT1test message", - "Date" : "Thu, 17 Oct 2019 15:06:53 GMT", + "x-ms-request-id" : "d25b8285-f003-0012-4571-e0e9eb000000", + "Body" : "5ec80590-eef3-43de-aa34-076ecb85f567Tue, 11 Feb 2020 00:24:45 GMTTue, 18 Feb 2020 00:24:45 GMTAgAAAAMAAAAAAAAA5C0Nu3Hg1QE=Tue, 11 Feb 2020 00:25:15 GMT1test message", + "Date" : "Tue, 11 Feb 2020 00:24:45 GMT", + "x-ms-client-request-id" : "b67eafec-4987-4415-885c-65704c426e55", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletemessageinvalidargs251533bfef3787/messages/83ab1871-2c2a-4c73-9763-f3d16c6338beRandom?popreceipt=AgAAAAMAAAAAAAAAE/GhlPyE1QE%3dRandom", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletemessageinvalidargs2913712e250e25/messages/5ec80590-eef3-43de-aa34-076ecb85f567Random?popreceipt=AgAAAAMAAAAAAAAA5C0Nu3Hg1QE%3dRandom", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_221; Windows 10 10.0", - "x-ms-client-request-id" : "0b1f393f-c361-4580-8015-f8105520cc68" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d362c17b-5061-414d-a19b-bf0b896139f4" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidQueryParameterValue", "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "a9a4adbe-a003-0116-7bfc-84b7bd000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:a9a4adbe-a003-0116-7bfc-84b7bd000000\nTime:2019-10-17T15:06:53.8033991ZpopreceiptAgAAAAMAAAAAAAAAE/GhlPyE1QE=RandomInvalid pop receipt format", - "Date" : "Thu, 17 Oct 2019 15:06:53 GMT", + "x-ms-request-id" : "d25b8286-f003-0012-4671-e0e9eb000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d25b8286-f003-0012-4671-e0e9eb000000\nTime:2020-02-11T00:24:45.2243647ZpopreceiptAgAAAAMAAAAAAAAA5C0Nu3Hg1QE=RandomInvalid pop receipt format", + "Date" : "Tue, 11 Feb 2020 00:24:45 GMT", + "x-ms-client-request-id" : "d362c17b-5061-414d-a19b-bf0b896139f4", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsdeletemessageinvalidargs251533bfef3787" ] + "variables" : [ "queueapitestsdeletemessageinvalidargs2913712e250e25" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteQueueError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteQueueError.json index 7d532cb2b5e55..72ccd44247277 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteQueueError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDeleteQueueError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdeletequeueerror924997c47581cd4884", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdeletequeueerror218429927a27d392a4", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7e7d55fa-e03b-4649-b6bc-e2cbdb1b2393" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "99ba9b8f-4ee1-4644-b97e-72f4238b5b3e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e7cc5-f003-0082-6f8d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e7cc5-f003-0082-6f8d-839126000000\nTime:2019-10-15T19:19:35.3293499Z", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT", + "x-ms-request-id" : "d25b81f7-f003-0012-6271-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b81f7-f003-0012-6271-e0e9eb000000\nTime:2020-02-11T00:24:32.1532729Z", + "Date" : "Tue, 11 Feb 2020 00:24:31 GMT", + "x-ms-client-request-id" : "99ba9b8f-4ee1-4644-b97e-72f4238b5b3e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsdeletequeueerror924997c47581cd4884" ] + "variables" : [ "queueapitestsdeletequeueerror218429927a27d392a4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueMessage.json index 978d8891fc56d..5be9b96cb903c 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueMessage.json @@ -1,67 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuemessage015079d7e8b9144b04f", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuemessage727606600201a217c4a", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "8f432113-d710-4ddd-8fcb-a924e7b88255" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9f9ece77-ee11-4b5a-9c94-f091582c2ed6" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a82aaa1c-1003-010f-7309-859bd5000000", - "Date" : "Thu, 17 Oct 2019 16:38:29 GMT", - "x-ms-client-request-id" : "8f432113-d710-4ddd-8fcb-a924e7b88255" + "x-ms-request-id" : "d25b8246-f003-0012-1871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:38 GMT", + "x-ms-client-request-id" : "9f9ece77-ee11-4b5a-9c94-f091582c2ed6" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuemessage015079d7e8b9144b04f/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuemessage727606600201a217c4a/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "e3b22838-0070-441c-87f0-187f71a10efa", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2cc48840-5ece-4b99-9afa-ab97d91e1a37", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a82aaa2e-1003-010f-0109-859bd5000000", - "Body" : "ffb01fdc-934c-4abe-a8b1-97143bb8cecbThu, 17 Oct 2019 16:38:30 GMTThu, 24 Oct 2019 16:38:30 GMTAgAAAAMAAAAAAAAApAffTgmF1QE=Thu, 17 Oct 2019 16:38:30 GMT", - "Date" : "Thu, 17 Oct 2019 16:38:30 GMT", - "x-ms-client-request-id" : "e3b22838-0070-441c-87f0-187f71a10efa", + "x-ms-request-id" : "d25b8248-f003-0012-1971-e0e9eb000000", + "Body" : "4aa4c2ab-bfc7-4fe3-a265-5bbdefdf9077Tue, 11 Feb 2020 00:24:39 GMTTue, 18 Feb 2020 00:24:39 GMTAgAAAAMAAAAAAAAAlVnppXHg1QE=Tue, 11 Feb 2020 00:24:39 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:38 GMT", + "x-ms-client-request-id" : "2cc48840-5ece-4b99-9afa-ab97d91e1a37", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuemessage015079d7e8b9144b04f/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuemessage727606600201a217c4a/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "54d2d744-8a71-4a65-865b-845f753a7ac4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea9cb0ad-046e-40fa-931b-8f8b1ff6a3c0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a82aaa33-1003-010f-0609-859bd5000000", - "Body" : "ffb01fdc-934c-4abe-a8b1-97143bb8cecbThu, 17 Oct 2019 16:38:30 GMTThu, 24 Oct 2019 16:38:30 GMTAgAAAAMAAAAAAAAA7VfNYAmF1QE=Thu, 17 Oct 2019 16:39:00 GMT1test message", - "Date" : "Thu, 17 Oct 2019 16:38:30 GMT", - "x-ms-client-request-id" : "54d2d744-8a71-4a65-865b-845f753a7ac4", + "x-ms-request-id" : "d25b8249-f003-0012-1a71-e0e9eb000000", + "Body" : "4aa4c2ab-bfc7-4fe3-a265-5bbdefdf9077Tue, 11 Feb 2020 00:24:39 GMTTue, 18 Feb 2020 00:24:39 GMTAgAAAAMAAAAAAAAAw6bXt3Hg1QE=Tue, 11 Feb 2020 00:25:09 GMT1test message", + "Date" : "Tue, 11 Feb 2020 00:24:38 GMT", + "x-ms-client-request-id" : "ea9cb0ad-046e-40fa-931b-8f8b1ff6a3c0", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsdequeuemessage015079d7e8b9144b04f" ] + "variables" : [ "queueapitestsdequeuemessage727606600201a217c4a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueMultipleMessages.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueMultipleMessages.json index e412f0b961931..9f4a630cce096 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueMultipleMessages.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueMultipleMessages.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuemultiplemessages1296217bc0f486", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuemultiplemessages027183a65addaf", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "95380e0d-b970-4c89-ad55-9e51d8a62ad0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d855a615-411a-420e-921b-82514dbacbd1" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e82ee-f003-0082-1b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT" + "x-ms-request-id" : "d25b824a-f003-0012-1b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:39 GMT", + "x-ms-client-request-id" : "d855a615-411a-420e-921b-82514dbacbd1" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuemultiplemessages1296217bc0f486/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuemultiplemessages027183a65addaf/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20906714-549e-410d-a45a-1be6e0efe59a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "07f84f26-e2e2-4915-8653-0bcc24f98ed3", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e82fe-f003-0082-2a8d-839126000000", - "Body" : "8f5c56b1-5b74-486f-aafa-a3f61d404e7eTue, 15 Oct 2019 19:19:39 GMTTue, 22 Oct 2019 19:19:39 GMTAgAAAAMAAAAAAAAA1SKifY2D1QE=Tue, 15 Oct 2019 19:19:39 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT", + "x-ms-request-id" : "d25b824c-f003-0012-1c71-e0e9eb000000", + "Body" : "2a234fa8-0dd3-46cf-80fd-83967b1d8026Tue, 11 Feb 2020 00:24:40 GMTTue, 18 Feb 2020 00:24:40 GMTAgAAAAMAAAAAAAAAkrsrpnHg1QE=Tue, 11 Feb 2020 00:24:40 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:39 GMT", + "x-ms-client-request-id" : "07f84f26-e2e2-4915-8653-0bcc24f98ed3", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuemultiplemessages1296217bc0f486/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuemultiplemessages027183a65addaf/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "290ea2d2-e9d8-4807-9979-d18ae5f742bc", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bb67e327-e49c-4e26-ac45-8174708b4cd7", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e830a-f003-0082-368d-839126000000", - "Body" : "00ef7dd2-1b38-4807-bbe7-4e28802ba61dTue, 15 Oct 2019 19:19:39 GMTTue, 22 Oct 2019 19:19:39 GMTAgAAAAMAAAAAAAAAbaKnfY2D1QE=Tue, 15 Oct 2019 19:19:39 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b824d-f003-0012-1d71-e0e9eb000000", + "Body" : "680008aa-213e-45be-938e-43c6984488dcTue, 11 Feb 2020 00:24:40 GMTTue, 18 Feb 2020 00:24:40 GMTAgAAAAMAAAAAAAAALaI3pnHg1QE=Tue, 11 Feb 2020 00:24:40 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:39 GMT", + "x-ms-client-request-id" : "bb67e327-e49c-4e26-ac45-8174708b4cd7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuemultiplemessages1296217bc0f486/messages?numofmessages=2&visibilitytimeout=30", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuemultiplemessages027183a65addaf/messages?numofmessages=2&visibilitytimeout=30", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "55e6fa59-d6d5-4f7c-a39e-1504deda00e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dd295876-f452-41ab-b760-bb43afbc3454" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8315-f003-0082-408d-839126000000", - "Body" : "8f5c56b1-5b74-486f-aafa-a3f61d404e7eTue, 15 Oct 2019 19:19:39 GMTTue, 22 Oct 2019 19:19:39 GMTAgAAAAMAAAAAAAAAHOyOj42D1QE=Tue, 15 Oct 2019 19:20:09 GMT1test message 100ef7dd2-1b38-4807-bbe7-4e28802ba61dTue, 15 Oct 2019 19:19:39 GMTTue, 22 Oct 2019 19:19:39 GMTAgAAAAMAAAAAAAAAHOyOj42D1QE=Tue, 15 Oct 2019 19:20:09 GMT1test message 2", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b824e-f003-0012-1e71-e0e9eb000000", + "Body" : "2a234fa8-0dd3-46cf-80fd-83967b1d8026Tue, 11 Feb 2020 00:24:40 GMTTue, 18 Feb 2020 00:24:40 GMTAgAAAAMAAAAAAAAANQUluHHg1QE=Tue, 11 Feb 2020 00:25:10 GMT1test message 1680008aa-213e-45be-938e-43c6984488dcTue, 11 Feb 2020 00:24:40 GMTTue, 18 Feb 2020 00:24:40 GMTAgAAAAMAAAAAAAAANQUluHHg1QE=Tue, 11 Feb 2020 00:25:10 GMT1test message 2", + "Date" : "Tue, 11 Feb 2020 00:24:39 GMT", + "x-ms-client-request-id" : "dd295876-f452-41ab-b760-bb43afbc3454", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsdequeuemultiplemessages1296217bc0f486" ] + "variables" : [ "queueapitestsdequeuemultiplemessages027183a65addaf" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueTooManyMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueTooManyMessage.json index eb6c0986c697d..81dacce739d6a 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueTooManyMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsDequeueTooManyMessage.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuetoomanymessage234829c17095689", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuetoomanymessage8719062dda623dc", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "189e3d64-2bc0-45d2-a940-78c18d526ead" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1ceb2c2a-b450-4e5f-a172-3d42bd831ca1" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e833f-f003-0082-648d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT" + "x-ms-request-id" : "d25b824f-f003-0012-1f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:39 GMT", + "x-ms-client-request-id" : "1ceb2c2a-b450-4e5f-a172-3d42bd831ca1" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsdequeuetoomanymessage234829c17095689/messages?numofmessages=33&visibilitytimeout=30", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsdequeuetoomanymessage8719062dda623dc/messages?numofmessages=33&visibilitytimeout=30", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6e40c600-442c-43a3-af6b-00f042976043" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1bd46bb8-b67d-4ed1-9299-8de2d612c456" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeQueryParameterValue", "retry-after" : "0", "Content-Length" : "456", "StatusCode" : "400", - "x-ms-request-id" : "2f7e8350-f003-0082-718d-839126000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:2f7e8350-f003-0082-718d-839126000000\nTime:2019-10-15T19:19:40.0999833Znumofmessages33132", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b8251-f003-0012-2071-e0e9eb000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:d25b8251-f003-0012-2071-e0e9eb000000\nTime:2020-02-11T00:24:40.5853291Znumofmessages33132", + "Date" : "Tue, 11 Feb 2020 00:24:39 GMT", + "x-ms-client-request-id" : "1bd46bb8-b67d-4ed1-9299-8de2d612c456", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsdequeuetoomanymessage234829c17095689" ] + "variables" : [ "queueapitestsdequeuetoomanymessage8719062dda623dc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueEmptyMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueEmptyMessage.json index 62fc0890ccfd8..2874066df10b1 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueEmptyMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueEmptyMessage.json @@ -1,64 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsenqueueemptymessage32762e99da801595", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsenqueueemptymessage71194ccc41f72c71", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6894f2d1-eed5-4b61-a8bc-4549e743a1a4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "123b2ac6-27d7-41bb-86c6-8e6b8e1fb0f1" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e822a-f003-0082-658d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT" + "x-ms-request-id" : "d25b823c-f003-0012-1171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:37 GMT", + "x-ms-client-request-id" : "123b2ac6-27d7-41bb-86c6-8e6b8e1fb0f1" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsenqueueemptymessage32762e99da801595/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsenqueueemptymessage71194ccc41f72c71/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ab2fe030-9d2b-4232-9ac3-bb6eb4257b50", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c8f1af67-d2e5-4fd7-8301-180ea50b0ff1", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8236-f003-0082-6f8d-839126000000", - "Body" : "725fd3de-91c4-4246-b2dc-99b98ee0c44dTue, 15 Oct 2019 19:19:39 GMTTue, 22 Oct 2019 19:19:39 GMTAgAAAAMAAAAAAAAA+VQ9fY2D1QE=Tue, 15 Oct 2019 19:19:39 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT", + "x-ms-request-id" : "d25b823e-f003-0012-1271-e0e9eb000000", + "Body" : "7ea500e4-24f9-4388-b5e1-03a0282ad5d9Tue, 11 Feb 2020 00:24:38 GMTTue, 18 Feb 2020 00:24:38 GMTAgAAAAMAAAAAAAAAl9l1pXHg1QE=Tue, 11 Feb 2020 00:24:38 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:38 GMT", + "x-ms-client-request-id" : "c8f1af67-d2e5-4fd7-8301-180ea50b0ff1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsenqueueemptymessage32762e99da801595/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsenqueueemptymessage71194ccc41f72c71/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "00b80895-df24-499b-9c51-e37d5c183ce1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8de905eb-a353-482e-b1d4-1f0bd00279c9" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8240-f003-0082-798d-839126000000", - "Body" : "725fd3de-91c4-4246-b2dc-99b98ee0c44dTue, 15 Oct 2019 19:19:39 GMTTue, 22 Oct 2019 19:19:39 GMT0", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT", + "x-ms-request-id" : "d25b8241-f003-0012-1571-e0e9eb000000", + "Body" : "7ea500e4-24f9-4388-b5e1-03a0282ad5d9Tue, 11 Feb 2020 00:24:38 GMTTue, 18 Feb 2020 00:24:38 GMT0", + "Date" : "Tue, 11 Feb 2020 00:24:38 GMT", + "x-ms-client-request-id" : "8de905eb-a353-482e-b1d4-1f0bd00279c9", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsenqueueemptymessage32762e99da801595" ] + "variables" : [ "queueapitestsenqueueemptymessage71194ccc41f72c71" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueMessage.json index 8ee8cc3b7d9ea..ba606f7959345 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueMessage.json @@ -1,64 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsenqueuemessage6443101ed4f7b0ee840", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsenqueuemessage58387a685b53301434f", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "49a3bd13-4d5d-427b-b40d-aa49fd498805" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c553407e-917a-4494-8d03-dc9fa1948361" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e81c4-f003-0082-088d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT" + "x-ms-request-id" : "d25b8238-f003-0012-0e71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:37 GMT", + "x-ms-client-request-id" : "c553407e-917a-4494-8d03-dc9fa1948361" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsenqueuemessage6443101ed4f7b0ee840/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsenqueuemessage58387a685b53301434f/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "79729a38-bb3e-4c08-a5d4-d1bebba151b5", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9df7f837-e499-4149-b4c5-8ff687058d68", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e81db-f003-0082-1d8d-839126000000", - "Body" : "a7501c68-b98f-43f9-9ea9-b8a193c21d86Tue, 15 Oct 2019 19:19:39 GMTTue, 22 Oct 2019 19:19:39 GMTAgAAAAMAAAAAAAAA+sgefY2D1QE=Tue, 15 Oct 2019 19:19:39 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT", + "x-ms-request-id" : "d25b823a-f003-0012-0f71-e0e9eb000000", + "Body" : "5da58f50-1958-466f-9de8-83900fb79a5aTue, 11 Feb 2020 00:24:38 GMTTue, 18 Feb 2020 00:24:38 GMTAgAAAAMAAAAAAAAARzY2pXHg1QE=Tue, 11 Feb 2020 00:24:38 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:37 GMT", + "x-ms-client-request-id" : "9df7f837-e499-4149-b4c5-8ff687058d68", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsenqueuemessage6443101ed4f7b0ee840/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsenqueuemessage58387a685b53301434f/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0ca2471f-3e51-4dff-809f-ec1230bc3309" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b260b564-1e33-4bbf-8b5c-ebef8284d788" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e81f2-f003-0082-318d-839126000000", - "Body" : "a7501c68-b98f-43f9-9ea9-b8a193c21d86Tue, 15 Oct 2019 19:19:39 GMTTue, 22 Oct 2019 19:19:39 GMT0test message", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT", + "x-ms-request-id" : "d25b823b-f003-0012-1071-e0e9eb000000", + "Body" : "5da58f50-1958-466f-9de8-83900fb79a5aTue, 11 Feb 2020 00:24:38 GMTTue, 18 Feb 2020 00:24:38 GMT0test message", + "Date" : "Tue, 11 Feb 2020 00:24:37 GMT", + "x-ms-client-request-id" : "b260b564-1e33-4bbf-8b5c-ebef8284d788", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsenqueuemessage6443101ed4f7b0ee840" ] + "variables" : [ "queueapitestsenqueuemessage58387a685b53301434f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueTimeToLive.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueTimeToLive.json index 3ff0f00c500ca..d1671e077ed38 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueTimeToLive.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsEnqueueTimeToLive.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsenqueuetimetolive29404f579c63f6233", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsenqueuetimetolive3193171a009046d07", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b7b13fdc-62e3-4478-af11-6156bf8a3f8f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1b24a7a3-42f2-4698-9009-1c9bc8b1fc9f" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8261-f003-0082-178d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT" + "x-ms-request-id" : "d25b8243-f003-0012-1671-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:38 GMT", + "x-ms-client-request-id" : "1b24a7a3-42f2-4698-9009-1c9bc8b1fc9f" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsenqueuetimetolive29404f579c63f6233/messages?visibilitytimeout=0&messagettl=2", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsenqueuetimetolive3193171a009046d07/messages?visibilitytimeout=0&messagettl=2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a0009381-374f-4fc4-8af7-8659f71869ef", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a2ad8014-cf9b-4028-9964-aec476b1ba2e", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8270-f003-0082-248d-839126000000", - "Body" : "4c9865d5-14a2-4222-930e-a23582eb05daTue, 15 Oct 2019 19:19:39 GMTTue, 15 Oct 2019 19:19:41 GMTAgAAAAMAAAAAAAAAcZZZfY2D1QE=Tue, 15 Oct 2019 19:19:39 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:38 GMT", + "x-ms-request-id" : "d25b8245-f003-0012-1771-e0e9eb000000", + "Body" : "afa74803-b6c1-4f9a-b119-0d75cd6dd259Tue, 11 Feb 2020 00:24:39 GMTTue, 11 Feb 2020 00:24:41 GMTAgAAAAMAAAAAAAAAgFezpXHg1QE=Tue, 11 Feb 2020 00:24:39 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:38 GMT", + "x-ms-client-request-id" : "a2ad8014-cf9b-4028-9964-aec476b1ba2e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsenqueuetimetolive29404f579c63f6233" ] + "variables" : [ "queueapitestsenqueuetimetolive3193171a009046d07" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetAccessPolicy.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetAccessPolicy.json index 21ca3977ee9ae..19875bfa3d0ab 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetAccessPolicy.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetAccessPolicy.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsgetaccesspolicy89573f4d7bd06870f4", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsgetaccesspolicy03192596386c20d964", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a8f6eaf1-8d04-40d6-ac1b-cc3eed029fa5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "76093e49-5080-4d4e-b0fc-0a2c5d5a42a2" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8019-f003-0082-088d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT" + "x-ms-request-id" : "d25b8224-f003-0012-0171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:35 GMT", + "x-ms-client-request-id" : "76093e49-5080-4d4e-b0fc-0a2c5d5a42a2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsgetaccesspolicy89573f4d7bd06870f4?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsgetaccesspolicy03192596386c20d964?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d98faa03-08c5-49b5-921b-3718318789ec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "160f9473-65e1-4462-8b79-bf514fb5eb37" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e802c-f003-0082-1a8d-839126000000", + "x-ms-request-id" : "d25b8226-f003-0012-0271-e0e9eb000000", "Body" : "", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:35 GMT", + "x-ms-client-request-id" : "160f9473-65e1-4462-8b79-bf514fb5eb37", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsgetaccesspolicy89573f4d7bd06870f4" ] + "variables" : [ "queueapitestsgetaccesspolicy03192596386c20d964" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetAccessPolicyError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetAccessPolicyError.json index 3b191c773e3dd..004974655f733 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetAccessPolicyError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetAccessPolicyError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsgetaccesspolicyerror19877c93324375a7?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsgetaccesspolicyerror55067b652d2956b9?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4534bdbc-7dc9-40dc-ad7c-913753d5192e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e09579b3-ed3a-4c8a-afec-e00fa6fb020d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e8052-f003-0082-408d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e8052-f003-0082-408d-839126000000\nTime:2019-10-15T19:19:37.7837310Z", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT", + "x-ms-request-id" : "d25b8228-f003-0012-0371-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b8228-f003-0012-0371-e0e9eb000000\nTime:2020-02-11T00:24:36.7603041Z", + "Date" : "Tue, 11 Feb 2020 00:24:35 GMT", + "x-ms-client-request-id" : "e09579b3-ed3a-4c8a-afec-e00fa6fb020d", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsgetaccesspolicyerror19877c93324375a7" ] + "variables" : [ "queueapitestsgetaccesspolicyerror55067b652d2956b9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetProperties.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetProperties.json index ace0fe0e80750..a5a3d3aad0704 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetProperties.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetProperties.json @@ -1,32 +1,33 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsgetproperties4713928a0f33f52124b", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsgetproperties45062b20abea6a8964c", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0733e00-69c0-4569-a895-d1890036069f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fdcd6210-4eb1-4da0-8108-cfa858be3f23" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7ce7-f003-0082-0f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT" + "x-ms-request-id" : "d25b81f8-f003-0012-6371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:31 GMT", + "x-ms-client-request-id" : "fdcd6210-4eb1-4da0-8108-cfa858be3f23" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsgetproperties4713928a0f33f52124b?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsgetproperties45062b20abea6a8964c?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b9de5efc-96e1-44d9-be85-2dccf38dfd49" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "85ce613f-9d5a-4919-a540-5071f045778c" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -34,10 +35,11 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7cf4-f003-0082-1a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT" + "x-ms-request-id" : "d25b81fa-f003-0012-6471-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:31 GMT", + "x-ms-client-request-id" : "85ce613f-9d5a-4919-a540-5071f045778c" }, "Exception" : null } ], - "variables" : [ "queueapitestsgetproperties4713928a0f33f52124b" ] + "variables" : [ "queueapitestsgetproperties45062b20abea6a8964c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetPropertiesError.json index 6683d5147e913..bc0b97b6f99a1 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetPropertiesError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetPropertiesError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsgetpropertieserror3403359982dcbc1f1?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsgetpropertieserror372835e1a43817a1a?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eaff2bc2-f42a-4d44-a004-ea2d2a90a7f8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "19dd8e87-f3ea-4587-8835-4d24b365572a" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e7d26-f003-0082-488d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e7d26-f003-0082-488d-839126000000\nTime:2019-10-15T19:19:35.6026155Z", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT", + "x-ms-request-id" : "d25b81fb-f003-0012-6571-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b81fb-f003-0012-6571-e0e9eb000000\nTime:2020-02-11T00:24:32.6712723Z", + "Date" : "Tue, 11 Feb 2020 00:24:31 GMT", + "x-ms-client-request-id" : "19dd8e87-f3ea-4587-8835-4d24b365572a", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsgetpropertieserror3403359982dcbc1f1" ] + "variables" : [ "queueapitestsgetpropertieserror372835e1a43817a1a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetQueueName.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetQueueName.json index e010ccaaccbd6..38e7a4048bcf0 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetQueueName.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetQueueName.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueapitestsgetqueuenamequeueapitestsgetqueuename63013232d" ] + "variables" : [ "queueapitestsgetqueuenamequeueapitestsgetqueuename964464640" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetQueueURL.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetQueueURL.json index 23032cdf488f9..d1bea28c58857 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetQueueURL.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsGetQueueURL.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueapitestsgetqueueurlqueueapitestsgetqueueurl63e735262c" ] + "variables" : [ "queueapitestsgetqueueurlqueueapitestsgetqueueurl22e17467a2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsIPBasedEndpoint.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsIPBasedEndpoint.json index 1c7a8514ceb13..4303ef106df2a 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsIPBasedEndpoint.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsIPBasedEndpoint.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueapitestsipbasedendpoint82856204b5f9459724" ] + "variables" : [ "queueapitestsipbasedendpoint607466f22758a781e4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMessage.json index 1a4e2f0b3dbeb..8a40a4c879906 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMessage.json @@ -1,64 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeekmessagequeueapitestspeekmessage5ea73533ae", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeekmessagequeueapitestspeekmessagef2f770737d", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7eeb8416-5f82-4efa-b3e7-fc6bb938332c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c2b48b74-a764-4987-b240-a4789da1a11a" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e837e-f003-0082-178d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT" + "x-ms-request-id" : "d25b8252-f003-0012-2171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:39 GMT", + "x-ms-client-request-id" : "c2b48b74-a764-4987-b240-a4789da1a11a" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeekmessagequeueapitestspeekmessage5ea73533ae/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeekmessagequeueapitestspeekmessagef2f770737d/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3749b39a-ad86-4330-b966-6f5b27044818", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6deea081-c828-4907-8b58-cc5f86ff3ab6", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e838f-f003-0082-268d-839126000000", - "Body" : "5ccdb483-362f-4ca5-926b-a5031aedf1d4Tue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMTAgAAAAMAAAAAAAAA1MzafY2D1QE=Tue, 15 Oct 2019 19:19:40 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b8254-f003-0012-2271-e0e9eb000000", + "Body" : "ab956bbc-8ecd-460f-a3c1-70e50a07df67Tue, 11 Feb 2020 00:24:40 GMTTue, 18 Feb 2020 00:24:40 GMTAgAAAAMAAAAAAAAAUn2lpnHg1QE=Tue, 11 Feb 2020 00:24:40 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:39 GMT", + "x-ms-client-request-id" : "6deea081-c828-4907-8b58-cc5f86ff3ab6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeekmessagequeueapitestspeekmessage5ea73533ae/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeekmessagequeueapitestspeekmessagef2f770737d/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "585edb40-c3fb-4478-aa21-ee8faacbffd0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "25770ce0-140d-40cd-905a-607441a7cc01" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e83a2-f003-0082-378d-839126000000", - "Body" : "5ccdb483-362f-4ca5-926b-a5031aedf1d4Tue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMT0test message", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b8255-f003-0012-2371-e0e9eb000000", + "Body" : "ab956bbc-8ecd-460f-a3c1-70e50a07df67Tue, 11 Feb 2020 00:24:40 GMTTue, 18 Feb 2020 00:24:40 GMT0test message", + "Date" : "Tue, 11 Feb 2020 00:24:40 GMT", + "x-ms-client-request-id" : "25770ce0-140d-40cd-905a-607441a7cc01", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestspeekmessagequeueapitestspeekmessage5ea73533ae" ] + "variables" : [ "queueapitestspeekmessagequeueapitestspeekmessagef2f770737d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMessagesError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMessagesError.json index 901ab87f29598..bc5a05072a7c2 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMessagesError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMessagesError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeekmessageserror94607200734830ad1/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeekmessageserror56919dd356ce454af/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0b45b456-5a0a-4d03-9790-81de0bdcc432" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "50407cc0-c51a-40b4-9fe5-b55c4b9d03b7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e84a7-f003-0082-2f8d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e84a7-f003-0082-2f8d-839126000000\nTime:2019-10-15T19:19:40.7816471Z", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b8262-f003-0012-2a71-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b8262-f003-0012-2a71-e0e9eb000000\nTime:2020-02-11T00:24:42.0363423Z", + "Date" : "Tue, 11 Feb 2020 00:24:41 GMT", + "x-ms-client-request-id" : "50407cc0-c51a-40b4-9fe5-b55c4b9d03b7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestspeekmessageserror94607200734830ad1" ] + "variables" : [ "queueapitestspeekmessageserror56919dd356ce454af" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMultipleMessages.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMultipleMessages.json index ebf4cfb81e546..6c732c362b065 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMultipleMessages.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekMultipleMessages.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeekmultiplemessages354817c0abf662a8", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeekmultiplemessages0968060246b6ae62", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "160bc4b4-55bb-4ed9-971e-5c0905f9fa4b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5ea64260-dc59-404d-b106-8b96265deab0" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e83dc-f003-0082-6d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT" + "x-ms-request-id" : "d25b8258-f003-0012-2471-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:40 GMT", + "x-ms-client-request-id" : "5ea64260-dc59-404d-b106-8b96265deab0" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeekmultiplemessages354817c0abf662a8/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeekmultiplemessages0968060246b6ae62/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "69ccdf44-c083-491a-84eb-c61f0bb00db9", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab01833b-5a1f-4659-846e-8304bb68ec02", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e83e8-f003-0082-788d-839126000000", - "Body" : "23833916-38aa-4646-8c76-99315170f53dTue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMTAgAAAAMAAAAAAAAAidX1fY2D1QE=Tue, 15 Oct 2019 19:19:40 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b825a-f003-0012-2571-e0e9eb000000", + "Body" : "f6a39bdc-0ad2-404a-9366-7148475708b7Tue, 11 Feb 2020 00:24:41 GMTTue, 18 Feb 2020 00:24:41 GMTAgAAAAMAAAAAAAAAw5jjpnHg1QE=Tue, 11 Feb 2020 00:24:41 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:40 GMT", + "x-ms-client-request-id" : "ab01833b-5a1f-4659-846e-8304bb68ec02", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeekmultiplemessages354817c0abf662a8/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeekmultiplemessages0968060246b6ae62/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fd91d310-eeff-4724-b3f8-4609e37bde98", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df8fa078-680f-4347-be92-64648ef75563", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8406-f003-0082-148d-839126000000", - "Body" : "6915f6d0-e5f6-44d5-9c87-960090ea14e1Tue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMTAgAAAAMAAAAAAAAAx/sAfo2D1QE=Tue, 15 Oct 2019 19:19:40 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b825b-f003-0012-2671-e0e9eb000000", + "Body" : "663e087d-fc92-4a6e-a77a-6723ef3fa567Tue, 11 Feb 2020 00:24:41 GMTTue, 18 Feb 2020 00:24:41 GMTAgAAAAMAAAAAAAAAqbjwpnHg1QE=Tue, 11 Feb 2020 00:24:41 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:40 GMT", + "x-ms-client-request-id" : "df8fa078-680f-4347-be92-64648ef75563", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeekmultiplemessages354817c0abf662a8/messages?numofmessages=2&peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeekmultiplemessages0968060246b6ae62/messages?numofmessages=2&peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "54ca1048-a4f4-4c8d-baae-24a71319f6c4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d48d965-8668-4c57-8750-ae4c830f1cdb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e841c-f003-0082-298d-839126000000", - "Body" : "23833916-38aa-4646-8c76-99315170f53dTue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMT0test message 16915f6d0-e5f6-44d5-9c87-960090ea14e1Tue, 15 Oct 2019 19:19:40 GMTTue, 22 Oct 2019 19:19:40 GMT0test message 2", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b825c-f003-0012-2771-e0e9eb000000", + "Body" : "f6a39bdc-0ad2-404a-9366-7148475708b7Tue, 11 Feb 2020 00:24:41 GMTTue, 18 Feb 2020 00:24:41 GMT0test message 1663e087d-fc92-4a6e-a77a-6723ef3fa567Tue, 11 Feb 2020 00:24:41 GMTTue, 18 Feb 2020 00:24:41 GMT0test message 2", + "Date" : "Tue, 11 Feb 2020 00:24:40 GMT", + "x-ms-client-request-id" : "0d48d965-8668-4c57-8750-ae4c830f1cdb", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestspeekmultiplemessages354817c0abf662a8" ] + "variables" : [ "queueapitestspeekmultiplemessages0968060246b6ae62" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekTooManyMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekTooManyMessage.json index d2fe18dc1c548..9e1f448fae79c 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekTooManyMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsPeekTooManyMessage.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeektoomanymessage01075efa08e91441c", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeektoomanymessage31761a0b7d3d41d3b", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3dc75a74-4eb7-4691-b286-29ef6612b917" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "205a6901-b9aa-4fa0-b007-800a5fedb92c" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e845a-f003-0082-648d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT" + "x-ms-request-id" : "d25b825e-f003-0012-2871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:40 GMT", + "x-ms-client-request-id" : "205a6901-b9aa-4fa0-b007-800a5fedb92c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestspeektoomanymessage01075efa08e91441c/messages?numofmessages=33&peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestspeektoomanymessage31761a0b7d3d41d3b/messages?numofmessages=33&peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a265532d-5fb4-497c-80ec-be87d19e1e0e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cc85a0b2-6a9b-453f-8d11-8d4f67f278bb" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeQueryParameterValue", "retry-after" : "0", "Content-Length" : "456", "StatusCode" : "400", - "x-ms-request-id" : "2f7e8471-f003-0082-798d-839126000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:2f7e8471-f003-0082-798d-839126000000\nTime:2019-10-15T19:19:40.6705388Znumofmessages33132", - "Date" : "Tue, 15 Oct 2019 19:19:39 GMT", + "x-ms-request-id" : "d25b8261-f003-0012-2971-e0e9eb000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:d25b8261-f003-0012-2971-e0e9eb000000\nTime:2020-02-11T00:24:41.7993409Znumofmessages33132", + "Date" : "Tue, 11 Feb 2020 00:24:40 GMT", + "x-ms-client-request-id" : "cc85a0b2-6a9b-453f-8d11-8d4f67f278bb", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestspeektoomanymessage01075efa08e91441c" ] + "variables" : [ "queueapitestspeektoomanymessage31761a0b7d3d41d3b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAccessPolicy.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAccessPolicy.json index 5ebaf96582867..d1b311406fb8f 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAccessPolicy.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAccessPolicy.json @@ -1,62 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetaccesspolicy1305816f3f01df8ad4", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetaccesspolicy23960b1e3777ecfe24", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c0d192c-1d68-4eb7-87c8-05f03e1bbf40" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc3dac66-17da-45dc-9e93-43da1bef3645" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e806f-f003-0082-5b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT" + "x-ms-request-id" : "d25b822a-f003-0012-0471-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:36 GMT", + "x-ms-client-request-id" : "bc3dac66-17da-45dc-9e93-43da1bef3645" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetaccesspolicy1305816f3f01df8ad4?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetaccesspolicy23960b1e3777ecfe24?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9ff23a4e-dea9-48c8-a56e-1083a2444c50", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb425e94-5792-4c07-b078-13a88dc4b89a", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8084-f003-0082-6d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT" + "x-ms-request-id" : "d25b822c-f003-0012-0571-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:36 GMT", + "x-ms-client-request-id" : "fb425e94-5792-4c07-b078-13a88dc4b89a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetaccesspolicy1305816f3f01df8ad4?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetaccesspolicy23960b1e3777ecfe24?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2250536d-bd6e-45d4-a7d2-cbe6a226f0e0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "69a8803a-8929-4e29-bee9-34dafcff3fc8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8096-f003-0082-7e8d-839126000000", + "x-ms-request-id" : "d25b822d-f003-0012-0671-e0e9eb000000", "Body" : "testpermission2000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zraup", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:36 GMT", + "x-ms-client-request-id" : "69a8803a-8929-4e29-bee9-34dafcff3fc8", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestssetaccesspolicy1305816f3f01df8ad4" ] + "variables" : [ "queueapitestssetaccesspolicy23960b1e3777ecfe24" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata0.json index db0a5254e62bb..8fa52ecfabd66 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata0.json @@ -1,70 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata021602be4c9a4604b", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata0010922d3e7ef47c3", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d8049885-f87f-46ec-aaee-f834d5e998f3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f18e86c2-594d-4f98-b9b3-0bc572efb258" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7d4c-f003-0082-6a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT" + "x-ms-request-id" : "d25b81fd-f003-0012-6671-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "f18e86c2-594d-4f98-b9b3-0bc572efb258" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata021602be4c9a4604b?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata0010922d3e7ef47c3?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "60815f94-ae2e-4e44-accf-5597955a505e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5372d0aa-ac54-429c-80d3-70d2de522116" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7d5c-f003-0082-788d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:34 GMT" + "x-ms-request-id" : "d25b81ff-f003-0012-6771-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "5372d0aa-ac54-429c-80d3-70d2de522116" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata021602be4c9a4604b?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata0010922d3e7ef47c3?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "03ee1854-4a46-49d7-b2fe-1b73dcf252e3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f7696fa7-5f4e-4c42-a234-34f0938f3158" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e7d70-f003-0082-0b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8200-f003-0012-6871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "f7696fa7-5f4e-4c42-a234-34f0938f3158" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata021602be4c9a4604b?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata0010922d3e7ef47c3?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5f2ac938-250b-4b69-9aea-cb9005918a0e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "da7441b4-9946-49d5-bf44-0ee923f3efef" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -72,10 +75,11 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7de9-f003-0082-7e8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8201-f003-0012-6971-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "da7441b4-9946-49d5-bf44-0ee923f3efef" }, "Exception" : null } ], - "variables" : [ "queueapitestssetandclearmetadata021602be4c9a4604b" ] + "variables" : [ "queueapitestssetandclearmetadata0010922d3e7ef47c3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata1.json index ae73f3e003c89..19dd0ba58a557 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata1.json @@ -1,32 +1,33 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata144765ab697d81d9f", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata1130902bf1813c173", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "37fa2bf5-c3a7-4074-be88-a6c015630680" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f2e3f1e3-13f4-40fd-81cf-b3e85c447fcd" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7e20-f003-0082-318d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8203-f003-0012-6a71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "f2e3f1e3-13f4-40fd-81cf-b3e85c447fcd" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata144765ab697d81d9f?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata1130902bf1813c173?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a616d2b2-4dfc-4d5d-ae30-6a5791a06b96" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d7e80de0-9308-4ecc-87ce-0352b4c32db9" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", @@ -34,38 +35,40 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7e2b-f003-0082-3b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8205-f003-0012-6b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "d7e80de0-9308-4ecc-87ce-0352b4c32db9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata144765ab697d81d9f?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata1130902bf1813c173?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a1ea150a-5970-475b-8f63-f923f2e450e4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e4f1f390-50d0-4303-babd-d56acfc1bb00" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e7e34-f003-0082-448d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8206-f003-0012-6c71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "e4f1f390-50d0-4303-babd-d56acfc1bb00" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata144765ab697d81d9f?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata1130902bf1813c173?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cb93ae7b-ce1e-47ef-bcbb-2f91332d12fe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "40cb6b5a-f848-4cd2-ace0-d0c1d5a83355" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -73,10 +76,11 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7e3b-f003-0082-4b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8207-f003-0012-6d71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "40cb6b5a-f848-4cd2-ace0-d0c1d5a83355" }, "Exception" : null } ], - "variables" : [ "queueapitestssetandclearmetadata144765ab697d81d9f" ] + "variables" : [ "queueapitestssetandclearmetadata1130902bf1813c173" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata2.json index 80437b40ce289..b011803192afa 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata2.json @@ -1,32 +1,33 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata230534170307ba0ae", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata218479c2a64a7c8d4", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0fbf5b76-8925-46c8-8d8e-b97516318b84" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f968a540-77e3-4c10-b150-ad1649674f88" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7e5c-f003-0082-6b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8208-f003-0012-6e71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:32 GMT", + "x-ms-client-request-id" : "f968a540-77e3-4c10-b150-ad1649674f88" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata230534170307ba0ae?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata218479c2a64a7c8d4?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0ae75151-7980-4a84-9188-fd0cef66ef46" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "320c35ea-f2f2-4a5b-a3cb-9930e621cfaa" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", @@ -34,48 +35,51 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7e64-f003-0082-728d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b820a-f003-0012-6f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:33 GMT", + "x-ms-client-request-id" : "320c35ea-f2f2-4a5b-a3cb-9930e621cfaa" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata230534170307ba0ae?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata218479c2a64a7c8d4?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cf9b7943-c812-46c7-9be9-b4bb88717f50" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "706af1e4-05f0-40f2-833d-8ff5b08ad956" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e7e6c-f003-0082-7a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b820b-f003-0012-7071-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:33 GMT", + "x-ms-client-request-id" : "706af1e4-05f0-40f2-833d-8ff5b08ad956" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata230534170307ba0ae?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata218479c2a64a7c8d4?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "284caa5b-e8f6-48e6-97a2-262940965d36" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93f143ba-9a7d-47e7-9f79-9c14a32ae1a7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7e7a-f003-0082-088d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b820c-f003-0012-7171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:33 GMT", + "x-ms-client-request-id" : "93f143ba-9a7d-47e7-9f79-9c14a32ae1a7" }, "Exception" : null } ], - "variables" : [ "queueapitestssetandclearmetadata230534170307ba0ae" ] + "variables" : [ "queueapitestssetandclearmetadata218479c2a64a7c8d4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata3.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata3.json index 4a059fb755197..26dbe5753c51f 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata3.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata3.json @@ -1,32 +1,33 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata388378170769205a7", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata359173783a5d5acaf", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a7947c92-321e-4d08-a7a7-b057c9809e25" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f92e73f1-56be-4b8f-a898-95d854bdfebc" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7e8d-f003-0082-1a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b820e-f003-0012-7271-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:33 GMT", + "x-ms-client-request-id" : "f92e73f1-56be-4b8f-a898-95d854bdfebc" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata388378170769205a7?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata359173783a5d5acaf?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c83d7c1f-5c8d-4ca4-81bd-c2b4e8d42a03" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "063fc07b-5d00-4bdf-a17c-e10d967518c0" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -34,38 +35,40 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7e9f-f003-0082-278d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8210-f003-0012-7371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:33 GMT", + "x-ms-client-request-id" : "063fc07b-5d00-4bdf-a17c-e10d967518c0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata388378170769205a7?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata359173783a5d5acaf?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0fb0788a-4991-4c34-b374-b7b8b0d7367f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cfb9cea6-8f17-4683-8b00-2949fa5a9fd7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e7ea8-f003-0082-2f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8211-f003-0012-7471-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:33 GMT", + "x-ms-client-request-id" : "cfb9cea6-8f17-4683-8b00-2949fa5a9fd7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata388378170769205a7?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata359173783a5d5acaf?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8c738b7-47bf-40d9-beea-2ac362494ae2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c2e7c113-435e-4905-9387-23c94db72ba7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -73,10 +76,11 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7eaf-f003-0082-368d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8212-f003-0012-7571-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:33 GMT", + "x-ms-client-request-id" : "c2e7c113-435e-4905-9387-23c94db72ba7" }, "Exception" : null } ], - "variables" : [ "queueapitestssetandclearmetadata388378170769205a7" ] + "variables" : [ "queueapitestssetandclearmetadata359173783a5d5acaf" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata4.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata4.json index 9974bbaa3dae2..64bd29a8abfce 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata4.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetAndClearMetadata4.json @@ -1,80 +1,84 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata413335f824643bd9a", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata4526814d7bec66072", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2213e72f-7894-482f-97bb-aa55019986d3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "db5d4094-babd-48a8-9a38-2c9aaf5e8baf" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7ed3-f003-0082-598d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8213-f003-0012-7671-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:33 GMT", + "x-ms-client-request-id" : "db5d4094-babd-48a8-9a38-2c9aaf5e8baf" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata413335f824643bd9a?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata4526814d7bec66072?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "882eedae-a366-4551-b824-c0aa8ca5e710" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b8c65190-fdd5-425c-b5a0-5915a4b7e274" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7edb-f003-0082-5f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:35 GMT" + "x-ms-request-id" : "d25b8215-f003-0012-7771-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:34 GMT", + "x-ms-client-request-id" : "b8c65190-fdd5-425c-b5a0-5915a4b7e274" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata413335f824643bd9a?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata4526814d7bec66072?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e0116af0-5cdb-4f20-91a5-ec4adc03965c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4057f8b4-d0f2-4b50-8449-96bc9635681b" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e7ee2-f003-0082-668d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT" + "x-ms-request-id" : "d25b8216-f003-0012-7871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:34 GMT", + "x-ms-client-request-id" : "4057f8b4-d0f2-4b50-8449-96bc9635681b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetandclearmetadata413335f824643bd9a?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetandclearmetadata4526814d7bec66072?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f86f5e6b-2292-4fb9-85f2-733ff10e60e8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2a77740e-89da-4fc9-b4d9-ab43bad6b535" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e7ef1-f003-0082-728d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT" + "x-ms-request-id" : "d25b8217-f003-0012-7971-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:34 GMT", + "x-ms-client-request-id" : "2a77740e-89da-4fc9-b4d9-ab43bad6b535" }, "Exception" : null } ], - "variables" : [ "queueapitestssetandclearmetadata413335f824643bd9a" ] + "variables" : [ "queueapitestssetandclearmetadata4526814d7bec66072" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidAccessPolicy.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidAccessPolicy.json index 2b3166c82b60b..957dc5d50c774 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidAccessPolicy.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidAccessPolicy.json @@ -1,44 +1,46 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetinvalidaccesspolicy486737b7c15e1ef", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetinvalidaccesspolicy79805e528a4acce", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2e27961c-c049-4d04-83d8-9da70308f4a9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "18c3000d-ea44-4bee-8e8b-909b1aec590e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e80be-f003-0082-208d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT" + "x-ms-request-id" : "d25b822e-f003-0012-0771-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:36 GMT", + "x-ms-client-request-id" : "18c3000d-ea44-4bee-8e8b-909b1aec590e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetinvalidaccesspolicy486737b7c15e1ef?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetinvalidaccesspolicy79805e528a4acce?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad4a9d0f-91c7-4426-96b7-f0d25dc44004", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c64ab56d-6c14-4a68-a027-904af05ddcc9", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "371", "StatusCode" : "400", - "x-ms-request-id" : "2f7e80cb-f003-0082-2a8d-839126000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:2f7e80cb-f003-0082-2a8d-839126000000\nTime:2019-10-15T19:19:38.4003327Z1304Signed identifier ID cannot be empty or over 64 characters in length", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT", + "x-ms-request-id" : "d25b8230-f003-0012-0871-e0e9eb000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:d25b8230-f003-0012-0871-e0e9eb000000\nTime:2020-02-11T00:24:37.4553149Z1304Signed identifier ID cannot be empty or over 64 characters in length", + "Date" : "Tue, 11 Feb 2020 00:24:36 GMT", + "x-ms-client-request-id" : "c64ab56d-6c14-4a68-a027-904af05ddcc9", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestssetinvalidaccesspolicy486737b7c15e1ef" ] + "variables" : [ "queueapitestssetinvalidaccesspolicy79805e528a4acce" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta0.json index 2d0692dc65d30..5657c015070eb 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta0.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetinvalidmeta086648e83f05f4ebee4", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetinvalidmeta0146499e12c61191144", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "00dac485-c53c-4559-a4bc-0bf1adbaa813" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b5ed213-0ed6-47e8-a483-01383edb8405" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7f33-f003-0082-308d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT" + "x-ms-request-id" : "d25b821a-f003-0012-7b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:34 GMT", + "x-ms-client-request-id" : "6b5ed213-0ed6-47e8-a483-01383edb8405" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetinvalidmeta086648e83f05f4ebee4?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetinvalidmeta0146499e12c61191144?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6daedd01-d5ab-4967-b1e9-1c30e75d1de0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6f0e3157-4933-44a8-8a8f-c972cdf869c2" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "2f7e7f44-f003-0082-3d8d-839126000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:2f7e7f44-f003-0082-3d8d-839126000000\nTime:2019-10-15T19:19:37.2071697Z", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT", + "x-ms-request-id" : "d25b821c-f003-0012-7c71-e0e9eb000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:d25b821c-f003-0012-7c71-e0e9eb000000\nTime:2020-02-11T00:24:35.5352958Z", + "Date" : "Tue, 11 Feb 2020 00:24:34 GMT", + "x-ms-client-request-id" : "6f0e3157-4933-44a8-8a8f-c972cdf869c2", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestssetinvalidmeta086648e83f05f4ebee4" ] + "variables" : [ "queueapitestssetinvalidmeta0146499e12c61191144" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta1.json index 2a2c0a1236b12..a8a87bc91a0d6 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta1.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetinvalidmeta111837d46bcf37a07f4", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetinvalidmeta193141b15e963af1e14", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "60fbef82-aa98-4197-9b23-c6e1609b2123" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "67f0a18a-ed92-466d-82a1-6f8c346b13e5" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7f7a-f003-0082-708d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT" + "x-ms-request-id" : "d25b821d-f003-0012-7d71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:34 GMT", + "x-ms-client-request-id" : "67f0a18a-ed92-466d-82a1-6f8c346b13e5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetinvalidmeta111837d46bcf37a07f4?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetinvalidmeta193141b15e963af1e14?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "62e1b275-4a04-4407-a7c7-aedef04a6c7b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b1ab999b-5137-423c-9306-d9a13d4482d6" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "2f7e7f94-f003-0082-088d-839126000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:2f7e7f94-f003-0082-088d-839126000000\nTime:2019-10-15T19:19:37.3653244Z", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT", + "x-ms-request-id" : "d25b821f-f003-0012-7e71-e0e9eb000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:d25b821f-f003-0012-7e71-e0e9eb000000\nTime:2020-02-11T00:24:35.8482977Z", + "Date" : "Tue, 11 Feb 2020 00:24:35 GMT", + "x-ms-client-request-id" : "b1ab999b-5137-423c-9306-d9a13d4482d6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestssetinvalidmeta111837d46bcf37a07f4" ] + "variables" : [ "queueapitestssetinvalidmeta193141b15e963af1e14" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta2.json index b64ac64e51190..2b44011f1d70e 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetInvalidMeta2.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetinvalidmeta2947234692e3af43644", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetinvalidmeta2226897119013581be4", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4d07e3df-7d37-4ba9-8361-bb9430e10147" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b3a95db9-eb3e-4b2a-99b3-786410ee45a6" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e7fd8-f003-0082-4b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT" + "x-ms-request-id" : "d25b8220-f003-0012-7f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:35 GMT", + "x-ms-client-request-id" : "b3a95db9-eb3e-4b2a-99b3-786410ee45a6" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetinvalidmeta2947234692e3af43644?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetinvalidmeta2226897119013581be4?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "24d9c4c5-4861-4e94-b579-95c3943ceb32" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aef50a35-9ed5-45d7-b920-28c870b45e29" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "2f7e7feb-f003-0082-5d8d-839126000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:2f7e7feb-f003-0082-5d8d-839126000000\nTime:2019-10-15T19:19:37.5034579Zvalue", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT", + "x-ms-request-id" : "d25b8223-f003-0012-8071-e0e9eb000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:d25b8223-f003-0012-8071-e0e9eb000000\nTime:2020-02-11T00:24:36.1773066Zvalue", + "Date" : "Tue, 11 Feb 2020 00:24:35 GMT", + "x-ms-client-request-id" : "aef50a35-9ed5-45d7-b920-28c870b45e29", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestssetinvalidmeta2947234692e3af43644" ] + "variables" : [ "queueapitestssetinvalidmeta2226897119013581be4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetMetadataQueueError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetMetadataQueueError.json index 9078f00b2dcb3..89bc9476fff27 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetMetadataQueueError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetMetadataQueueError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetmetadataqueueerror62614617fed129a?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetmetadataqueueerror25772daaf4c54ca?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "323adced-38e4-4601-a873-43039bdb0dae" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f113917-404b-477f-8331-a1627fe21227" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e7f1e-f003-0082-1c8d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e7f1e-f003-0082-1c8d-839126000000\nTime:2019-10-15T19:19:37.1050703Z", - "Date" : "Tue, 15 Oct 2019 19:19:36 GMT", + "x-ms-request-id" : "d25b8218-f003-0012-7a71-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b8218-f003-0012-7a71-e0e9eb000000\nTime:2020-02-11T00:24:35.2872938Z", + "Date" : "Tue, 11 Feb 2020 00:24:34 GMT", + "x-ms-client-request-id" : "7f113917-404b-477f-8331-a1627fe21227", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestssetmetadataqueueerror62614617fed129a" ] + "variables" : [ "queueapitestssetmetadataqueueerror25772daaf4c54ca" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetMultipleAccessPolicies.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetMultipleAccessPolicies.json index 77236dde87e3c..bc5746918d3d2 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetMultipleAccessPolicies.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetMultipleAccessPolicies.json @@ -1,62 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetmultipleaccesspolicies2710188e30fad", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetmultipleaccesspolicies868194d6f8a21", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2c6a6bf6-1ba0-4913-84b7-eca108a3e12a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "50404f51-adf5-412f-8e75-f146af2ba2a3" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8147-f003-0082-178d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT" + "x-ms-request-id" : "d25b8231-f003-0012-0971-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:36 GMT", + "x-ms-client-request-id" : "50404f51-adf5-412f-8e75-f146af2ba2a3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetmultipleaccesspolicies2710188e30fad?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetmultipleaccesspolicies868194d6f8a21?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "782c81cc-b629-4e10-8f42-a42358ef90eb", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d980a07c-90c0-47d9-baba-7190bcbb2076", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8155-f003-0082-228d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT" + "x-ms-request-id" : "d25b8233-f003-0012-0a71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:36 GMT", + "x-ms-client-request-id" : "d980a07c-90c0-47d9-baba-7190bcbb2076" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssetmultipleaccesspolicies2710188e30fad?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssetmultipleaccesspolicies868194d6f8a21?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6fb6388c-0ddc-4383-8ccd-12237a29978e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "51057479-9318-4665-9b07-f78994d68098" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e815d-f003-0082-2a8d-839126000000", + "x-ms-request-id" : "d25b8234-f003-0012-0b71-e0e9eb000000", "Body" : "policy02000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zrpolicy12000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zrpolicy22000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zr", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:36 GMT", + "x-ms-client-request-id" : "51057479-9318-4665-9b07-f78994d68098", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestssetmultipleaccesspolicies2710188e30fad" ] + "variables" : [ "queueapitestssetmultipleaccesspolicies868194d6f8a21" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetTooManyAccessPolicies.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetTooManyAccessPolicies.json index fc4c1c848bdc9..7769a64128a23 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetTooManyAccessPolicies.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsSetTooManyAccessPolicies.json @@ -1,44 +1,46 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssettoomanyaccesspolicies71314a2963875a", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssettoomanyaccesspolicies53707526f81f3d", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fefd849b-3606-4ceb-a5b5-15c461813051" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e1b614fa-4992-4de1-89b8-ab5a9207b603" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8179-f003-0082-468d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT" + "x-ms-request-id" : "d25b8235-f003-0012-0c71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:37 GMT", + "x-ms-client-request-id" : "e1b614fa-4992-4de1-89b8-ab5a9207b603" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestssettoomanyaccesspolicies71314a2963875a?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestssettoomanyaccesspolicies53707526f81f3d?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d1b5b40c-4ebf-4930-bd47-1991fded71ae", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ae343227-36a4-42c3-8f9b-4e83cb5d4adc", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "2f7e8195-f003-0082-5d8d-839126000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:2f7e8195-f003-0082-5d8d-839126000000\nTime:2019-10-15T19:19:38.8337518Z00", - "Date" : "Tue, 15 Oct 2019 19:19:37 GMT", + "x-ms-request-id" : "d25b8237-f003-0012-0d71-e0e9eb000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:d25b8237-f003-0012-0d71-e0e9eb000000\nTime:2020-02-11T00:24:38.1653193Z00", + "Date" : "Tue, 11 Feb 2020 00:24:37 GMT", + "x-ms-client-request-id" : "ae343227-36a4-42c3-8f9b-4e83cb5d4adc", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestssettoomanyaccesspolicies71314a2963875a" ] + "variables" : [ "queueapitestssettoomanyaccesspolicies53707526f81f3d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessage.json index 536d8a94d21b2..1e93e53ee6d07 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessage.json @@ -1,111 +1,111 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessage10387b0342881cfb04c", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessage0343595778576f56d4f", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "c2472861-f914-4c4b-b415-9d587adcdf30" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "95f81576-7a7d-4663-904e-adcf9fd59ef0" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4de0370d-5003-00cb-680a-85a246000000", - "Date" : "Thu, 17 Oct 2019 16:49:11 GMT", - "x-ms-client-request-id" : "c2472861-f914-4c4b-b415-9d587adcdf30" + "x-ms-request-id" : "d25b828d-f003-0012-4771-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:45 GMT", + "x-ms-client-request-id" : "95f81576-7a7d-4663-904e-adcf9fd59ef0" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessage10387b0342881cfb04c/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessage0343595778576f56d4f/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "6cc99a08-e8bf-4711-8363-7cd3606cc0e2", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "70305cf8-9c60-47de-87b4-c9f6055ffaae", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4de03716-5003-00cb-6f0a-85a246000000", - "Body" : "55ba3bf8-3bd7-4d44-ba7a-ba53699f25adThu, 17 Oct 2019 16:49:12 GMTThu, 24 Oct 2019 16:49:12 GMTAgAAAAMAAAAAAAAAiI1yzQqF1QE=Thu, 17 Oct 2019 16:49:12 GMT", - "Date" : "Thu, 17 Oct 2019 16:49:11 GMT", - "x-ms-client-request-id" : "6cc99a08-e8bf-4711-8363-7cd3606cc0e2", + "x-ms-request-id" : "d25b828f-f003-0012-4871-e0e9eb000000", + "Body" : "29b681e5-6016-42f4-980d-4ffcf874c25aTue, 11 Feb 2020 00:24:45 GMTTue, 18 Feb 2020 00:24:45 GMTAgAAAAMAAAAAAAAAIKxnqXHg1QE=Tue, 11 Feb 2020 00:24:45 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:45 GMT", + "x-ms-client-request-id" : "70305cf8-9c60-47de-87b4-c9f6055ffaae", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessage10387b0342881cfb04c/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessage0343595778576f56d4f/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "a71e3183-7fc1-4595-a813-4229f0fa5eaa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6624275d-ee61-44a5-8d3a-90297d40fa5b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "4de03730-5003-00cb-060a-85a246000000", - "Body" : "55ba3bf8-3bd7-4d44-ba7a-ba53699f25adThu, 17 Oct 2019 16:49:12 GMTThu, 24 Oct 2019 16:49:12 GMTAgAAAAMAAAAAAAAALnph3wqF1QE=Thu, 17 Oct 2019 16:49:42 GMT1test message before update", - "Date" : "Thu, 17 Oct 2019 16:49:11 GMT", - "x-ms-client-request-id" : "a71e3183-7fc1-4595-a813-4229f0fa5eaa", + "x-ms-request-id" : "d25b8290-f003-0012-4971-e0e9eb000000", + "Body" : "29b681e5-6016-42f4-980d-4ffcf874c25aTue, 11 Feb 2020 00:24:45 GMTTue, 18 Feb 2020 00:24:45 GMTAgAAAAMAAAAAAAAA+4RVu3Hg1QE=Tue, 11 Feb 2020 00:25:15 GMT1test message before update", + "Date" : "Tue, 11 Feb 2020 00:24:45 GMT", + "x-ms-client-request-id" : "6624275d-ee61-44a5-8d3a-90297d40fa5b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessage10387b0342881cfb04c/messages/55ba3bf8-3bd7-4d44-ba7a-ba53699f25ad?popreceipt=AgAAAAMAAAAAAAAALnph3wqF1QE%3d&visibilitytimeout=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessage0343595778576f56d4f/messages/29b681e5-6016-42f4-980d-4ffcf874c25a?popreceipt=AgAAAAMAAAAAAAAA%2b4RVu3Hg1QE%3d&visibilitytimeout=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "8813eae7-9983-49bf-bdf2-fe7f5e708ee3", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "823a90aa-581f-45d7-a401-1d7545cfe2fe", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-time-next-visible" : "Thu, 17 Oct 2019 16:49:13 GMT", + "x-ms-time-next-visible" : "Tue, 11 Feb 2020 00:24:46 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "4de0373b-5003-00cb-0f0a-85a246000000", - "x-ms-popreceipt" : "AwAAAAMAAAAAAAAAt5chzgqF1QEBAAAA", - "Date" : "Thu, 17 Oct 2019 16:49:11 GMT", - "x-ms-client-request-id" : "8813eae7-9983-49bf-bdf2-fe7f5e708ee3" + "x-ms-request-id" : "d25b8291-f003-0012-4a71-e0e9eb000000", + "x-ms-popreceipt" : "AwAAAAMAAAAAAAAAPr0ZqnHg1QEBAAAA", + "Date" : "Tue, 11 Feb 2020 00:24:45 GMT", + "x-ms-client-request-id" : "823a90aa-581f-45d7-a401-1d7545cfe2fe" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessage10387b0342881cfb04c/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessage0343595778576f56d4f/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "a7b17b10-94d5-4b46-b57d-9db87ef9de1f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63f9782e-7984-4419-98ce-70e4b2df5fef" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "4de037e0-5003-00cb-0a0a-85a246000000", - "Body" : "55ba3bf8-3bd7-4d44-ba7a-ba53699f25adThu, 17 Oct 2019 16:49:12 GMTThu, 24 Oct 2019 16:49:12 GMT1Updated test message", - "Date" : "Thu, 17 Oct 2019 16:49:13 GMT", - "x-ms-client-request-id" : "a7b17b10-94d5-4b46-b57d-9db87ef9de1f", + "x-ms-request-id" : "d25b8297-f003-0012-4b71-e0e9eb000000", + "Body" : "29b681e5-6016-42f4-980d-4ffcf874c25aTue, 11 Feb 2020 00:24:45 GMTTue, 18 Feb 2020 00:24:45 GMT1Updated test message", + "Date" : "Tue, 11 Feb 2020 00:24:47 GMT", + "x-ms-client-request-id" : "63f9782e-7984-4419-98ce-70e4b2df5fef", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsupdatemessage10387b0342881cfb04c" ] + "variables" : [ "queueapitestsupdatemessage0343595778576f56d4f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs0.json index 0f34790c7b159..3aecbe25c4eb6 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs0.json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs062552e068342e", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs0119130f2efd55", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "88a0122e-4293-4952-932c-427fb5871091" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "69b72454-142a-4337-81a2-753ff9237993" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5b8e7c13-f003-0001-2f0a-85318b000000", - "Date" : "Thu, 17 Oct 2019 16:44:28 GMT", - "x-ms-client-request-id" : "88a0122e-4293-4952-932c-427fb5871091" + "x-ms-request-id" : "d25b829b-f003-0012-4e71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:47 GMT", + "x-ms-client-request-id" : "69b72454-142a-4337-81a2-753ff9237993" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs062552e068342e/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs0119130f2efd55/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "a986e8a8-2d7a-461b-9465-127ee67f36c2", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f4b46b91-3d98-4578-8da8-902212957d73", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5b8e7c69-f003-0001-7d0a-85318b000000", - "Body" : "9e32b4f3-e49f-46b4-95e7-3f741dc896d7Thu, 17 Oct 2019 16:44:28 GMTThu, 24 Oct 2019 16:44:28 GMTAgAAAAMAAAAAAAAAfcVjJAqF1QE=Thu, 17 Oct 2019 16:44:28 GMT", - "Date" : "Thu, 17 Oct 2019 16:44:28 GMT", - "x-ms-client-request-id" : "a986e8a8-2d7a-461b-9465-127ee67f36c2", + "x-ms-request-id" : "d25b829d-f003-0012-4f71-e0e9eb000000", + "Body" : "80b5e18a-21dd-454c-bbf6-ce1dda48e7b2Tue, 11 Feb 2020 00:24:48 GMTTue, 18 Feb 2020 00:24:48 GMTAgAAAAMAAAAAAAAArWP0qnHg1QE=Tue, 11 Feb 2020 00:24:48 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:47 GMT", + "x-ms-client-request-id" : "f4b46b91-3d98-4578-8da8-902212957d73", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs062552e068342e/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs0119130f2efd55/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "e7bfb4db-1448-460a-b06a-0f04e8fc42a5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef40b728-8640-4d11-b1e0-16af1ba73d8d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "5b8e7c86-f003-0001-1a0a-85318b000000", - "Body" : "9e32b4f3-e49f-46b4-95e7-3f741dc896d7Thu, 17 Oct 2019 16:44:28 GMTThu, 24 Oct 2019 16:44:28 GMTAgAAAAMAAAAAAAAANbJSNgqF1QE=Thu, 17 Oct 2019 16:44:58 GMT1test message before update", - "Date" : "Thu, 17 Oct 2019 16:44:28 GMT", - "x-ms-client-request-id" : "e7bfb4db-1448-460a-b06a-0f04e8fc42a5", + "x-ms-request-id" : "d25b829e-f003-0012-5071-e0e9eb000000", + "Body" : "80b5e18a-21dd-454c-bbf6-ce1dda48e7b2Tue, 11 Feb 2020 00:24:48 GMTTue, 18 Feb 2020 00:24:48 GMTAgAAAAMAAAAAAAAABnTjvHHg1QE=Tue, 11 Feb 2020 00:25:18 GMT1test message before update", + "Date" : "Tue, 11 Feb 2020 00:24:48 GMT", + "x-ms-client-request-id" : "ef40b728-8640-4d11-b1e0-16af1ba73d8d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs062552e068342e/messages/9e32b4f3-e49f-46b4-95e7-3f741dc896d7?popreceipt=AgAAAAMAAAAAAAAANbJSNgqF1QE%3dRandom&visibilitytimeout=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs0119130f2efd55/messages/80b5e18a-21dd-454c-bbf6-ce1dda48e7b2?popreceipt=AgAAAAMAAAAAAAAABnTjvHHg1QE%3dRandom&visibilitytimeout=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "6cedbbd4-5cdd-4444-8cf5-1cdcdc450f84", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8cbe4ff2-d46b-4a9c-afad-5b10e0cde974", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidQueryParameterValue", "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "5b8e7c9f-f003-0001-310a-85318b000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:5b8e7c9f-f003-0001-310a-85318b000000\nTime:2019-10-17T16:44:28.5580215ZpopreceiptAgAAAAMAAAAAAAAANbJSNgqF1QE=RandomInvalid pop receipt format", - "Date" : "Thu, 17 Oct 2019 16:44:28 GMT", - "x-ms-client-request-id" : "6cedbbd4-5cdd-4444-8cf5-1cdcdc450f84", + "x-ms-request-id" : "d25b829f-f003-0012-5171-e0e9eb000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d25b829f-f003-0012-5171-e0e9eb000000\nTime:2020-02-11T00:24:48.3123882ZpopreceiptAgAAAAMAAAAAAAAABnTjvHHg1QE=RandomInvalid pop receipt format", + "Date" : "Tue, 11 Feb 2020 00:24:48 GMT", + "x-ms-client-request-id" : "8cbe4ff2-d46b-4a9c-afad-5b10e0cde974", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsupdatemessageinvalidargs062552e068342e" ] + "variables" : [ "queueapitestsupdatemessageinvalidargs0119130f2efd55" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs1.json index 3cab9f1e1d6e9..a5177739c32ed 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs1.json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs1379254e0876ed", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs19767287cc4e37", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "cef97481-9797-485d-b09b-c9cf1b9b22e0" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3c6fd656-e1a3-42de-bf0a-2aac2330c8e7" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5b8e7cdd-f003-0001-6c0a-85318b000000", - "Date" : "Thu, 17 Oct 2019 16:44:28 GMT", - "x-ms-client-request-id" : "cef97481-9797-485d-b09b-c9cf1b9b22e0" + "x-ms-request-id" : "d25b82a0-f003-0012-5271-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:48 GMT", + "x-ms-client-request-id" : "3c6fd656-e1a3-42de-bf0a-2aac2330c8e7" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs1379254e0876ed/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs19767287cc4e37/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "53349150-f6c9-4dea-9b79-1e2c7ac57882", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8cd65845-9dfb-4c44-92ef-ebd988511dcd", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5b8e7cef-f003-0001-7b0a-85318b000000", - "Body" : "f2b208ff-fb18-4906-9d49-82dd25e08ed6Thu, 17 Oct 2019 16:44:28 GMTThu, 24 Oct 2019 16:44:28 GMTAgAAAAMAAAAAAAAA4mueJAqF1QE=Thu, 17 Oct 2019 16:44:28 GMT", - "Date" : "Thu, 17 Oct 2019 16:44:28 GMT", - "x-ms-client-request-id" : "53349150-f6c9-4dea-9b79-1e2c7ac57882", + "x-ms-request-id" : "d25b82a2-f003-0012-5371-e0e9eb000000", + "Body" : "d21cb536-42d3-4ab9-b21c-80ec639399bbTue, 11 Feb 2020 00:24:48 GMTTue, 18 Feb 2020 00:24:48 GMTAgAAAAMAAAAAAAAARMQ/q3Hg1QE=Tue, 11 Feb 2020 00:24:48 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:48 GMT", + "x-ms-client-request-id" : "8cd65845-9dfb-4c44-92ef-ebd988511dcd", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs1379254e0876ed/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs19767287cc4e37/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "b14bc20f-63c2-4f60-aaeb-237a00b8fc13" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "291009bc-7cf3-4e1d-976d-6cc1568f0979" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "5b8e7d07-f003-0001-120a-85318b000000", - "Body" : "f2b208ff-fb18-4906-9d49-82dd25e08ed6Thu, 17 Oct 2019 16:44:28 GMTThu, 24 Oct 2019 16:44:28 GMTAgAAAAMAAAAAAAAAR8eGNgqF1QE=Thu, 17 Oct 2019 16:44:58 GMT1test message before update", - "Date" : "Thu, 17 Oct 2019 16:44:28 GMT", - "x-ms-client-request-id" : "b14bc20f-63c2-4f60-aaeb-237a00b8fc13", + "x-ms-request-id" : "d25b82a3-f003-0012-5471-e0e9eb000000", + "Body" : "d21cb536-42d3-4ab9-b21c-80ec639399bbTue, 11 Feb 2020 00:24:48 GMTTue, 18 Feb 2020 00:24:48 GMTAgAAAAMAAAAAAAAAuigtvXHg1QE=Tue, 11 Feb 2020 00:25:18 GMT1test message before update", + "Date" : "Tue, 11 Feb 2020 00:24:48 GMT", + "x-ms-client-request-id" : "291009bc-7cf3-4e1d-976d-6cc1568f0979", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs1379254e0876ed/messages/f2b208ff-fb18-4906-9d49-82dd25e08ed6Random?popreceipt=AgAAAAMAAAAAAAAAR8eGNgqF1QE%3d&visibilitytimeout=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs19767287cc4e37/messages/d21cb536-42d3-4ab9-b21c-80ec639399bbRandom?popreceipt=AgAAAAMAAAAAAAAAuigtvXHg1QE%3d&visibilitytimeout=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "3def8520-3a84-45fd-afd7-c8a2bef334e8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5d6315f1-ae96-43de-aff6-b9a11af82b83", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "MessageNotFound", "retry-after" : "0", "Content-Length" : "221", "StatusCode" : "404", - "x-ms-request-id" : "5b8e7d16-f003-0001-210a-85318b000000", - "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:5b8e7d16-f003-0001-210a-85318b000000\nTime:2019-10-17T16:44:31.0483857Z", - "Date" : "Thu, 17 Oct 2019 16:44:30 GMT", - "x-ms-client-request-id" : "3def8520-3a84-45fd-afd7-c8a2bef334e8", + "x-ms-request-id" : "d25b82a4-f003-0012-5571-e0e9eb000000", + "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:d25b82a4-f003-0012-5571-e0e9eb000000\nTime:2020-02-11T00:24:48.7883904Z", + "Date" : "Tue, 11 Feb 2020 00:24:48 GMT", + "x-ms-client-request-id" : "5d6315f1-ae96-43de-aff6-b9a11af82b83", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsupdatemessageinvalidargs1379254e0876ed" ] + "variables" : [ "queueapitestsupdatemessageinvalidargs19767287cc4e37" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs2.json index 8d59014dedc71..b63b6ee7ce891 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAPITestsUpdateMessageInvalidArgs2.json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs24685327134a71", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs2357392d686f56", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "25cfebe9-3285-4683-b75b-7a232566eac8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d29d980e-200a-4c5e-8f08-831ec4936b49" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5b8e8070-f003-0001-2d0a-85318b000000", - "Date" : "Thu, 17 Oct 2019 16:44:31 GMT", - "x-ms-client-request-id" : "25cfebe9-3285-4683-b75b-7a232566eac8" + "x-ms-request-id" : "d25b82a5-f003-0012-5671-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:48 GMT", + "x-ms-client-request-id" : "d29d980e-200a-4c5e-8f08-831ec4936b49" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs24685327134a71/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs2357392d686f56/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "5216e058-6985-4e88-a3a7-0382db9cc6fd", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "33477490-735c-4284-901c-d7316f806cbe", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5b8e8085-f003-0001-400a-85318b000000", - "Body" : "9b8d1683-1b52-4b2e-8893-dd96febaef17Thu, 17 Oct 2019 16:44:31 GMTThu, 24 Oct 2019 16:44:31 GMTAgAAAAMAAAAAAAAA22wPJgqF1QE=Thu, 17 Oct 2019 16:44:31 GMT", - "Date" : "Thu, 17 Oct 2019 16:44:31 GMT", - "x-ms-client-request-id" : "5216e058-6985-4e88-a3a7-0382db9cc6fd", + "x-ms-request-id" : "d25b82a7-f003-0012-5771-e0e9eb000000", + "Body" : "31369017-d1b9-46d1-bbd2-035b0359c5a3Tue, 11 Feb 2020 00:24:49 GMTTue, 18 Feb 2020 00:24:49 GMTAgAAAAMAAAAAAAAAU2eIq3Hg1QE=Tue, 11 Feb 2020 00:24:49 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:48 GMT", + "x-ms-client-request-id" : "33477490-735c-4284-901c-d7316f806cbe", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs24685327134a71/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs2357392d686f56/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "31d9f9af-e639-4929-828a-905465f0172d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0201cea-5809-4a90-967d-6c75ac1a8ce3" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "5b8e8093-f003-0001-4e0a-85318b000000", - "Body" : "9b8d1683-1b52-4b2e-8893-dd96febaef17Thu, 17 Oct 2019 16:44:31 GMTThu, 24 Oct 2019 16:44:31 GMTAgAAAAMAAAAAAAAA1Sv3NwqF1QE=Thu, 17 Oct 2019 16:45:01 GMT1test message before update", - "Date" : "Thu, 17 Oct 2019 16:44:31 GMT", - "x-ms-client-request-id" : "31d9f9af-e639-4929-828a-905465f0172d", + "x-ms-request-id" : "d25b82a9-f003-0012-5871-e0e9eb000000", + "Body" : "31369017-d1b9-46d1-bbd2-035b0359c5a3Tue, 11 Feb 2020 00:24:49 GMTTue, 18 Feb 2020 00:24:49 GMTAgAAAAMAAAAAAAAADqN1vXHg1QE=Tue, 11 Feb 2020 00:25:19 GMT1test message before update", + "Date" : "Tue, 11 Feb 2020 00:24:49 GMT", + "x-ms-client-request-id" : "f0201cea-5809-4a90-967d-6c75ac1a8ce3", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueapitestsupdatemessageinvalidargs24685327134a71/messages/9b8d1683-1b52-4b2e-8893-dd96febaef17Random?popreceipt=AgAAAAMAAAAAAAAA1Sv3NwqF1QE%3dRandom&visibilitytimeout=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueapitestsupdatemessageinvalidargs2357392d686f56/messages/31369017-d1b9-46d1-bbd2-035b0359c5a3Random?popreceipt=AgAAAAMAAAAAAAAADqN1vXHg1QE%3dRandom&visibilitytimeout=1", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 1.8.0_222; Windows 10 10.0", - "x-ms-client-request-id" : "eab2169c-0f9d-4c6c-9799-08a91113e31e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6443013-613e-43c2-b21d-c68345e867bf", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidQueryParameterValue", "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "5b8e809e-f003-0001-580a-85318b000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:5b8e809e-f003-0001-580a-85318b000000\nTime:2019-10-17T16:44:31.2776042ZpopreceiptAgAAAAMAAAAAAAAA1Sv3NwqF1QE=RandomInvalid pop receipt format", - "Date" : "Thu, 17 Oct 2019 16:44:31 GMT", - "x-ms-client-request-id" : "eab2169c-0f9d-4c6c-9799-08a91113e31e", + "x-ms-request-id" : "d25b82ab-f003-0012-5971-e0e9eb000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d25b82ab-f003-0012-5971-e0e9eb000000\nTime:2020-02-11T00:24:49.2623941ZpopreceiptAgAAAAMAAAAAAAAADqN1vXHg1QE=RandomInvalid pop receipt format", + "Date" : "Tue, 11 Feb 2020 00:24:49 GMT", + "x-ms-client-request-id" : "d6443013-613e-43c2-b21d-c68345e867bf", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueapitestsupdatemessageinvalidargs24685327134a71" ] + "variables" : [ "queueapitestsupdatemessageinvalidargs2357392d686f56" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsClearMessages.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsClearMessages.json index 29114c5a43cb1..3a97ff735eb00 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsClearMessages.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsClearMessages.json @@ -1,143 +1,150 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsclearmessages705720b0735675f8a", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsclearmessages10545e15702ae9dbd", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "683d2ae8-f13c-4ff4-b3ad-d82ec29de37f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fa95820a-a89f-4a6f-9002-6bcc9d34d59b" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9325-f003-0082-0d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT" + "x-ms-request-id" : "d25b8375-f003-0012-7e71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "fa95820a-a89f-4a6f-9002-6bcc9d34d59b" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsclearmessages705720b0735675f8a/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsclearmessages10545e15702ae9dbd/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0560d9ee-29a6-4bcb-97e7-e018e19e911c", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df26dc90-fdad-4d23-abd1-fb083d093917", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9337-f003-0082-1e8d-839126000000", - "Body" : "c974478e-f2c0-4e31-99a3-6ebd46ffda41Tue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAAd/GKhI2D1QE=Tue, 15 Oct 2019 19:19:51 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b837a-f003-0012-0271-e0e9eb000000", + "Body" : "f2e4fc19-9bc3-4c9e-a9fb-f8f9602d6e06Tue, 11 Feb 2020 00:25:00 GMTTue, 18 Feb 2020 00:25:00 GMTAgAAAAMAAAAAAAAAO5M4snHg1QE=Tue, 11 Feb 2020 00:25:00 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "df26dc90-fdad-4d23-abd1-fb083d093917", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsclearmessages705720b0735675f8a/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsclearmessages10545e15702ae9dbd/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5090d4ad-2db4-45ae-b77c-bc95ac75b5f3", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dc089d9d-fd09-48a5-9757-3457bce55558", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9347-f003-0082-2d8d-839126000000", - "Body" : "bee2fd21-a94f-406c-bc4e-10d7d52a76ccTue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAA4CKQhI2D1QE=Tue, 15 Oct 2019 19:19:51 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b837c-f003-0012-0471-e0e9eb000000", + "Body" : "5cc7629d-5664-41cf-aa3c-f5e3c5b70d6cTue, 11 Feb 2020 00:25:00 GMTTue, 18 Feb 2020 00:25:00 GMTAgAAAAMAAAAAAAAAJ6FEsnHg1QE=Tue, 11 Feb 2020 00:25:00 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "dc089d9d-fd09-48a5-9757-3457bce55558", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsclearmessages705720b0735675f8a/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsclearmessages10545e15702ae9dbd/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1ee28777-a4a3-4229-b2c3-15b2de644f96", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6d8a3efc-e047-4ac3-93a3-d27ba07ea72d", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9366-f003-0082-488d-839126000000", - "Body" : "f4ac2fb0-2001-429c-8878-41a5ff74e97eTue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAA4UyZhI2D1QE=Tue, 15 Oct 2019 19:19:51 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b837e-f003-0012-0671-e0e9eb000000", + "Body" : "88ab7444-3862-4c1d-b34f-fc8fec557e4aTue, 11 Feb 2020 00:25:00 GMTTue, 18 Feb 2020 00:25:00 GMTAgAAAAMAAAAAAAAA9GBQsnHg1QE=Tue, 11 Feb 2020 00:25:00 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "6d8a3efc-e047-4ac3-93a3-d27ba07ea72d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsclearmessages705720b0735675f8a?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsclearmessages10545e15702ae9dbd?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ffa1a5a9-4d9b-4b6f-8ca2-7d7c69b68bb9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "00a7cefe-1541-42d3-8f1e-721e8a82f89f" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "3", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9371-f003-0082-538d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT" + "x-ms-request-id" : "d25b8380-f003-0012-0871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "00a7cefe-1541-42d3-8f1e-721e8a82f89f" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsclearmessages705720b0735675f8a/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsclearmessages10545e15702ae9dbd/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "14f60665-ac8c-408d-ad71-c1b745741039" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b873f874-f8f8-4ef4-a7cb-ddca706bf0e7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e9382-f003-0082-638d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT" + "x-ms-request-id" : "d25b8382-f003-0012-0971-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "b873f874-f8f8-4ef4-a7cb-ddca706bf0e7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsclearmessages705720b0735675f8a?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsclearmessages10545e15702ae9dbd?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "398e5a07-df74-42ab-8fdb-a67da75e9620" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2d568786-9977-4e32-ba04-115918f311a3" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e938d-f003-0082-6c8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT" + "x-ms-request-id" : "d25b8384-f003-0012-0b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "2d568786-9977-4e32-ba04-115918f311a3" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsclearmessages705720b0735675f8a" ] + "variables" : [ "queueaysncapitestsclearmessages10545e15702ae9dbd" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsClearMessagesError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsClearMessagesError.json index 2972aed33e657..7100cc8817513 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsClearMessagesError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsClearMessagesError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsclearmessageserror75792d86c865ee/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsclearmessageserror58475723d66aa3/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "14d40d1d-1a65-4245-bbbb-a9d9368b971f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1d44c9b7-00c3-41f6-baa2-c20532411274" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e93c7-f003-0082-228d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e93c7-f003-0082-228d-839126000000\nTime:2019-10-15T19:19:51.7653257Z", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b8389-f003-0012-1071-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b8389-f003-0012-1071-e0e9eb000000\nTime:2020-02-11T00:25:00.9724785Z", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "1d44c9b7-00c3-41f6-baa2-c20532411274", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsclearmessageserror75792d86c865ee" ] + "variables" : [ "queueaysncapitestsclearmessageserror58475723d66aa3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsCreateQueueWithSharedKey.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsCreateQueueWithSharedKey.json index 9a0c53cc8e61a..60e2140dcf0fc 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsCreateQueueWithSharedKey.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsCreateQueueWithSharedKey.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestscreatequeuewithsharedkey56173e8a913", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestscreatequeuewithsharedkey42422b95f75", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d8418103-5afe-4382-9830-f76cfeacca1a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6f0a5c24-2f26-4b4e-8e33-85e000d10304" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8bda-f003-0082-578d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:45 GMT" + "x-ms-request-id" : "d25b82ac-f003-0012-5a71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:49 GMT", + "x-ms-client-request-id" : "6f0a5c24-2f26-4b4e-8e33-85e000d10304" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestscreatequeuewithsharedkey56173e8a913" ] + "variables" : [ "queueaysncapitestscreatequeuewithsharedkey42422b95f75" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteExistQueue.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteExistQueue.json index 55e631d6e04d1..118af0429e786 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteExistQueue.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteExistQueue.json @@ -1,40 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeleteexistqueue68382bfaa69b862", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeleteexistqueue0877883b39ebb57", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bb5cc662-6e8a-4283-ad4d-40e25fa8bdfb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "27d9b097-9c52-4330-9281-d8e2c17c07da" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8c1f-f003-0082-168d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:45 GMT" + "x-ms-request-id" : "d25b82ae-f003-0012-5b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:49 GMT", + "x-ms-client-request-id" : "27d9b097-9c52-4330-9281-d8e2c17c07da" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeleteexistqueue68382bfaa69b862", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeleteexistqueue0877883b39ebb57", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2da4e9f8-2237-4778-bccf-b15b22fe7c57" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a6cdb9a2-3933-4f47-be36-050fdce95cb0" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8c31-f003-0082-278d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:45 GMT" + "x-ms-request-id" : "d25b82b0-f003-0012-5c71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:50 GMT", + "x-ms-client-request-id" : "a6cdb9a2-3933-4f47-be36-050fdce95cb0" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdeleteexistqueue68382bfaa69b862" ] + "variables" : [ "queueaysncapitestsdeleteexistqueue0877883b39ebb57" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessage.json index 64877765ed4da..aaeefd786d6df 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessage.json @@ -1,164 +1,172 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessage93670de50ac212f6b", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessage26697134de4018b9e", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1650b021-7976-410e-8a92-63f283dbbba3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "26457383-0bfe-42c0-a254-571601bef940" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e93d9-f003-0082-338d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT" + "x-ms-request-id" : "d25b838e-f003-0012-1471-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "26457383-0bfe-42c0-a254-571601bef940" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessage93670de50ac212f6b/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessage26697134de4018b9e/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1a86f743-4f61-4ff4-8659-86ad071ceecc", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d40cf85d-b005-46c7-b7dc-4fd39568853e", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e93ec-f003-0082-448d-839126000000", - "Body" : "e3e2a4dc-5810-488b-b403-d0f4983a16b0Tue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAABPTIhI2D1QE=Tue, 15 Oct 2019 19:19:51 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b8393-f003-0012-1671-e0e9eb000000", + "Body" : "b125df4c-2200-49c5-8e9b-b84a37625164Tue, 11 Feb 2020 00:25:01 GMTTue, 18 Feb 2020 00:25:01 GMTAgAAAAMAAAAAAAAA/yq/snHg1QE=Tue, 11 Feb 2020 00:25:01 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:00 GMT", + "x-ms-client-request-id" : "d40cf85d-b005-46c7-b7dc-4fd39568853e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessage93670de50ac212f6b/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessage26697134de4018b9e/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6eba0b07-96fa-45cc-98da-3cfe989b6c5c", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "abbfb20f-9322-4388-8f2e-b949e3036e50", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e93fd-f003-0082-548d-839126000000", - "Body" : "671f43c2-a1eb-4cf4-a99b-71a793a98006Tue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAAGbDNhI2D1QE=Tue, 15 Oct 2019 19:19:51 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b8397-f003-0012-1a71-e0e9eb000000", + "Body" : "c46052bf-a50a-4af0-9a96-e3555697c0cbTue, 11 Feb 2020 00:25:01 GMTTue, 18 Feb 2020 00:25:01 GMTAgAAAAMAAAAAAAAAE8PKsnHg1QE=Tue, 11 Feb 2020 00:25:01 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "abbfb20f-9322-4388-8f2e-b949e3036e50", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessage93670de50ac212f6b/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessage26697134de4018b9e/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d498b1b7-7531-414b-a03d-9e51716c23d8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0c8bd5e-6a2c-4f61-893f-0da51652d1ac", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9410-f003-0082-668d-839126000000", - "Body" : "72ec930c-4708-40f3-aedf-0c5fbc707c37Tue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAAYrrShI2D1QE=Tue, 15 Oct 2019 19:19:51 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b8398-f003-0012-1b71-e0e9eb000000", + "Body" : "aabf0c39-012a-43fa-9251-b06cb744244dTue, 11 Feb 2020 00:25:01 GMTTue, 18 Feb 2020 00:25:01 GMTAgAAAAMAAAAAAAAAoYLWsnHg1QE=Tue, 11 Feb 2020 00:25:01 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "a0c8bd5e-6a2c-4f61-893f-0da51652d1ac", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessage93670de50ac212f6b/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessage26697134de4018b9e/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fcda3bb5-9f4c-45dd-95fb-4fc031dec8ce" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "159c70e0-7353-4e27-9446-07337e930fc6" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9429-f003-0082-7e8d-839126000000", - "Body" : "e3e2a4dc-5810-488b-b403-d0f4983a16b0Tue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAAeye8lo2D1QE=Tue, 15 Oct 2019 19:20:21 GMT1test message 1", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b839a-f003-0012-1d71-e0e9eb000000", + "Body" : "b125df4c-2200-49c5-8e9b-b84a37625164Tue, 11 Feb 2020 00:25:01 GMTTue, 18 Feb 2020 00:25:01 GMTAgAAAAMAAAAAAAAAxDHExHHg1QE=Tue, 11 Feb 2020 00:25:31 GMT1test message 1", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "159c70e0-7353-4e27-9446-07337e930fc6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessage93670de50ac212f6b?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessage26697134de4018b9e?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e84b40b8-7e0f-4391-b9a8-89aa8d68e037" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4af85f15-1d34-4a1f-ab69-f16380189ce4" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "3", "StatusCode" : "200", - "x-ms-request-id" : "2f7e943d-f003-0082-118d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT" + "x-ms-request-id" : "d25b839e-f003-0012-2171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "4af85f15-1d34-4a1f-ab69-f16380189ce4" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessage93670de50ac212f6b/messages/e3e2a4dc-5810-488b-b403-d0f4983a16b0?popreceipt=AgAAAAMAAAAAAAAAeye8lo2D1QE%3d", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessage26697134de4018b9e/messages/b125df4c-2200-49c5-8e9b-b84a37625164?popreceipt=AgAAAAMAAAAAAAAAxDHExHHg1QE%3d", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "317220a7-10e8-42b4-9a87-b605dde045e5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8955f0b9-eb57-46a9-8546-f91b48c0af94" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e944a-f003-0082-1e8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT" + "x-ms-request-id" : "d25b83a0-f003-0012-2371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "8955f0b9-eb57-46a9-8546-f91b48c0af94" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessage93670de50ac212f6b?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessage26697134de4018b9e?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "58a40014-1bda-476f-9cac-6f50ff8519bc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "408950a6-16f7-4f7f-b367-4815a46db57d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "2", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9451-f003-0082-258d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT" + "x-ms-request-id" : "d25b83a3-f003-0012-2571-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "408950a6-16f7-4f7f-b367-4815a46db57d" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdeletemessage93670de50ac212f6b" ] + "variables" : [ "queueaysncapitestsdeletemessage26697134de4018b9e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs0.json index 6d084d29a332c..7fa2b06f725fd 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs0.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs07467768a5e8", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs06657302fa2e", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "66c2d5c8-5b6f-4ff5-a505-f6b4a00c64af" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2b3b3cac-6d66-4b68-bf3c-e56e36742dd9" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e947d-f003-0082-4f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT" + "x-ms-request-id" : "d25b83aa-f003-0012-2c71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "2b3b3cac-6d66-4b68-bf3c-e56e36742dd9" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs07467768a5e8/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs06657302fa2e/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6fcdba91-68fc-461a-87bb-afe215ba469f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb50626a-077e-4a9d-9c90-e29c919de446", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9489-f003-0082-598d-839126000000", - "Body" : "e1dcccdf-3a7a-47c6-b32c-f3d48f090e5aTue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMTAgAAAAMAAAAAAAAAUhMChY2D1QE=Tue, 15 Oct 2019 19:19:52 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83ad-f003-0012-2e71-e0e9eb000000", + "Body" : "06e15cde-8627-4c78-838c-10ceba4c3493Tue, 11 Feb 2020 00:25:02 GMTTue, 18 Feb 2020 00:25:02 GMTAgAAAAMAAAAAAAAAcZs6s3Hg1QE=Tue, 11 Feb 2020 00:25:02 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "eb50626a-077e-4a9d-9c90-e29c919de446", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs07467768a5e8/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs06657302fa2e/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "102806d6-cde2-404d-bacb-b4872ab770a4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a33bc71f-e44f-4165-9af6-1c6ea023b60e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9493-f003-0082-628d-839126000000", - "Body" : "e1dcccdf-3a7a-47c6-b32c-f3d48f090e5aTue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMTAgAAAAMAAAAAAAAAVUvolo2D1QE=Tue, 15 Oct 2019 19:20:22 GMT1test message", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83af-f003-0012-3071-e0e9eb000000", + "Body" : "06e15cde-8627-4c78-838c-10ceba4c3493Tue, 11 Feb 2020 00:25:02 GMTTue, 18 Feb 2020 00:25:02 GMTAgAAAAMAAAAAAAAATgAoxXHg1QE=Tue, 11 Feb 2020 00:25:32 GMT1test message", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "a33bc71f-e44f-4165-9af6-1c6ea023b60e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs07467768a5e8/messages/e1dcccdf-3a7a-47c6-b32c-f3d48f090e5a?popreceipt=AgAAAAMAAAAAAAAAVUvolo2D1QE%3dRandom", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs06657302fa2e/messages/06e15cde-8627-4c78-838c-10ceba4c3493?popreceipt=AgAAAAMAAAAAAAAATgAoxXHg1QE%3dRandom", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "361899be-e066-4026-a6f1-911694e0d688" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "223b420a-a205-4c3f-bbdc-3fb6c931ee15" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidQueryParameterValue", "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "2f7e949f-f003-0082-6e8d-839126000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:2f7e949f-f003-0082-6e8d-839126000000\nTime:2019-10-15T19:19:52.3078530ZpopreceiptAgAAAAMAAAAAAAAAVUvolo2D1QE=RandomInvalid pop receipt format", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83b1-f003-0012-3271-e0e9eb000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d25b83b1-f003-0012-3271-e0e9eb000000\nTime:2020-02-11T00:25:02.1764866ZpopreceiptAgAAAAMAAAAAAAAATgAoxXHg1QE=RandomInvalid pop receipt format", + "Date" : "Tue, 11 Feb 2020 00:25:01 GMT", + "x-ms-client-request-id" : "223b420a-a205-4c3f-bbdc-3fb6c931ee15", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdeletemessageinvalidargs07467768a5e8" ] + "variables" : [ "queueaysncapitestsdeletemessageinvalidargs06657302fa2e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs1.json index c49b6ed271864..430f29fc20b19 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs1.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs1079091ea46c", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs1613483e1c32", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7519be1d-f492-4ace-9955-c6f8eef5dc13" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "326c9c86-38fe-4403-aa44-be5911984131" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e94bd-f003-0082-0c8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT" + "x-ms-request-id" : "d25b83b2-f003-0012-3371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:02 GMT", + "x-ms-client-request-id" : "326c9c86-38fe-4403-aa44-be5911984131" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs1079091ea46c/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs1613483e1c32/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cb9d0196-0fd9-4288-9560-7d94079e7989", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aea45cea-630d-4924-be02-d1f04e80ec5e", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e94cf-f003-0082-1b8d-839126000000", - "Body" : "75d24a4d-e55e-47c7-bd56-e914679c0ccfTue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMTAgAAAAMAAAAAAAAAkRQhhY2D1QE=Tue, 15 Oct 2019 19:19:52 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83b4-f003-0012-3471-e0e9eb000000", + "Body" : "ee55d8b5-5d17-4048-ab77-72959d87c9f2Tue, 11 Feb 2020 00:25:02 GMTTue, 18 Feb 2020 00:25:02 GMTAgAAAAMAAAAAAAAAu+2Cs3Hg1QE=Tue, 11 Feb 2020 00:25:02 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:02 GMT", + "x-ms-client-request-id" : "aea45cea-630d-4924-be02-d1f04e80ec5e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs1079091ea46c/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs1613483e1c32/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "903e58e0-f2bc-4976-8d6f-e1e79553d935" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "de42ba7d-7742-483e-8e21-90ba0d38d7e7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e94dd-f003-0082-288d-839126000000", - "Body" : "75d24a4d-e55e-47c7-bd56-e914679c0ccfTue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMTAgAAAAMAAAAAAAAAw5oHl42D1QE=Tue, 15 Oct 2019 19:20:22 GMT1test message", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83b5-f003-0012-3571-e0e9eb000000", + "Body" : "ee55d8b5-5d17-4048-ab77-72959d87c9f2Tue, 11 Feb 2020 00:25:02 GMTTue, 18 Feb 2020 00:25:02 GMTAgAAAAMAAAAAAAAAsCtwxXHg1QE=Tue, 11 Feb 2020 00:25:32 GMT1test message", + "Date" : "Tue, 11 Feb 2020 00:25:02 GMT", + "x-ms-client-request-id" : "de42ba7d-7742-483e-8e21-90ba0d38d7e7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs1079091ea46c/messages/75d24a4d-e55e-47c7-bd56-e914679c0ccfRandom?popreceipt=AgAAAAMAAAAAAAAAw5oHl42D1QE%3d", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs1613483e1c32/messages/ee55d8b5-5d17-4048-ab77-72959d87c9f2Random?popreceipt=AgAAAAMAAAAAAAAAsCtwxXHg1QE%3d", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "348e09d6-de24-4689-b7a8-94abf4373361" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9cc83c93-175b-4af4-ba39-daa23564acbb" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "MessageNotFound", "retry-after" : "0", "Content-Length" : "221", "StatusCode" : "404", - "x-ms-request-id" : "2f7e94ea-f003-0082-358d-839126000000", - "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:2f7e94ea-f003-0082-358d-839126000000\nTime:2019-10-15T19:19:52.5130534Z", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83b6-f003-0012-3671-e0e9eb000000", + "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:d25b83b6-f003-0012-3671-e0e9eb000000\nTime:2020-02-11T00:25:02.6484918Z", + "Date" : "Tue, 11 Feb 2020 00:25:02 GMT", + "x-ms-client-request-id" : "9cc83c93-175b-4af4-ba39-daa23564acbb", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdeletemessageinvalidargs1079091ea46c" ] + "variables" : [ "queueaysncapitestsdeletemessageinvalidargs1613483e1c32" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs2.json index f6c95e2a4c925..451758d7f66b4 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteMessageInvalidArgs2.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs258107654538", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs267066a7ed97", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "df146ac0-0c14-4398-a88a-30850f124cb9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a234774d-ee05-4f8d-a053-bc3b5f9d240c" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9515-f003-0082-5d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT" + "x-ms-request-id" : "d25b83b7-f003-0012-3771-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:02 GMT", + "x-ms-client-request-id" : "a234774d-ee05-4f8d-a053-bc3b5f9d240c" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs258107654538/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs267066a7ed97/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b6c24c5-d8e8-4a4d-a213-dfddbb4b4eea", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "440ab63b-cb65-49ae-89fe-f5bc860910cf", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9524-f003-0082-698d-839126000000", - "Body" : "e87fac28-ea06-4ed9-9025-b60bf68af9c5Tue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMTAgAAAAMAAAAAAAAA8TxAhY2D1QE=Tue, 15 Oct 2019 19:19:52 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83b9-f003-0012-3871-e0e9eb000000", + "Body" : "b74ae7ac-1d1b-44bd-a16a-3de6062079b7Tue, 11 Feb 2020 00:25:02 GMTTue, 18 Feb 2020 00:25:02 GMTAgAAAAMAAAAAAAAA/qHMs3Hg1QE=Tue, 11 Feb 2020 00:25:02 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:02 GMT", + "x-ms-client-request-id" : "440ab63b-cb65-49ae-89fe-f5bc860910cf", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs258107654538/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs267066a7ed97/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "75e11268-07a3-426c-b290-17770fd9ad15" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "86024962-cd71-4abd-8d50-fdb2984a97d0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9532-f003-0082-768d-839126000000", - "Body" : "e87fac28-ea06-4ed9-9025-b60bf68af9c5Tue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMTAgAAAAMAAAAAAAAAB5wml42D1QE=Tue, 15 Oct 2019 19:20:22 GMT1test message", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83ba-f003-0012-3971-e0e9eb000000", + "Body" : "b74ae7ac-1d1b-44bd-a16a-3de6062079b7Tue, 11 Feb 2020 00:25:02 GMTTue, 18 Feb 2020 00:25:02 GMTAgAAAAMAAAAAAAAA0du5xXHg1QE=Tue, 11 Feb 2020 00:25:33 GMT1test message", + "Date" : "Tue, 11 Feb 2020 00:25:02 GMT", + "x-ms-client-request-id" : "86024962-cd71-4abd-8d50-fdb2984a97d0", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs258107654538/messages/e87fac28-ea06-4ed9-9025-b60bf68af9c5Random?popreceipt=AgAAAAMAAAAAAAAAB5wml42D1QE%3dRandom", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletemessageinvalidargs267066a7ed97/messages/b74ae7ac-1d1b-44bd-a16a-3de6062079b7Random?popreceipt=AgAAAAMAAAAAAAAA0du5xXHg1QE%3dRandom", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7ee11549-0f0b-4302-b4d1-c508c9f3b483" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f13dc1c-affb-4cfb-878f-21a5b190d016" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidQueryParameterValue", "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9547-f003-0082-098d-839126000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:2f7e9547-f003-0082-098d-839126000000\nTime:2019-10-15T19:19:52.7152491ZpopreceiptAgAAAAMAAAAAAAAAB5wml42D1QE=RandomInvalid pop receipt format", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83bb-f003-0012-3a71-e0e9eb000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d25b83bb-f003-0012-3a71-e0e9eb000000\nTime:2020-02-11T00:25:03.1304928ZpopreceiptAgAAAAMAAAAAAAAA0du5xXHg1QE=RandomInvalid pop receipt format", + "Date" : "Tue, 11 Feb 2020 00:25:02 GMT", + "x-ms-client-request-id" : "4f13dc1c-affb-4cfb-878f-21a5b190d016", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdeletemessageinvalidargs258107654538" ] + "variables" : [ "queueaysncapitestsdeletemessageinvalidargs267066a7ed97" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteQueueError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteQueueError.json index c1ae5a47d62b8..930a4a115e700 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteQueueError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDeleteQueueError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdeletequeueerror19134de12382018", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdeletequeueerror35611904ea47819", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6e77a3f0-e9c8-43d5-962c-6c5b4f5390ec" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c617832d-6bfa-47d0-816d-d37a50137147" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e8c50-f003-0082-428d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e8c50-f003-0082-428d-839126000000\nTime:2019-10-15T19:19:46.8525476Z", - "Date" : "Tue, 15 Oct 2019 19:19:45 GMT", + "x-ms-request-id" : "d25b82b1-f003-0012-5d71-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b82b1-f003-0012-5d71-e0e9eb000000\nTime:2020-02-11T00:24:50.4004035Z", + "Date" : "Tue, 11 Feb 2020 00:24:50 GMT", + "x-ms-client-request-id" : "c617832d-6bfa-47d0-816d-d37a50137147", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdeletequeueerror19134de12382018" ] + "variables" : [ "queueaysncapitestsdeletequeueerror35611904ea47819" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueMessage.json index 1c05ac25ed3fd..e0e6793bfefb1 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueMessage.json @@ -1,64 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuemessage620718a7e5a1856e", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuemessage46082500d2568475", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "67850e5c-6c64-4871-8c7f-81d7eea57f5e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0d2621aa-6a72-48be-ad3d-1fa904c695fa" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9104-f003-0082-1d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT" + "x-ms-request-id" : "d25b8330-f003-0012-4271-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:57 GMT", + "x-ms-client-request-id" : "0d2621aa-6a72-48be-ad3d-1fa904c695fa" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuemessage620718a7e5a1856e/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuemessage46082500d2568475/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "79c8c7e1-cb71-4ab7-a62e-fcd2544de267", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d9dd15f3-c4ec-48ef-8ca3-86bb047f85c6", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9113-f003-0082-298d-839126000000", - "Body" : "a73ab941-c773-4bb0-8a1a-9302b552014cTue, 15 Oct 2019 19:19:50 GMTTue, 22 Oct 2019 19:19:50 GMTAgAAAAMAAAAAAAAAF72+g42D1QE=Tue, 15 Oct 2019 19:19:50 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b8336-f003-0012-4771-e0e9eb000000", + "Body" : "2c388b62-5968-4b12-bcfb-9261bcd8c529Tue, 11 Feb 2020 00:24:57 GMTTue, 18 Feb 2020 00:24:57 GMTAgAAAAMAAAAAAAAA/7+usHHg1QE=Tue, 11 Feb 2020 00:24:57 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:57 GMT", + "x-ms-client-request-id" : "d9dd15f3-c4ec-48ef-8ca3-86bb047f85c6", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuemessage620718a7e5a1856e/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuemessage46082500d2568475/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aa9fb214-29cd-4720-b43c-6f28f2f60fc3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "397ee288-b32f-49c0-a44f-c848937b6f39" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9121-f003-0082-358d-839126000000", - "Body" : "a73ab941-c773-4bb0-8a1a-9302b552014cTue, 15 Oct 2019 19:19:50 GMTTue, 22 Oct 2019 19:19:50 GMTAgAAAAMAAAAAAAAAqt+llY2D1QE=Tue, 15 Oct 2019 19:20:20 GMT1test message", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b8338-f003-0012-4971-e0e9eb000000", + "Body" : "2c388b62-5968-4b12-bcfb-9261bcd8c529Tue, 11 Feb 2020 00:24:57 GMTTue, 18 Feb 2020 00:24:57 GMTAgAAAAMAAAAAAAAAA3KcwnHg1QE=Tue, 11 Feb 2020 00:25:27 GMT1test message", + "Date" : "Tue, 11 Feb 2020 00:24:57 GMT", + "x-ms-client-request-id" : "397ee288-b32f-49c0-a44f-c848937b6f39", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdequeuemessage620718a7e5a1856e" ] + "variables" : [ "queueaysncapitestsdequeuemessage46082500d2568475" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueMultipleMessages.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueMultipleMessages.json index 60ce4d34ee00b..08e10d91daab7 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueMultipleMessages.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueMultipleMessages.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuemultiplemessages33146fd9b889", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuemultiplemessages91127a97aa98", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "adff6bcd-4a24-42ea-9215-9a05fda7ac4c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e91b2ad-31e8-4dbb-b6ba-ccd0d344cf59" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e913e-f003-0082-4f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT" + "x-ms-request-id" : "d25b833b-f003-0012-4c71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:57 GMT", + "x-ms-client-request-id" : "6e91b2ad-31e8-4dbb-b6ba-ccd0d344cf59" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuemultiplemessages33146fd9b889/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuemultiplemessages91127a97aa98/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "09570ab3-779b-4308-8688-7c9e9b04f0c2", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "309c4d5d-feb4-4252-aa38-8b357c936f46", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e914e-f003-0082-5d8d-839126000000", - "Body" : "1ffa9471-7ee5-4148-91d1-1ee7280ebc12Tue, 15 Oct 2019 19:19:50 GMTTue, 22 Oct 2019 19:19:50 GMTAgAAAAMAAAAAAAAA1XPbg42D1QE=Tue, 15 Oct 2019 19:19:50 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b833f-f003-0012-4f71-e0e9eb000000", + "Body" : "d1814cf7-0eca-4b04-ba0d-dced95f00c0eTue, 11 Feb 2020 00:24:58 GMTTue, 18 Feb 2020 00:24:58 GMTAgAAAAMAAAAAAAAAGmXssHHg1QE=Tue, 11 Feb 2020 00:24:58 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:57 GMT", + "x-ms-client-request-id" : "309c4d5d-feb4-4252-aa38-8b357c936f46", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuemultiplemessages33146fd9b889/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuemultiplemessages91127a97aa98/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e032e772-a992-4906-878d-677c70bd4651", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0340dda8-0a71-4865-bbe3-e2c0f78bfed7", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e915a-f003-0082-688d-839126000000", - "Body" : "8420783b-1791-4cee-b025-a586e80629d1Tue, 15 Oct 2019 19:19:50 GMTTue, 22 Oct 2019 19:19:50 GMTAgAAAAMAAAAAAAAAiBrhg42D1QE=Tue, 15 Oct 2019 19:19:50 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b8341-f003-0012-5171-e0e9eb000000", + "Body" : "0ffd7ece-ea23-4081-bfde-90f8d938b577Tue, 11 Feb 2020 00:24:58 GMTTue, 18 Feb 2020 00:24:58 GMTAgAAAAMAAAAAAAAAppn4sHHg1QE=Tue, 11 Feb 2020 00:24:58 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:58 GMT", + "x-ms-client-request-id" : "0340dda8-0a71-4865-bbe3-e2c0f78bfed7", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuemultiplemessages33146fd9b889/messages?numofmessages=2", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuemultiplemessages91127a97aa98/messages?numofmessages=2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "674a1fef-0fc6-4f0f-93d9-9633717b035a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "785619e0-a0d0-496b-b238-2fc7dbb71ca1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e916c-f003-0082-768d-839126000000", - "Body" : "1ffa9471-7ee5-4148-91d1-1ee7280ebc12Tue, 15 Oct 2019 19:19:50 GMTTue, 22 Oct 2019 19:19:50 GMTAgAAAAMAAAAAAAAAThLKlY2D1QE=Tue, 15 Oct 2019 19:20:20 GMT1test message 18420783b-1791-4cee-b025-a586e80629d1Tue, 15 Oct 2019 19:19:50 GMTTue, 22 Oct 2019 19:19:50 GMTAgAAAAMAAAAAAAAAThLKlY2D1QE=Tue, 15 Oct 2019 19:20:20 GMT1test message 2", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b8343-f003-0012-5371-e0e9eb000000", + "Body" : "d1814cf7-0eca-4b04-ba0d-dced95f00c0eTue, 11 Feb 2020 00:24:58 GMTTue, 18 Feb 2020 00:24:58 GMTAgAAAAMAAAAAAAAAlcLmwnHg1QE=Tue, 11 Feb 2020 00:25:28 GMT1test message 10ffd7ece-ea23-4081-bfde-90f8d938b577Tue, 11 Feb 2020 00:24:58 GMTTue, 18 Feb 2020 00:24:58 GMTAgAAAAMAAAAAAAAAlcLmwnHg1QE=Tue, 11 Feb 2020 00:25:28 GMT1test message 2", + "Date" : "Tue, 11 Feb 2020 00:24:58 GMT", + "x-ms-client-request-id" : "785619e0-a0d0-496b-b238-2fc7dbb71ca1", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdequeuemultiplemessages33146fd9b889" ] + "variables" : [ "queueaysncapitestsdequeuemultiplemessages91127a97aa98" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueTooManyMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueTooManyMessage.json index 854a507870d6f..bd38afe735d78 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueTooManyMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsDequeueTooManyMessage.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuetoomanymessage1614019d48f77", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuetoomanymessage818254dd6aaf3", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "32a39001-68cd-4615-8ec7-860e52c4ad42" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb81d70b-b66d-40ac-b5b9-9c96636dea33" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e918d-f003-0082-138d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT" + "x-ms-request-id" : "d25b8345-f003-0012-5571-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:58 GMT", + "x-ms-client-request-id" : "fb81d70b-b66d-40ac-b5b9-9c96636dea33" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsdequeuetoomanymessage1614019d48f77/messages?numofmessages=33", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsdequeuetoomanymessage818254dd6aaf3/messages?numofmessages=33", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6a3fd9e1-7a78-44cc-b94c-a3b0f135d5ab" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "694d50ba-eae6-42fa-af50-f6aa230adc60" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeQueryParameterValue", "retry-after" : "0", "Content-Length" : "456", "StatusCode" : "400", - "x-ms-request-id" : "2f7e91a0-f003-0082-238d-839126000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:2f7e91a0-f003-0082-238d-839126000000\nTime:2019-10-15T19:19:50.5361295Znumofmessages33132", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b8347-f003-0012-5671-e0e9eb000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:d25b8347-f003-0012-5671-e0e9eb000000\nTime:2020-02-11T00:24:58.6474627Znumofmessages33132", + "Date" : "Tue, 11 Feb 2020 00:24:58 GMT", + "x-ms-client-request-id" : "694d50ba-eae6-42fa-af50-f6aa230adc60", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsdequeuetoomanymessage1614019d48f77" ] + "variables" : [ "queueaysncapitestsdequeuetoomanymessage818254dd6aaf3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueEmptyMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueEmptyMessage.json index 4304f822265e3..d996419f70a66 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueEmptyMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueEmptyMessage.json @@ -1,67 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsenqueueemptymessage425252aede4146", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsenqueueemptymessage084294e3194e36", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "647d80e6-c63c-4c85-b5df-e109979aa9d4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e222074-2ea7-41a7-b7ae-ac5c7b3ca538" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "ba0a1d44-2003-00a2-56e6-98fdea000000", - "Date" : "Mon, 11 Nov 2019 23:20:38 GMT", - "x-ms-client-request-id" : "647d80e6-c63c-4c85-b5df-e109979aa9d4" + "x-ms-request-id" : "d25b831b-f003-0012-2f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:56 GMT", + "x-ms-client-request-id" : "4e222074-2ea7-41a7-b7ae-ac5c7b3ca538" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsenqueueemptymessage425252aede4146/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsenqueueemptymessage084294e3194e36/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f723f366-32df-4d87-ae27-64919d42adc6", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8aff4bce-1166-4045-be5b-cc2f02422861", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "726ff6c7-0003-00d3-31e6-988fd3000000", - "Body" : "4baecb8e-02a7-4c54-aa7b-bf3bf4625d00Mon, 11 Nov 2019 23:20:39 GMTMon, 18 Nov 2019 23:20:39 GMTAgAAAAMAAAAAAAAACbCOoeaY1QE=Mon, 11 Nov 2019 23:20:39 GMT", - "Date" : "Mon, 11 Nov 2019 23:20:39 GMT", - "x-ms-client-request-id" : "f723f366-32df-4d87-ae27-64919d42adc6", + "x-ms-request-id" : "d25b831f-f003-0012-3271-e0e9eb000000", + "Body" : "b35cf423-9885-4cf6-9b49-b91dd9da3a2bTue, 11 Feb 2020 00:24:57 GMTTue, 18 Feb 2020 00:24:57 GMTAgAAAAMAAAAAAAAAn9E/sHHg1QE=Tue, 11 Feb 2020 00:24:57 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:56 GMT", + "x-ms-client-request-id" : "8aff4bce-1166-4045-be5b-cc2f02422861", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsenqueueemptymessage425252aede4146/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsenqueueemptymessage084294e3194e36/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3b99ad63-8575-4185-b31f-f1a76312c9ba" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f8b34c0e-5382-46b9-8d74-2591707fa2c8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "ba0a1d4e-2003-00a2-5fe6-98fdea000000", - "Body" : "4baecb8e-02a7-4c54-aa7b-bf3bf4625d00Mon, 11 Nov 2019 23:20:39 GMTMon, 18 Nov 2019 23:20:39 GMT0", - "Date" : "Mon, 11 Nov 2019 23:20:38 GMT", - "x-ms-client-request-id" : "3b99ad63-8575-4185-b31f-f1a76312c9ba", + "x-ms-request-id" : "d25b8323-f003-0012-3671-e0e9eb000000", + "Body" : "b35cf423-9885-4cf6-9b49-b91dd9da3a2bTue, 11 Feb 2020 00:24:57 GMTTue, 18 Feb 2020 00:24:57 GMT0", + "Date" : "Tue, 11 Feb 2020 00:24:56 GMT", + "x-ms-client-request-id" : "f8b34c0e-5382-46b9-8d74-2591707fa2c8", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsenqueueemptymessage425252aede4146" ] + "variables" : [ "queueaysncapitestsenqueueemptymessage084294e3194e36" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueMessage.json index 1a48d292c0c92..1115bdd97d03d 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueMessage.json @@ -1,67 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsenqueuemessage181086f84c4d218a", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsenqueuemessage0039334abba6db74", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "40f79678-448c-4ca6-9fc2-1080627f8718" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aac997f6-0be8-4fdd-93d5-b88e9bbe50c9" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "726ff6b4-0003-00d3-22e6-988fd3000000", - "Date" : "Mon, 11 Nov 2019 23:20:39 GMT", - "x-ms-client-request-id" : "40f79678-448c-4ca6-9fc2-1080627f8718" + "x-ms-request-id" : "d25b8313-f003-0012-2971-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:56 GMT", + "x-ms-client-request-id" : "aac997f6-0be8-4fdd-93d5-b88e9bbe50c9" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsenqueuemessage181086f84c4d218a/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsenqueuemessage0039334abba6db74/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "98e678cc-adcf-4ec6-8cfc-9b52be27e0d1", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0c953ba-96d7-4c77-988f-ad4edaa66950", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "ba0a1d30-2003-00a2-43e6-98fdea000000", - "Body" : "2c9f8bc9-3716-48c2-b578-77c8aff50f72Mon, 11 Nov 2019 23:20:39 GMTMon, 18 Nov 2019 23:20:39 GMTAgAAAAMAAAAAAAAAOIBzoeaY1QE=Mon, 11 Nov 2019 23:20:39 GMT", - "Date" : "Mon, 11 Nov 2019 23:20:38 GMT", - "x-ms-client-request-id" : "98e678cc-adcf-4ec6-8cfc-9b52be27e0d1", + "x-ms-request-id" : "d25b8315-f003-0012-2a71-e0e9eb000000", + "Body" : "fdfed826-f466-41b3-b070-f299e82ab6cbTue, 11 Feb 2020 00:24:56 GMTTue, 18 Feb 2020 00:24:56 GMTAgAAAAMAAAAAAAAA+twDsHHg1QE=Tue, 11 Feb 2020 00:24:56 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:56 GMT", + "x-ms-client-request-id" : "c0c953ba-96d7-4c77-988f-ad4edaa66950", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsenqueuemessage181086f84c4d218a/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsenqueuemessage0039334abba6db74/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ba995e93-44f5-4bbd-8a27-61395b9be657" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06b78a1a-c274-4891-a29e-0bd3aad7f588" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "726ff6c1-0003-00d3-2be6-988fd3000000", - "Body" : "2c9f8bc9-3716-48c2-b578-77c8aff50f72Mon, 11 Nov 2019 23:20:39 GMTMon, 18 Nov 2019 23:20:39 GMT0test message", - "Date" : "Mon, 11 Nov 2019 23:20:39 GMT", - "x-ms-client-request-id" : "ba995e93-44f5-4bbd-8a27-61395b9be657", + "x-ms-request-id" : "d25b8318-f003-0012-2c71-e0e9eb000000", + "Body" : "fdfed826-f466-41b3-b070-f299e82ab6cbTue, 11 Feb 2020 00:24:56 GMTTue, 18 Feb 2020 00:24:56 GMT0test message", + "Date" : "Tue, 11 Feb 2020 00:24:56 GMT", + "x-ms-client-request-id" : "06b78a1a-c274-4891-a29e-0bd3aad7f588", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsenqueuemessage181086f84c4d218a" ] + "variables" : [ "queueaysncapitestsenqueuemessage0039334abba6db74" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueTimeToLive.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueTimeToLive.json index 99adf27e36337..9f4ae4a612a4e 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueTimeToLive.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsEnqueueTimeToLive.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsenqueuetimetolive59020cb21b23f44", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsenqueuetimetolive42905b28f13b127", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5cc32e86-9d23-4d91-8c4a-8a5a4bd994d5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d57587c7-9010-4c78-85ae-147b7e1f6960" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e90d7-f003-0082-768d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT" + "x-ms-request-id" : "d25b8328-f003-0012-3b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:57 GMT", + "x-ms-client-request-id" : "d57587c7-9010-4c78-85ae-147b7e1f6960" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsenqueuetimetolive59020cb21b23f44/messages?visibilitytimeout=0&messagettl=2", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsenqueuetimetolive42905b28f13b127/messages?visibilitytimeout=0&messagettl=2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aa9c9755-2845-40b6-b09b-7c983bee7a4a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1df8ebcd-6861-43d4-8582-3b426bd43d60", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e90e6-f003-0082-048d-839126000000", - "Body" : "229517c2-4936-4f9d-ad99-edba5e80ae8fTue, 15 Oct 2019 19:19:49 GMTTue, 15 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAATpumg42D1QE=Tue, 15 Oct 2019 19:19:49 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b832a-f003-0012-3c71-e0e9eb000000", + "Body" : "4e104127-48cf-455e-8d1e-2e797dec79d1Tue, 11 Feb 2020 00:24:57 GMTTue, 11 Feb 2020 00:24:59 GMTAgAAAAMAAAAAAAAA+yl9sHHg1QE=Tue, 11 Feb 2020 00:24:57 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:57 GMT", + "x-ms-client-request-id" : "1df8ebcd-6861-43d4-8582-3b426bd43d60", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsenqueuetimetolive59020cb21b23f44" ] + "variables" : [ "queueaysncapitestsenqueuetimetolive42905b28f13b127" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetAccessPolicy.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetAccessPolicy.json index d1824cdc637e6..646e8753d2da1 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetAccessPolicy.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetAccessPolicy.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsgetaccesspolicy018358f966dd108b", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsgetaccesspolicy96470fd7f130a52c", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b85b873-9a85-4eaf-b6e3-e814962c56ea" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a3284f4-b623-468d-9b64-4e45f64370db" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8f0c-f003-0082-4d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82df-f003-0012-7c71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:54 GMT", + "x-ms-client-request-id" : "0a3284f4-b623-468d-9b64-4e45f64370db" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsgetaccesspolicy018358f966dd108b?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsgetaccesspolicy96470fd7f130a52c?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "464340d4-e772-4d64-a21e-9d2f7f473807" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "49a701e4-901a-42d7-a319-afb2b4f8e6c7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8f1e-f003-0082-5d8d-839126000000", + "x-ms-request-id" : "d25b82e1-f003-0012-7d71-e0e9eb000000", "Body" : "", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:54 GMT", + "x-ms-client-request-id" : "49a701e4-901a-42d7-a319-afb2b4f8e6c7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsgetaccesspolicy018358f966dd108b" ] + "variables" : [ "queueaysncapitestsgetaccesspolicy96470fd7f130a52c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetAccessPolicyDoesError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetAccessPolicyDoesError.json index 26645ea87caad..93dde9f6cceed 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetAccessPolicyDoesError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetAccessPolicyDoesError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsgetaccesspolicydoeserror5885807555b?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsgetaccesspolicydoeserror1305347d575?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2e57ea2b-1347-4c82-b079-5b1b6d824609" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "90b28314-7a00-4272-8217-db071e2a9626" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e8f37-f003-0082-768d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e8f37-f003-0082-768d-839126000000\nTime:2019-10-15T19:19:48.8965350Z", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT", + "x-ms-request-id" : "d25b82e5-f003-0012-0171-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b82e5-f003-0012-0171-e0e9eb000000\nTime:2020-02-11T00:24:54.8814346Z", + "Date" : "Tue, 11 Feb 2020 00:24:54 GMT", + "x-ms-client-request-id" : "90b28314-7a00-4272-8217-db071e2a9626", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsgetaccesspolicydoeserror5885807555b" ] + "variables" : [ "queueaysncapitestsgetaccesspolicydoeserror1305347d575" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetProperties.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetProperties.json index a9daaac7d5d5a..2c0010d9e652e 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetProperties.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetProperties.json @@ -1,32 +1,33 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsgetproperties297515cd9bd5d14b3", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsgetproperties17935cd40025c0f2b", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2ddeb557-8602-473d-9372-e9a4e1bf3a16" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "99e3bf30-5084-4c13-971d-4a31062d782c" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8c6b-f003-0082-5d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82b2-f003-0012-5e71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:50 GMT", + "x-ms-client-request-id" : "99e3bf30-5084-4c13-971d-4a31062d782c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsgetproperties297515cd9bd5d14b3?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsgetproperties17935cd40025c0f2b?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "96ecb53c-9a8b-4608-a8a6-bf3f3ef7b88e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5aec1a55-5801-4cec-9ec6-21343ce0c707" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -34,10 +35,11 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8c8c-f003-0082-7a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82b4-f003-0012-5f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:50 GMT", + "x-ms-client-request-id" : "5aec1a55-5801-4cec-9ec6-21343ce0c707" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsgetproperties297515cd9bd5d14b3" ] + "variables" : [ "queueaysncapitestsgetproperties17935cd40025c0f2b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetPropertiesError.json index 4eda06270fe34..4716ed0c8ad04 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetPropertiesError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetPropertiesError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsgetpropertieserror4530287ae92dfc?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsgetpropertieserror3164721e35865a?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e698b13c-bc2a-4dc4-a414-c928185aa897" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb654589-e207-4786-bac6-b80a9fc77aab" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e8cb1-f003-0082-1c8d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e8cb1-f003-0082-1c8d-839126000000\nTime:2019-10-15T19:19:47.0737616Z", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT", + "x-ms-request-id" : "d25b82b5-f003-0012-6071-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b82b5-f003-0012-6071-e0e9eb000000\nTime:2020-02-11T00:24:50.8784070Z", + "Date" : "Tue, 11 Feb 2020 00:24:50 GMT", + "x-ms-client-request-id" : "eb654589-e207-4786-bac6-b80a9fc77aab", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsgetpropertieserror4530287ae92dfc" ] + "variables" : [ "queueaysncapitestsgetpropertieserror3164721e35865a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetQueueName.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetQueueName.json index ac547a598dfad..0a235fb8d722c 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetQueueName.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetQueueName.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueaysncapitestsgetqueuename91354dde8231bc75d" ] + "variables" : [ "queueaysncapitestsgetqueuename7412352b67bcd50f3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetQueueURL.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetQueueURL.json index b6f84c834ff3a..1495e9fd8482e 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetQueueURL.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsGetQueueURL.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueaysncapitestsgetqueueurl806041b822464336c4" ] + "variables" : [ "queueaysncapitestsgetqueueurl538862d1cff194e514" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsIPBasedEndpoint.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsIPBasedEndpoint.json index c3a85bc77d62a..5b1000ca64ade 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsIPBasedEndpoint.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsIPBasedEndpoint.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueaysncapitestsipbasedendpoint711627dcd27223e0" ] + "variables" : [ "queueaysncapitestsipbasedendpoint695155734ee4f3fd" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMessage.json index 3c1f27ed826b9..8e8628d91ca76 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMessage.json @@ -1,64 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeekmessage2913879d2ad4b70404", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeekmessage066628b9fbbf0174b4", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7472c04a-5b9a-47a9-bd42-37b667652ae8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f3b26cd-a493-4c0c-a1cc-0c7e2c235b14" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e91c0-f003-0082-408d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT" + "x-ms-request-id" : "d25b834d-f003-0012-5c71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:58 GMT", + "x-ms-client-request-id" : "5f3b26cd-a493-4c0c-a1cc-0c7e2c235b14" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeekmessage2913879d2ad4b70404/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeekmessage066628b9fbbf0174b4/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6908be54-d2b4-4c88-863e-d2fac6de38ef", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f7f177cd-733f-45f4-94f6-48c04bdc7260", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e91d5-f003-0082-528d-839126000000", - "Body" : "0ebf0ca9-6edc-4dce-99d3-54467cfff9a1Tue, 15 Oct 2019 19:19:50 GMTTue, 22 Oct 2019 19:19:50 GMTAgAAAAMAAAAAAAAAjqgThI2D1QE=Tue, 15 Oct 2019 19:19:50 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b8351-f003-0012-5f71-e0e9eb000000", + "Body" : "c9cc9820-e59c-42e6-85ea-62ece3c7a17dTue, 11 Feb 2020 00:24:58 GMTTue, 18 Feb 2020 00:24:58 GMTAgAAAAMAAAAAAAAAZF5psXHg1QE=Tue, 11 Feb 2020 00:24:58 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:58 GMT", + "x-ms-client-request-id" : "f7f177cd-733f-45f4-94f6-48c04bdc7260", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeekmessage2913879d2ad4b70404/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeekmessage066628b9fbbf0174b4/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4785f0f1-63a2-403b-94b4-9de6fb30e468" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ae33de65-e6fc-4dfe-93f5-e548e97a7799" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e91dd-f003-0082-5a8d-839126000000", - "Body" : "0ebf0ca9-6edc-4dce-99d3-54467cfff9a1Tue, 15 Oct 2019 19:19:50 GMTTue, 22 Oct 2019 19:19:50 GMT0test message", - "Date" : "Tue, 15 Oct 2019 19:19:49 GMT", + "x-ms-request-id" : "d25b8353-f003-0012-6171-e0e9eb000000", + "Body" : "c9cc9820-e59c-42e6-85ea-62ece3c7a17dTue, 11 Feb 2020 00:24:58 GMTTue, 18 Feb 2020 00:24:58 GMT0test message", + "Date" : "Tue, 11 Feb 2020 00:24:58 GMT", + "x-ms-client-request-id" : "ae33de65-e6fc-4dfe-93f5-e548e97a7799", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestspeekmessage2913879d2ad4b70404" ] + "variables" : [ "queueaysncapitestspeekmessage066628b9fbbf0174b4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMessagesError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMessagesError.json index 0f970f094862f..e2e50cfa6a21e 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMessagesError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMessagesError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeekmessageserror371098fba09d76e/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeekmessageserror0349347e90e5aeb/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6e4d2b67-7b88-44ae-a7f4-9145a5f6c6fc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dce91d2b-ca56-4a47-9e82-a9295924fb80" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e930f-f003-0082-788d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e930f-f003-0082-788d-839126000000\nTime:2019-10-15T19:19:51.3529241Z", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b836f-f003-0012-7971-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b836f-f003-0012-7971-e0e9eb000000\nTime:2020-02-11T00:25:00.0964714Z", + "Date" : "Tue, 11 Feb 2020 00:24:59 GMT", + "x-ms-client-request-id" : "dce91d2b-ca56-4a47-9e82-a9295924fb80", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestspeekmessageserror371098fba09d76e" ] + "variables" : [ "queueaysncapitestspeekmessageserror0349347e90e5aeb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMultipleMessages.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMultipleMessages.json index c67c10c3fd43b..b47d08de38705 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMultipleMessages.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekMultipleMessages.json @@ -1,85 +1,89 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeekmultiplemessages158038464419b", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeekmultiplemessages41030e3a09f4c", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "37059679-8506-44fe-b12e-039155674334" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "17a67a34-a891-4caa-b6ad-85aae49056c1" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e925a-f003-0082-508d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT" + "x-ms-request-id" : "d25b8359-f003-0012-6671-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:59 GMT", + "x-ms-client-request-id" : "17a67a34-a891-4caa-b6ad-85aae49056c1" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeekmultiplemessages158038464419b/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeekmultiplemessages41030e3a09f4c/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f8293390-e168-4049-a08d-53535a37bb36", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d393728f-32f0-42df-83e5-6f595f464149", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e926e-f003-0082-618d-839126000000", - "Body" : "88fa1525-7f5d-4e78-ab79-1bbaadcbdd72Tue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAAqXlMhI2D1QE=Tue, 15 Oct 2019 19:19:51 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b835b-f003-0012-6771-e0e9eb000000", + "Body" : "8c08e947-6bb4-42da-8afc-3476b7572103Tue, 11 Feb 2020 00:24:59 GMTTue, 18 Feb 2020 00:24:59 GMTAgAAAAMAAAAAAAAAjY6msXHg1QE=Tue, 11 Feb 2020 00:24:59 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:59 GMT", + "x-ms-client-request-id" : "d393728f-32f0-42df-83e5-6f595f464149", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeekmultiplemessages158038464419b/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeekmultiplemessages41030e3a09f4c/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d9fe2be0-1a95-460d-9cec-bef1936ce7cf", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a8bfdcb6-b72e-4710-a412-fcedb3f16f0d", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9282-f003-0082-758d-839126000000", - "Body" : "a6139204-6e82-45bc-b846-37ffd26ac28aTue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMTAgAAAAMAAAAAAAAASvlRhI2D1QE=Tue, 15 Oct 2019 19:19:51 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b835c-f003-0012-6871-e0e9eb000000", + "Body" : "2a64cbeb-0a8e-4fc0-b295-431614d0cea5Tue, 11 Feb 2020 00:24:59 GMTTue, 18 Feb 2020 00:24:59 GMTAgAAAAMAAAAAAAAARU+ysXHg1QE=Tue, 11 Feb 2020 00:24:59 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:59 GMT", + "x-ms-client-request-id" : "a8bfdcb6-b72e-4710-a412-fcedb3f16f0d", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeekmultiplemessages158038464419b/messages?numofmessages=2&peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeekmultiplemessages41030e3a09f4c/messages?numofmessages=2&peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8e461998-e7a5-466d-90fd-f8f6841d2822" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "90b2cef2-0801-4e43-9fe6-f907b740f78d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e929f-f003-0082-0b8d-839126000000", - "Body" : "88fa1525-7f5d-4e78-ab79-1bbaadcbdd72Tue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMT0test message 1a6139204-6e82-45bc-b846-37ffd26ac28aTue, 15 Oct 2019 19:19:51 GMTTue, 22 Oct 2019 19:19:51 GMT0test message 2", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b835f-f003-0012-6b71-e0e9eb000000", + "Body" : "8c08e947-6bb4-42da-8afc-3476b7572103Tue, 11 Feb 2020 00:24:59 GMTTue, 18 Feb 2020 00:24:59 GMT0test message 12a64cbeb-0a8e-4fc0-b295-431614d0cea5Tue, 11 Feb 2020 00:24:59 GMTTue, 18 Feb 2020 00:24:59 GMT0test message 2", + "Date" : "Tue, 11 Feb 2020 00:24:59 GMT", + "x-ms-client-request-id" : "90b2cef2-0801-4e43-9fe6-f907b740f78d", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestspeekmultiplemessages158038464419b" ] + "variables" : [ "queueaysncapitestspeekmultiplemessages41030e3a09f4c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekTooManyMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekTooManyMessage.json index a072d0c30f1f0..d19b8bb5e488d 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekTooManyMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsPeekTooManyMessage.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeektoomanymessage0040911cc20328", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeektoomanymessage344375ab87cd49", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c71e0408-1fc8-40ef-934a-f932acfb8fee" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "693a9671-bdc9-4116-b703-429dbf1ada69" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e92d4-f003-0082-3e8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT" + "x-ms-request-id" : "d25b8363-f003-0012-6f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:59 GMT", + "x-ms-client-request-id" : "693a9671-bdc9-4116-b703-429dbf1ada69" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestspeektoomanymessage0040911cc20328/messages?numofmessages=33&peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestspeektoomanymessage344375ab87cd49/messages?numofmessages=33&peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7a885921-c2a3-4e70-842b-969b3074260b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e9adc81c-77ea-4e19-b7c8-0953fb1697d7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeQueryParameterValue", "retry-after" : "0", "Content-Length" : "456", "StatusCode" : "400", - "x-ms-request-id" : "2f7e92e4-f003-0082-4d8d-839126000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:2f7e92e4-f003-0082-4d8d-839126000000\nTime:2019-10-15T19:19:51.2548287Znumofmessages33132", - "Date" : "Tue, 15 Oct 2019 19:19:50 GMT", + "x-ms-request-id" : "d25b8366-f003-0012-7171-e0e9eb000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:d25b8366-f003-0012-7171-e0e9eb000000\nTime:2020-02-11T00:24:59.8594695Znumofmessages33132", + "Date" : "Tue, 11 Feb 2020 00:24:59 GMT", + "x-ms-client-request-id" : "e9adc81c-77ea-4e19-b7c8-0953fb1697d7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestspeektoomanymessage0040911cc20328" ] + "variables" : [ "queueaysncapitestspeektoomanymessage344375ab87cd49" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAccessPolicy.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAccessPolicy.json index a2b19661d8370..f8db167f92f13 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAccessPolicy.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAccessPolicy.json @@ -1,62 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetaccesspolicy96684311baf5a8e2", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetaccesspolicy66591a33948ad8ce", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c987d66c-ec0c-4913-a39b-fda101e25661" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9fabd477-2b12-45d5-bfde-9b9204144d21" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8f54-f003-0082-118d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT" + "x-ms-request-id" : "d25b82e9-f003-0012-0471-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:54 GMT", + "x-ms-client-request-id" : "9fabd477-2b12-45d5-bfde-9b9204144d21" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetaccesspolicy96684311baf5a8e2?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetaccesspolicy66591a33948ad8ce?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5aedb471-6996-4e4e-aa5f-abd77cce384a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5937a2f4-4913-415e-ae40-d545172f2494", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8f70-f003-0082-2b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT" + "x-ms-request-id" : "d25b82ed-f003-0012-0771-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:54 GMT", + "x-ms-client-request-id" : "5937a2f4-4913-415e-ae40-d545172f2494" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetaccesspolicy96684311baf5a8e2?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetaccesspolicy66591a33948ad8ce?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0e6b67cf-0555-42db-8931-8c1512ad4b27" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab47406d-fd75-448a-8c5d-e2af2657bfb5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8f85-f003-0082-3d8d-839126000000", + "x-ms-request-id" : "d25b82ef-f003-0012-0971-e0e9eb000000", "Body" : "testpermission2000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zraup", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:54 GMT", + "x-ms-client-request-id" : "ab47406d-fd75-448a-8c5d-e2af2657bfb5", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetaccesspolicy96684311baf5a8e2" ] + "variables" : [ "queueaysncapitestssetaccesspolicy66591a33948ad8ce" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata0.json index 8abb41ea394a0..4f19bb1f9d5bc 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata0.json @@ -1,70 +1,73 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata0153404df16e80", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata06082985da60b8", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d820e0bf-1247-480f-9d6c-8cfe8db23c98" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2a653f44-450e-437e-abd6-e45fcc90aec7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8cc7-f003-0082-308d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82b7-f003-0012-6171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:50 GMT", + "x-ms-client-request-id" : "2a653f44-450e-437e-abd6-e45fcc90aec7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata0153404df16e80?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata06082985da60b8?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d70c95a8-aec0-4ad6-bd70-cb9e76143bda" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "67729fde-37d1-4d2d-8760-dd46fb51d896" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8cd2-f003-0082-3a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82b9-f003-0012-6271-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:50 GMT", + "x-ms-client-request-id" : "67729fde-37d1-4d2d-8760-dd46fb51d896" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata0153404df16e80?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata06082985da60b8?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3e336a0e-0b48-4880-8f4c-4ddfb2c032d2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f45168f-b875-45e8-8838-3ec21c6edf3c" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8cdd-f003-0082-458d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82bb-f003-0012-6371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "7f45168f-b875-45e8-8838-3ec21c6edf3c" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata0153404df16e80?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata06082985da60b8?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "806eb79d-0cea-4374-8a83-fada4b6e3d6a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "127ff0a3-a05a-44db-83f9-cda0e06c5307" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -72,10 +75,11 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8d04-f003-0082-6c8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82bc-f003-0012-6471-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "127ff0a3-a05a-44db-83f9-cda0e06c5307" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetandclearmetadata0153404df16e80" ] + "variables" : [ "queueaysncapitestssetandclearmetadata06082985da60b8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata1.json index f609dd0589971..bccf0f2b5692b 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata1.json @@ -1,32 +1,33 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata16056134d258bb", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata1663895eb858e3", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "40f0f90d-d5b1-4723-a4f7-7c7705ed0af1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f212e0e2-b6f8-43f6-9852-c781923fbb4e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8d35-f003-0082-198d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82bd-f003-0012-6571-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "f212e0e2-b6f8-43f6-9852-c781923fbb4e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata16056134d258bb?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata1663895eb858e3?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e2c1e915-aa40-49e4-8c2e-274632506d27" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f540da1-3412-4a4b-a60d-9761b380ea44" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", @@ -34,38 +35,40 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8d44-f003-0082-268d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82bf-f003-0012-6671-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "7f540da1-3412-4a4b-a60d-9761b380ea44" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata16056134d258bb?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata1663895eb858e3?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "65caed8d-49e2-4201-a003-698cf7c8de2b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb0a128a-c943-49ec-aca9-980beffcaf16" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8d50-f003-0082-318d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82c1-f003-0012-6771-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "eb0a128a-c943-49ec-aca9-980beffcaf16" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata16056134d258bb?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata1663895eb858e3?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2951e637-4db8-4793-ae97-d66ed6e0cd8b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "011512bd-b5fe-433c-b848-bd5c6bcd02fe" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -73,10 +76,11 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8d5e-f003-0082-3e8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82c2-f003-0012-6871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "011512bd-b5fe-433c-b848-bd5c6bcd02fe" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetandclearmetadata16056134d258bb" ] + "variables" : [ "queueaysncapitestssetandclearmetadata1663895eb858e3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata2.json index 4597a6f0028f7..71df8ea4cd096 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata2.json @@ -1,32 +1,33 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata219724242fe0b8", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata233830a1e9d556", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0a5ea18b-e14c-42b1-8b8e-e86cc00e66bc" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df99544e-c285-486d-afc5-be21b052d478" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8d8c-f003-0082-698d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82c3-f003-0012-6971-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "df99544e-c285-486d-afc5-be21b052d478" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata219724242fe0b8?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata233830a1e9d556?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "93cfe09f-d9a4-4bdd-a6cf-201b6a6fa4a4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "93976d6a-bf7a-4bae-8c84-348f15ec5502" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", @@ -34,48 +35,51 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8d95-f003-0082-718d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82c5-f003-0012-6a71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "93976d6a-bf7a-4bae-8c84-348f15ec5502" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata219724242fe0b8?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata233830a1e9d556?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "11ef9459-2552-4fc7-bb24-a2cd6c8a1381" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2ce2f68f-9f80-4e71-a2bd-791cba0980b0" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8da9-f003-0082-048d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82c6-f003-0012-6b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:51 GMT", + "x-ms-client-request-id" : "2ce2f68f-9f80-4e71-a2bd-791cba0980b0" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata219724242fe0b8?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata233830a1e9d556?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "17d8d5f0-13a3-479f-a04a-beabe7afb610" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea4f8bbc-9175-453d-bb52-12ae0eb15de3" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8db0-f003-0082-0b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82c7-f003-0012-6c71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:52 GMT", + "x-ms-client-request-id" : "ea4f8bbc-9175-453d-bb52-12ae0eb15de3" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetandclearmetadata219724242fe0b8" ] + "variables" : [ "queueaysncapitestssetandclearmetadata233830a1e9d556" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata3.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata3.json index afdc97effeb74..84682f7726c38 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata3.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata3.json @@ -1,32 +1,33 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata3063656645df9d", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata370847a52f851d", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "588de3fa-6607-4281-a13b-869edfa870de" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "52bea3aa-01ce-4379-a85c-4ea74ba89349" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8dd2-f003-0082-2c8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82c8-f003-0012-6d71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:52 GMT", + "x-ms-client-request-id" : "52bea3aa-01ce-4379-a85c-4ea74ba89349" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata3063656645df9d?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata370847a52f851d?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8ba8c3dd-61da-4d32-a0bf-da7ee34c655f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84679961-5b8c-4bd1-b58f-ad77ba54d3c3" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -34,38 +35,40 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8dde-f003-0082-378d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:46 GMT" + "x-ms-request-id" : "d25b82ca-f003-0012-6e71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:52 GMT", + "x-ms-client-request-id" : "84679961-5b8c-4bd1-b58f-ad77ba54d3c3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata3063656645df9d?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata370847a52f851d?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1e2aae67-6ea0-4064-8138-a238771dbec8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "daea5bfe-2c9e-453a-a5ca-7f62c001821a" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8de4-f003-0082-3d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82cb-f003-0012-6f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:52 GMT", + "x-ms-client-request-id" : "daea5bfe-2c9e-453a-a5ca-7f62c001821a" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata3063656645df9d?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata370847a52f851d?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "783a8086-2b15-45eb-844a-1849a8b5bb38" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9a11cc4d-d315-4e05-b5db-1269ffe86617" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "x-ms-meta-metadata" : "value", @@ -73,10 +76,11 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8dee-f003-0082-468d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82cc-f003-0012-7071-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:52 GMT", + "x-ms-client-request-id" : "9a11cc4d-d315-4e05-b5db-1269ffe86617" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetandclearmetadata3063656645df9d" ] + "variables" : [ "queueaysncapitestssetandclearmetadata370847a52f851d" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata4.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata4.json index 26b06932757a3..f33d5308c0eb9 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata4.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetAndClearMetadata4.json @@ -1,80 +1,84 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata482997ad9bc220", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata49424416d068c0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1eae489e-85e7-4baa-9d95-f6f0552b3acb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b8f7e04-c01d-4a98-a0a9-516480ea7f36" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8e08-f003-0082-5f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82cd-f003-0012-7171-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:52 GMT", + "x-ms-client-request-id" : "8b8f7e04-c01d-4a98-a0a9-516480ea7f36" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata482997ad9bc220?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata49424416d068c0?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b1608424-62b8-4578-acde-0d18fc9e196b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "19f9ed70-e46b-4c0d-8c06-741557ab960c" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8e16-f003-0082-6b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82cf-f003-0012-7271-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:52 GMT", + "x-ms-client-request-id" : "19f9ed70-e46b-4c0d-8c06-741557ab960c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata482997ad9bc220?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata49424416d068c0?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "44851ee4-8e3b-452c-b2f5-b5e25ccc083b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1e39e724-d22a-46f0-996a-e01a23f24aaf" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e8e1f-f003-0082-738d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82d0-f003-0012-7371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:52 GMT", + "x-ms-client-request-id" : "1e39e724-d22a-46f0-996a-e01a23f24aaf" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetandclearmetadata482997ad9bc220?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetandclearmetadata49424416d068c0?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d664d287-b5e8-4d6c-b0c1-2cb52178345d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cbb3a1d9-0af9-4732-b1e8-f1049a4ab5e8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e8e2f-f003-0082-808d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82d1-f003-0012-7471-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:53 GMT", + "x-ms-client-request-id" : "cbb3a1d9-0af9-4732-b1e8-f1049a4ab5e8" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetandclearmetadata482997ad9bc220" ] + "variables" : [ "queueaysncapitestssetandclearmetadata49424416d068c0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidAccessPolicy.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidAccessPolicy.json index abdc584b32c80..4a8daab12f154 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidAccessPolicy.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidAccessPolicy.json @@ -1,44 +1,46 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetinvalidaccesspolicy618506603736", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetinvalidaccesspolicy4766905e7423", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "34b78e10-70cd-43c1-acca-6a2f1e935f96" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5dda95b6-d184-4667-b8d3-3283f71e424d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8fb2-f003-0082-678d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT" + "x-ms-request-id" : "d25b82f5-f003-0012-0f71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:55 GMT", + "x-ms-client-request-id" : "5dda95b6-d184-4667-b8d3-3283f71e424d" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetinvalidaccesspolicy618506603736?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetinvalidaccesspolicy4766905e7423?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7432c4a4-1983-4587-af6a-1e23ef7bd807", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb1749b0-91bb-4a61-bc78-dbd6b4e010f6", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "371", "StatusCode" : "400", - "x-ms-request-id" : "2f7e8fc7-f003-0082-7a8d-839126000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:2f7e8fc7-f003-0082-7a8d-839126000000\nTime:2019-10-15T19:19:49.2078376Z1304Signed identifier ID cannot be empty or over 64 characters in length", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT", + "x-ms-request-id" : "d25b82f9-f003-0012-1271-e0e9eb000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:d25b82f9-f003-0012-1271-e0e9eb000000\nTime:2020-02-11T00:24:55.5204422Z1304Signed identifier ID cannot be empty or over 64 characters in length", + "Date" : "Tue, 11 Feb 2020 00:24:55 GMT", + "x-ms-client-request-id" : "fb1749b0-91bb-4a61-bc78-dbd6b4e010f6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetinvalidaccesspolicy618506603736" ] + "variables" : [ "queueaysncapitestssetinvalidaccesspolicy4766905e7423" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta0.json index a3ddc955e5a2f..ff34fb448b9f9 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta0.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetinvalidmeta000074b1e362083a3", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetinvalidmeta083854f08642fea8c", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "07973928-35cb-456c-a41f-433965872460" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "41e1ad97-dfbf-4a63-887f-6252f16f21da" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8e6f-f003-0082-3c8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82d5-f003-0012-7671-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:53 GMT", + "x-ms-client-request-id" : "41e1ad97-dfbf-4a63-887f-6252f16f21da" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetinvalidmeta000074b1e362083a3?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetinvalidmeta083854f08642fea8c?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87059332-f8ed-4323-adcd-8be688404622" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2b45423a-daf8-48ee-b478-1d46a18aa724" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "2f7e8e79-f003-0082-458d-839126000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:2f7e8e79-f003-0082-458d-839126000000\nTime:2019-10-15T19:19:48.3780301Z", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT", + "x-ms-request-id" : "d25b82d7-f003-0012-7771-e0e9eb000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:d25b82d7-f003-0012-7771-e0e9eb000000\nTime:2020-02-11T00:24:53.6834267Z", + "Date" : "Tue, 11 Feb 2020 00:24:53 GMT", + "x-ms-client-request-id" : "2b45423a-daf8-48ee-b478-1d46a18aa724", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetinvalidmeta000074b1e362083a3" ] + "variables" : [ "queueaysncapitestssetinvalidmeta083854f08642fea8c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta1.json index 5f96f28bba9a7..4ae9aa7d26fed 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta1.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetinvalidmeta1778180aafc4a0bde", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetinvalidmeta167418febf6336c08", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8711461a-d822-40fe-9730-9fd7629e26ac" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "56d33d0a-0208-4d89-96f0-ba4caddb21c9" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8e9b-f003-0082-658d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82d8-f003-0012-7871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:53 GMT", + "x-ms-client-request-id" : "56d33d0a-0208-4d89-96f0-ba4caddb21c9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetinvalidmeta1778180aafc4a0bde?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetinvalidmeta167418febf6336c08?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e38cef1a-3901-4169-b9b9-946485dd0993" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a474338-369e-4de2-9cd8-c2ff48f5be85" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "2f7e8ea9-f003-0082-718d-839126000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:2f7e8ea9-f003-0082-718d-839126000000\nTime:2019-10-15T19:19:48.5151638Z", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT", + "x-ms-request-id" : "d25b82da-f003-0012-7971-e0e9eb000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:d25b82da-f003-0012-7971-e0e9eb000000\nTime:2020-02-11T00:24:54.0074279Z", + "Date" : "Tue, 11 Feb 2020 00:24:53 GMT", + "x-ms-client-request-id" : "6a474338-369e-4de2-9cd8-c2ff48f5be85", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetinvalidmeta1778180aafc4a0bde" ] + "variables" : [ "queueaysncapitestssetinvalidmeta167418febf6336c08" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta2.json index 8172c58bce5a5..7e024058ff9aa 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetInvalidMeta2.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetinvalidmeta256569ba0404d876d", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetinvalidmeta229318085bec0d590", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e1de8c00-d773-4862-9ed0-410d237a4429" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "161a4594-b663-4705-81f7-80feb0f014d9" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8ed2-f003-0082-1a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT" + "x-ms-request-id" : "d25b82dc-f003-0012-7a71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:54 GMT", + "x-ms-client-request-id" : "161a4594-b663-4705-81f7-80feb0f014d9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetinvalidmeta256569ba0404d876d?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetinvalidmeta229318085bec0d590?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c70c7d0d-f937-4fd5-bf68-0e8d34eface8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "574e4112-be3d-46d0-82b9-3c21d5cd029e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "EmptyMetadataKey", "retry-after" : "0", "Content-Length" : "278", "StatusCode" : "400", - "x-ms-request-id" : "2f7e8ee0-f003-0082-258d-839126000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:2f7e8ee0-f003-0082-258d-839126000000\nTime:2019-10-15T19:19:48.6553001Zvalue", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT", + "x-ms-request-id" : "d25b82de-f003-0012-7b71-e0e9eb000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:d25b82de-f003-0012-7b71-e0e9eb000000\nTime:2020-02-11T00:24:54.3264300Zvalue", + "Date" : "Tue, 11 Feb 2020 00:24:54 GMT", + "x-ms-client-request-id" : "574e4112-be3d-46d0-82b9-3c21d5cd029e", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetinvalidmeta256569ba0404d876d" ] + "variables" : [ "queueaysncapitestssetinvalidmeta229318085bec0d590" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetMetadataQueueError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetMetadataQueueError.json index 1baddfa77cbae..780acb128d80c 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetMetadataQueueError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetMetadataQueueError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetmetadataqueueerror811430ab980e3?comp=metadata", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetmetadataqueueerror443559e5b2c5b?comp=metadata", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c4eec9be-ff80-47bc-898a-9dedff9b8c00" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "53c84480-bdfb-4eb1-bf45-f942c92d96f6" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e8e51-f003-0082-218d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e8e51-f003-0082-218d-839126000000\nTime:2019-10-15T19:19:48.2789335Z", - "Date" : "Tue, 15 Oct 2019 19:19:47 GMT", + "x-ms-request-id" : "d25b82d3-f003-0012-7571-e0e9eb000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d25b82d3-f003-0012-7571-e0e9eb000000\nTime:2020-02-11T00:24:53.4464239Z", + "Date" : "Tue, 11 Feb 2020 00:24:53 GMT", + "x-ms-client-request-id" : "53c84480-bdfb-4eb1-bf45-f942c92d96f6", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetmetadataqueueerror811430ab980e3" ] + "variables" : [ "queueaysncapitestssetmetadataqueueerror443559e5b2c5b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetMultipleAccessPolicies.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetMultipleAccessPolicies.json index 20a663fbc4110..53703cc550aa4 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetMultipleAccessPolicies.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetMultipleAccessPolicies.json @@ -1,62 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetmultipleaccesspolicies914420547d2", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetmultipleaccesspolicies9884171f9da", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9a6b9a35-40c5-4554-a0f9-435d90badf1c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e92bd984-bdb8-46ac-8698-cf42b9614264" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e8ffa-f003-0082-298d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT" + "x-ms-request-id" : "d25b82ff-f003-0012-1871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:55 GMT", + "x-ms-client-request-id" : "e92bd984-bdb8-46ac-8698-cf42b9614264" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetmultipleaccesspolicies914420547d2?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetmultipleaccesspolicies9884171f9da?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bd0e77d3-3a55-41e9-a60b-648d844f8ab0", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "19a31cc6-247a-4f86-9278-8e1d2d370050", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e900e-f003-0082-3a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT" + "x-ms-request-id" : "d25b8303-f003-0012-1b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:55 GMT", + "x-ms-client-request-id" : "19a31cc6-247a-4f86-9278-8e1d2d370050" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssetmultipleaccesspolicies914420547d2?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssetmultipleaccesspolicies9884171f9da?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "42377660-ebb6-4455-8ef0-9d467fdbb205" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "70428018-6515-47be-bcd5-4301e7e8cc5b" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9020-f003-0082-488d-839126000000", + "x-ms-request-id" : "d25b8306-f003-0012-1e71-e0e9eb000000", "Body" : "policy02000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zrpolicy12000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zrpolicy22000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zr", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT", + "Date" : "Tue, 11 Feb 2020 00:24:55 GMT", + "x-ms-client-request-id" : "70428018-6515-47be-bcd5-4301e7e8cc5b", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssetmultipleaccesspolicies914420547d2" ] + "variables" : [ "queueaysncapitestssetmultipleaccesspolicies9884171f9da" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetTooManyAccessPolicies.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetTooManyAccessPolicies.json index c77df06a77193..cf36ab31689b1 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetTooManyAccessPolicies.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsSetTooManyAccessPolicies.json @@ -1,44 +1,46 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssettoomanyaccesspolicies910753e3d35", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssettoomanyaccesspolicies258648d3549", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d282f8ab-6d6c-45af-bf86-d755d509b0f8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "364cdf21-eef2-462d-ac50-72a41961a733" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e904a-f003-0082-718d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT" + "x-ms-request-id" : "d25b8308-f003-0012-2071-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:24:56 GMT", + "x-ms-client-request-id" : "364cdf21-eef2-462d-ac50-72a41961a733" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestssettoomanyaccesspolicies910753e3d35?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestssettoomanyaccesspolicies258648d3549?comp=acl", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e7183683-f880-4f30-bf15-0fa6cf99c56e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "98033b80-f40b-4486-9288-b32afd420d81", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidXmlDocument", "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "2f7e905e-f003-0082-038d-839126000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:2f7e905e-f003-0082-038d-839126000000\nTime:2019-10-15T19:19:49.5361570Z00", - "Date" : "Tue, 15 Oct 2019 19:19:48 GMT", + "x-ms-request-id" : "d25b830d-f003-0012-2371-e0e9eb000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:d25b830d-f003-0012-2371-e0e9eb000000\nTime:2020-02-11T00:24:56.3074455Z00", + "Date" : "Tue, 11 Feb 2020 00:24:56 GMT", + "x-ms-client-request-id" : "98033b80-f40b-4486-9288-b32afd420d81", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestssettoomanyaccesspolicies910753e3d35" ] + "variables" : [ "queueaysncapitestssettoomanyaccesspolicies258648d3549" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessage.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessage.json index 7ef60f30d302c..b4ebc9ef0895d 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessage.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessage.json @@ -1,106 +1,111 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessage943826941d8dc0ac2", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessage2844277f80cb0d54c", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "44b6612e-8d66-4de0-bf9a-bc4576b6a6bb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6cbb04a-8116-4926-8706-b1463a63f39e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9574-f003-0082-338d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT" + "x-ms-request-id" : "d25b83bc-f003-0012-3b71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:03 GMT", + "x-ms-client-request-id" : "d6cbb04a-8116-4926-8706-b1463a63f39e" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessage943826941d8dc0ac2/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessage2844277f80cb0d54c/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ca55419e-ca1f-4b0a-9124-262e78a478a4", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dbe1886b-4c0f-4d3d-ba80-d894414c396a", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9581-f003-0082-3f8d-839126000000", - "Body" : "c8348337-b8ba-4017-b88e-ca889b77ba76Tue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMTAgAAAAMAAAAAAAAAl9pfhY2D1QE=Tue, 15 Oct 2019 19:19:52 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83be-f003-0012-3c71-e0e9eb000000", + "Body" : "6bed9f00-e59e-4c3b-afeb-a98848a20bdbTue, 11 Feb 2020 00:25:03 GMTTue, 18 Feb 2020 00:25:03 GMTAgAAAAMAAAAAAAAAJUMVtHHg1QE=Tue, 11 Feb 2020 00:25:03 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:03 GMT", + "x-ms-client-request-id" : "dbe1886b-4c0f-4d3d-ba80-d894414c396a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessage943826941d8dc0ac2/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessage2844277f80cb0d54c/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a4f92b79-7d22-43b3-bef1-f7d8a7cbaa4e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77bb82f5-b2e4-42e1-b662-1be702b9332e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9598-f003-0082-568d-839126000000", - "Body" : "c8348337-b8ba-4017-b88e-ca889b77ba76Tue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMTAgAAAAMAAAAAAAAAEuRJl42D1QE=Tue, 15 Oct 2019 19:20:22 GMT1test message before update", - "Date" : "Tue, 15 Oct 2019 19:19:51 GMT", + "x-ms-request-id" : "d25b83bf-f003-0012-3d71-e0e9eb000000", + "Body" : "6bed9f00-e59e-4c3b-afeb-a98848a20bdbTue, 11 Feb 2020 00:25:03 GMTTue, 18 Feb 2020 00:25:03 GMTAgAAAAMAAAAAAAAAaacCxnHg1QE=Tue, 11 Feb 2020 00:25:33 GMT1test message before update", + "Date" : "Tue, 11 Feb 2020 00:25:03 GMT", + "x-ms-client-request-id" : "77bb82f5-b2e4-42e1-b662-1be702b9332e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessage943826941d8dc0ac2/messages/c8348337-b8ba-4017-b88e-ca889b77ba76?popreceipt=AgAAAAMAAAAAAAAAEuRJl42D1QE%3d&visibilitytimeout=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessage2844277f80cb0d54c/messages/6bed9f00-e59e-4c3b-afeb-a98848a20bdb?popreceipt=AgAAAAMAAAAAAAAAaacCxnHg1QE%3d&visibilitytimeout=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d246b8bf-7c69-46e6-8ddd-41a624e59cb1", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0853ea12-5319-4407-999c-d1ddbbeecf6d", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-time-next-visible" : "Tue, 15 Oct 2019 19:19:53 GMT", + "x-ms-time-next-visible" : "Tue, 11 Feb 2020 00:25:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e95a4-f003-0082-628d-839126000000", - "x-ms-popreceipt" : "AwAAAAMAAAAAAAAAPFcGho2D1QEBAAAA", - "Date" : "Tue, 15 Oct 2019 19:19:52 GMT" + "x-ms-request-id" : "d25b83c0-f003-0012-3e71-e0e9eb000000", + "x-ms-popreceipt" : "AwAAAAMAAAAAAAAAGZLGtHHg1QEBAAAA", + "Date" : "Tue, 11 Feb 2020 00:25:03 GMT", + "x-ms-client-request-id" : "0853ea12-5319-4407-999c-d1ddbbeecf6d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessage943826941d8dc0ac2/messages?peekonly=true", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessage2844277f80cb0d54c/messages?peekonly=true", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "557f7913-279e-4cef-92bc-67f0c21bd766" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eca9ae10-093b-4a03-a924-195de7f2a494" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9831-f003-0082-458d-839126000000", - "Body" : "c8348337-b8ba-4017-b88e-ca889b77ba76Tue, 15 Oct 2019 19:19:52 GMTTue, 22 Oct 2019 19:19:52 GMT1Updated test message", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83c2-f003-0012-3f71-e0e9eb000000", + "Body" : "6bed9f00-e59e-4c3b-afeb-a98848a20bdbTue, 11 Feb 2020 00:25:03 GMTTue, 18 Feb 2020 00:25:03 GMT1Updated test message", + "Date" : "Tue, 11 Feb 2020 00:25:05 GMT", + "x-ms-client-request-id" : "eca9ae10-093b-4a03-a924-195de7f2a494", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsupdatemessage943826941d8dc0ac2" ] + "variables" : [ "queueaysncapitestsupdatemessage2844277f80cb0d54c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs0.json index dc5288ea95798..c25d61f952cfb 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs0.json @@ -1,86 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs020931061415", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs000385e3cfb0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f1be8ca9-a555-4ff6-8720-038864f51ce8" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bcb7daa7-2d61-4ee1-b61a-a55f62691329" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9877-f003-0082-068d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT" + "x-ms-request-id" : "d25b83c3-f003-0012-4071-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:05 GMT", + "x-ms-client-request-id" : "bcb7daa7-2d61-4ee1-b61a-a55f62691329" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs020931061415/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs000385e3cfb0/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "da7dce72-dc78-46ce-a289-db54d8c8d0d7", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e285381f-6fbf-4ccf-9b68-57d77c755619", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9894-f003-0082-208d-839126000000", - "Body" : "a9e69bb0-3e45-448a-9e51-21f9397ada22Tue, 15 Oct 2019 19:19:55 GMTTue, 22 Oct 2019 19:19:55 GMTAgAAAAMAAAAAAAAA4inRho2D1QE=Tue, 15 Oct 2019 19:19:55 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83c7-f003-0012-4371-e0e9eb000000", + "Body" : "efee8770-6909-42ea-8628-54a32b061f3fTue, 11 Feb 2020 00:25:06 GMTTue, 18 Feb 2020 00:25:06 GMTAgAAAAMAAAAAAAAAP0WbtXHg1QE=Tue, 11 Feb 2020 00:25:06 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:05 GMT", + "x-ms-client-request-id" : "e285381f-6fbf-4ccf-9b68-57d77c755619", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs020931061415/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs000385e3cfb0/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b999581-b974-4381-bf10-e884394eca02" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7edaa903-b29a-4ed1-b219-c0557d8c6431" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e98a0-f003-0082-2c8d-839126000000", - "Body" : "a9e69bb0-3e45-448a-9e51-21f9397ada22Tue, 15 Oct 2019 19:19:55 GMTTue, 22 Oct 2019 19:19:55 GMTAgAAAAMAAAAAAAAAYyW4mI2D1QE=Tue, 15 Oct 2019 19:20:25 GMT1test message before update", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83c8-f003-0012-4471-e0e9eb000000", + "Body" : "efee8770-6909-42ea-8628-54a32b061f3fTue, 11 Feb 2020 00:25:06 GMTTue, 18 Feb 2020 00:25:06 GMTAgAAAAMAAAAAAAAAA6iIx3Hg1QE=Tue, 11 Feb 2020 00:25:36 GMT1test message before update", + "Date" : "Tue, 11 Feb 2020 00:25:05 GMT", + "x-ms-client-request-id" : "7edaa903-b29a-4ed1-b219-c0557d8c6431", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs020931061415/messages/a9e69bb0-3e45-448a-9e51-21f9397ada22?popreceipt=AgAAAAMAAAAAAAAAYyW4mI2D1QE%3dRandom&visibilitytimeout=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs000385e3cfb0/messages/efee8770-6909-42ea-8628-54a32b061f3f?popreceipt=AgAAAAMAAAAAAAAAA6iIx3Hg1QE%3dRandom&visibilitytimeout=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ec8d358d-5028-48bf-afcd-dee8d74ce03a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "086015a1-5e1f-4a07-a01e-1cd3bc3dedba", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidQueryParameterValue", "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "2f7e98b4-f003-0082-3e8d-839126000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:2f7e98b4-f003-0082-3e8d-839126000000\nTime:2019-10-15T19:19:55.3518122ZpopreceiptAgAAAAMAAAAAAAAAYyW4mI2D1QE=RandomInvalid pop receipt format", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83c9-f003-0012-4571-e0e9eb000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d25b83c9-f003-0012-4571-e0e9eb000000\nTime:2020-02-11T00:25:06.1755145ZpopreceiptAgAAAAMAAAAAAAAAA6iIx3Hg1QE=RandomInvalid pop receipt format", + "Date" : "Tue, 11 Feb 2020 00:25:05 GMT", + "x-ms-client-request-id" : "086015a1-5e1f-4a07-a01e-1cd3bc3dedba", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsupdatemessageinvalidargs020931061415" ] + "variables" : [ "queueaysncapitestsupdatemessageinvalidargs000385e3cfb0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs1.json index bf094f5b135b3..ad1a79fb3fcaf 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs1.json @@ -1,86 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs127968e1d883", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs16931343653b", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "310c7a07-fd48-439f-8380-a3d4c2409a65" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5dff4dd1-9ab8-4a82-817d-f4dcb9822e61" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e98e6-f003-0082-6b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT" + "x-ms-request-id" : "d25b83cb-f003-0012-4671-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:06 GMT", + "x-ms-client-request-id" : "5dff4dd1-9ab8-4a82-817d-f4dcb9822e61" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs127968e1d883/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs16931343653b/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9dc2c95d-914c-4302-9d70-95f077617ae8", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ef334e30-4cbd-4b2b-a976-58f69450d85f", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e98f8-f003-0082-7b8d-839126000000", - "Body" : "13323f01-13d4-44d0-939a-f41b3e8d0f85Tue, 15 Oct 2019 19:19:55 GMTTue, 22 Oct 2019 19:19:55 GMTAgAAAAMAAAAAAAAAvyP0ho2D1QE=Tue, 15 Oct 2019 19:19:55 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83cd-f003-0012-4771-e0e9eb000000", + "Body" : "cac29a58-fdfc-4d82-9b0f-1cacc71dd611Tue, 11 Feb 2020 00:25:06 GMTTue, 18 Feb 2020 00:25:06 GMTAgAAAAMAAAAAAAAAn8/mtXHg1QE=Tue, 11 Feb 2020 00:25:06 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:06 GMT", + "x-ms-client-request-id" : "ef334e30-4cbd-4b2b-a976-58f69450d85f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs127968e1d883/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs16931343653b/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b58ccc5d-9408-4035-85be-c15752051d07" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2180721b-7974-4d02-aa87-884434358146" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e990a-f003-0082-0d8d-839126000000", - "Body" : "13323f01-13d4-44d0-939a-f41b3e8d0f85Tue, 15 Oct 2019 19:19:55 GMTTue, 22 Oct 2019 19:19:55 GMTAgAAAAMAAAAAAAAAuVvamI2D1QE=Tue, 15 Oct 2019 19:20:25 GMT1test message before update", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83ce-f003-0012-4871-e0e9eb000000", + "Body" : "cac29a58-fdfc-4d82-9b0f-1cacc71dd611Tue, 11 Feb 2020 00:25:06 GMTTue, 18 Feb 2020 00:25:06 GMTAgAAAAMAAAAAAAAApn3Ux3Hg1QE=Tue, 11 Feb 2020 00:25:36 GMT1test message before update", + "Date" : "Tue, 11 Feb 2020 00:25:06 GMT", + "x-ms-client-request-id" : "2180721b-7974-4d02-aa87-884434358146", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs127968e1d883/messages/13323f01-13d4-44d0-939a-f41b3e8d0f85Random?popreceipt=AgAAAAMAAAAAAAAAuVvamI2D1QE%3d&visibilitytimeout=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs16931343653b/messages/cac29a58-fdfc-4d82-9b0f-1cacc71dd611Random?popreceipt=AgAAAAMAAAAAAAAApn3Ux3Hg1QE%3d&visibilitytimeout=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f2e361de-ec67-4d5d-9776-e35ddb931543", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eea4bd3f-7e34-41c1-9219-9e211820e86b", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "MessageNotFound", "retry-after" : "0", "Content-Length" : "221", "StatusCode" : "404", - "x-ms-request-id" : "2f7e9922-f003-0082-258d-839126000000", - "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:2f7e9922-f003-0082-258d-839126000000\nTime:2019-10-15T19:19:55.5740264Z", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83cf-f003-0012-4971-e0e9eb000000", + "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:d25b83cf-f003-0012-4971-e0e9eb000000\nTime:2020-02-11T00:25:06.6615185Z", + "Date" : "Tue, 11 Feb 2020 00:25:06 GMT", + "x-ms-client-request-id" : "eea4bd3f-7e34-41c1-9219-9e211820e86b", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsupdatemessageinvalidargs127968e1d883" ] + "variables" : [ "queueaysncapitestsupdatemessageinvalidargs16931343653b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs2.json index 7fbd61e781c9a..aabcb39a9e190 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueAysncAPITestsUpdateMessageInvalidArgs2.json @@ -1,86 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs259383e685ad", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs220783b6033f", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b2a712f8-4d8f-4b8a-99ae-dd3f81fe7bde" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f195db6-b61b-4e2c-84cb-5f6358a19e0e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e994e-f003-0082-508d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT" + "x-ms-request-id" : "d25b83d1-f003-0012-4a71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:06 GMT", + "x-ms-client-request-id" : "7f195db6-b61b-4e2c-84cb-5f6358a19e0e" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs259383e685ad/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs220783b6033f/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8c0255f-ca2a-4592-bc60-779a6c1a18ea", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0c02da23-31fb-43be-ac29-6ed52a8aaa20", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9964-f003-0082-628d-839126000000", - "Body" : "631afc86-2dc6-49b7-9d26-e682281d6178Tue, 15 Oct 2019 19:19:55 GMTTue, 22 Oct 2019 19:19:55 GMTAgAAAAMAAAAAAAAAFdMUh42D1QE=Tue, 15 Oct 2019 19:19:55 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83d3-f003-0012-4b71-e0e9eb000000", + "Body" : "3144d7c2-0c43-4847-a894-49a27a8aa2cfTue, 11 Feb 2020 00:25:06 GMTTue, 18 Feb 2020 00:25:06 GMTAgAAAAMAAAAAAAAA3VQytnHg1QE=Tue, 11 Feb 2020 00:25:06 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:06 GMT", + "x-ms-client-request-id" : "0c02da23-31fb-43be-ac29-6ed52a8aaa20", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs259383e685ad/messages?numofmessages=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs220783b6033f/messages?numofmessages=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fb77a54f-847f-43fc-a1ca-1880bb5fc463" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b1383246-8295-4856-b204-548d80173fcd" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9978-f003-0082-758d-839126000000", - "Body" : "631afc86-2dc6-49b7-9d26-e682281d6178Tue, 15 Oct 2019 19:19:55 GMTTue, 22 Oct 2019 19:19:55 GMTAgAAAAMAAAAAAAAAZ4D7mI2D1QE=Tue, 15 Oct 2019 19:20:25 GMT1test message before update", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83d4-f003-0012-4c71-e0e9eb000000", + "Body" : "3144d7c2-0c43-4847-a894-49a27a8aa2cfTue, 11 Feb 2020 00:25:06 GMTTue, 18 Feb 2020 00:25:06 GMTAgAAAAMAAAAAAAAAsKEgyHHg1QE=Tue, 11 Feb 2020 00:25:37 GMT1test message before update", + "Date" : "Tue, 11 Feb 2020 00:25:06 GMT", + "x-ms-client-request-id" : "b1383246-8295-4856-b204-548d80173fcd", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs259383e685ad/messages/631afc86-2dc6-49b7-9d26-e682281d6178Random?popreceipt=AgAAAAMAAAAAAAAAZ4D7mI2D1QE%3dRandom&visibilitytimeout=1", + "Uri" : "https://gapradev.queue.core.windows.net/queueaysncapitestsupdatemessageinvalidargs220783b6033f/messages/3144d7c2-0c43-4847-a894-49a27a8aa2cfRandom?popreceipt=AgAAAAMAAAAAAAAAsKEgyHHg1QE%3dRandom&visibilitytimeout=1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ff778233-8e9c-4ea2-a2a2-550e34e7804e", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1abf0102-2886-4cc7-9953-814c89647a91", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidQueryParameterValue", "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9985-f003-0082-018d-839126000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:2f7e9985-f003-0082-018d-839126000000\nTime:2019-10-15T19:19:55.7852317ZpopreceiptAgAAAAMAAAAAAAAAZ4D7mI2D1QE=RandomInvalid pop receipt format", - "Date" : "Tue, 15 Oct 2019 19:19:54 GMT", + "x-ms-request-id" : "d25b83d5-f003-0012-4d71-e0e9eb000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d25b83d5-f003-0012-4d71-e0e9eb000000\nTime:2020-02-11T00:25:07.1645215ZpopreceiptAgAAAAMAAAAAAAAAsKEgyHHg1QE=RandomInvalid pop receipt format", + "Date" : "Tue, 11 Feb 2020 00:25:06 GMT", + "x-ms-client-request-id" : "1abf0102-2886-4cc7-9953-814c89647a91", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueaysncapitestsupdatemessageinvalidargs259383e685ad" ] + "variables" : [ "queueaysncapitestsupdatemessageinvalidargs220783b6033f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASCreateDeleteQueue.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASCreateDeleteQueue.json index 1ecc0f691ddaa..fbaf543aa16a0 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASCreateDeleteQueue.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASCreateDeleteQueue.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsaccountsascreatedeletequeue675881938c53?sv=2019-02-02&ss=q&srt=sco&se=2019-12-13T21%3A49%3A20Z&sp=rdc&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsaccountsascreatedeletequeue43477e0ea901?sv=2019-02-02&ss=q&srt=sco&se=2020-02-12T00%3A26%3A13Z&sp=rdc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "fc323d98-1b9d-45ba-a93d-99f334073770" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9f037942-d566-4b1d-af3a-e1b7915ee825" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4de4b099-5003-00e9-4336-b1cc70000000", - "Date" : "Thu, 12 Dec 2019 21:49:21 GMT", - "x-ms-client-request-id" : "fc323d98-1b9d-45ba-a93d-99f334073770" + "x-ms-request-id" : "bf12808b-7003-000c-3b71-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:13 GMT", + "x-ms-client-request-id" : "9f037942-d566-4b1d-af3a-e1b7915ee825" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsaccountsascreatedeletequeue675881938c53?sv=2019-02-02&ss=q&srt=sco&se=2019-12-13T21%3A49%3A20Z&sp=rdc&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsaccountsascreatedeletequeue43477e0ea901?sv=2019-02-02&ss=q&srt=sco&se=2020-02-12T00%3A26%3A13Z&sp=rdc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "01c97e37-8695-4e1f-8349-c94d0135baad" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d296c99d-6f9f-40fa-a35c-cc93ed1ed980" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "4de4b0d8-5003-00e9-7436-b1cc70000000", - "Date" : "Thu, 12 Dec 2019 21:49:22 GMT", - "x-ms-client-request-id" : "01c97e37-8695-4e1f-8349-c94d0135baad" + "x-ms-request-id" : "bf12808d-7003-000c-3c71-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:13 GMT", + "x-ms-client-request-id" : "d296c99d-6f9f-40fa-a35c-cc93ed1ed980" }, "Exception" : null } ], - "variables" : [ "queuesastestsaccountsascreatedeletequeue37178d95ced3", "2019-12-12T21:49:20.150535600Z", "queuesastestsaccountsascreatedeletequeue675881938c53" ] + "variables" : [ "queuesastestsaccountsascreatedeletequeue80312a108eec", "2020-02-11T00:26:13.801071400Z", "queuesastestsaccountsascreatedeletequeue43477e0ea901" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASListQueues.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASListQueues.json index 5d9776de13281..e99e421a9f277 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASListQueues.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASListQueues.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsaccountsaslistqueues20803e5d41b098ef", "2019-12-12T21:48:12.017930800Z" ] + "variables" : [ "queuesastestsaccountsaslistqueues49903bd5636deea0", "2020-02-11T00:26:14.059729700Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASNetworkOnEndpoint.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASNetworkOnEndpoint.json index 3c44cc4b70d14..e4cb889fbce15 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASNetworkOnEndpoint.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsAccountSASNetworkOnEndpoint.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsaccountsasnetworkonendpoint060038138476?sv=2019-02-02&se=2019-12-12T23%3A50%3A56Z&sp=rwdlc&sig=REDACTED&ss=q&srt=sco", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsaccountsasnetworkonendpoint50654685ead2?sv=2019-07-07&se=2020-02-12T00%3A26%3A14Z&sp=rwdlc&sig=REDACTED&ss=q&srt=sco", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "05b3dc64-1f01-47f7-8dbd-c5ad3446c80d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c4b8142-a0a4-45e9-867a-d38ea1835f35" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "af49d1ba-0003-0036-2b7d-b09d24000000", - "Date" : "Wed, 11 Dec 2019 23:50:56 GMT", - "x-ms-client-request-id" : "05b3dc64-1f01-47f7-8dbd-c5ad3446c80d" + "x-ms-request-id" : "bf128090-7003-000c-3f71-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:13 GMT", + "x-ms-client-request-id" : "6c4b8142-a0a4-45e9-867a-d38ea1835f35" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsaccountsasnetworkonendpoint060038138476?sv=2019-02-02&se=2019-12-12T23%3A50%3A56Z&sp=rwdlc&sig=REDACTED&ss=q&srt=sco", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsaccountsasnetworkonendpoint50654685ead2?sv=2019-07-07&se=2020-02-12T00%3A26%3A14Z&sp=rwdlc&sig=REDACTED&ss=q&srt=sco", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d1f6acae-c7b9-49f5-adc0-5e5533c7884f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5daaa5eb-3e4b-4abb-8d3d-d9bfd9a40e67" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "af49d1c3-0003-0036-337d-b09d24000000", - "Date" : "Wed, 11 Dec 2019 23:50:56 GMT", - "x-ms-client-request-id" : "d1f6acae-c7b9-49f5-adc0-5e5533c7884f" + "x-ms-request-id" : "bf128092-7003-000c-4071-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:14 GMT", + "x-ms-client-request-id" : "5daaa5eb-3e4b-4abb-8d3d-d9bfd9a40e67" }, "Exception" : null } ], - "variables" : [ "queuesastestsaccountsasnetworkonendpoint55885094d230", "2019-12-11T23:50:56.289439400Z", "queuesastestsaccountsasnetworkonendpoint060038138476" ] + "variables" : [ "queuesastestsaccountsasnetworkonendpoint195899887a98", "2020-02-11T00:26:14.144580200Z", "queuesastestsaccountsasnetworkonendpoint50654685ead2" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASEnqueueDequeueWithIdentifier.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASEnqueueDequeueWithIdentifier.json index 3c5fd4b99ea24..c832fdb162dda 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASEnqueueDequeueWithIdentifier.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASEnqueueDequeueWithIdentifier.json @@ -1,109 +1,109 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier88185ca3", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier8075288d", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "b1f7dacb-6a82-4e8c-a922-1ced5d8247bd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "429b922c-ebcd-4823-90d8-a267ff3929f5" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "af49bd2a-0003-0036-637d-b09d24000000", - "Date" : "Wed, 11 Dec 2019 23:50:24 GMT", - "x-ms-client-request-id" : "b1f7dacb-6a82-4e8c-a922-1ced5d8247bd" + "x-ms-request-id" : "bf127f2c-7003-000c-0171-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:25:43 GMT", + "x-ms-client-request-id" : "429b922c-ebcd-4823-90d8-a267ff3929f5" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier88185ca3/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier8075288d/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "36247981-925e-45c1-b27f-b0f913c4fb84", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1a7de336-048f-4cd9-873e-e36fae04c31c", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "af49bd2f-0003-0036-677d-b09d24000000", - "Body" : "7983a534-c5e7-4e4c-a06b-6eb03e4f06aaWed, 11 Dec 2019 23:50:25 GMTWed, 18 Dec 2019 23:50:25 GMTAgAAAAMAAAAAAAAAbDOBwn2w1QE=Wed, 11 Dec 2019 23:50:25 GMT", - "Date" : "Wed, 11 Dec 2019 23:50:24 GMT", - "x-ms-client-request-id" : "36247981-925e-45c1-b27f-b0f913c4fb84", + "x-ms-request-id" : "bf127f30-7003-000c-0471-e00533000000", + "Body" : "09df46a6-18c5-41a0-bafe-88f7ee0f11f7Tue, 11 Feb 2020 00:25:43 GMTTue, 18 Feb 2020 00:25:43 GMTAgAAAAMAAAAAAAAAC4Ldy3Hg1QE=Tue, 11 Feb 2020 00:25:43 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:43 GMT", + "x-ms-client-request-id" : "1a7de336-048f-4cd9-873e-e36fae04c31c", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier88185ca3?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier8075288d?comp=acl", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f50af52a-fcf8-4b85-9325-b8d9561db142", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "65d8defa-d43b-47fd-84ba-7054d74d4f08", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "af49bd3a-0003-0036-727d-b09d24000000", - "Date" : "Wed, 11 Dec 2019 23:50:24 GMT", - "x-ms-client-request-id" : "f50af52a-fcf8-4b85-9325-b8d9561db142" + "x-ms-request-id" : "bf127f31-7003-000c-0571-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:25:43 GMT", + "x-ms-client-request-id" : "65d8defa-d43b-47fd-84ba-7054d74d4f08" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier88185ca3/messages?sv=2019-02-02&si=be3a3daf-4319-4419-92ea-af4416aa1dc2&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier8075288d/messages?sv=2019-07-07&si=fd07b94e-1581-4ac3-972f-409c70d3bf44&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "ff2c49df-be19-406f-b81f-b9ddc35929b3", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7e7d90bb-7bb3-41ce-a63c-265d87459276", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "af49d16f-0003-0036-6a7d-b09d24000000", - "Body" : "36e1b421-f3a4-4108-b990-d93b00c9c34aWed, 11 Dec 2019 23:50:55 GMTWed, 18 Dec 2019 23:50:55 GMTAgAAAAMAAAAAAAAARD521H2w1QE=Wed, 11 Dec 2019 23:50:55 GMT", - "Date" : "Wed, 11 Dec 2019 23:50:55 GMT", - "x-ms-client-request-id" : "ff2c49df-be19-406f-b81f-b9ddc35929b3", + "x-ms-request-id" : "bf128087-7003-000c-3971-e00533000000", + "Body" : "fcfab1d1-64db-4cd4-ab1a-be0a9eec0302Tue, 11 Feb 2020 00:26:13 GMTTue, 18 Feb 2020 00:26:13 GMTAgAAAAMAAAAAAAAAbi7c3XHg1QE=Tue, 11 Feb 2020 00:26:13 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:13 GMT", + "x-ms-client-request-id" : "7e7d90bb-7bb3-41ce-a63c-265d87459276", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier88185ca3/messages?numofmessages=2&visibilitytimeout=30&sv=2019-02-02&si=be3a3daf-4319-4419-92ea-af4416aa1dc2&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithidentifier8075288d/messages?numofmessages=2&visibilitytimeout=30&sv=2019-07-07&si=fd07b94e-1581-4ac3-972f-409c70d3bf44&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "c72a3688-c1e7-4aec-a3fc-11c2d1ad59f5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ec576880-390c-46d8-ac3b-34b57c76afdb" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "af49d17a-0003-0036-727d-b09d24000000", - "Body" : "7983a534-c5e7-4e4c-a06b-6eb03e4f06aaWed, 11 Dec 2019 23:50:25 GMTWed, 18 Dec 2019 23:50:25 GMTAgAAAAMAAAAAAAAA/01c5n2w1QE=Wed, 11 Dec 2019 23:51:25 GMT1test36e1b421-f3a4-4108-b990-d93b00c9c34aWed, 11 Dec 2019 23:50:55 GMTWed, 18 Dec 2019 23:50:55 GMTAgAAAAMAAAAAAAAA/01c5n2w1QE=Wed, 11 Dec 2019 23:51:25 GMT1sastest", - "Date" : "Wed, 11 Dec 2019 23:50:55 GMT", - "x-ms-client-request-id" : "c72a3688-c1e7-4aec-a3fc-11c2d1ad59f5", + "x-ms-request-id" : "bf12808a-7003-000c-3a71-e00533000000", + "Body" : "09df46a6-18c5-41a0-bafe-88f7ee0f11f7Tue, 11 Feb 2020 00:25:43 GMTTue, 18 Feb 2020 00:25:43 GMTAgAAAAMAAAAAAAAAJ37K73Hg1QE=Tue, 11 Feb 2020 00:26:43 GMT1testfcfab1d1-64db-4cd4-ab1a-be0a9eec0302Tue, 11 Feb 2020 00:26:13 GMTTue, 18 Feb 2020 00:26:13 GMTAgAAAAMAAAAAAAAAJ37K73Hg1QE=Tue, 11 Feb 2020 00:26:43 GMT1sastest", + "Date" : "Tue, 11 Feb 2020 00:26:13 GMT", + "x-ms-client-request-id" : "ec576880-390c-46d8-ac3b-34b57c76afdb", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queuesastestsqueuesasenqueuedequeuewithidentifier88185ca3", "2019-12-11T23:50:25.824726400Z", "2019-12-11T23:50:25.832725900Z", "be3a3daf-4319-4419-92ea-af4416aa1dc2", "queue9044539d" ] + "variables" : [ "queuesastestsqueuesasenqueuedequeuewithidentifier8075288d", "2020-02-11T00:25:43.363321300Z", "2020-02-11T00:25:43.364288500Z", "fd07b94e-1581-4ac3-972f-409c70d3bf44", "queue76178feb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASEnqueueDequeueWithPermissions.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASEnqueueDequeueWithPermissions.json index b6a584e5125f5..5102b8497e47c 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASEnqueueDequeueWithPermissions.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASEnqueueDequeueWithPermissions.json @@ -1,112 +1,112 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions8576665", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions96219ae", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "18d0fb6c-7037-4cbc-9d68-b644c618658c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4bc1ce1b-b2da-47fe-89e6-930ab808a505" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "60c9de4a-b003-00e8-027e-b0cd8d000000", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "18d0fb6c-7037-4cbc-9d68-b644c618658c" + "x-ms-request-id" : "bf127f0c-7003-000c-6471-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:25:41 GMT", + "x-ms-client-request-id" : "4bc1ce1b-b2da-47fe-89e6-930ab808a505" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions8576665/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions96219ae/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "274c2682-2427-4484-9da3-c79c2cd29811", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2558444f-9408-4acc-8437-e5ba25d1a8f1", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "60c9de52-b003-00e8-087e-b0cd8d000000", - "Body" : "75a5ad62-0d00-49e7-ac9a-0f0ad03014adWed, 11 Dec 2019 23:53:59 GMTWed, 18 Dec 2019 23:53:59 GMTAgAAAAMAAAAAAAAAmnwWQn6w1QE=Wed, 11 Dec 2019 23:53:59 GMT", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "274c2682-2427-4484-9da3-c79c2cd29811", + "x-ms-request-id" : "bf127f0f-7003-000c-6671-e00533000000", + "Body" : "f0ee7d3b-ed39-44e0-8749-cd3f10b7fd6eTue, 11 Feb 2020 00:25:41 GMTTue, 18 Feb 2020 00:25:41 GMTAgAAAAMAAAAAAAAABRAPy3Hg1QE=Tue, 11 Feb 2020 00:25:41 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:41 GMT", + "x-ms-client-request-id" : "2558444f-9408-4acc-8437-e5ba25d1a8f1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions8576665/messages?sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A53%3A59Z&se=2019-12-12T23%3A53%3A59Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions96219ae/messages?sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A42Z&se=2020-02-12T00%3A25%3A42Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "75410427-80eb-4928-92c8-4ecb842701e4", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "32e2f89f-af6e-46a6-82aa-17626a0131a5", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "60c9de62-b003-00e8-147e-b0cd8d000000", - "Body" : "25bdf2f3-589d-4ffc-abc1-1dc9a5068294Wed, 11 Dec 2019 23:53:59 GMTWed, 18 Dec 2019 23:53:59 GMTAgAAAAMAAAAAAAAAmwgoQn6w1QE=Wed, 11 Dec 2019 23:53:59 GMT", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "75410427-80eb-4928-92c8-4ecb842701e4", + "x-ms-request-id" : "bf127f10-7003-000c-6771-e00533000000", + "Body" : "a33909be-50c9-4dbd-a13b-3f03230ad3acTue, 11 Feb 2020 00:25:42 GMTTue, 18 Feb 2020 00:25:42 GMTAgAAAAMAAAAAAAAAU+wey3Hg1QE=Tue, 11 Feb 2020 00:25:42 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:42 GMT", + "x-ms-client-request-id" : "32e2f89f-af6e-46a6-82aa-17626a0131a5", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions8576665/messages?numofmessages=2&visibilitytimeout=30&sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A53%3A59Z&se=2019-12-12T23%3A53%3A59Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions96219ae/messages?numofmessages=2&visibilitytimeout=30&sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A42Z&se=2020-02-12T00%3A25%3A42Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "942117b9-7d13-4dd0-8f0e-edfa74697cf2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5cdf69a6-20a9-4c17-9dcc-5b26b93e3022" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "60c9de7d-b003-00e8-2b7e-b0cd8d000000", - "Body" : "75a5ad62-0d00-49e7-ac9a-0f0ad03014adWed, 11 Dec 2019 23:53:59 GMTWed, 18 Dec 2019 23:53:59 GMTAgAAAAMAAAAAAAAAdrAQVH6w1QE=Wed, 11 Dec 2019 23:54:30 GMT1test25bdf2f3-589d-4ffc-abc1-1dc9a5068294Wed, 11 Dec 2019 23:53:59 GMTWed, 18 Dec 2019 23:53:59 GMTAgAAAAMAAAAAAAAAdrAQVH6w1QE=Wed, 11 Dec 2019 23:54:30 GMT1sastest", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "942117b9-7d13-4dd0-8f0e-edfa74697cf2", + "x-ms-request-id" : "bf127f11-7003-000c-6871-e00533000000", + "Body" : "f0ee7d3b-ed39-44e0-8749-cd3f10b7fd6eTue, 11 Feb 2020 00:25:41 GMTTue, 18 Feb 2020 00:25:41 GMTAgAAAAMAAAAAAAAA8jgN3XHg1QE=Tue, 11 Feb 2020 00:26:12 GMT1testa33909be-50c9-4dbd-a13b-3f03230ad3acTue, 11 Feb 2020 00:25:42 GMTTue, 18 Feb 2020 00:25:42 GMTAgAAAAMAAAAAAAAA8jgN3XHg1QE=Tue, 11 Feb 2020 00:26:12 GMT1sastest", + "Date" : "Tue, 11 Feb 2020 00:25:42 GMT", + "x-ms-client-request-id" : "5cdf69a6-20a9-4c17-9dcc-5b26b93e3022", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions8576665/messages/75a5ad62-0d00-49e7-ac9a-0f0ad03014ad?popreceipt=AgAAAAMAAAAAAAAAmnwWQn6w1QE%3d&visibilitytimeout=3600&sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A53%3A59Z&se=2019-12-12T23%3A53%3A59Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasenqueuedequeuewithpermissions96219ae/messages/f0ee7d3b-ed39-44e0-8749-cd3f10b7fd6e?popreceipt=AgAAAAMAAAAAAAAABRAPy3Hg1QE%3d&visibilitytimeout=3600&sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A42Z&se=2020-02-12T00%3A25%3A42Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8b5d0945-70cc-4654-b22a-79f9452e3e65", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "667c9180-cc43-459b-972a-f9dbe8aad7ec", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "60c9de91-b003-00e8-3a7e-b0cd8d000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:60c9de91-b003-00e8-3a7e-b0cd8d000000\nTime:2019-12-11T23:54:00.0740958Z", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "8b5d0945-70cc-4654-b22a-79f9452e3e65", + "x-ms-request-id" : "bf127f14-7003-000c-6b71-e00533000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:bf127f14-7003-000c-6b71-e00533000000\nTime:2020-02-11T00:25:42.3477830Z", + "Date" : "Tue, 11 Feb 2020 00:25:42 GMT", + "x-ms-client-request-id" : "667c9180-cc43-459b-972a-f9dbe8aad7ec", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queuesastestsqueuesasenqueuedequeuewithpermissions8576665", "2019-12-11T23:53:59.871166500Z", "2019-12-11T23:53:59.871166500Z", "queue86747585" ] + "variables" : [ "queuesastestsqueuesasenqueuedequeuewithpermissions96219ae", "2020-02-11T00:25:42.008136100Z", "2020-02-11T00:25:42.008136100Z", "queue829236d3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse0.json index 7249b56df5d68..4888f62eead13 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse0.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparse01054720fcdd425" ] + "variables" : [ "queuesastestsqueuesaspermissionparse07492666613c762" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse1.json index db278bee0f6a6..890def43453e6 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse1.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparse1736318e8d9f853" ] + "variables" : [ "queuesastestsqueuesaspermissionparse1353125924fbbd1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse2.json index cac70c70062eb..4b86cccd3f790 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse2.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparse2416361acb6ba28" ] + "variables" : [ "queuesastestsqueuesaspermissionparse2412112b0cd5b92" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse3.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse3.json index 944d50e4c54ca..17f2d574adcb0 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse3.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse3.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparse3917595cc4b233e" ] + "variables" : [ "queuesastestsqueuesaspermissionparse3859574ba1cc4b7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse4.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse4.json index 9a1bab9654f76..0f374216fa221 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse4.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse4.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparse4681381450ae881" ] + "variables" : [ "queuesastestsqueuesaspermissionparse43222041ace0b08" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse5.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse5.json index acecd870dc65a..7ae2ac58e3c6b 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse5.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse5.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparse5754796b4df5b55" ] + "variables" : [ "queuesastestsqueuesaspermissionparse5475125f894d392" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse6.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse6.json index 4947f5d092f86..31e4b8a45ebd7 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse6.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse6.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparse648381b26c20938" ] + "variables" : [ "queuesastestsqueuesaspermissionparse6642515b7e45a88" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse7.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse7.json index 7c198fae2c47d..c7d2897f1b497 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse7.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParse7.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparse739939f298381d5" ] + "variables" : [ "queuesastestsqueuesaspermissionparse737088df74ae252" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParseIA.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParseIA.json index 480a091501077..d004a6f42b5e0 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParseIA.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionParseIA.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissionparseia2290599881e5a" ] + "variables" : [ "queuesastestsqueuesaspermissionparseia29533df16b085" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString0.json index feb4d0de1fbd3..aa0750ee764bf 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString0.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissiontostring009608dbc2ad7" ] + "variables" : [ "queuesastestsqueuesaspermissiontostring062099bb75c6f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString1.json index 2082cff4fa3c1..1b032faf66265 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString1.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissiontostring1051109b53cc3" ] + "variables" : [ "queuesastestsqueuesaspermissiontostring1024739637398" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString2.json index 7fac3b18bb4eb..b5a6c1d12ab65 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString2.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissiontostring251238ff63474" ] + "variables" : [ "queuesastestsqueuesaspermissiontostring2560168ab987a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString3.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString3.json index 435fcee84c62f..acd552f32ec39 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString3.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString3.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissiontostring35506343e2a8c" ] + "variables" : [ "queuesastestsqueuesaspermissiontostring320336dfbc4cc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString4.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString4.json index 1375f24e4a331..d573fc193a01e 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString4.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString4.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissiontostring434839a5e1d4d" ] + "variables" : [ "queuesastestsqueuesaspermissiontostring412117975b4d4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString5.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString5.json index acc355497343d..b9ddc5714a480 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString5.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASPermissionToString5.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueuesaspermissiontostring537998039eb2f" ] + "variables" : [ "queuesastestsqueuesaspermissiontostring554766ed8ef9e" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASUpdateDeleteWithPermissions.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASUpdateDeleteWithPermissions.json index 7be47d3743f9a..abdf07079f339 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASUpdateDeleteWithPermissions.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueSASUpdateDeleteWithPermissions.json @@ -1,111 +1,111 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions283330a4", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions62532673", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4dcd3d21-7af8-4ebe-8eb8-db8b3342cfe2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "df5390be-d2f1-4bb8-891f-27b47231adad" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "60c9dead-b003-00e8-537e-b0cd8d000000", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "4dcd3d21-7af8-4ebe-8eb8-db8b3342cfe2" + "x-ms-request-id" : "bf127f1f-7003-000c-7571-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:25:42 GMT", + "x-ms-client-request-id" : "df5390be-d2f1-4bb8-891f-27b47231adad" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions283330a4/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions62532673/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7290ca3d-c80c-4632-9085-a9e0ef75e40f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a5023811-a4e0-4793-9e32-ef24f03a3e5a", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "60c9deb7-b003-00e8-5c7e-b0cd8d000000", - "Body" : "d7f7d7a8-591e-4197-b067-952576ee3c4dWed, 11 Dec 2019 23:54:00 GMTWed, 18 Dec 2019 23:54:00 GMTAgAAAAMAAAAAAAAAHZ9QQn6w1QE=Wed, 11 Dec 2019 23:54:00 GMT", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "7290ca3d-c80c-4632-9085-a9e0ef75e40f", + "x-ms-request-id" : "bf127f24-7003-000c-7971-e00533000000", + "Body" : "8159490d-7566-4a41-8bba-f3583a2c2b4cTue, 11 Feb 2020 00:25:42 GMTTue, 18 Feb 2020 00:25:42 GMTAgAAAAMAAAAAAAAASbp3y3Hg1QE=Tue, 11 Feb 2020 00:25:42 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:42 GMT", + "x-ms-client-request-id" : "a5023811-a4e0-4793-9e32-ef24f03a3e5a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions283330a4/messages/d7f7d7a8-591e-4197-b067-952576ee3c4d?popreceipt=AgAAAAMAAAAAAAAAHZ9QQn6w1QE%3d&visibilitytimeout=0&sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A54%3A00Z&se=2019-12-12T23%3A54%3A00Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions62532673/messages/8159490d-7566-4a41-8bba-f3583a2c2b4c?popreceipt=AgAAAAMAAAAAAAAASbp3y3Hg1QE%3d&visibilitytimeout=0&sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A42Z&se=2020-02-12T00%3A25%3A42Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "18705b8d-9688-4885-a83d-80f0e93adb5b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8fd422cf-1b81-4526-8911-8fab1dff26d5", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-time-next-visible" : "Wed, 11 Dec 2019 23:54:00 GMT", + "x-ms-time-next-visible" : "Tue, 11 Feb 2020 00:25:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "60c9debf-b003-00e8-637e-b0cd8d000000", - "x-ms-popreceipt" : "AwAAAAMAAAAAAAAAg5JWQn6w1QEAAAAA", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "18705b8d-9688-4885-a83d-80f0e93adb5b" + "x-ms-request-id" : "bf127f27-7003-000c-7c71-e00533000000", + "x-ms-popreceipt" : "AwAAAAMAAAAAAAAAsdmEy3Hg1QEAAAAA", + "Date" : "Tue, 11 Feb 2020 00:25:42 GMT", + "x-ms-client-request-id" : "8fd422cf-1b81-4526-8911-8fab1dff26d5" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions283330a4/messages?numofmessages=1&visibilitytimeout=30&sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A54%3A00Z&se=2019-12-12T23%3A54%3A00Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions62532673/messages?numofmessages=1&visibilitytimeout=30&sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A42Z&se=2020-02-12T00%3A25%3A42Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4faebd51-577a-47bc-9628-26b700ce104d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "81481f2f-8f40-4f76-a211-c63c68aae8d2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "60c9dec4-b003-00e8-677e-b0cd8d000000", - "Body" : "d7f7d7a8-591e-4197-b067-952576ee3c4dWed, 11 Dec 2019 23:54:00 GMTWed, 18 Dec 2019 23:54:00 GMTAgAAAAMAAAAAAAAAt7M9VH6w1QE=Wed, 11 Dec 2019 23:54:30 GMT1testing", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "4faebd51-577a-47bc-9628-26b700ce104d", + "x-ms-request-id" : "bf127f28-7003-000c-7d71-e00533000000", + "Body" : "8159490d-7566-4a41-8bba-f3583a2c2b4cTue, 11 Feb 2020 00:25:42 GMTTue, 18 Feb 2020 00:25:42 GMTAgAAAAMAAAAAAAAAaupz3XHg1QE=Tue, 11 Feb 2020 00:26:12 GMT1testing", + "Date" : "Tue, 11 Feb 2020 00:25:42 GMT", + "x-ms-client-request-id" : "81481f2f-8f40-4f76-a211-c63c68aae8d2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions283330a4?sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A54%3A00Z&se=2019-12-12T23%3A54%3A00Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesastestsqueuesasupdatedeletewithpermissions62532673?sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A42Z&se=2020-02-12T00%3A25%3A42Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1f45ef7f-0194-44a0-8edb-bd514daa7d20" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f238c35-35bc-4893-b812-d0abbfcf368c" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationFailure", "retry-after" : "0", "Content-Length" : "246", "StatusCode" : "403", - "x-ms-request-id" : "60c9deca-b003-00e8-6d7e-b0cd8d000000", - "Body" : "AuthorizationFailureThis request is not authorized to perform this operation.\nRequestId:60c9deca-b003-00e8-6d7e-b0cd8d000000\nTime:2019-12-11T23:54:00.3333439Z", - "Date" : "Wed, 11 Dec 2019 23:53:59 GMT", - "x-ms-client-request-id" : "1f45ef7f-0194-44a0-8edb-bd514daa7d20", + "x-ms-request-id" : "bf127f29-7003-000c-7e71-e00533000000", + "Body" : "AuthorizationFailureThis request is not authorized to perform this operation.\nRequestId:bf127f29-7003-000c-7e71-e00533000000\nTime:2020-02-11T00:25:43.0157877Z", + "Date" : "Tue, 11 Feb 2020 00:25:42 GMT", + "x-ms-client-request-id" : "5f238c35-35bc-4893-b812-d0abbfcf368c", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queuesastestsqueuesasupdatedeletewithpermissions283330a4", "2019-12-11T23:54:00.250151400Z", "2019-12-11T23:54:00.250151400Z", "queue66199ac6" ] + "variables" : [ "queuesastestsqueuesasupdatedeletewithpermissions62532673", "2020-02-11T00:25:42.694312300Z", "2020-02-11T00:25:42.694312300Z", "queue22849b43" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueServiceSASCanonicalizedResource.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueServiceSASCanonicalizedResource.json index b7a05df379b4b..3a699675ad8f0 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueServiceSASCanonicalizedResource.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSASTestsQueueServiceSASCanonicalizedResource.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queuesastestsqueueservicesascanonicalizedresource80351253" ] + "variables" : [ "queuesastestsqueueservicesascanonicalizedresource144964d6" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsAccountSASCreateQueue.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsAccountSASCreateQueue.json index d3bf161904472..db3878b330e41 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsAccountSASCreateQueue.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsAccountSASCreateQueue.json @@ -1,83 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsaccountsascreatequeue8904973", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsaccountsascreatequeue39079f7", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1fe6adcd-79fe-43ad-a425-f2c1a19a44f2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "88abdd9f-197f-4318-95d3-ac6339b181ed" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "66a7ad12-6003-010b-7636-b16e57000000", - "Date" : "Thu, 12 Dec 2019 21:51:40 GMT", - "x-ms-client-request-id" : "1fe6adcd-79fe-43ad-a425-f2c1a19a44f2" + "x-ms-request-id" : "bf127ef4-7003-000c-5171-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:25:39 GMT", + "x-ms-client-request-id" : "88abdd9f-197f-4318-95d3-ac6339b181ed" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsaccountsascreatequeue8904973/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsaccountsascreatequeue39079f7/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "e0ab3665-1c49-4541-8fb6-adbcbd4e101b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5e2d074f-caa9-4e77-9f99-54096012c8eb", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "66a7add5-6003-010b-2b36-b16e57000000", - "Body" : "5602030d-3e85-4e8a-8d6e-d4ca3d9cdf65Thu, 12 Dec 2019 21:51:41 GMTThu, 19 Dec 2019 21:51:41 GMTAgAAAAMAAAAAAAAAwvI8Vjax1QE=Thu, 12 Dec 2019 21:51:41 GMT", - "Date" : "Thu, 12 Dec 2019 21:51:40 GMT", - "x-ms-client-request-id" : "e0ab3665-1c49-4541-8fb6-adbcbd4e101b", + "x-ms-request-id" : "bf127ef7-7003-000c-5371-e00533000000", + "Body" : "e173806e-3282-4caa-9830-420501b53cc1Tue, 11 Feb 2020 00:25:39 GMTTue, 18 Feb 2020 00:25:39 GMTAgAAAAMAAAAAAAAAWx63yXHg1QE=Tue, 11 Feb 2020 00:25:39 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:39 GMT", + "x-ms-client-request-id" : "5e2d074f-caa9-4e77-9f99-54096012c8eb", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsaccountsascreatequeue175272f?sv=2019-02-02&ss=q&srt=sco&se=2019-12-13T21%3A51%3A41Z&sp=rdc&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsaccountsascreatequeue95188e8?sv=2019-07-07&ss=q&srt=sco&se=2020-02-12T00%3A25%3A39Z&sp=rdc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "24d4ecc5-582a-466f-b475-1272b4812e5e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a467d8a4-e9df-445f-ba80-1f48d9f08f85" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "66a7ae3b-6003-010b-0936-b16e57000000", - "Date" : "Thu, 12 Dec 2019 21:51:40 GMT", - "x-ms-client-request-id" : "24d4ecc5-582a-466f-b475-1272b4812e5e" + "x-ms-request-id" : "bf127efa-7003-000c-5571-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:25:39 GMT", + "x-ms-client-request-id" : "a467d8a4-e9df-445f-ba80-1f48d9f08f85" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsaccountsascreatequeue175272f?sv=2019-02-02&ss=q&srt=sco&se=2019-12-13T21%3A51%3A41Z&sp=rdc&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsaccountsascreatequeue95188e8?sv=2019-07-07&ss=q&srt=sco&se=2020-02-12T00%3A25%3A39Z&sp=rdc&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4bef6c0d-c7fa-41f7-884b-1f012cd04d5b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c4ea9a26-ba4b-41dc-a746-104d3a9016b2" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "66a7ae55-6003-010b-2136-b16e57000000", - "Date" : "Thu, 12 Dec 2019 21:51:40 GMT", - "x-ms-client-request-id" : "4bef6c0d-c7fa-41f7-884b-1f012cd04d5b" + "x-ms-request-id" : "bf127efc-7003-000c-5671-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:25:39 GMT", + "x-ms-client-request-id" : "c4ea9a26-ba4b-41dc-a746-104d3a9016b2" }, "Exception" : null } ], - "variables" : [ "queuesasclienttestsaccountsascreatequeue8904973", "2019-12-12T21:51:41.229059600Z", "queuesasclienttestsaccountsascreatequeue175272f" ] + "variables" : [ "queuesasclienttestsaccountsascreatequeue39079f7", "2020-02-11T00:25:39.762485200Z", "queuesasclienttestsaccountsascreatequeue95188e8" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsAccountSASListQueues.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsAccountSASListQueues.json index bcf126d252f4a..799a5199b89dd 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsAccountSASListQueues.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsAccountSASListQueues.json @@ -1,45 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsaccountsaslistqueues68446857", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsaccountsaslistqueues25629982", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5f1efe80-976c-489d-addc-9fc7e30c8950" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7e135eca-6bb6-4c03-a261-78c58d9b1eab" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "824a5774-1003-0126-3136-b1ed97000000", - "Date" : "Thu, 12 Dec 2019 21:51:09 GMT", - "x-ms-client-request-id" : "5f1efe80-976c-489d-addc-9fc7e30c8950" + "x-ms-request-id" : "bf127efe-7003-000c-5871-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:25:40 GMT", + "x-ms-client-request-id" : "7e135eca-6bb6-4c03-a261-78c58d9b1eab" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsaccountsaslistqueues68446857/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsaccountsaslistqueues25629982/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d1d6f1b7-aa4a-4531-93cf-3879370b0de2", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c979b39-2ff5-41d7-bedc-7b33273cdcce", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "824a57a7-1003-0126-5b36-b1ed97000000", - "Body" : "9c9d74f9-059b-4a32-acb6-73fcd7fbc733Thu, 12 Dec 2019 21:51:10 GMTThu, 19 Dec 2019 21:51:10 GMTAgAAAAMAAAAAAAAAFonyQzax1QE=Thu, 12 Dec 2019 21:51:10 GMT", - "Date" : "Thu, 12 Dec 2019 21:51:10 GMT", - "x-ms-client-request-id" : "d1d6f1b7-aa4a-4531-93cf-3879370b0de2", + "x-ms-request-id" : "bf127f01-7003-000c-5a71-e00533000000", + "Body" : "16ca1e77-40b3-401a-8412-af6ed37ff5b2Tue, 11 Feb 2020 00:25:40 GMTTue, 18 Feb 2020 00:25:40 GMTAgAAAAMAAAAAAAAA1skNynHg1QE=Tue, 11 Feb 2020 00:25:40 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:40 GMT", + "x-ms-client-request-id" : "2c979b39-2ff5-41d7-bedc-7b33273cdcce", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queuesasclienttestsaccountsaslistqueues68446857", "2019-12-12T21:51:10.582537Z" ] + "variables" : [ "queuesasclienttestsaccountsaslistqueues25629982", "2020-02-11T00:25:40.326629500Z" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASEnqueueWithId.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASEnqueueWithId.json index 43e89227f5683..1d93116092c52 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASEnqueueWithId.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASEnqueueWithId.json @@ -1,109 +1,109 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid5561602", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid9619067", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8ed7626c-420e-4bb3-82fd-393a1d49188d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "371eb6cb-7aa3-4e8a-bc49-4c4714a9a806" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4d3d23ab-c003-0106-7d7e-b0815b000000", - "Date" : "Wed, 11 Dec 2019 23:56:50 GMT", - "x-ms-client-request-id" : "8ed7626c-420e-4bb3-82fd-393a1d49188d" + "x-ms-request-id" : "d25b83e2-f003-0012-5871-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:08 GMT", + "x-ms-client-request-id" : "371eb6cb-7aa3-4e8a-bc49-4c4714a9a806" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid5561602/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid9619067/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "4e8ad2a0-a5b2-42c0-80f3-f397defe2898", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eda4daf1-ae5d-4757-9004-68468ee01d80", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4d3d23bf-c003-0106-0f7e-b0815b000000", - "Body" : "72298a1d-92db-4bd0-a5f5-e43b561ba1c9Wed, 11 Dec 2019 23:56:50 GMTWed, 18 Dec 2019 23:56:50 GMTAgAAAAMAAAAAAAAAjJsHqH6w1QE=Wed, 11 Dec 2019 23:56:50 GMT", - "Date" : "Wed, 11 Dec 2019 23:56:50 GMT", - "x-ms-client-request-id" : "4e8ad2a0-a5b2-42c0-80f3-f397defe2898", + "x-ms-request-id" : "d25b83e4-f003-0012-5971-e0e9eb000000", + "Body" : "25649e75-c850-401f-89bb-0a2c87b4be5fTue, 11 Feb 2020 00:25:08 GMTTue, 18 Feb 2020 00:25:08 GMTAgAAAAMAAAAAAAAAF3xBt3Hg1QE=Tue, 11 Feb 2020 00:25:08 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:08 GMT", + "x-ms-client-request-id" : "eda4daf1-ae5d-4757-9004-68468ee01d80", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid5561602?comp=acl", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid9619067?comp=acl", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "8a2bfaac-63f4-437a-aff4-5fe991660df6", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cba8cc32-6957-4df0-b7f3-2bf1794f69ca", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "4d3d23e4-c003-0106-337e-b0815b000000", - "Date" : "Wed, 11 Dec 2019 23:56:50 GMT", - "x-ms-client-request-id" : "8a2bfaac-63f4-437a-aff4-5fe991660df6" + "x-ms-request-id" : "d25b83e5-f003-0012-5a71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:08 GMT", + "x-ms-client-request-id" : "cba8cc32-6957-4df0-b7f3-2bf1794f69ca" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid5561602/messages?sv=2019-02-02&si=38ec5686-9a64-4a44-b2bd-3969b0ecfa24&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid9619067/messages?sv=2019-07-07&si=3ae5f2e0-1822-4281-b13a-660e77fbc01a&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "f73d17b8-bddf-4d40-8661-593d7fe6723a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bfba911b-9449-4305-ab50-0a619dc7ee7b", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4d3d4dd5-c003-0106-287e-b0815b000000", - "Body" : "c3e65da4-0d49-489c-ac16-bdbee4c0d162Wed, 11 Dec 2019 23:57:21 GMTWed, 18 Dec 2019 23:57:21 GMTAgAAAAMAAAAAAAAAbBJVun6w1QE=Wed, 11 Dec 2019 23:57:21 GMT", - "Date" : "Wed, 11 Dec 2019 23:57:20 GMT", - "x-ms-client-request-id" : "f73d17b8-bddf-4d40-8661-593d7fe6723a", + "x-ms-request-id" : "bf127eee-7003-000c-4e71-e00533000000", + "Body" : "f067c2aa-9b2c-4cda-b9db-0d23794c4854Tue, 11 Feb 2020 00:25:39 GMTTue, 18 Feb 2020 00:25:39 GMTAgAAAAMAAAAAAAAAvwx1yXHg1QE=Tue, 11 Feb 2020 00:25:39 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:39 GMT", + "x-ms-client-request-id" : "bfba911b-9449-4305-ab50-0a619dc7ee7b", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid5561602/messages?numofmessages=2&visibilitytimeout=30&sv=2019-02-02&si=38ec5686-9a64-4a44-b2bd-3969b0ecfa24&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithid9619067/messages?numofmessages=2&visibilitytimeout=30&sv=2019-07-07&si=3ae5f2e0-1822-4281-b13a-660e77fbc01a&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "a4daecd2-3857-4446-bce4-a8253c793241" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ebd66467-3557-4be6-bf50-5ee750745619" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "4d3d4de5-c003-0106-357e-b0815b000000", - "Body" : "72298a1d-92db-4bd0-a5f5-e43b561ba1c9Wed, 11 Dec 2019 23:56:50 GMTWed, 18 Dec 2019 23:56:50 GMTAgAAAAMAAAAAAAAArDM8zH6w1QE=Wed, 11 Dec 2019 23:57:51 GMT1testc3e65da4-0d49-489c-ac16-bdbee4c0d162Wed, 11 Dec 2019 23:57:21 GMTWed, 18 Dec 2019 23:57:21 GMTAgAAAAMAAAAAAAAArDM8zH6w1QE=Wed, 11 Dec 2019 23:57:51 GMT1sastest", - "Date" : "Wed, 11 Dec 2019 23:57:20 GMT", - "x-ms-client-request-id" : "a4daecd2-3857-4446-bce4-a8253c793241", + "x-ms-request-id" : "bf127ef2-7003-000c-5071-e00533000000", + "Body" : "25649e75-c850-401f-89bb-0a2c87b4be5fTue, 11 Feb 2020 00:25:08 GMTTue, 18 Feb 2020 00:25:08 GMTAgAAAAMAAAAAAAAAHIJj23Hg1QE=Tue, 11 Feb 2020 00:26:09 GMT1testf067c2aa-9b2c-4cda-b9db-0d23794c4854Tue, 11 Feb 2020 00:25:39 GMTTue, 18 Feb 2020 00:25:39 GMTAgAAAAMAAAAAAAAAHIJj23Hg1QE=Tue, 11 Feb 2020 00:26:09 GMT1sastest", + "Date" : "Tue, 11 Feb 2020 00:25:39 GMT", + "x-ms-client-request-id" : "ebd66467-3557-4be6-bf50-5ee750745619", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queuesasclienttestsqueuesasenqueuewithid5561602", "2019-12-11T23:56:50.926480100Z", "2019-12-11T23:56:50.933479600Z", "38ec5686-9a64-4a44-b2bd-3969b0ecfa24", "queue00604028" ] + "variables" : [ "queuesasclienttestsqueuesasenqueuewithid9619067", "2020-02-11T00:25:08.782566600Z", "2020-02-11T00:25:08.783566800Z", "3ae5f2e0-1822-4281-b13a-660e77fbc01a", "queue861209d0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASEnqueueWithPerm.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASEnqueueWithPerm.json index b54eca7612424..9a17981407bb1 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASEnqueueWithPerm.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASEnqueueWithPerm.json @@ -1,112 +1,112 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm99742e", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm137792", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "88b857ad-4761-41f6-a80c-980def0e2e83" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "680b9c7b-6206-4b59-81c9-3c74eb1cef3f" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4d3d221d-c003-0106-107e-b0815b000000", - "Date" : "Wed, 11 Dec 2019 23:56:48 GMT", - "x-ms-client-request-id" : "88b857ad-4761-41f6-a80c-980def0e2e83" + "x-ms-request-id" : "d25b83d6-f003-0012-4e71-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:07 GMT", + "x-ms-client-request-id" : "680b9c7b-6206-4b59-81c9-3c74eb1cef3f" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm99742e/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm137792/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "d2ba0613-2a84-4d27-b319-a315f503e52a", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8834ace4-14fa-4184-ae08-860fbd84eb5a", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4d3d224e-c003-0106-3c7e-b0815b000000", - "Body" : "28df5371-d9f1-45db-a589-668cfe97c7b4Wed, 11 Dec 2019 23:56:49 GMTWed, 18 Dec 2019 23:56:49 GMTAgAAAAMAAAAAAAAAS5Nap36w1QE=Wed, 11 Dec 2019 23:56:49 GMT", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "d2ba0613-2a84-4d27-b319-a315f503e52a", + "x-ms-request-id" : "d25b83d8-f003-0012-4f71-e0e9eb000000", + "Body" : "176939ce-ca87-4722-bd90-1cf9b9496e7eTue, 11 Feb 2020 00:25:07 GMTTue, 18 Feb 2020 00:25:07 GMTAgAAAAMAAAAAAAAALMWJtnHg1QE=Tue, 11 Feb 2020 00:25:07 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:07 GMT", + "x-ms-client-request-id" : "8834ace4-14fa-4184-ae08-860fbd84eb5a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm99742e/messages?sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A56%3A49Z&se=2019-12-12T23%3A56%3A49Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm137792/messages?sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A07Z&se=2020-02-12T00%3A25%3A07Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "849ed38a-d9d8-4e14-95c6-443494185316", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b933ec2-46c1-4dc9-93ba-b5a695d39c51", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4d3d2273-c003-0106-617e-b0815b000000", - "Body" : "b82f9a94-0421-4fd2-ba01-06aad0799ae6Wed, 11 Dec 2019 23:56:49 GMTWed, 18 Dec 2019 23:56:49 GMTAgAAAAMAAAAAAAAAgudzp36w1QE=Wed, 11 Dec 2019 23:56:49 GMT", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "849ed38a-d9d8-4e14-95c6-443494185316", + "x-ms-request-id" : "d25b83d9-f003-0012-5071-e0e9eb000000", + "Body" : "16f4bbc4-af92-4972-861e-78e376f4dc61Tue, 11 Feb 2020 00:25:07 GMTTue, 18 Feb 2020 00:25:07 GMTAgAAAAMAAAAAAAAAi8SbtnHg1QE=Tue, 11 Feb 2020 00:25:07 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:07 GMT", + "x-ms-client-request-id" : "8b933ec2-46c1-4dc9-93ba-b5a695d39c51", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm99742e/messages?numofmessages=2&visibilitytimeout=30&sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A56%3A49Z&se=2019-12-12T23%3A56%3A49Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm137792/messages?numofmessages=2&visibilitytimeout=30&sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A07Z&se=2020-02-12T00%3A25%3A07Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "1d30eb80-b164-415d-be06-3129852b1aee" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0ba80954-9090-446a-848b-0ff25aaa6b45" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "4d3d2294-c003-0106-017e-b0815b000000", - "Body" : "28df5371-d9f1-45db-a589-668cfe97c7b4Wed, 11 Dec 2019 23:56:49 GMTWed, 18 Dec 2019 23:56:49 GMTAgAAAAMAAAAAAAAAJtVguX6w1QE=Wed, 11 Dec 2019 23:57:19 GMT1testb82f9a94-0421-4fd2-ba01-06aad0799ae6Wed, 11 Dec 2019 23:56:49 GMTWed, 18 Dec 2019 23:56:49 GMTAgAAAAMAAAAAAAAAJtVguX6w1QE=Wed, 11 Dec 2019 23:57:19 GMT1sastest", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "1d30eb80-b164-415d-be06-3129852b1aee", + "x-ms-request-id" : "d25b83da-f003-0012-5171-e0e9eb000000", + "Body" : "176939ce-ca87-4722-bd90-1cf9b9496e7eTue, 11 Feb 2020 00:25:07 GMTTue, 18 Feb 2020 00:25:07 GMTAgAAAAMAAAAAAAAAeBOKyHHg1QE=Tue, 11 Feb 2020 00:25:37 GMT1test16f4bbc4-af92-4972-861e-78e376f4dc61Tue, 11 Feb 2020 00:25:07 GMTTue, 18 Feb 2020 00:25:07 GMTAgAAAAMAAAAAAAAAeBOKyHHg1QE=Tue, 11 Feb 2020 00:25:37 GMT1sastest", + "Date" : "Tue, 11 Feb 2020 00:25:07 GMT", + "x-ms-client-request-id" : "0ba80954-9090-446a-848b-0ff25aaa6b45", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm99742e/messages/28df5371-d9f1-45db-a589-668cfe97c7b4?popreceipt=AgAAAAMAAAAAAAAAS5Nap36w1QE%3d&visibilitytimeout=3600&sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A56%3A49Z&se=2019-12-12T23%3A56%3A49Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasenqueuewithperm137792/messages/176939ce-ca87-4722-bd90-1cf9b9496e7e?popreceipt=AgAAAAMAAAAAAAAALMWJtnHg1QE%3d&visibilitytimeout=3600&sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A07Z&se=2020-02-12T00%3A25%3A07Z&sip=0.0.0.0-255.255.255.255&sp=rap&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "21348bba-f147-4fc8-8ad3-d99b38e04978", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0b5a16d-47fb-4a98-97d3-e662c362e3d5", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationPermissionMismatch", "retry-after" : "0", "Content-Length" : "279", "StatusCode" : "403", - "x-ms-request-id" : "4d3d22b5-c003-0106-1c7e-b0815b000000", - "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:4d3d22b5-c003-0106-1c7e-b0815b000000\nTime:2019-12-11T23:56:50.1553156Z", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "21348bba-f147-4fc8-8ad3-d99b38e04978", + "x-ms-request-id" : "d25b83db-f003-0012-5271-e0e9eb000000", + "Body" : "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:d25b83db-f003-0012-5271-e0e9eb000000\nTime:2020-02-11T00:25:07.8935285Z", + "Date" : "Tue, 11 Feb 2020 00:25:07 GMT", + "x-ms-client-request-id" : "a0b5a16d-47fb-4a98-97d3-e662c362e3d5", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queuesasclienttestsqueuesasenqueuewithperm99742e", "2019-12-11T23:56:49.822952500Z", "2019-12-11T23:56:49.832484400Z", "queue936622db" ] + "variables" : [ "queuesasclienttestsqueuesasenqueuewithperm137792", "2020-02-11T00:25:07.584114Z", "2020-02-11T00:25:07.587113900Z", "queue74776dab" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASUpdateWithPerm.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASUpdateWithPerm.json index 332bc00d508a3..99efba1c196b5 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASUpdateWithPerm.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueSasClientTestsQueueSASUpdateWithPerm.json @@ -1,111 +1,111 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm9254692", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm862632e", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "73e7c5b6-c8ca-4722-a0d8-e77fb4505892" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc957a20-0098-487a-9b75-6103ed029583" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4d3d233e-c003-0106-1b7e-b0815b000000", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "73e7c5b6-c8ca-4722-a0d8-e77fb4505892" + "x-ms-request-id" : "d25b83dc-f003-0012-5371-e0e9eb000000", + "Date" : "Tue, 11 Feb 2020 00:25:07 GMT", + "x-ms-client-request-id" : "bc957a20-0098-487a-9b75-6103ed029583" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm9254692/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm862632e/messages", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "05f0ce72-8d96-4219-8736-4627a132821b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0bce7af7-ab58-49dc-aed2-19a6d56b70a3", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4d3d2351-c003-0106-2a7e-b0815b000000", - "Body" : "90d829ba-c847-4eaa-98c5-f24e48c9d120Wed, 11 Dec 2019 23:56:50 GMTWed, 18 Dec 2019 23:56:50 GMTAgAAAAMAAAAAAAAAy77Rp36w1QE=Wed, 11 Dec 2019 23:56:50 GMT", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "05f0ce72-8d96-4219-8736-4627a132821b", + "x-ms-request-id" : "d25b83de-f003-0012-5471-e0e9eb000000", + "Body" : "cbfccf7f-5346-413b-b978-480d4c27df2eTue, 11 Feb 2020 00:25:08 GMTTue, 18 Feb 2020 00:25:08 GMTAgAAAAMAAAAAAAAA8oLqtnHg1QE=Tue, 11 Feb 2020 00:25:08 GMT", + "Date" : "Tue, 11 Feb 2020 00:25:07 GMT", + "x-ms-client-request-id" : "0bce7af7-ab58-49dc-aed2-19a6d56b70a3", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm9254692/messages/90d829ba-c847-4eaa-98c5-f24e48c9d120?popreceipt=AgAAAAMAAAAAAAAAy77Rp36w1QE%3d&visibilitytimeout=0&sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A56%3A50Z&se=2019-12-12T23%3A56%3A50Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm862632e/messages/cbfccf7f-5346-413b-b978-480d4c27df2e?popreceipt=AgAAAAMAAAAAAAAA8oLqtnHg1QE%3d&visibilitytimeout=0&sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A08Z&se=2020-02-12T00%3A25%3A08Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "5e07592d-5729-4901-8896-af4a835a4926", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b7f0967a-cd2d-46a1-99d1-9a492a62bc07", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-time-next-visible" : "Wed, 11 Dec 2019 23:56:50 GMT", + "x-ms-time-next-visible" : "Tue, 11 Feb 2020 00:25:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "4d3d2367-c003-0106-3f7e-b0815b000000", - "x-ms-popreceipt" : "AwAAAAMAAAAAAAAAug3bp36w1QEAAAAA", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "5e07592d-5729-4901-8896-af4a835a4926" + "x-ms-request-id" : "d25b83df-f003-0012-5571-e0e9eb000000", + "x-ms-popreceipt" : "AwAAAAMAAAAAAAAArmf2tnHg1QEAAAAA", + "Date" : "Tue, 11 Feb 2020 00:25:07 GMT", + "x-ms-client-request-id" : "b7f0967a-cd2d-46a1-99d1-9a492a62bc07" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm9254692/messages?numofmessages=1&visibilitytimeout=30&sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A56%3A50Z&se=2019-12-12T23%3A56%3A50Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm862632e/messages?numofmessages=1&visibilitytimeout=30&sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A08Z&se=2020-02-12T00%3A25%3A08Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "eef59dba-7740-413f-9e3e-84b556018afe" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9dc4260c-a23d-42e6-8077-9d6faf47233f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "4d3d2374-c003-0106-4c7e-b0815b000000", - "Body" : "90d829ba-c847-4eaa-98c5-f24e48c9d120Wed, 11 Dec 2019 23:56:50 GMTWed, 18 Dec 2019 23:56:50 GMTAgAAAAMAAAAAAAAASo7DuX6w1QE=Wed, 11 Dec 2019 23:57:20 GMT1testing", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "eef59dba-7740-413f-9e3e-84b556018afe", + "x-ms-request-id" : "d25b83e0-f003-0012-5671-e0e9eb000000", + "Body" : "cbfccf7f-5346-413b-b978-480d4c27df2eTue, 11 Feb 2020 00:25:08 GMTTue, 18 Feb 2020 00:25:08 GMTAgAAAAMAAAAAAAAAj6TjyHHg1QE=Tue, 11 Feb 2020 00:25:38 GMT1testing", + "Date" : "Tue, 11 Feb 2020 00:25:08 GMT", + "x-ms-client-request-id" : "9dc4260c-a23d-42e6-8077-9d6faf47233f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm9254692?sv=2019-02-02&spr=https%2Chttp&st=2019-12-10T23%3A56%3A50Z&se=2019-12-12T23%3A56%3A50Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", + "Uri" : "https://gapradev.queue.core.windows.net/queuesasclienttestsqueuesasupdatewithperm862632e?sv=2019-07-07&spr=https%2Chttp&st=2020-02-10T00%3A25%3A08Z&se=2020-02-12T00%3A25%3A08Z&sip=0.0.0.0-255.255.255.255&sp=raup&sig=REDACTED", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0-beta.1 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "eb0a93fd-d780-43c6-a76f-8c9c46c82468" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fdf233b2-ea09-4a16-b835-0d74356186e3" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "AuthorizationFailure", "retry-after" : "0", "Content-Length" : "246", "StatusCode" : "403", - "x-ms-request-id" : "4d3d2385-c003-0106-5b7e-b0815b000000", - "Body" : "AuthorizationFailureThis request is not authorized to perform this operation.\nRequestId:4d3d2385-c003-0106-5b7e-b0815b000000\nTime:2019-12-11T23:56:50.6698001Z", - "Date" : "Wed, 11 Dec 2019 23:56:49 GMT", - "x-ms-client-request-id" : "eb0a93fd-d780-43c6-a76f-8c9c46c82468", + "x-ms-request-id" : "d25b83e1-f003-0012-5771-e0e9eb000000", + "Body" : "AuthorizationFailureThis request is not authorized to perform this operation.\nRequestId:d25b83e1-f003-0012-5771-e0e9eb000000\nTime:2020-02-11T00:25:08.4555322Z", + "Date" : "Tue, 11 Feb 2020 00:25:08 GMT", + "x-ms-client-request-id" : "fdf233b2-ea09-4a16-b835-0d74356186e3", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queuesasclienttestsqueuesasupdatewithperm9254692", "2019-12-11T23:56:50.561482200Z", "2019-12-11T23:56:50.561482200Z", "queue37878a3d" ] + "variables" : [ "queuesasclienttestsqueuesasupdatewithperm862632e", "2020-02-11T00:25:08.213257Z", "2020-02-11T00:25:08.213257Z", "queue93203144" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueue.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueue.json index 63793defeb92b..3783676ba5968 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueue.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueue.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestscreatequeue968935700fc2843bc", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestscreatequeue40016bfd91ab73a61", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d1611f04-0d99-45bd-b2dd-fdfd561541c5" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7446945e-0039-4e17-b966-0e97da011f4d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9cf5-f003-0082-2a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT" + "x-ms-request-id" : "bf128094-7003-000c-4271-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:14 GMT", + "x-ms-client-request-id" : "7446945e-0039-4e17-b966-0e97da011f4d" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestscreatequeue968935700fc2843bc/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestscreatequeue40016bfd91ab73a61/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "47a64f64-d11a-446f-9125-aff9bfcd9aac", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9fa1f262-0d41-4e32-b55b-83c38246b00f", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9d08-f003-0082-398d-839126000000", - "Body" : "0335b5ec-f7a5-4b0f-b94e-ebc0b9d07f87Tue, 15 Oct 2019 19:19:58 GMTTue, 22 Oct 2019 19:19:58 GMTAgAAAAMAAAAAAAAAlGKDiI2D1QE=Tue, 15 Oct 2019 19:19:58 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT", + "x-ms-request-id" : "bf128097-7003-000c-4371-e00533000000", + "Body" : "d228a938-cebc-47d9-97cd-88ec9874e7ddTue, 11 Feb 2020 00:26:14 GMTTue, 18 Feb 2020 00:26:14 GMTAgAAAAMAAAAAAAAAYwyL3nHg1QE=Tue, 11 Feb 2020 00:26:14 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:14 GMT", + "x-ms-client-request-id" : "9fa1f262-0d41-4e32-b55b-83c38246b00f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestscreatequeue968935700fc2843bc" ] + "variables" : [ "queueserviceapitestscreatequeue40016bfd91ab73a61" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload0.json index 20708ee457887..167b3489e32a8 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload0.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload054204e67458", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload0330109aa15f", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "40cde089-08e7-47aa-abd7-a2ce15415340" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "85ffef93-fa79-443b-be56-f533d66cc8eb" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9de9-f003-0082-018d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT" + "x-ms-request-id" : "bf1280a1-7003-000c-4c71-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:15 GMT", + "x-ms-client-request-id" : "85ffef93-fa79-443b-be56-f533d66cc8eb" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload054204e67458/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload0330109aa15f/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "744d48e8-8d0c-4233-9f77-48e39db54d1c", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b0b3ef5-8640-4393-a333-792e944b0f4a", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9e38-f003-0082-4a8d-839126000000", - "Body" : "a5985c0c-c334-4e7c-90c6-38653bdde749Tue, 15 Oct 2019 19:19:58 GMTTue, 22 Oct 2019 19:19:58 GMTAgAAAAMAAAAAAAAAVPDqiI2D1QE=Tue, 15 Oct 2019 19:19:58 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT", + "x-ms-request-id" : "bf1280a5-7003-000c-4e71-e00533000000", + "Body" : "c88dc26c-f4b8-44bc-b6e1-1719d49d0ff0Tue, 11 Feb 2020 00:26:16 GMTTue, 18 Feb 2020 00:26:16 GMTAgAAAAMAAAAAAAAA2FBm33Hg1QE=Tue, 11 Feb 2020 00:26:16 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:15 GMT", + "x-ms-client-request-id" : "8b0b3ef5-8640-4393-a333-792e944b0f4a", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestscreatequeuemaxoverload054204e67458" ] + "variables" : [ "queueserviceapitestscreatequeuemaxoverload0330109aa15f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload1.json index 9626aefa96606..a408a40d9d64d 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload1.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload1473332eae92", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload170853295dc4", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1333949d-74c5-493e-9b64-fac9d5d53170" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "40a15d05-44be-4e45-bc56-6fa37675944e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9e6c-f003-0082-7b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280a7-7003-000c-5071-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:16 GMT", + "x-ms-client-request-id" : "40a15d05-44be-4e45-bc56-6fa37675944e" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload1473332eae92/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload170853295dc4/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c02bf463-530c-4e65-a084-0e5e774bac1b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7e8ed41-91bb-44a2-a537-0d8f36488926", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9e94-f003-0082-1f8d-839126000000", - "Body" : "86434ebd-435d-4276-93a7-052857084615Tue, 15 Oct 2019 19:19:59 GMTTue, 22 Oct 2019 19:19:59 GMTAgAAAAMAAAAAAAAAuT8KiY2D1QE=Tue, 15 Oct 2019 19:19:59 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT", + "x-ms-request-id" : "bf1280a9-7003-000c-5171-e00533000000", + "Body" : "a4cd698d-62b4-4fbf-9115-6c5be02cf5c5Tue, 11 Feb 2020 00:26:16 GMTTue, 18 Feb 2020 00:26:16 GMTAgAAAAMAAAAAAAAAHICa33Hg1QE=Tue, 11 Feb 2020 00:26:16 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:16 GMT", + "x-ms-client-request-id" : "c7e8ed41-91bb-44a2-a537-0d8f36488926", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestscreatequeuemaxoverload1473332eae92" ] + "variables" : [ "queueserviceapitestscreatequeuemaxoverload170853295dc4" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload2.json index b5615e13931f1..ccfea511617dc 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueMaxOverload2.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload2724762c8d73", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload223958b6dfd9", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3bca3a69-5c2c-4a94-9e98-3f82f917e1d2" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37fb7914-8b66-4db1-8eb7-13237e7363a0" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9ed8-f003-0082-578d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280aa-7003-000c-5271-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:16 GMT", + "x-ms-client-request-id" : "37fb7914-8b66-4db1-8eb7-13237e7363a0" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload2724762c8d73/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestscreatequeuemaxoverload223958b6dfd9/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dae4d234-dd1b-4b2f-a078-59f31a2b2b7b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eb6e8262-63ae-4ade-8d51-84d52111c4eb", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9ef2-f003-0082-6a8d-839126000000", - "Body" : "fd762c20-1e80-4fdf-96b9-f0dba99a7f48Tue, 15 Oct 2019 19:19:59 GMTTue, 22 Oct 2019 19:19:59 GMTAgAAAAMAAAAAAAAAsDYkiY2D1QE=Tue, 15 Oct 2019 19:19:59 GMT", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT", + "x-ms-request-id" : "bf1280ad-7003-000c-5471-e00533000000", + "Body" : "751b89f8-4a33-47b7-b8ff-9edc2d72aa0cTue, 11 Feb 2020 00:26:16 GMTTue, 18 Feb 2020 00:26:16 GMTAgAAAAMAAAAAAAAAE6DN33Hg1QE=Tue, 11 Feb 2020 00:26:16 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:16 GMT", + "x-ms-client-request-id" : "eb6e8262-63ae-4ade-8d51-84d52111c4eb", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestscreatequeuemaxoverload2724762c8d73" ] + "variables" : [ "queueserviceapitestscreatequeuemaxoverload223958b6dfd9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidMetadata.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidMetadata.json index 7c16798ee1870..0a0be6bef7c07 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidMetadata.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidMetadata.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/5c24820b345b4315", + "Uri" : "https://gapradev.queue.core.windows.net/7741fee3c1c54b26", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dce8d1a4-048c-4f4f-8734-64e26612dd75" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "44abe4ca-dd43-4278-b65d-293edd38c28d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9f20-f003-0082-168d-839126000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:2f7e9f20-f003-0082-168d-839126000000\nTime:2019-10-15T19:19:59.2776274Z", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT", + "x-ms-request-id" : "bf1280ae-7003-000c-5571-e00533000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:bf1280ae-7003-000c-5571-e00533000000\nTime:2020-02-11T00:26:17.0549908Z", + "Date" : "Tue, 11 Feb 2020 00:26:16 GMT", + "x-ms-client-request-id" : "44abe4ca-dd43-4278-b65d-293edd38c28d", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "5c24820b345b4315" ] + "variables" : [ "7741fee3c1c54b26" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName0.json index 66bfcad643f4d..a9a8079178e27 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName0.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/a_b", + "Uri" : "https://gapradev.queue.core.windows.net/a_b", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8fc8e3d1-d231-4aa7-a000-255c1c4e8d33" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f66f9e4e-c9f9-4342-9b6b-c7158786829f" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9d2e-f003-0082-5b8d-839126000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:2f7e9d2e-f003-0082-5b8d-839126000000\nTime:2019-10-15T19:19:58.2296072Z", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT", + "x-ms-request-id" : "bf128099-7003-000c-4471-e00533000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:bf128099-7003-000c-4471-e00533000000\nTime:2020-02-11T00:26:14.9820122Z", + "Date" : "Tue, 11 Feb 2020 00:26:14 GMT", + "x-ms-client-request-id" : "f66f9e4e-c9f9-4342-9b6b-c7158786829f", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName1.json index d3b4e43d03ea7..24bf8624987ad 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName1.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/-ab", + "Uri" : "https://gapradev.queue.core.windows.net/-ab", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b364fe1e-bb9f-4fb3-88f3-3ab6ebb3c7c7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a917a76f-086d-4fc3-beb3-02889a84038b" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9d4d-f003-0082-748d-839126000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:2f7e9d4d-f003-0082-748d-839126000000\nTime:2019-10-15T19:19:58.2906664Z", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT", + "x-ms-request-id" : "bf12809a-7003-000c-4571-e00533000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:bf12809a-7003-000c-4571-e00533000000\nTime:2020-02-11T00:26:15.1379975Z", + "Date" : "Tue, 11 Feb 2020 00:26:14 GMT", + "x-ms-client-request-id" : "a917a76f-086d-4fc3-beb3-02889a84038b", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName2.json index 296ce1e5daca9..48e97f3a5c8fc 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName2.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/a--b", + "Uri" : "https://gapradev.queue.core.windows.net/a--b", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3d3e13ef-fdbb-4be9-91fe-aac934a7ce64" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "193a4211-4bfc-4f5c-afed-eeeea9b85fed" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9d6d-f003-0082-0d8d-839126000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:2f7e9d6d-f003-0082-0d8d-839126000000\nTime:2019-10-15T19:19:58.3497245Z", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT", + "x-ms-request-id" : "bf12809c-7003-000c-4771-e00533000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:bf12809c-7003-000c-4771-e00533000000\nTime:2020-02-11T00:26:15.3000168Z", + "Date" : "Tue, 11 Feb 2020 00:26:14 GMT", + "x-ms-client-request-id" : "193a4211-4bfc-4f5c-afed-eeeea9b85fed", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName3.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName3.json index 74c30d46339d0..800ccf7274d1d 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName3.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName3.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/Abc", + "Uri" : "https://gapradev.queue.core.windows.net/Abc", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3845850e-7034-42fe-8627-b448d046ac3b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "87ae1ba0-0b47-42ee-bdc7-934e56666d33" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9d8d-f003-0082-2a8d-839126000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:2f7e9d8d-f003-0082-2a8d-839126000000\nTime:2019-10-15T19:19:58.4117844Z", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT", + "x-ms-request-id" : "bf12809e-7003-000c-4971-e00533000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:bf12809e-7003-000c-4971-e00533000000\nTime:2020-02-11T00:26:15.4599745Z", + "Date" : "Tue, 11 Feb 2020 00:26:15 GMT", + "x-ms-client-request-id" : "87ae1ba0-0b47-42ee-bdc7-934e56666d33", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName4.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName4.json index 721c8591abc4f..5ebc557ba1539 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName4.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName4.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/ab", + "Uri" : "https://gapradev.queue.core.windows.net/ab", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b3411bb4-8e4d-433b-9662-01a40db5c958" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cbef85ba-e56e-41a2-ba89-ce3c1349a354" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "256", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9d9e-f003-0082-3a8d-839126000000", - "Body" : "OutOfRangeInputThe specified resource name length is not within the permissible limits.\nRequestId:2f7e9d9e-f003-0082-3a8d-839126000000\nTime:2019-10-15T19:19:58.4748465Z", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT", + "x-ms-request-id" : "bf12809f-7003-000c-4a71-e00533000000", + "Body" : "OutOfRangeInputThe specified resource name length is not within the permissible limits.\nRequestId:bf12809f-7003-000c-4a71-e00533000000\nTime:2020-02-11T00:26:15.6260158Z", + "Date" : "Tue, 11 Feb 2020 00:26:15 GMT", + "x-ms-client-request-id" : "cbef85ba-e56e-41a2-ba89-ce3c1349a354", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName5.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName5.json index 2d7f51e782b50..ab9301d149a63 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName5.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsCreateQueueWithInvalidName5.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/verylongverylongverylongverylongverylongverylongverylongverylong", + "Uri" : "https://gapradev.queue.core.windows.net/verylongverylongverylongverylongverylongverylongverylongverylong", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8d379b21-9122-4f88-8c78-716ab2690ba9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2ae6400e-0e95-474c-952f-5d8a3e1b3950" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "256", "StatusCode" : "400", - "x-ms-request-id" : "2f7e9db6-f003-0082-508d-839126000000", - "Body" : "OutOfRangeInputThe specified resource name length is not within the permissible limits.\nRequestId:2f7e9db6-f003-0082-508d-839126000000\nTime:2019-10-15T19:19:58.5349044Z", - "Date" : "Tue, 15 Oct 2019 19:19:57 GMT", + "x-ms-request-id" : "bf1280a0-7003-000c-4b71-e00533000000", + "Body" : "OutOfRangeInputThe specified resource name length is not within the permissible limits.\nRequestId:bf1280a0-7003-000c-4b71-e00533000000\nTime:2020-02-11T00:26:15.7849742Z", + "Date" : "Tue, 11 Feb 2020 00:26:15 GMT", + "x-ms-client-request-id" : "2ae6400e-0e95-474c-952f-5d8a3e1b3950", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsDeleteQueue.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsDeleteQueue.json index 5b53c1ee66eb3..44dfc84f67b8d 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsDeleteQueue.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsDeleteQueue.json @@ -1,62 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestsdeletequeue047024e4b77f9ac71", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestsdeletequeue4661350b2c09ef6bf", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d2978c10-b06a-40f2-9e61-f51e9fb23e1a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f7318bfa-3762-41c3-943a-1aff17080a24" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9f3f-f003-0082-318d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280af-7003-000c-5671-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:16 GMT", + "x-ms-client-request-id" : "f7318bfa-3762-41c3-943a-1aff17080a24" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestsdeletequeue047024e4b77f9ac71", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestsdeletequeue4661350b2c09ef6bf", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d7afaaa5-3c5e-4a5c-9b15-4e3a2f76909b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2a5b64b5-3098-47c7-89f1-ee6624cfbf4b" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e9f58-f003-0082-468d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280b1-7003-000c-5771-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:16 GMT", + "x-ms-client-request-id" : "2a5b64b5-3098-47c7-89f1-ee6624cfbf4b" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestsdeletequeue047024e4b77f9ac71/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestsdeletequeue4661350b2c09ef6bf/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b61ad40-d60a-4385-9cee-be7e47942d5b", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7fa7c833-e473-4038-894f-c719619b27e7", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e9f6a-f003-0082-558d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e9f6a-f003-0082-558d-839126000000\nTime:2019-10-15T19:19:59.4297749Z", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT", + "x-ms-request-id" : "bf1280b4-7003-000c-5971-e00533000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:bf1280b4-7003-000c-5971-e00533000000\nTime:2020-02-11T00:26:17.4340328Z", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "7fa7c833-e473-4038-894f-c719619b27e7", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestsdeletequeue047024e4b77f9ac71" ] + "variables" : [ "queueserviceapitestsdeletequeue4661350b2c09ef6bf" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsDeleteQueueError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsDeleteQueueError.json index d314d94845740..7f5b9f8fbb5fd 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsDeleteQueueError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsDeleteQueueError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestsdeletequeueerror80596eaf10aec7", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestsdeletequeueerror99181f9b5563b0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2679e3f0-2068-4398-b40e-556fab154b7c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "92d1075e-6b3d-465d-8b61-35bf02d4e71b" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7e9f82-f003-0082-6b8d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7e9f82-f003-0082-6b8d-839126000000\nTime:2019-10-15T19:19:59.5098528Z", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT", + "x-ms-request-id" : "bf1280b9-7003-000c-5e71-e00533000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:bf1280b9-7003-000c-5e71-e00533000000\nTime:2020-02-11T00:26:17.6170522Z", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "92d1075e-6b3d-465d-8b61-35bf02d4e71b", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestsdeletequeueerror80596eaf10aec7" ] + "variables" : [ "queueserviceapitestsdeletequeueerror99181f9b5563b0" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsGetAndSetProperties.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsGetAndSetProperties.json index d68135a3b4327..e853f9da4ab13 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsGetAndSetProperties.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsGetAndSetProperties.json @@ -1,83 +1,87 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gapradev.queue.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9e77466f-edf7-42df-a806-23afb751f14a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aa15dae6-31c7-437b-ad60-bfacc026240a" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "102a03d5-6003-004b-808d-8301ec000000", + "x-ms-request-id" : "d2a36261-9003-0014-5a71-e0da54000000", "Body" : "1.0falsetruetruetrue31.0truefalsetrue31.0truefalsetrue3", - "Date" : "Tue, 15 Oct 2019 19:20:00 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:19 GMT", + "x-ms-client-request-id" : "aa15dae6-31c7-437b-ad60-bfacc026240a", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gapradev.queue.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2f4b65fd-4584-4b4e-97c0-aa0ea5d8e653" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82d6d2e7-ff51-46da-950b-d7fcf1702a2e" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7ea17a-f003-0082-2b8d-839126000000", + "x-ms-request-id" : "d2a36262-9003-0014-5b71-e0da54000000", "Body" : "1.0falsetruetruetrue31.0truefalsetrue31.0truefalsetrue3", - "Date" : "Tue, 15 Oct 2019 19:20:00 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:19 GMT", + "x-ms-client-request-id" : "82d6d2e7-ff51-46da-950b-d7fcf1702a2e", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gapradev.queue.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2d1aa160-015b-4022-a283-e5807e6e9aaf", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "decf93db-ff06-4fa1-80be-c8876dfc262d", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "102a03fe-6003-004b-288d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:11 GMT" + "x-ms-request-id" : "d2a36264-9003-0014-5d71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:20 GMT", + "x-ms-client-request-id" : "decf93db-ff06-4fa1-80be-c8876dfc262d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gapradev.queue.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "49780942-8994-4850-af8a-6cb3341b93f7" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "74895759-5f67-4d2a-b041-224f6a1e1faa" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7eb1a4-f003-0082-438d-839126000000", + "x-ms-request-id" : "d2a3626e-9003-0014-6271-e0da54000000", "Body" : "1.0falsetruetruetrue31.0truefalsetrue31.0truefalsetrue3", - "Date" : "Tue, 15 Oct 2019 19:20:11 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:20 GMT", + "x-ms-client-request-id" : "74895759-5f67-4d2a-b041-224f6a1e1faa", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsGetQueueClient.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsGetQueueClient.json index fad0c1b2a007a..639372fc66719 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsGetQueueClient.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsGetQueueClient.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueserviceapitestsgetqueueclient338885f1f26f0fa" ] + "variables" : [ "queueserviceapitestsgetqueueclient01962478c1936eb" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListEmptyQueues.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListEmptyQueues.json index 21030cd40773d..77ce746a71459 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListEmptyQueues.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListEmptyQueues.json @@ -1,23 +1,23 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=QueueServiceAPITestsListEmptyQueues&include=&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=QueueServiceAPITestsListEmptyQueues&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "3c697395-20a7-4ff6-9537-41ad304265bb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "83cd42c4-754b-4229-a570-c65597718f85" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "fa3e26ab-c003-0046-0228-c7eee0000000", - "Body" : "QueueServiceAPITestsListEmptyQueues", - "Date" : "Thu, 09 Jan 2020 20:10:26 GMT", - "x-ms-client-request-id" : "3c697395-20a7-4ff6-9537-41ad304265bb", + "x-ms-request-id" : "d2a3625e-9003-0014-5871-e0da54000000", + "Body" : "QueueServiceAPITestsListEmptyQueues", + "Date" : "Tue, 11 Feb 2020 00:26:19 GMT", + "x-ms-client-request-id" : "83cd42c4-754b-4229-a570-c65597718f85", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues0.json index c59cfee2abd95..934201966f6e0 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues0.json @@ -1,133 +1,140 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues081692113f56ff49910", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues0656143f90e7640b7f0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7ad2c910-3c20-44dc-a695-1e3860da497c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "103c5e59-f7ce-4e92-8a85-aaf5e31886de" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9fa9-f003-0082-0f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280bd-7003-000c-6271-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "103c5e59-f7ce-4e92-8a85-aaf5e31886de" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues081692113f56ff49911", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues0656143f90e7640b7f1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "be3c3fef-c546-4d2d-bd89-8313892d681f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b1231f30-0356-4081-9207-c3e0b32602f9" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9fb9-f003-0082-1c8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280bf-7003-000c-6371-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "b1231f30-0356-4081-9207-c3e0b32602f9" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues081692113f56ff49912", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues0656143f90e7640b7f2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d4b06b98-1b3d-47de-ba24-1b62f8b13ce6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c635149-7b87-40e2-b8f0-ef9c110a9407" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7e9fcb-f003-0082-2d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280c2-7003-000c-6571-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "4c635149-7b87-40e2-b8f0-ef9c110a9407" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queueserviceapitestslistqueues&include=&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=queueserviceapitestslistqueues&include=&comp=list", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1cc502d5-e9cd-4abe-9b7a-2574600ed23d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dbb57ae4-0096-4857-b5ab-82af1a315983" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7e9fdc-f003-0082-3b8d-839126000000", - "Body" : "queueserviceapitestslistqueuesqueueserviceapitestslistqueues081692113f56ff49910queueserviceapitestslistqueues081692113f56ff49911queueserviceapitestslistqueues081692113f56ff49912", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT", + "x-ms-request-id" : "bf1280c6-7003-000c-6871-e00533000000", + "Body" : "queueserviceapitestslistqueuesqueueserviceapitestslistqueues0656143f90e7640b7f0queueserviceapitestslistqueues0656143f90e7640b7f1queueserviceapitestslistqueues0656143f90e7640b7f2", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "dbb57ae4-0096-4857-b5ab-82af1a315983", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues081692113f56ff49910", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues0656143f90e7640b7f0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ddf61f07-2bb4-41db-88bc-61c1916b2691" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e716eeb8-f920-476c-a6ec-f49e3a609a8a" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e9fe4-f003-0082-428d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280c8-7003-000c-6a71-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "e716eeb8-f920-476c-a6ec-f49e3a609a8a" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues081692113f56ff49911", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues0656143f90e7640b7f1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0644b088-15ef-427e-aa21-7257e252e8e3" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ff548c1d-e1aa-474d-9f64-b913b134acbe" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7e9fef-f003-0082-4c8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:58 GMT" + "x-ms-request-id" : "bf1280cb-7003-000c-6d71-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "ff548c1d-e1aa-474d-9f64-b913b134acbe" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues081692113f56ff49912", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues0656143f90e7640b7f2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e86fd6ce-3e4b-4370-af81-1ad17124a3fd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "743006f2-2db0-4405-b917-bd8bafabaffb" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7ea01a-f003-0082-758d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "bf1280ce-7003-000c-7071-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:17 GMT", + "x-ms-client-request-id" : "743006f2-2db0-4405-b917-bd8bafabaffb" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestslistqueues081692113f56ff4991" ] + "variables" : [ "queueserviceapitestslistqueues0656143f90e7640b7f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues1.json index 7218573363280..444f15dd4a222 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues1.json @@ -1,154 +1,162 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues16581361246d027f060", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues128464715d6ed63ca10", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "de688078-9708-433e-9a37-b0486dab5cc6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8baa2684-8965-4bef-a938-9030635e6473" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7ea036-f003-0082-0d8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "bf1280d3-7003-000c-7571-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "8baa2684-8965-4bef-a938-9030635e6473" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues16581361246d027f061", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues128464715d6ed63ca11", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dd401504-1746-4558-a04f-d6a4430d08cd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6def183-1204-4463-b06d-b466d4eb9cde" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7ea044-f003-0082-198d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "bf1280d8-7003-000c-7971-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "d6def183-1204-4463-b06d-b466d4eb9cde" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues16581361246d027f062", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues128464715d6ed63ca12", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d8690d1e-d9df-4e3c-8eb8-776bfd5680fd" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "772fa935-9ce2-4704-8335-b2ccaa45524b" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7ea054-f003-0082-258d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "bf1280db-7003-000c-7b71-e00533000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "772fa935-9ce2-4704-8335-b2ccaa45524b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queueserviceapitestslistqueues&maxresults=2&include=&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=queueserviceapitestslistqueues&maxresults=2&include=&comp=list", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87d98299-89b3-4cec-b5e3-4814f6894e52" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8bcfdf8a-24ac-4db0-ac51-f242c4cd8007" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7ea05d-f003-0082-2b8d-839126000000", - "Body" : "queueserviceapitestslistqueues2queueserviceapitestslistqueues16581361246d027f060queueserviceapitestslistqueues16581361246d027f061/azstoragesdkaccount/queueserviceapitestslistqueues16581361246d027f062", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT", + "x-ms-request-id" : "bf1280dd-7003-000c-7c71-e00533000000", + "Body" : "queueserviceapitestslistqueues2queueserviceapitestslistqueues128464715d6ed63ca10queueserviceapitestslistqueues128464715d6ed63ca11/gapradev/queueserviceapitestslistqueues128464715d6ed63ca12", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "8bcfdf8a-24ac-4db0-ac51-f242c4cd8007", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queueserviceapitestslistqueues&marker=/azstoragesdkaccount/queueserviceapitestslistqueues16581361246d027f062&maxresults=2&include=&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=queueserviceapitestslistqueues&marker=/gapradev/queueserviceapitestslistqueues128464715d6ed63ca12&maxresults=2&include=&comp=list", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3cfd7db1-25e1-4063-a397-7f94adde6935" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "513a17c7-a23c-497b-8bbf-b5ff7a257dde" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7ea06a-f003-0082-388d-839126000000", - "Body" : "queueserviceapitestslistqueues/azstoragesdkaccount/queueserviceapitestslistqueues16581361246d027f0622queueserviceapitestslistqueues16581361246d027f062", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT", + "x-ms-request-id" : "bf1280de-7003-000c-7d71-e00533000000", + "Body" : "queueserviceapitestslistqueues/gapradev/queueserviceapitestslistqueues128464715d6ed63ca122queueserviceapitestslistqueues128464715d6ed63ca12", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "513a17c7-a23c-497b-8bbf-b5ff7a257dde", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues16581361246d027f060", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues128464715d6ed63ca10", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "daf29d15-1af4-40f3-b5ae-9e9fcdd47c17" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b9830a69-5ec0-4865-ba63-6f6aa680272d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "102a0303-6003-004b-4a8d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "d2a3624e-9003-0014-4c71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "b9830a69-5ec0-4865-ba63-6f6aa680272d" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues16581361246d027f061", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues128464715d6ed63ca11", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4381fe61-cefd-4850-8c6d-9bf2bd6b5e99" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a5e1c656-4a96-4b11-bc29-ed4f0049700b" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7ea0aa-f003-0082-6f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "d2a36251-9003-0014-4e71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "a5e1c656-4a96-4b11-bc29-ed4f0049700b" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues16581361246d027f062", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues128464715d6ed63ca12", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8d6eeb1f-55ff-4073-b954-49f0db6c3868" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc1ff115-53ef-46d9-a03c-5bf8b9754979" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "102a0329-6003-004b-6d8d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "d2a36252-9003-0014-4f71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "bc1ff115-53ef-46d9-a03c-5bf8b9754979" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestslistqueues16581361246d027f06" ] + "variables" : [ "queueserviceapitestslistqueues128464715d6ed63ca1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues2.json index 0b4324fd9bb8c..722bfd2dbdc57 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAPITestsListQueues2.json @@ -1,133 +1,140 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues2801385a13b53942e40", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues2293841d155f47dbae0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a26c8462-5061-4848-9bb5-d4d73f6b3a00" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "08e08c79-f53c-40b9-b9a1-206eafbc350e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a034a-6003-004b-068d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "d2a36253-9003-0014-5071-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "08e08c79-f53c-40b9-b9a1-206eafbc350e" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues2801385a13b53942e41", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues2293841d155f47dbae1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a99f5e58-aa9f-4cbe-87ae-1e66d973e74c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "30971982-a26a-4672-83fc-1cd0e01ae5fb" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7ea0e5-f003-0082-228d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "d2a36255-9003-0014-5171-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "30971982-a26a-4672-83fc-1cd0e01ae5fb" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues2801385a13b53942e42", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues2293841d155f47dbae2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f86324c4-66d8-4feb-b4d6-0855d75fe922" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f7cbe723-2849-4cf0-8a0e-aa7fe044ad70" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a0362-6003-004b-1a8d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:00 GMT" + "x-ms-request-id" : "d2a36257-9003-0014-5271-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:18 GMT", + "x-ms-client-request-id" : "f7cbe723-2849-4cf0-8a0e-aa7fe044ad70" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queueserviceapitestslistqueues&include=metadata&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=queueserviceapitestslistqueues&include=metadata&comp=list", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c96b8881-c6f8-4b31-89bc-46f5874aa0e6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3c26cb9d-415e-4a79-99e7-3f39b603bffe" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7ea105-f003-0082-408d-839126000000", - "Body" : "queueserviceapitestslistqueuesqueueserviceapitestslistqueues2801385a13b53942e40value0queueserviceapitestslistqueues2801385a13b53942e41value1queueserviceapitestslistqueues2801385a13b53942e42value2", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT", + "x-ms-request-id" : "d2a36259-9003-0014-5371-e0da54000000", + "Body" : "queueserviceapitestslistqueuesqueueserviceapitestslistqueues2293841d155f47dbae0value0queueserviceapitestslistqueues2293841d155f47dbae1value1queueserviceapitestslistqueues2293841d155f47dbae2value2", + "Date" : "Tue, 11 Feb 2020 00:26:19 GMT", + "x-ms-client-request-id" : "3c26cb9d-415e-4a79-99e7-3f39b603bffe", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues2801385a13b53942e40", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues2293841d155f47dbae0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c757b25e-ef13-44d3-819d-07f202f25f9a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "16473857-64d6-4651-ba0e-0d83133f562d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "102a038b-6003-004b-3c8d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:00 GMT" + "x-ms-request-id" : "d2a3625a-9003-0014-5471-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:19 GMT", + "x-ms-client-request-id" : "16473857-64d6-4651-ba0e-0d83133f562d" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues2801385a13b53942e41", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues2293841d155f47dbae1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0f1126b-977b-4f52-af0d-05683cb6ff16" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9584533b-1027-432e-8a88-6e1c77987dd7" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "2f7ea122-f003-0082-598d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:19:59 GMT" + "x-ms-request-id" : "d2a3625b-9003-0014-5571-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:19 GMT", + "x-ms-client-request-id" : "9584533b-1027-432e-8a88-6e1c77987dd7" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceapitestslistqueues2801385a13b53942e42", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceapitestslistqueues2293841d155f47dbae2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "15660fec-fe5c-4efd-9a83-f97290ec2609" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c1810c6-6e90-4dbb-8bc8-8c0ce460284e" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "102a03a8-6003-004b-558d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:00 GMT" + "x-ms-request-id" : "d2a3625c-9003-0014-5671-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:19 GMT", + "x-ms-client-request-id" : "2c1810c6-6e90-4dbb-8bc8-8c0ce460284e" }, "Exception" : null } ], - "variables" : [ "queueserviceapitestslistqueues2801385a13b53942e4" ] + "variables" : [ "queueserviceapitestslistqueues2293841d155f47dbae" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueue.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueue.json index 11e8bc94c5f38..84726b630273f 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueue.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueue.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeue40871952efd564", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeue791626abb729ef", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ef200536-e485-42d7-8aea-d912a45f743e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "db869318-5c83-4032-8a46-4475db1680b6" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a11e9-6003-004b-568d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:11 GMT" + "x-ms-request-id" : "d2a3626f-9003-0014-6371-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:20 GMT", + "x-ms-client-request-id" : "db869318-5c83-4032-8a46-4475db1680b6" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeue40871952efd564/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeue791626abb729ef/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1f65bcae-939e-41cb-a915-1b5e2a54e526", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "15cfd862-3024-49e8-902f-09164f96092a", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb1d7-f003-0082-738d-839126000000", - "Body" : "10eb5896-9bea-4ebd-826f-02faa029446dTue, 15 Oct 2019 19:20:12 GMTTue, 22 Oct 2019 19:20:12 GMTAgAAAAMAAAAAAAAAQx79kI2D1QE=Tue, 15 Oct 2019 19:20:12 GMT", - "Date" : "Tue, 15 Oct 2019 19:20:11 GMT", + "x-ms-request-id" : "d2a36271-9003-0014-6471-e0da54000000", + "Body" : "ed27723b-cccf-48b1-8b88-9df705a5a084Tue, 11 Feb 2020 00:26:21 GMTTue, 18 Feb 2020 00:26:21 GMTAgAAAAMAAAAAAAAAIbmF4nHg1QE=Tue, 11 Feb 2020 00:26:21 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:20 GMT", + "x-ms-client-request-id" : "15cfd862-3024-49e8-902f-09164f96092a", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestscreatequeue40871952efd564" ] + "variables" : [ "queueserviceasyncapitestscreatequeue791626abb729ef" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload0.json index 12ee99fc680a4..f5f633ac7b718 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload0.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload071214d22", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload0170865c1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2f87012f-2685-4e28-9925-a0759bf6e2bb" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bee4bdab-b009-4002-8469-15796d7a7c56" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb26b-f003-0082-798d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:11 GMT" + "x-ms-request-id" : "d2a3627d-9003-0014-6f71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:21 GMT", + "x-ms-client-request-id" : "bee4bdab-b009-4002-8469-15796d7a7c56" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload071214d22/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload0170865c1/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "09c823d0-ffee-40b7-a051-e0d8fc518dc3", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "90c2f899-a5bc-428c-8991-5d9903aa3bbc", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a1279-6003-004b-4e8d-8301ec000000", - "Body" : "2289dd9b-e8ab-4879-b4cc-3374192aec17Tue, 15 Oct 2019 19:20:13 GMTTue, 22 Oct 2019 19:20:13 GMTAgAAAAMAAAAAAAAAdh1nkY2D1QE=Tue, 15 Oct 2019 19:20:13 GMT", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36280-9003-0014-7071-e0da54000000", + "Body" : "1425d801-4db6-4631-98f3-5eb82802834aTue, 11 Feb 2020 00:26:22 GMTTue, 18 Feb 2020 00:26:22 GMTAgAAAAMAAAAAAAAA4KxZ43Hg1QE=Tue, 11 Feb 2020 00:26:22 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:22 GMT", + "x-ms-client-request-id" : "90c2f899-a5bc-428c-8991-5d9903aa3bbc", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestscreatequeuemaxoverload071214d22" ] + "variables" : [ "queueserviceasyncapitestscreatequeuemaxoverload0170865c1" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload1.json index 3860f0f1751aa..6d6ae7ee243a5 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload1.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload127976023", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload1178155ac", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f8012cd8-1604-46f4-b54b-d3b72d57882f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "40a03d69-e981-410f-ba26-8e66b2e24b83" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb2a0-f003-0082-2a8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT" + "x-ms-request-id" : "d2a36281-9003-0014-7171-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:22 GMT", + "x-ms-client-request-id" : "40a03d69-e981-410f-ba26-8e66b2e24b83" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload127976023/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload1178155ac/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "51b43da3-f8b9-410f-8867-76a217933a95", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "45e18981-c2b0-4b4a-964f-9101f3d76f0f", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a1299-6003-004b-698d-8301ec000000", - "Body" : "a98ef08d-580f-4d2c-beb6-98cfd601e224Tue, 15 Oct 2019 19:20:13 GMTTue, 22 Oct 2019 19:20:13 GMTAgAAAAMAAAAAAAAAcwZ+kY2D1QE=Tue, 15 Oct 2019 19:20:13 GMT", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36285-9003-0014-7471-e0da54000000", + "Body" : "e804ffa0-4d37-4ff8-876c-42d49533a470Tue, 11 Feb 2020 00:26:23 GMTTue, 18 Feb 2020 00:26:23 GMTAgAAAAMAAAAAAAAAKPmR43Hg1QE=Tue, 11 Feb 2020 00:26:23 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:22 GMT", + "x-ms-client-request-id" : "45e18981-c2b0-4b4a-964f-9101f3d76f0f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestscreatequeuemaxoverload127976023" ] + "variables" : [ "queueserviceasyncapitestscreatequeuemaxoverload1178155ac" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload2.json index 3193184a717d8..c1811fd4f54de 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueMaxOverload2.json @@ -1,43 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload216310df7", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload2560244f9", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a667e791-a1b1-47e0-a2f2-3e7ded950320" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0a5b077-0919-4666-86dc-9b664fde4eb3" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb2fe-f003-0082-788d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT" + "x-ms-request-id" : "d2a36286-9003-0014-7571-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:22 GMT", + "x-ms-client-request-id" : "c0a5b077-0919-4666-86dc-9b664fde4eb3" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload216310df7/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeuemaxoverload2560244f9/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "294d7876-6476-4868-90da-0051c8fcb544", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b97eecf5-c104-401d-8b43-c34b3ce290ea", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a12e8-6003-004b-2f8d-8301ec000000", - "Body" : "39bf5c10-a1c8-47bc-a51a-32ba4e7b9ec1Tue, 15 Oct 2019 19:20:13 GMTTue, 22 Oct 2019 19:20:13 GMTAgAAAAMAAAAAAAAAt8aqkY2D1QE=Tue, 15 Oct 2019 19:20:13 GMT", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36289-9003-0014-7771-e0da54000000", + "Body" : "3f2a5318-7377-4cab-b642-c0c37c69d174Tue, 11 Feb 2020 00:26:23 GMTTue, 18 Feb 2020 00:26:23 GMTAgAAAAMAAAAAAAAA8SzE43Hg1QE=Tue, 11 Feb 2020 00:26:23 GMT", + "Date" : "Tue, 11 Feb 2020 00:26:22 GMT", + "x-ms-client-request-id" : "b97eecf5-c104-401d-8b43-c34b3ce290ea", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestscreatequeuemaxoverload216310df7" ] + "variables" : [ "queueserviceasyncapitestscreatequeuemaxoverload2560244f9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidMetadata.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidMetadata.json index c608f0df5d79c..f6a042595dec1 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidMetadata.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidMetadata.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestscreatequeuewithinvalidmetadata76601", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestscreatequeuewithinvalidmetadata29001", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a0abf611-f275-4b63-9528-e0ee159f2384" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7b29e28f-b303-43f7-b707-1b61849f4249" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidMetadata", "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "2f7eb326-f003-0082-1e8d-839126000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:2f7eb326-f003-0082-1e8d-839126000000\nTime:2019-10-15T19:20:13.6035562Z", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a3628a-9003-0014-7871-e0da54000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:d2a3628a-9003-0014-7871-e0da54000000\nTime:2020-02-11T00:26:23.6910414Z", + "Date" : "Tue, 11 Feb 2020 00:26:22 GMT", + "x-ms-client-request-id" : "7b29e28f-b303-43f7-b707-1b61849f4249", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestscreatequeuewithinvalidmetadata76601" ] + "variables" : [ "queueserviceasyncapitestscreatequeuewithinvalidmetadata29001" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName0.json index 1cd73cdaa35f2..c9b981cd6e5d1 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName0.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/a_b", + "Uri" : "https://gapradev.queue.core.windows.net/a_b", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "378a43dd-76f2-40c4-b4f4-ea8ec25ce321" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cb5a01f0-6f6f-480c-bebf-115b9e22c7a8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "102a120e-6003-004b-748d-8301ec000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:102a120e-6003-004b-748d-8301ec000000\nTime:2019-10-15T19:20:12.4670353Z", - "Date" : "Tue, 15 Oct 2019 19:20:11 GMT", + "x-ms-request-id" : "d2a36273-9003-0014-6671-e0da54000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:d2a36273-9003-0014-6671-e0da54000000\nTime:2020-02-11T00:26:21.6571943Z", + "Date" : "Tue, 11 Feb 2020 00:26:20 GMT", + "x-ms-client-request-id" : "cb5a01f0-6f6f-480c-bebf-115b9e22c7a8", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName1.json index 0413547e44ae0..2c43b1a1f51e4 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName1.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/-ab", + "Uri" : "https://gapradev.queue.core.windows.net/-ab", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4583a70a-90b7-4680-98ff-a285c04508f9" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8be1c4b7-1248-4769-8d7f-d851283d26d4" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "102a1216-6003-004b-7c8d-8301ec000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:102a1216-6003-004b-7c8d-8301ec000000\nTime:2019-10-15T19:20:12.5310977Z", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36274-9003-0014-6771-e0da54000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:d2a36274-9003-0014-6771-e0da54000000\nTime:2020-02-11T00:26:21.8113352Z", + "Date" : "Tue, 11 Feb 2020 00:26:21 GMT", + "x-ms-client-request-id" : "8be1c4b7-1248-4769-8d7f-d851283d26d4", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName2.json index 720ccb68ce82c..3522b26841a1f 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName2.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/a--b", + "Uri" : "https://gapradev.queue.core.windows.net/a--b", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4e19e420-7700-47eb-82e3-4c0340f61baf" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1a3a2db2-aee2-4056-8940-d855841cc229" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "102a1229-6003-004b-0c8d-8301ec000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:102a1229-6003-004b-0c8d-8301ec000000\nTime:2019-10-15T19:20:12.5931577Z", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36275-9003-0014-6871-e0da54000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:d2a36275-9003-0014-6871-e0da54000000\nTime:2020-02-11T00:26:21.9644737Z", + "Date" : "Tue, 11 Feb 2020 00:26:21 GMT", + "x-ms-client-request-id" : "1a3a2db2-aee2-4056-8940-d855841cc229", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName3.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName3.json index 90d32046e9679..97d2e8cccef1d 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName3.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName3.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/Abc", + "Uri" : "https://gapradev.queue.core.windows.net/Abc", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d3272068-a9d9-448e-a36b-d7a29ab98b7a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a6adfbd0-bc02-4f89-8ba0-e18cf9fac534" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "InvalidResourceName", "retry-after" : "0", "Content-Length" : "243", "StatusCode" : "400", - "x-ms-request-id" : "102a1237-6003-004b-188d-8301ec000000", - "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:102a1237-6003-004b-188d-8301ec000000\nTime:2019-10-15T19:20:12.6572201Z", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36276-9003-0014-6971-e0da54000000", + "Body" : "InvalidResourceNameThe specifed resource name contains invalid characters.\nRequestId:d2a36276-9003-0014-6971-e0da54000000\nTime:2020-02-11T00:26:22.1186136Z", + "Date" : "Tue, 11 Feb 2020 00:26:21 GMT", + "x-ms-client-request-id" : "a6adfbd0-bc02-4f89-8ba0-e18cf9fac534", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName4.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName4.json index a770378ff2a75..c26b61da3ba27 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName4.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName4.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/ab", + "Uri" : "https://gapradev.queue.core.windows.net/ab", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f5e8521e-a459-4fa1-b96d-54935c3ea17d" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea2a346c-44a4-45da-a342-0aeb82f11f50" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "256", "StatusCode" : "400", - "x-ms-request-id" : "102a1245-6003-004b-238d-8301ec000000", - "Body" : "OutOfRangeInputThe specified resource name length is not within the permissible limits.\nRequestId:102a1245-6003-004b-238d-8301ec000000\nTime:2019-10-15T19:20:12.7182780Z", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36277-9003-0014-6a71-e0da54000000", + "Body" : "OutOfRangeInputThe specified resource name length is not within the permissible limits.\nRequestId:d2a36277-9003-0014-6a71-e0da54000000\nTime:2020-02-11T00:26:22.2727535Z", + "Date" : "Tue, 11 Feb 2020 00:26:21 GMT", + "x-ms-client-request-id" : "ea2a346c-44a4-45da-a342-0aeb82f11f50", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName5.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName5.json index 5fdfe8f200965..b2ca9c1077915 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName5.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsCreateQueueWithInvalidName5.json @@ -1,22 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/verylongverylongverylongverylongverylongverylongverylongverylong", + "Uri" : "https://gapradev.queue.core.windows.net/verylongverylongverylongverylongverylongverylongverylongverylong", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a6d6cb19-1943-4631-90e1-d4ee5bc8ba61" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "037746ea-6c20-46be-8aff-29d28c0ad605" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "OutOfRangeInput", "retry-after" : "0", "Content-Length" : "256", "StatusCode" : "400", - "x-ms-request-id" : "102a1254-6003-004b-2f8d-8301ec000000", - "Body" : "OutOfRangeInputThe specified resource name length is not within the permissible limits.\nRequestId:102a1254-6003-004b-2f8d-8301ec000000\nTime:2019-10-15T19:20:12.7833411Z", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36279-9003-0014-6c71-e0da54000000", + "Body" : "OutOfRangeInputThe specified resource name length is not within the permissible limits.\nRequestId:d2a36279-9003-0014-6c71-e0da54000000\nTime:2020-02-11T00:26:22.4268935Z", + "Date" : "Tue, 11 Feb 2020 00:26:21 GMT", + "x-ms-client-request-id" : "037746ea-6c20-46be-8aff-29d28c0ad605", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsDeleteQueue.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsDeleteQueue.json index 91633a1ee93ea..06d70dd3a69b5 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsDeleteQueue.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsDeleteQueue.json @@ -1,62 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestsdeletequeue53571d60bde52a", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestsdeletequeue6926692174e5ed", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6f5dcf96-b796-4864-ba1e-9d8304c7cd68" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "75ae4c4f-d57f-4e3d-847e-f87b040b8c35" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb337-f003-0082-2f8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT" + "x-ms-request-id" : "d2a3628c-9003-0014-7971-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:23 GMT", + "x-ms-client-request-id" : "75ae4c4f-d57f-4e3d-847e-f87b040b8c35" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestsdeletequeue53571d60bde52a", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestsdeletequeue6926692174e5ed", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "71a1bfb6-3055-435e-a677-b2e7c3f5ae02" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77725398-f25b-4baf-b525-65f1a1b6c89f" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "102a1313-6003-004b-558d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT" + "x-ms-request-id" : "d2a3628e-9003-0014-7a71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:23 GMT", + "x-ms-client-request-id" : "77725398-f25b-4baf-b525-65f1a1b6c89f" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestsdeletequeue53571d60bde52a/messages", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestsdeletequeue6926692174e5ed/messages", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4c63e06a-232c-4d3e-aa12-2de592e9f43c", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dc5049df-d583-4da3-bac7-9e7b9a501d71", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7eb352-f003-0082-468d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7eb352-f003-0082-468d-839126000000\nTime:2019-10-15T19:20:13.7537027Z", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a3628f-9003-0014-7b71-e0da54000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d2a3628f-9003-0014-7b71-e0da54000000\nTime:2020-02-11T00:26:24.0463630Z", + "Date" : "Tue, 11 Feb 2020 00:26:23 GMT", + "x-ms-client-request-id" : "dc5049df-d583-4da3-bac7-9e7b9a501d71", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestsdeletequeue53571d60bde52a" ] + "variables" : [ "queueserviceasyncapitestsdeletequeue6926692174e5ed" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsDeleteQueueError.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsDeleteQueueError.json index 201756be59e6c..84441a3b93647 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsDeleteQueueError.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsDeleteQueueError.json @@ -1,25 +1,26 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/5e378cb19de24a6b", + "Uri" : "https://gapradev.queue.core.windows.net/0ca3417bbe6749bc", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eed64b2b-30cb-4a21-b898-49d77abc41b6" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "526a8207-1101-455b-8a91-8c466960a165" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "x-ms-error-code" : "QueueNotFound", "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "2f7eb35f-f003-0082-528d-839126000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:2f7eb35f-f003-0082-528d-839126000000\nTime:2019-10-15T19:20:13.8227701Z", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT", + "x-ms-request-id" : "d2a36292-9003-0014-7d71-e0da54000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:d2a36292-9003-0014-7d71-e0da54000000\nTime:2020-02-11T00:26:24.2345338Z", + "Date" : "Tue, 11 Feb 2020 00:26:23 GMT", + "x-ms-client-request-id" : "526a8207-1101-455b-8a91-8c466960a165", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "5e378cb19de24a6b" ] + "variables" : [ "0ca3417bbe6749bc" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsGetAndSetProperties.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsGetAndSetProperties.json index 29105e1126411..c4af3c12c50ad 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsGetAndSetProperties.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsGetAndSetProperties.json @@ -1,87 +1,87 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gapradev.queue.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e4eecb41-3c26-42b7-b765-1b1f3539d57f" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8dc75b7f-2dbc-4b03-afba-2351fbf888a2" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "726ffc88-0003-00d3-4be6-988fd3000000", + "x-ms-request-id" : "d2a362c0-9003-0014-2171-e0da54000000", "Body" : "1.0falsetruetruetrue31.0truefalsetrue31.0truefalsetrue3", - "Date" : "Mon, 11 Nov 2019 23:20:55 GMT", - "x-ms-client-request-id" : "e4eecb41-3c26-42b7-b765-1b1f3539d57f", + "Date" : "Tue, 11 Feb 2020 00:26:25 GMT", + "x-ms-client-request-id" : "8dc75b7f-2dbc-4b03-afba-2351fbf888a2", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gapradev.queue.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3f007723-8a3d-4c1c-9a03-7b7d19c35cd1" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "160abea6-0915-4951-9493-fb0a3d5a8f4f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "ba0a28d2-2003-00a2-49e6-98fdea000000", + "x-ms-request-id" : "d2a362c1-9003-0014-2271-e0da54000000", "Body" : "1.0falsetruetruetrue31.0truefalsetrue31.0truefalsetrue3", - "Date" : "Mon, 11 Nov 2019 23:20:54 GMT", - "x-ms-client-request-id" : "3f007723-8a3d-4c1c-9a03-7b7d19c35cd1", + "Date" : "Tue, 11 Feb 2020 00:26:25 GMT", + "x-ms-client-request-id" : "160abea6-0915-4951-9493-fb0a3d5a8f4f", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gapradev.queue.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eedf9562-e0ce-47fa-ae6c-f5679a891e8f", + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "40844412-45cb-4f8f-883b-589610cd9e7b", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "726ffc8d-0003-00d3-50e6-988fd3000000", - "Date" : "Mon, 11 Nov 2019 23:20:55 GMT", - "x-ms-client-request-id" : "eedf9562-e0ce-47fa-ae6c-f5679a891e8f" + "x-ms-request-id" : "d2a362c2-9003-0014-2371-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:26 GMT", + "x-ms-client-request-id" : "40844412-45cb-4f8f-883b-589610cd9e7b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://gapradev.queue.core.windows.net?restype=service&comp=properties", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.1.0-beta.1 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6f6b992f-955b-4174-9fdd-c1a730373aaa" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e7b779ba-4006-4095-8d55-d077c610fff7" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "ba0a28e5-2003-00a2-59e6-98fdea000000", + "x-ms-request-id" : "d2a362c3-9003-0014-2471-e0da54000000", "Body" : "1.0falsetruetruetrue31.0truefalsetrue31.0truefalsetrue3", - "Date" : "Mon, 11 Nov 2019 23:20:54 GMT", - "x-ms-client-request-id" : "6f6b992f-955b-4174-9fdd-c1a730373aaa", + "Date" : "Tue, 11 Feb 2020 00:26:26 GMT", + "x-ms-client-request-id" : "e7b779ba-4006-4095-8d55-d077c610fff7", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsGetQueueClient.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsGetQueueClient.json index a1498a6dc93c2..88ba9a24f9f86 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsGetQueueClient.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsGetQueueClient.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "queueserviceasyncapitestsgetqueueclient2069629dbf611" ] + "variables" : [ "queueserviceasyncapitestsgetqueueclient548310a93b3f5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListEmptyQueues.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListEmptyQueues.json index 2fe3821006b00..ce3dd9fc5c4df 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListEmptyQueues.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListEmptyQueues.json @@ -1,23 +1,23 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=QueueServiceAsyncAPITestsListEmptyQueues&include=&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=QueueServiceAsyncAPITestsListEmptyQueues&include=&comp=list", "Headers" : { - "x-ms-version" : "2019-02-02", - "User-Agent" : "azsdk-java-azure-storage-queue/12.2.0 (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "7ade11c8-92cf-4df2-81ec-326410311e5a" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7a652dd8-e54b-4c11-a9f9-c964cc12e46d" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2019-02-02", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "5dffa26a-f003-0105-2228-c7825c000000", - "Body" : "QueueServiceAsyncAPITestsListEmptyQueues", - "Date" : "Thu, 09 Jan 2020 20:10:31 GMT", - "x-ms-client-request-id" : "7ade11c8-92cf-4df2-81ec-326410311e5a", + "x-ms-request-id" : "d2a362bf-9003-0014-2071-e0da54000000", + "Body" : "QueueServiceAsyncAPITestsListEmptyQueues", + "Date" : "Tue, 11 Feb 2020 00:26:25 GMT", + "x-ms-client-request-id" : "7a652dd8-e54b-4c11-a9f9-c964cc12e46d", "Content-Type" : "application/xml" }, "Exception" : null diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues0.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues0.json index 8b394a69c2543..f2bd4f50cc933 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues0.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues0.json @@ -1,79 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues090958292b35b640", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues054450c658b90220", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ab4e2c68-e2a5-49f5-95db-637665230095" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "61e84784-d411-4af5-a8d8-ad34e7e2c493" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb378-f003-0082-6b8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:12 GMT" + "x-ms-request-id" : "d2a36295-9003-0014-8071-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:23 GMT", + "x-ms-client-request-id" : "61e84784-d411-4af5-a8d8-ad34e7e2c493" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues090958292b35b641", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues054450c658b90221", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d33c4382-9f2a-4466-9e7c-104abad67a59" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6bedb109-be88-4ff2-8f3c-c92d24f45ec4" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a133a-6003-004b-778d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT" + "x-ms-request-id" : "d2a36297-9003-0014-0171-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:23 GMT", + "x-ms-client-request-id" : "6bedb109-be88-4ff2-8f3c-c92d24f45ec4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues090958292b35b642", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues054450c658b90222", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1fb8381d-decb-4ccb-b9bd-2b0a91058090" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "58a1f1c0-8723-4198-a570-7fa2f4536118" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb391-f003-0082-018d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT" + "x-ms-request-id" : "d2a3629a-9003-0014-0371-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:23 GMT", + "x-ms-client-request-id" : "58a1f1c0-8723-4198-a570-7fa2f4536118" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queueserviceasyncapitestslistqueues&include=&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=queueserviceasyncapitestslistqueues&include=&comp=list", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c61e27cf-bf3c-4dd8-9075-054c6dbd996b" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "00e4cdf5-9f4a-4439-9972-3a1a7a32b94f" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "102a1343-6003-004b-7f8d-8301ec000000", - "Body" : "queueserviceasyncapitestslistqueuesqueueserviceasyncapitestslistqueues090958292b35b640queueserviceasyncapitestslistqueues090958292b35b641queueserviceasyncapitestslistqueues090958292b35b642", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT", + "x-ms-request-id" : "d2a3629d-9003-0014-0571-e0da54000000", + "Body" : "queueserviceasyncapitestslistqueuesqueueserviceasyncapitestslistqueues054450c658b90220queueserviceasyncapitestslistqueues054450c658b90221queueserviceasyncapitestslistqueues054450c658b90222", + "Date" : "Tue, 11 Feb 2020 00:26:23 GMT", + "x-ms-client-request-id" : "00e4cdf5-9f4a-4439-9972-3a1a7a32b94f", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestslistqueues090958292b35b64" ] + "variables" : [ "queueserviceasyncapitestslistqueues054450c658b9022" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues1.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues1.json index dac7d849a4e78..fedbbcab5f7dc 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues1.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues1.json @@ -1,100 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues1726000547fc4800", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues1108455203fc97c0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ead10659-d5ca-4a84-933c-c2a0dc65735c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "34ece975-029d-497b-965e-b7ef68a7afb0" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb3c2-f003-0082-308d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT" + "x-ms-request-id" : "d2a362a3-9003-0014-0b71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:24 GMT", + "x-ms-client-request-id" : "34ece975-029d-497b-965e-b7ef68a7afb0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues1726000547fc4801", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues1108455203fc97c1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ee9c2eca-2986-4e39-b36c-3f21078334ef" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "67caba1c-b077-4659-82d5-3af536520e0f" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a1377-6003-004b-2d8d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT" + "x-ms-request-id" : "d2a362a5-9003-0014-0c71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:24 GMT", + "x-ms-client-request-id" : "67caba1c-b077-4659-82d5-3af536520e0f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues1726000547fc4802", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues1108455203fc97c2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3969dc84-95f8-4924-9d76-b42a2e3ebd8e" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f168504a-c0c8-4433-9d61-44ac360cf94b" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb3e3-f003-0082-4e8d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT" + "x-ms-request-id" : "d2a362a8-9003-0014-0d71-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:24 GMT", + "x-ms-client-request-id" : "f168504a-c0c8-4433-9d61-44ac360cf94b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queueserviceasyncapitestslistqueues&maxresults=2&include=&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=queueserviceasyncapitestslistqueues&maxresults=2&include=&comp=list", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2a192401-f795-4768-8fb3-f358c1bbcaf4" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "46c23d93-a21b-412e-9a23-84d72ce4b6a1" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "102a138b-6003-004b-3e8d-8301ec000000", - "Body" : "queueserviceasyncapitestslistqueues2queueserviceasyncapitestslistqueues1726000547fc4800queueserviceasyncapitestslistqueues1726000547fc4801/azstoragesdkaccount/queueserviceasyncapitestslistqueues1726000547fc4802", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT", + "x-ms-request-id" : "d2a362aa-9003-0014-0e71-e0da54000000", + "Body" : "queueserviceasyncapitestslistqueues2queueserviceasyncapitestslistqueues1108455203fc97c0queueserviceasyncapitestslistqueues1108455203fc97c1/gapradev/queueserviceasyncapitestslistqueues1108455203fc97c2", + "Date" : "Tue, 11 Feb 2020 00:26:24 GMT", + "x-ms-client-request-id" : "46c23d93-a21b-412e-9a23-84d72ce4b6a1", "Content-Type" : "application/xml" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queueserviceasyncapitestslistqueues&marker=/azstoragesdkaccount/queueserviceasyncapitestslistqueues1726000547fc4802&maxresults=2&include=&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=queueserviceasyncapitestslistqueues&marker=/gapradev/queueserviceasyncapitestslistqueues1108455203fc97c2&maxresults=2&include=&comp=list", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0f29dc8c-2dc5-46c5-b939-7272132a9d6c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "422faa0f-ef08-4b37-b621-6449ef0f71e5" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7eb3f4-f003-0082-5e8d-839126000000", - "Body" : "queueserviceasyncapitestslistqueues/azstoragesdkaccount/queueserviceasyncapitestslistqueues1726000547fc48022queueserviceasyncapitestslistqueues1726000547fc4802", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT", + "x-ms-request-id" : "d2a362ab-9003-0014-0f71-e0da54000000", + "Body" : "queueserviceasyncapitestslistqueues/gapradev/queueserviceasyncapitestslistqueues1108455203fc97c22queueserviceasyncapitestslistqueues1108455203fc97c2", + "Date" : "Tue, 11 Feb 2020 00:26:24 GMT", + "x-ms-client-request-id" : "422faa0f-ef08-4b37-b621-6449ef0f71e5", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestslistqueues1726000547fc480" ] + "variables" : [ "queueserviceasyncapitestslistqueues1108455203fc97c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues2.json b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues2.json index ddf1e21fe33c3..2f2ecf0573dbc 100644 --- a/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues2.json +++ b/sdk/storage/azure-storage-queue/src/test/resources/session-records/QueueServiceAsyncAPITestsListQueues2.json @@ -1,79 +1,83 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues28748766ee158950", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues2017373dbc3d92b0", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "40c1ed85-b78d-4f1f-8ca4-5baf63766159" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b14eb06d-dc06-4499-b305-eefa1a8839b4" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a13b4-6003-004b-668d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:14 GMT" + "x-ms-request-id" : "d2a362ae-9003-0014-1271-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:25 GMT", + "x-ms-client-request-id" : "b14eb06d-dc06-4499-b305-eefa1a8839b4" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues28748766ee158951", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues2017373dbc3d92b1", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "57dbfff0-ef23-4793-888b-c8d34cd9121c" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4d41d138-855c-4f45-98af-0061a016e14a" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2f7eb43e-f003-0082-238d-839126000000", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT" + "x-ms-request-id" : "d2a362b0-9003-0014-1371-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:25 GMT", + "x-ms-client-request-id" : "4d41d138-855c-4f45-98af-0061a016e14a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queueserviceasyncapitestslistqueues28748766ee158952", + "Uri" : "https://gapradev.queue.core.windows.net/queueserviceasyncapitestslistqueues2017373dbc3d92b2", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e4404d9f-6a35-4a80-9d67-f74f5d875f31" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f6e4678b-dd5a-4fe5-acdc-cb405788f71d" }, "Response" : { - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "102a13c1-6003-004b-728d-8301ec000000", - "Date" : "Tue, 15 Oct 2019 19:20:14 GMT" + "x-ms-request-id" : "d2a362b5-9003-0014-1771-e0da54000000", + "Date" : "Tue, 11 Feb 2020 00:26:25 GMT", + "x-ms-client-request-id" : "f6e4678b-dd5a-4fe5-acdc-cb405788f71d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queueserviceasyncapitestslistqueues&include=metadata&comp=list", + "Uri" : "https://gapradev.queue.core.windows.net?prefix=queueserviceasyncapitestslistqueues&include=metadata&comp=list", "Headers" : { - "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.5 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4fab1c89-f7f5-4ec5-8347-f7b73a86d206" + "x-ms-version" : "2019-07-07", + "User-Agent" : "azsdk-java-azure-storage-queue/12.3.0-beta.1 (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "661da12e-d615-4e87-9297-4e0b031f5fd0" }, "Response" : { "Transfer-Encoding" : "chunked", - "x-ms-version" : "2018-03-28", + "x-ms-version" : "2019-07-07", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "2f7eb451-f003-0082-358d-839126000000", - "Body" : "queueserviceasyncapitestslistqueuesqueueserviceasyncapitestslistqueues28748766ee158950value0queueserviceasyncapitestslistqueues28748766ee158951value1queueserviceasyncapitestslistqueues28748766ee158952value2", - "Date" : "Tue, 15 Oct 2019 19:20:13 GMT", + "x-ms-request-id" : "d2a362b7-9003-0014-1871-e0da54000000", + "Body" : "queueserviceasyncapitestslistqueuesqueueserviceasyncapitestslistqueues2017373dbc3d92b0value0queueserviceasyncapitestslistqueues2017373dbc3d92b1value1queueserviceasyncapitestslistqueues2017373dbc3d92b2value2", + "Date" : "Tue, 11 Feb 2020 00:26:25 GMT", + "x-ms-client-request-id" : "661da12e-d615-4e87-9297-4e0b031f5fd0", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "queueserviceasyncapitestslistqueues28748766ee15895" ] + "variables" : [ "queueserviceasyncapitestslistqueues2017373dbc3d92b" ] } \ No newline at end of file diff --git a/sdk/storage/tests.yml b/sdk/storage/tests.yml index c4c259d9c9751..769fba70a16fa 100644 --- a/sdk/storage/tests.yml +++ b/sdk/storage/tests.yml @@ -18,6 +18,8 @@ jobs: BLOB_STORAGE_ACCOUNT_KEY: $(BLOB_STORAGE_ACCOUNT_KEY) PREMIUM_STORAGE_ACCOUNT_NAME: $(PREMIUM_STORAGE_ACCOUNT_NAME) PREMIUM_STORAGE_ACCOUNT_KEY: $(PREMIUM_STORAGE_ACCOUNT_KEY) + PREMIUM_FILE_STORAGE_ACCOUNT_NAME: $(PREMIUM_STORAGE_FILE_ACCOUNT_NAME) + PREMIUM_FILE_STORAGE_ACCOUNT_KEY: $(PREMIUM_STORAGE_FILE_ACCOUNT_KEy) AZURE_STORAGE_FILE_ENDPOINT: $(AZURE_STORAGE_FILE_ENDPOINT) AZURE_STORAGE_FILE_CONNECTION_STRING: $(AZURE_STORAGE_FILE_CONNECTION_STRING) AZURE_STORAGE_QUEUE_ENDPOINT: $(AZURE_STORAGE_QUEUE_ENDPOINT)