az image copy does not support edge zones
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Describe the bug**
Trying to copy an image from a region to an edge zone gives the following error:
az image copy --source-resource-group shinimtestpoc --source-object-name clientvmaz1-image-20211018011620-eastus2euap-eastus2euap --target-location eastus2euap --target-resource-group "shinimtestpoc" --target-subscription "baffff89-2c76-424a-af4c-43b7518a3cb8" --edge-zone microsoftrrdclab1
**unrecognized arguments: --edge-zone microsoftrrdclab1**
I think we just overlooked this as part of the issue to support edge zones:
#18971
**To Reproduce**
just try to pass "--edge-zone" to "az image copy"
**Expected behavior**
The image should be copied to the edge zone.
**Environment summary**
Azure portal shell
**Additional context**
This is about edge zones, reach out to me if you need more information.
Contributor guide
Assessment
This issue has not been assessed yet.