SearchPattern Parameter

The SearchPattern query parameter is used to return only those items of a resource collection whose names match the specified search pattern in the parameter value.

For example, to get only Azure VMs whose name contains the ubuntu search pattern in the /virtualMachines collection, send the following request:

GET https://<hostname>/api/<version>/virtualMachines?SearchPattern=ubuntu