This is an archive version of the document. To get the most up-to-date information, see the current version.

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

Page updated 2/23/2024

Page content applies to build 7.1.0.22