» Data Source: oci_core_drgs

This data source provides the list of Drgs in Oracle Cloud Infrastructure Core service.

Lists the DRGs in the specified compartment.

» Example Usage

data "oci_core_drgs" "test_drgs" {
    #Required
    compartment_id = "${var.compartment_id}"
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

The following attributes are exported:

  • drgs - The list of drgs.

» Drg Reference

The following attributes are exported:

  • compartment_id - The OCID of the compartment containing the DRG.
  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
  • display_name - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
  • freeform_tags - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
  • id - The DRG's Oracle ID (OCID).
  • state - The DRG's current state.
  • time_created - The date and time the DRG was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z