Skip to content

oci db autonomous-database update --autonomous-database-id "$ADB_ID" --private-endpoint-label "" does not work #1066

@witold-swierzy

Description

@witold-swierzy

due to documentation a "private-endpoint-type" autonomous database can be updated to "public-endpoint-type" one by executing the following command :
oci db autonomous-database update --autonomous-database-id "$ADB_ID" --private-endpoint-label ""
i.e. - setting --private-endpoint-label to an empty string
Source:
https://docs.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/autonomous-database/update.html
however - when executed this command raises the following error:
"message": "The DNS prefix or Subnet ID for Autonomous AI Database private endpoints cannot be updated."
...
"operation_name": "update_autonomous_database",
...
"status": 400,
"target_service": "database",
which means, that although updating an ADB from public to private network works fine, it is not possible, by using OCI CLI to rollback the change

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions