Getting a Network Anchor's Details
View the details for a network anchor in the tenancy, using Oracle Multicloud Hub.
The API operation for this task is GetNetworkAnchor.
Before You Begin
For important policy information, Before You Begin.
On the Network anchors list page, find the network anchor that you want to work with. If you need help finding the list page, see Viewing Insights for Multicloud Subscriptions (Listing).
The details page opens and displays information about the network anchor. Items on the page are read-only. Access the various resources associated with the network anchor by selecting their tabs.
Use the oci multicloud omhub-network-anchor network-anchor get command and required parameters to get a network anchor's details:
oci multicloud omhub-network-anchor network-anchor get ... [OPTIONS]Example request for Microsoft Azure:
oci multicloud omhub-network-anchor network-anchor get \ --subscription-id <subscription_ocid> \ --subscription-service-name ORACLEDBATAZURE \ --network-anchor-id <network_anchor_ocid>Example response:
{ "data": { "cloud-service-provider-metadata-item": { "cidr-blocks": [ "10.0.1.0/24" ], "dns-forwarding-config": null, "network-anchor-uri": "https://portal.azure.com/#@<unique_id>/resource/subscriptions/<unique_id>/resourceGroups/example-upper/providers/Oracle.Database/networkAnchors/example", "odb-network-id": "example", "region": "eastus" }, "compartment-id": "<compartment_ocid>", "defined-tags": { "Oracle-Tags": { "CreatedBy": "<user_ocid>", "CreatedOn": "2025-10-22T17:10:06.073Z" } }, "display-name": "example", "freeform-tags": {}, "id": "<network_anchor_ocid>", "lifecycle-details": null, "lifecycle-state": null, "oci-metadata-item": { "dns": { "custom-domain-name": null }, "dns-forwarding-config": null, "dns-forwarding-endpoint-ip-address": null, "dns-listening-endpoint-ip-address": null, "network-anchor-connection-status": "CONNECTED", "subnets": [ { "label": "CLIENT Subnet", "subnet-id": "<subnet_ocid>", "type": "CLIENT" } ], "vcn": { "backup-cidr-blocks": [], "cidr-blocks": [ "10.0.1.0/24" ], "dns-label": "<dns_label>", "vcn-id": "<vcn_ocid>" } }, "resource-anchor-id": "<resource_anchor_ocid>", "setup-mode": "AUTO_BIND", "system-tags": {}, "time-created": "2025-10-22T17:10:27.396000+00:00", "time-updated": "2025-10-22T17:19:36.289000+00:00" } }For a complete list of parameters and values for CLI commands, see the CLI Command Reference.