oracle / oci-cli

Command Line Interface for Oracle Cloud Infrastructure
https://cloud.oracle.com/cloud-infrastructure
Other
432 stars 183 forks source link

inconsistent attribute names for the same object between oci cli <resource> commands and oci search resource structured-search #614

Open luckeyca opened 1 year ago

luckeyca commented 1 year ago

When running regular oci list/get commands and "oci search resource structured-search command against the same object, some of the attribute names are not consistent. using route table resource as example(many other resources have the same issue). oci network route-table list -c command shows the route table with "display-name" and "id" as attributes.

however, when using the oci search resource structured-search --query-text "query routetable resource...." command, the equivalent attributes are "displayName" and "identifier"

karthik-k-kamath commented 1 year ago

Thanks Cheng Lu, for highlighting this. We shall investigate and get back here.