Listing Multicloud Metadata for a Subscription

List Multicloud metadata for a Multicloud subscription.

To review types of compartments, see Terminology.

Note

The default name of a linked compartment depends on the partner cloud. A Microsoft Azure compartment is prefixed with the Azure subscription ID or resource group while an Amazon Web Services (AWS) compartment is prefixed with the AWS account ID. A Google Cloud Platform (GCP) compartment is prefixed with the GCP project ID. Contrast with the name of a Multicloud base compartment. The default name of a base compartment is MulticloudLink_<CSP_name>_<unique_identifier>.

The API for this task is ListMultiCloudMetadata.

  • This task can't be performed with the OCI Console.

  • Use the oci multicloud multi-clouds-metadata multi-cloud-metadata-collection list-multi-cloud-metadata command and required parameters to list Multicloud metadata:

    oci multicloud multi-clouds-metadata multi-cloud-metadata-collection list-multi-cloud-metadata ... [OPTIONS]

    Example request:

    oci multicloud multi-clouds-metadata multi-cloud-metadata-collection list-multi-cloud-metadata \
    --compartment-id <compartment_ocid>

    Example response:

    {
      "data": {
        "items": [
          {
            "compartment-id": "<compartment_ocid>",
            "defined-tags": null,
            "freeform-tags": null,
            "subscription-id": "<subscription_id>",
            "system-tags": null,
            "time-created": "2025-11-28T19:21:46.619000+00:00"
          }
        ]
      }
    }

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.