/vms/list post - filtering a VM which is case sensitive | Nutanix Community
Skip to main content
Question

/vms/list post - filtering a VM which is case sensitive

  • September 8, 2022
  • 0 replies
  • 97 views

Forum|alt.badge.img

I am passing this payload to to filter a VM. It works if the VM name is an exact match (case sensitive).  How Do I make the following filter case insensitive ?

payload = {"kind":"vm", "filter": "vm_name=={0}".format(vmName)}

 

I tried different combination’s, but none worked.

 

Thanks in Advance

 

Yezdi

0 replies

Be the first to reply!