Data Source: oci_core_dhcp_options

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

Lists the sets of DHCP options in the specified VCN and specified compartment. If the VCN ID is not provided, then the list includes the sets of DHCP options from all VCNs in the specified compartment. The response includes the default set of options that automatically comes with each VCN, plus any other sets you’ve created.

Example Usage

data "oci_core_dhcp_options" "test_dhcp_options" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	display_name = var.dhcp_options_display_name
	state = var.dhcp_options_state
	vcn_id = oci_core_vcn.test_vcn.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

DhcpOptions Reference

The following attributes are exported: