oracle / oracle/oci-cli

How to list the available RUs per db-version using oci cli ?

Open
#623 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.