» Data Source: flexibleengine_compute_bms_server_v2

flexibleengine_compute_bms_server_v2 used to query a BMS or BMSs details.

» Example Usage


    variable "bms_id" {}
    variable "bms_name" {}

    data "flexibleengine_compute_bms_server_v2" "Query_BMS" 
    {
        id = "${var.bms_id}",
        name = "${var.bms_name}"     
    }

» Argument Reference

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

  • id - (Optional) - The unique ID of the BMS.

  • user_id (Optional) - The ID of the user to which the BMS belongs.

  • name (Optional) - The name of BMS.

  • status (Optional) - The BMS status.

  • host_status (Optional) - The nova-compute status: UP, UNKNOWN, DOWN, MAINTENANCE and Null.

  • key_name (Optional) - It is the SSH key name.

  • flavor_id (Optional) - It gives the BMS flavor information.

  • image_id (Optional) - The BMS image.

» Attributes Reference

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