databricks / cli

Databricks CLI
Other
115 stars 39 forks source link

Command: workspace/ip-access-lists has no --ip_address argument but is available in the API #1540

Open alaurie opened 3 days ago

alaurie commented 3 days ago

Describe the issue

The command workspace/ip-access-lists has no --ip_address argument but is available in the API. I would add in myself and open a PR but the top of the file says its generated by the openAPI specs. Can this be updated so we can use the ip_addresses argument please.

Steps to reproduce the behavior

databricks ip-access-lists create --label "$label" --list_type "$list_type" --ip_addresses "$ip"

Expected Behavior

databricks ip-access-lists create --label "$label" --list_type "$list_type" --ip_addresses "$ip"

Actual Behavior

databricks ip-access-lists create --label "$label" --list_type "$list_type" --ip_addresses "$ip" Error as the command only accepts two arguments.

OS and CLI version

All OS and cli versions