Skip to content

az image copy does not support edge zones #19922

@DwayneNeed

Description

@DwayneNeed

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions