How to list the available RUs per db-version using oci cli ?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
What oci cli command can we use to list the available RU per db-version . like 19.0.0.0 > 19.5,19.6...19.17
for now I only have this but that's for the main version not the RUs
oci db version list -c $ocid_comp --query "data[].{dbversion:version, pdbsupport:\"supports-pdb\"}" --output table
I have created a script to interactively create dbhomes per release version but I want the user to choose from available RU versions not randomly putting an RU for the database home creation. making it easy for the user (${db_version} = 19.15,19.17 etc) and avoiding error messages from the API.
ocid_dbhome=$(oci db db-home create --vm-cluster-id $ocid_cluster --db-version "${db_version}" --display-name $dbhome_name --wait-for-state AVAILABLE --source NONE --query data.
id --raw-output)
THANK YOU
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the oci db version list and oci db db-home create commands and the version data returned by the CLI. Determine whether the available release update versions can be listed through an existing command or query, and document the resulting invocation or limitation so users can select valid ${db_version} values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, cloud, infrastructure
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100