Skip to content

How to "Search for a VM" in a subscription #15

@puneet101

Description

@puneet101

#1
What's the recommended way to search for a VM with name: {string} in a resource group or subscription?

Iterating over all the VMs is time consuming and I'm wondering if there is a better way?

#2
Is there a way to iterate over VMs with specific properties? For example, use "power_state" as a filter to show the list of all "de-allocated" VM for example.

Thanks,
Puneet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions