Skip to content

{OracleDatabase} Update listPrivateIps for cloud VM cluster - #10474

Merged
JaysonTaiMicrosoft merged 5 commits into
Azure:mainfrom
mihretkidane-OCI:list-privateIps
Oct 16, 2026
Merged

JaysonTaiMicrosoft merged 5 commits into
Azure:mainfrom
mihretkidane-OCI:list-privateIps

Conversation

@mihretkidane-OCI

@mihretkidane-OCI Mihret Kidane (mihretkidane-OCI) commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes
⚠️ None
⚠️Azure CLI Extensions Breaking Change Test
⚠️oracle-database
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd oracle-database cloud-vm-cluster list-private-ip-address cmd oracle-database cloud-vm-cluster list-private-ip-address added parameter pagination_limit
⚠️ 1006 - ParaAdd oracle-database cloud-vm-cluster list-private-ip-address cmd oracle-database cloud-vm-cluster list-private-ip-address added parameter pagination_token

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

Updates the private IP address list command to use API version 2026-07-01-preview, correctly deserialize the response, and return addresses from all pages as a JSON array. Adds regression coverage and bumps the extension to 3.0.1.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install azdev required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copilot AI balanced review requested due to automatic review settings October 15, 2026 17:23
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@mihretkidane-OCI

Copy link
Copy Markdown
Member Author

aaz PR : Azure/aaz#1127

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The response envelope is not integrated with pagination or the command’s existing array output.

1 open finding
What changed in this PR

Updates Oracle Database cloud VM cluster private-IP listing for the revised service response.

Changes:

  • Switches to API version 2026-07-01-preview.
  • Models the value and nextLink response envelope.
  • Adds a scenario test and recorded response.
File Description
src/​oracle-database/​azext_oracle_database/​tests/​latest/​test_oracle_database_private_ip_address.py Adds the private-IP listing scenario.
src/​oracle-database/​azext_oracle_database/​tests/​latest/​recordings/​test_oracledatabase_cloud_vm_cluster_list_private_ip_address.yaml Records a successful response.
src/​oracle-database/​azext_oracle_database/​aaz/​latest/​oracle_database/​cloud_vm_cluster/​_list_private_ip_address.py Updates the API version and response schema.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

return cls._schema_on_200

cls._schema_on_200 = AAZListType()
cls._schema_on_200 = AAZObjectType()
@x-engineering-agent

Copy link
Copy Markdown

Hi Mihret Kidane (@mihretkidane-OCI),
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in pyproject.toml (or setup.py, if the extension has not migrated yet) as well.

@yonzhan

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@mihretkidane-OCI

Copy link
Copy Markdown
Member Author

Yong Zhang (@yonzhan) please help us review this PR , we are trying to release customer fix as soon as possible . Thank you so much for your time and cooperation.

@JaysonTaiMicrosoft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@teresaritorto Teresa Ritorto (teresaritorto) added the Request X Engineering Agent Ask the agent to triage this issue or review this PR label Oct 15, 2026
Comment thread src/oracle-database/HISTORY.rst Outdated
Co-authored-by: JaysonTaiMicrosoft <jaysontai@microsoft.com>
@x-engineering-agent

x-engineering-agent Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

X Engineering Agent Report

⏳ In progress — X Engineering Agent is reviewing this PR at 3169855. This comment will be updated with the results.

@mihretkidane-OCI

Copy link
Copy Markdown
Member Author

JaysonTaiMicrosoft Teresa Ritorto (@teresaritorto) I just resolved all the comments on this PR . Could you please take a look. Thanks!

@JaysonTaiMicrosoft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@JaysonTaiMicrosoft JaysonTaiMicrosoft changed the title Update listPrivateIps for cloud VM cluster {OracleDatabase} Update listPrivateIps for cloud VM cluster Oct 16, 2026
@JaysonTaiMicrosoft

Copy link
Copy Markdown
Contributor

Mihret Kidane (@mihretkidane-OCI) Please sync with main. That should fix CI

@mihretkidane-OCI

Copy link
Copy Markdown
Member Author

Mihret Kidane (Mihret Kidane (@mihretkidane-OCI)) Please sync with main. That should fix CI

JaysonTaiMicrosoft Done , just synched the PR . Any chance that this could be merged today?

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@JaysonTaiMicrosoft
JaysonTaiMicrosoft merged commit 08772c4 into Azure:main Oct 16, 2026
24 checks passed
@azclibot

Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ oracle-database-3.0.1 ] : https://dev.azure.com/msazure/One/_build/results?buildId=186087367&view=results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Request X Engineering Agent Ask the agent to triage this issue or review this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants