Data Source: oci_core_vlans

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

Lists the VLANs in the specified VCN and the specified compartment.

Example Usage

data "oci_core_vlans" "test_vlans" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	display_name = var.vlan_display_name
	state = var.vlan_state
	vcn_id = oci_core_vcn.test_vcn.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Vlan Reference

The following attributes are exported: