» Data Source: oci_datacatalog_data_asset

This data source provides details about a specific Data Asset resource in Oracle Cloud Infrastructure Data Catalog service.

Gets a specific data asset for the given key within a data catalog.

» Example Usage

data "oci_datacatalog_data_asset" "test_data_asset" {
    #Required
    catalog_id = "${oci_datacatalog_catalog.test_catalog.id}"
    data_asset_key = "${var.data_asset_data_asset_key}"

    #Optional
    fields = "${var.data_asset_fields}"
}

» Argument Reference

The following arguments are supported:

  • catalog_id - (Required) Unique catalog identifier.
  • data_asset_key - (Required) Unique data asset key.
  • fields - (Optional) Specifies the fields to return in a data asset response.

» Attributes Reference

The following attributes are exported:

  • catalog_id - The data catalog's OCID.
  • created_by_id - OCID of the user who created the data asset.
  • description - Detailed description of the data asset.
  • display_name - A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
  • external_key - External URI that can be used to reference the object. Format will differ based on the type of object.
  • key - Unique data asset key that is immutable.
  • properties - A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: {"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}
  • state - The current state of the data asset.
  • time_created - The date and time the data asset was created, in the format defined by RFC3339. Example: 2019-03-25T21:10:29.600Z
  • time_updated - The last time that any change was made to the data asset. An RFC3339 formatted datetime string.
  • type_key - The key of the object type. Type key's can be found via the '/types' endpoint.
  • updated_by_id - OCID of the user who last modified the data asset.
  • uri - URI to the data asset instance in the API.