» Data Source: opentelekomcloud_compute_bms_nic_v2

opentelekomcloud_compute_bms_nic_v2 used to query information about a BMS NIC based on the NIC ID.

» Example Usage


    variable "bms_id" {}
    variable "nic_id" {}

    data "opentelekomcloud_compute_bms_nic_v2" "Query_BMS_Nic" 
    {
        server_id = "${var.bms_id}",
        id = "${var.nic_id}",
    }

» Argument Reference

The arguments of this data source act as filters for querying the BMSs details.

  • server_id - (Required) - This is the unique BMS id.

  • id - (Optional) - The ID of the NIC.

  • status - (Optional) - The NIC port status.

» Attributes Reference

All of the argument attributes are also exported as result attributes.