-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented list deleted root blob with versions #21996
Merged
gapra-msft
merged 6 commits into
Azure:feature/storage/stg78
from
gapra-msft:storage/listDeleteRootBlobWithVersions
Jun 18, 2021
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
a1de91d
Implemented list deleted root blob with versions
gapra-msft 53b5d83
Regenerated code
gapra-msft c0e6276
Merge branch 'feature/storage/stg78' into storage/listDeleteRootBlobW…
gapra-msft c7e0630
Fix typo
gapra-msft 0d9cafe
Merge branch 'feature/storage/stg78' into storage/listDeleteRootBlobW…
gapra-msft 714f0ec
Merge branch 'feature/storage/stg78' into storage/listDeleteRootBlobW…
gapra-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 112 additions & 0 deletions
112
...st/resources/session-records/ContainerAPITestListBlobsFlatOptionsDeletedWithVersions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/8295186e08295186e76780860dbc07e929472486d90d?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2020-10-02", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "230a2772-1c69-4408-9f21-2424e9a84d78" | ||
}, | ||
"Response" : { | ||
"content-length" : "0", | ||
"x-ms-version" : "2020-10-02", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"eTag" : "0x8D9252E3D6FD9CB", | ||
"Last-Modified" : "Tue, 01 Jun 2021 18:51:17 GMT", | ||
"retry-after" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-id" : "6d10ded9-c01e-0014-6917-5792ad000000", | ||
"x-ms-client-request-id" : "230a2772-1c69-4408-9f21-2424e9a84d78", | ||
"Date" : "Tue, 01 Jun 2021 18:51:17 GMT" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/8295186e08295186e76780860dbc07e929472486d90d/8295186e18295186e767817414aac029851164b3b9b8", | ||
"Headers" : { | ||
"x-ms-version" : "2020-10-02", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "4c66d24b-834b-4a3f-845f-996c3121ba78" | ||
}, | ||
"Response" : { | ||
"content-length" : "0", | ||
"x-ms-version" : "2020-10-02", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"eTag" : "0x8D9252E3DB29E26", | ||
"Last-Modified" : "Tue, 01 Jun 2021 18:51:18 GMT", | ||
"x-ms-version-id" : "2021-06-01T18:51:18.3475238Z", | ||
"retry-after" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-id" : "6d10dfab-c01e-0014-5c17-5792ad000000", | ||
"x-ms-request-server-encrypted" : "true", | ||
"x-ms-client-request-id" : "4c66d24b-834b-4a3f-845f-996c3121ba78", | ||
"Date" : "Tue, 01 Jun 2021 18:51:18 GMT" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/8295186e08295186e76780860dbc07e929472486d90d/8295186e18295186e767817414aac029851164b3b9b8?comp=metadata", | ||
"Headers" : { | ||
"x-ms-version" : "2020-10-02", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "eb48934a-df4c-47bf-90c5-945199f73eb1" | ||
}, | ||
"Response" : { | ||
"content-length" : "0", | ||
"x-ms-version" : "2020-10-02", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"eTag" : "0x8D9252E3DCCBA9B", | ||
"Last-Modified" : "Tue, 01 Jun 2021 18:51:18 GMT", | ||
"x-ms-version-id" : "2021-06-01T18:51:18.5196459Z", | ||
"retry-after" : "0", | ||
"StatusCode" : "200", | ||
"x-ms-request-id" : "6d10dfdc-c01e-0014-7c17-5792ad000000", | ||
"x-ms-request-server-encrypted" : "true", | ||
"x-ms-client-request-id" : "eb48934a-df4c-47bf-90c5-945199f73eb1", | ||
"Date" : "Tue, 01 Jun 2021 18:51:18 GMT" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "DELETE", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/8295186e08295186e76780860dbc07e929472486d90d/8295186e18295186e767817414aac029851164b3b9b8", | ||
"Headers" : { | ||
"x-ms-version" : "2020-10-02", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "6d85a718-b07e-4d6e-ac99-3b622bdf53b3" | ||
}, | ||
"Response" : { | ||
"content-length" : "0", | ||
"x-ms-version" : "2020-10-02", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"x-ms-delete-type-permanent" : "false", | ||
"retry-after" : "0", | ||
"StatusCode" : "202", | ||
"x-ms-request-id" : "6d10e00a-c01e-0014-1317-5792ad000000", | ||
"x-ms-client-request-id" : "6d85a718-b07e-4d6e-ac99-3b622bdf53b3", | ||
"Date" : "Tue, 01 Jun 2021 18:51:18 GMT" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "GET", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/8295186e08295186e76780860dbc07e929472486d90d?restype=container&comp=list&prefix=8295186e18295186e767817414aac029851164b3b9b8&include=deletedwithversions", | ||
"Headers" : { | ||
"x-ms-version" : "2020-10-02", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "7bf450cd-e0d3-45a1-b672-6e34f25fa9d2" | ||
}, | ||
"Response" : { | ||
"Transfer-Encoding" : "chunked", | ||
"x-ms-version" : "2020-10-02", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"StatusCode" : "200", | ||
"x-ms-request-id" : "6d10e03a-c01e-0014-2a17-5792ad000000", | ||
"Body" : "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"https://seanmcccanary3.blob.core.windows.net/\" ContainerName=\"8295186e08295186e76780860dbc07e929472486d90d\"><Prefix>8295186e18295186e767817414aac029851164b3b9b8</Prefix><Blobs><Blob><Name>8295186e18295186e767817414aac029851164b3b9b8</Name><HasVersionsOnly>true</HasVersionsOnly><Properties><Creation-Time>Tue, 01 Jun 2021 18:51:18 GMT</Creation-Time><Last-Modified>Tue, 01 Jun 2021 18:51:18 GMT</Last-Modified><Etag>0x8D9252E3DCCBA9B</Etag><Content-Length>0</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding /><Content-Language /><Content-CRC64 /><Content-MD5 /><Cache-Control /><Content-Disposition /><BlobType>AppendBlob</BlobType><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata /></Blob></Blobs><NextMarker /></EnumerationResults>", | ||
"x-ms-client-request-id" : "7bf450cd-e0d3-45a1-b672-6e34f25fa9d2", | ||
"Date" : "Tue, 01 Jun 2021 18:51:18 GMT", | ||
"Content-Type" : "application/xml" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ "8295186e08295186e76780860dbc07e929472486d90d", "8295186e18295186e767817414aac029851164b3b9b8" ] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isHasVersionsOnly
😱 . The generator's code is very idiomatic.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah - it's kinda bad about booleans