github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/opc/d/opc_compute_vnic.html.markdown (about) 1 --- 2 layout: "opc" 3 page_title: "Oracle: opc_compute_vnic" 4 sidebar_current: "docs-opc-datasource-vnic" 5 description: |- 6 Gets information about the configuration of a Virtual NIC. 7 --- 8 9 # opc\_compute\_vnic 10 11 Use this data source to access the configuration of a Virtual NIC. 12 13 ## Example Usage 14 15 ```hcl 16 data "opc_compute_vnic" "current" { 17 name = "my_vnic_name" 18 } 19 20 output "mac_address" { 21 value = "${data.opc_compute_vnic.current.mac_address}" 22 } 23 ``` 24 25 ## Argument Reference 26 * `name` is the name of the Virtual NIC. 27 28 ## Attributes Reference 29 30 * `description` is a description of the Virtual NIC. 31 32 * `mac_address` is the MAC Address of the Virtual NIC. 33 34 * `tags` is a list of Tags associated with the Virtual NIC. 35 36 * `transit_flag` is `true` if the Virtual NIC is of the type `transit`. 37 38 * `uri` is the Unique Resource Locator of the Virtual NIC.