The copy properties of "az storage blob list" are not correct
See original GitHub issueWhen I use az storage blob show
, I can get the copy
properties of the blob.
"copy": {
"completionTime": null,
"id": "<redacted",
"progress": "0/3221225984",
"source": "<redacted>",
"status": "pending",
"statusDescription": null
},
But using az storage blob list
, the copy
properties are null values.
"copy": {
"completionTime": null,
"id": null,
"progress": null,
"source": null,
"status": null,
"statusDescription": null
},
Environment summary
interactive script / 2.0.23 / Ubuntu / bash
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
az storage blob | Microsoft Learn
Update the access control properties of a blob. az storage blob copy. Manage blob copy operations. Use az storage blob show to check...
Read more >az blob list: show only some properties - Stack Overflow
In this query statement, you're parsing all of the entities in an array (your results), and accessing the contentLength under properties for ...
Read more >Azure Blob Content Type List
I am not sure that the content type is set that way. You can now set blob properties using az storage blob update...
Read more >Get the Most out of Your Cloud Hot Folders and Azure Blob ...
AzCopy is able to copy data from File Storage to Azure Storage or from ... ShellCommandPrompt$ az storage blob list --output table -c...
Read more >Microsoft Azure Blob Storage - Rclone
If the env_auth config parameter is true then rclone will pull ... az storage blob list --container-name CONTAINER --account-name ACCOUNT ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Though minor, removing these properties may be breaking for some users; ex. piping the results from
storage blob list
and doing a check on the properties returned. It also is reasonable to have similar models for the outputs of any iteration of the list command. We have decided not to remove the null properties for now, if we get more complaints from users in the future, we will consider this further along the road. @bingosummer thanks for your input, glad I could help.@bingosummer we have an include option. Use the
--include
arg to specify that you want copy information to be provided by the endpoint. Ex.az storage blob list -c wilxcontainer --include c
will give you the information you desire.@tjprescott our current functionality is by using
--include
to specify whatever additional information the user may want. For example,az storage blob list -c wilxcontainer --include sc
will give both snapshot and copy information. Having a inclusion flag specifically for “copy” would duplicate same function and may necessitate similar flags for the other inclusion options.It does seem weird to have those null properties present in the output though. We may consider removing those if the user does not specify it? @troydai @tjprescott