mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 18:42:58 +00:00
1.7 KiB
1.7 KiB
layout | title | parent | subcategory | description |
---|---|---|---|---|
page | proxmox_virtual_environment_datastores | Data Sources | Virtual Environment | Retrieves information about all the datastores available to a specific node. |
Data Source: proxmox_virtual_environment_datastores
Retrieves information about all the datastores available to a specific node.
Schema
Required
node_name
(String) The name of the node to retrieve the stores from.
Optional
datastores
(Attributes List) The list of datastores. (see below for nested schema)filters
(Attributes) The filters to apply to the stores. (see below for nested schema)
Nested Schema for datastores
Required:
content_types
(Set of String) Allowed store content types.id
(String) The ID of the store.node_name
(String) The name of the node the store is on.type
(String) Store type.
Optional:
active
(Boolean) Whether the store is active.enabled
(Boolean) Whether the store is enabled.shared
(Boolean) Shared flag from store configuration.space_available
(Number) Available store space in bytes.space_total
(Number) Total store space in bytes.space_used
(Number) Used store space in bytes.space_used_fraction
(Number) Used fraction (used/total).
Nested Schema for filters
Optional:
content_types
(Set of String) Only list stores with the given content types.id
(String) Only list stores with the given ID.target
(String) Iftarget
is different tonode_name
, then only lists shared stores which content is accessible on this node and the specifiedtarget
node.