Files
terraform-provider-binarylane/docs/data-sources/server.md
T
Oscar Hermoso 11e0302e71 🛒 Create data sources for images, regions and sizes (#68)
* 📚 add descriptions to resources

* 📷 Create `images` data source, plus codegen for `sizes`, `regions`

* 🍩 Create offerings example

* 🧣 Create `regions` and `sizes` data sources
2025-02-28 17:21:18 +08:00

1.8 KiB

page_title, subcategory, description
page_title subcategory description
binarylane_server Data Source - terraform-provider-binarylane Retrieve details about a BinaryLane Server.

binarylane_server (Data Source)

Retrieve details about a BinaryLane Server.

Example Usage

data "binarylane_server" "example" {
  id = 123456
}

Schema

Required

  • id (Number) The ID of the server to fetch.

Read-Only

  • backups (Boolean) If true, the server will be backed up twice per day. By default, backups are disabled.
  • disk (Number) The amount of storage in GB assigned to the server.
  • image (String) The slug of the selected operating system.
  • memory (Number) The amount of memory in MB assigned to the server.
  • name (String) The hostname of your server, such as vps01.yourcompany.com.
  • permalink (String) A randomly generated two-word identifier assigned to servers in regions that support this feature
  • port_blocking (Boolean) Port blocking of outgoing connections for email, SSH and Remote Desktop (TCP ports 22, 25, and 3389) is enabled by default for all new servers. If this is false port blocking will be disabled. Disabling port blocking is only available to reviewed accounts.
  • private_ipv4_addresses (List of String) The private IPv4 addresses assigned to the server.
  • public_ipv4_addresses (List of String) The public IPv4 addresses assigned to the server.
  • region (String) The slug of the selected region.
  • size (String) The slug of the selected size.
  • ssh_keys (List of Number) This is a list of SSH key ids that were added to the server during creation.
  • user_data (String) A script or cloud-config YAML file to configure the server.
  • vpc_id (Number) ID of the Virtual Private Cloud (VPC) the server is connected to.