» opc_compute_vnic
Use this data source to access the configuration of a Virtual NIC.
» Example Usage
data "opc_compute_vnic" "current" {
name = "my_vnic_name"
}
output "mac_address" {
value = "${data.opc_compute_vnic.current.mac_address}"
}
» Argument Reference
-
nameis the name of the Virtual NIC.
» Attributes Reference
-
descriptionis a description of the Virtual NIC. -
mac_addressis the MAC Address of the Virtual NIC. -
tagsis a list of Tags associated with the Virtual NIC. -
transit_flagistrueif the Virtual NIC is of the typetransit. -
uriis the Unique Resource Locator of the Virtual NIC.