» Data Source: opentelekomcloud_deh_server_v1

opentelekomcloud_deh_server_v1 used to query server on a specified Dedicated Host.

» Example Usage

    variable "deh_id" { }

    variable "server_id" { }

    data "opentelekomcloud_deh_server_v1" "deh_server" 
    {
        id = "${var.deh_id}",
        server_id = "${var.server id}"
    }

» Argument Reference

The arguments of this data source act as filters for querying the server on specified dedicated host.

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • user_id - The ID of the user to which the server belongs.

  • name - The server name.

  • flavor - The ID of server specifications.

  • metadata - The metadata of the server.

  • status - The status of the server.

  • tenant_id - The ID of the tenant to which the server belongs.

  • addresses - The network addresses of the server.