Getting Details for Multicloud Metadata

Get details for Multicloud metadata.

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 GetMultiCloudMetadata.

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

  • Use the oci multicloud multi-clouds-metadata multi-cloud-metadata get command and required parameters to get details for Multicloud metadata:

    oci multicloud multi-clouds-metadata multi-cloud-metadata get ... [OPTIONS]

    Example request:

    oci multicloud multi-clouds-metadata multi-cloud-metadata get \
     --compartment-id <compartment_ocid> \
     --subscription-id <subscription_ocid>

    Example response:

    {
      "data": {
        "compartment-id": "<compartment_ocid>",
        "defined-tags": null,
        "freeform-tags": null,
        "subscription-id": "<subscription_ocid>",
        "system-tags": null,
        "time-created": "2023-11-28T19:21:46.619000+00:00"
      }
    }

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