Use this data source to access the configuration of a Virtual NIC.
data "opc_compute_vnic" "current" { name = "my_vnic_name" } output "mac_address" { value = "${data.opc_compute_vnic.current.mac_address}" }
name
is the name of the Virtual NIC. description
is a description of the Virtual NIC.
mac_address
is the MAC Address of the Virtual NIC.
tags
is a list of Tags associated with the Virtual NIC.
transit_flag
is true
if the Virtual NIC is of the type transit
.
uri
is the Unique Resource Locator of the Virtual NIC.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/opc/d/opc_compute_vnic.html