0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 19:12:59 +00:00
terraform-provider-proxmox/docs/data-sources/virtual_environment_datastores.md
Pavel Boldyrev bf9e31ecfc
chore: lint and reformat the code (#204)
* chore: reformat code

* chore: add commitlint config

* reformat README.md

* add linter config

* lint & reformat docs

* go linter: only new issues

* fix some linting errors

* more reformatting

* disable linter warning for some duplicated code
2023-01-16 18:07:30 -05:00

941 B

layout title permalink nav_order parent subcategory
page proxmox_virtual_environment_datastores /data-sources/virtual_environment_datastores 3 Data Sources Virtual Environment

Data Source: proxmox_virtual_environment_datastores

Retrieves information about all the datastores available to a specific node.

Example Usage

data "proxmox_virtual_environment_datastores" "first_node" {
  node_name = "first-node"
}

Argument Reference

  • node_name - (Required) A node name.

Attribute Reference

  • active - Whether the datastore is active.
  • content_types - The allowed content types.
  • datastore_ids - The datastore identifiers.
  • enabled - Whether the datastore is enabled.
  • shared - Whether the datastore is shared.
  • space_available - The available space in bytes.
  • space_total - The total space in bytes.
  • space_used - The used space in bytes.
  • types - The storage types.