-
Notifications
You must be signed in to change notification settings - Fork 38
Description
As far as I have experienced, the rubrik.get_sql_db(object_name=, availability_group=<avail_group>) would return all DBs with objname in the name which could be "DB1" and also "DB10" so I cannot specify a unique object.
Describe the solution you'd like
We would need either an object_id parameter, and/or change the object_name parameter to be specific and add a object_namefilter parameter for cases where we want to find all items with the search string in the name.
Describe alternatives you've considered
What I did as a workaround was to get the result of the query into a variable and then iterate through the items and if the name equals my search string, assign that item to a new variable.
Additional context
Add any other context or screenshots about the feature request here.