Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

support --ids #339

Closed
RodgeFu opened this issue Apr 24, 2020 · 1 comment
Closed

support --ids #339

RodgeFu opened this issue Apr 24, 2020 · 1 comment
Assignees

Comments

@RodgeFu
Copy link
Member

RodgeFu commented Apr 24, 2020

Azure/azure-cli-extensions#1428 (comment)

@fengzhou-msft
Copy link
Member

fengzhou-msft commented Apr 24, 2020

Just to clarify, --ids is not needed for create/list commands, it's needed for update/show/delete (probably also wait) commands and potentially other commands that is targeting the operations on a single existing main resource of the command.

We can start with supporting configuring id_part in readme, which should be quick to add. Adding it automatically in generated code may be complicated. You can make use of the parse_resource_id method in msrestazure if possible. All the available id_part is commented here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants