» Data Source: oci_core_instance_pool_instances

This data source provides the list of Instance Pool Instances in Oracle Cloud Infrastructure Core service.

List the instances in the specified instance pool.

» Example Usage

data "oci_core_instance_pool_instances" "test_instance_pool_instances" {
    #Required
    compartment_id = "${var.compartment_id}"
    instance_pool_id = "${oci_core_instance_pool.test_instance_pool.id}"

    #Optional
    display_name = "${var.instance_pool_instance_display_name}"
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

The following attributes are exported:

» InstancePoolInstance Reference

The following attributes are exported:

  • availability_domain - The availability domain the instance is running in.
  • compartment_id - The OCID of the compartment that contains the instance.
  • display_name - The user-friendly name. Does not have to be unique.
  • fault_domain - The name of the Fault Domain the instance is running in.
  • id - The OCID of the instance.
  • instance_configuration_id - The OCID of the instance confgiuration used to create the instance.
  • load_balancer_backends - The load balancer backends that are configured for the instance pool instance.
  • region - The region that contains the availability domain the instance is running in.
  • shape - The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.

    You can enumerate all available shapes by calling ListShapes.

  • state - The current state of the instance pool instance.

  • time_created - The date and time the instance pool instance was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z