Skip to content

Import Resource groups + resources #545

@paramonovnik

Description

@paramonovnik

Hi,

We need to import all resource groups (whether empty or not - doesn't matter) as well as all virtual networks + subnets from around 100 subscriptions. Is there a query that would allow to do it? --include-resource-group only includes an RG in the mapping file if there's at least one other exported resource, so this doesn't work. Resource groups cannot be queried using query option as they're not in "Resources" table in resource graph. Are there any options to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions