libvirt_domain_lookup_by_name Try to look up a domain by its name.
&reftitle.description; resource libvirt_domain_lookup_by_name resource connection string name

Try to look up a domain on the given hypervisor based on its name.

&reftitle.parameters;

connection

  Libvirt connection obtained by calling `libvirt_connect`.

name

  Name of a domain.

&reftitle.returnvalues;

&false; on failure and domain resource on success

&reftitle.seealso;

- `libvirt_domain_lookup_by_id`
- `libvirt_domain_lookup_by_uuid`
- `libvirt_domain_lookup_by_uuid_string`