Data Source: oci_core_dedicated_vm_hosts

This data source provides the list of Dedicated Vm Hosts in Oracle Cloud Infrastructure Core service.

Returns the list of dedicated virtual machine hosts that match the specified criteria in the specified compartment.

You can limit the list by specifying a dedicated virtual machine host display name. The list will include all the identically-named dedicated virtual machine hosts in the compartment.

Example Usage

data "oci_core_dedicated_vm_hosts" "test_dedicated_vm_hosts" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	availability_domain = var.dedicated_vm_host_availability_domain
	display_name = var.dedicated_vm_host_display_name
	instance_shape_name = var.dedicated_vm_host_instance_shape_name
	remaining_memory_in_gbs_greater_than_or_equal_to = var.dedicated_vm_host_remaining_memory_in_gbs_greater_than_or_equal_to
	remaining_ocpus_greater_than_or_equal_to = var.dedicated_vm_host_remaining_ocpus_greater_than_or_equal_to
	state = var.dedicated_vm_host_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

DedicatedVmHost Reference

The following attributes are exported: