Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Deprecated: Use
proxmoxve.getDatastoresinstead. This data source will be removed in v1.0.
Retrieves information about all the datastores available to a specific node.
Using getDatastoresLegacy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatastoresLegacy(args: GetDatastoresLegacyArgs, opts?: InvokeOptions): Promise<GetDatastoresLegacyResult>
function getDatastoresLegacyOutput(args: GetDatastoresLegacyOutputArgs, opts?: InvokeOptions): Output<GetDatastoresLegacyResult>def get_datastores_legacy(datastores: Optional[Sequence[GetDatastoresLegacyDatastore]] = None,
filters: Optional[GetDatastoresLegacyFilters] = None,
node_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatastoresLegacyResult
def get_datastores_legacy_output(datastores: Optional[pulumi.Input[Sequence[pulumi.Input[GetDatastoresLegacyDatastoreArgs]]]] = None,
filters: Optional[pulumi.Input[GetDatastoresLegacyFiltersArgs]] = None,
node_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatastoresLegacyResult]func GetDatastoresLegacy(ctx *Context, args *GetDatastoresLegacyArgs, opts ...InvokeOption) (*GetDatastoresLegacyResult, error)
func GetDatastoresLegacyOutput(ctx *Context, args *GetDatastoresLegacyOutputArgs, opts ...InvokeOption) GetDatastoresLegacyResultOutput> Note: This function is named GetDatastoresLegacy in the Go SDK.
public static class GetDatastoresLegacy
{
public static Task<GetDatastoresLegacyResult> InvokeAsync(GetDatastoresLegacyArgs args, InvokeOptions? opts = null)
public static Output<GetDatastoresLegacyResult> Invoke(GetDatastoresLegacyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatastoresLegacyResult> getDatastoresLegacy(GetDatastoresLegacyArgs args, InvokeOptions options)
public static Output<GetDatastoresLegacyResult> getDatastoresLegacy(GetDatastoresLegacyArgs args, InvokeOptions options)
fn::invoke:
function: proxmoxve:index/getDatastoresLegacy:getDatastoresLegacy
arguments:
# arguments dictionaryThe following arguments are supported:
- Node
Name string - The name of the node to retrieve the stores from.
- Datastores
List<Pulumi.
Proxmox VE. Inputs. Get Datastores Legacy Datastore> - The list of datastores.
- Filters
Pulumi.
Proxmox VE. Inputs. Get Datastores Legacy Filters - The filters to apply to the stores.
- Node
Name string - The name of the node to retrieve the stores from.
- Datastores
[]Get
Datastores Legacy Datastore - The list of datastores.
- Filters
Get
Datastores Legacy Filters - The filters to apply to the stores.
- node
Name String - The name of the node to retrieve the stores from.
- datastores
List<Get
Datastores Legacy Datastore> - The list of datastores.
- filters
Get
Datastores Legacy Filters - The filters to apply to the stores.
- node
Name string - The name of the node to retrieve the stores from.
- datastores
Get
Datastores Legacy Datastore[] - The list of datastores.
- filters
Get
Datastores Legacy Filters - The filters to apply to the stores.
- node_
name str - The name of the node to retrieve the stores from.
- datastores
Sequence[Get
Datastores Legacy Datastore] - The list of datastores.
- filters
Get
Datastores Legacy Filters - The filters to apply to the stores.
- node
Name String - The name of the node to retrieve the stores from.
- datastores List<Property Map>
- The list of datastores.
- filters Property Map
- The filters to apply to the stores.
getDatastoresLegacy Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Name string - The name of the node to retrieve the stores from.
- Datastores
List<Pulumi.
Proxmox VE. Outputs. Get Datastores Legacy Datastore> - The list of datastores.
- Filters
Pulumi.
Proxmox VE. Outputs. Get Datastores Legacy Filters - The filters to apply to the stores.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Name string - The name of the node to retrieve the stores from.
- Datastores
[]Get
Datastores Legacy Datastore - The list of datastores.
- Filters
Get
Datastores Legacy Filters - The filters to apply to the stores.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Name String - The name of the node to retrieve the stores from.
- datastores
List<Get
Datastores Legacy Datastore> - The list of datastores.
- filters
Get
Datastores Legacy Filters - The filters to apply to the stores.
- id string
- The provider-assigned unique ID for this managed resource.
- node
Name string - The name of the node to retrieve the stores from.
- datastores
Get
Datastores Legacy Datastore[] - The list of datastores.
- filters
Get
Datastores Legacy Filters - The filters to apply to the stores.
- id str
- The provider-assigned unique ID for this managed resource.
- node_
name str - The name of the node to retrieve the stores from.
- datastores
Sequence[Get
Datastores Legacy Datastore] - The list of datastores.
- filters
Get
Datastores Legacy Filters - The filters to apply to the stores.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Name String - The name of the node to retrieve the stores from.
- datastores List<Property Map>
- The list of datastores.
- filters Property Map
- The filters to apply to the stores.
Supporting Types
GetDatastoresLegacyDatastore
- Content
Types List<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.
- Active bool
- Whether the store is active.
- Enabled bool
- Whether the store is enabled.
- bool
- Shared flag from store configuration.
- Space
Available int - Available store space in bytes.
- Space
Total int - Total store space in bytes.
- Space
Used int - Used store space in bytes.
- Space
Used doubleFraction - Used fraction (used/total).
- Content
Types []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.
- Active bool
- Whether the store is active.
- Enabled bool
- Whether the store is enabled.
- bool
- Shared flag from store configuration.
- Space
Available int - Available store space in bytes.
- Space
Total int - Total store space in bytes.
- Space
Used int - Used store space in bytes.
- Space
Used float64Fraction - Used fraction (used/total).
- content
Types List<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.
- active Boolean
- Whether the store is active.
- enabled Boolean
- Whether the store is enabled.
- Boolean
- Shared flag from store configuration.
- space
Available Integer - Available store space in bytes.
- space
Total Integer - Total store space in bytes.
- space
Used Integer - Used store space in bytes.
- space
Used DoubleFraction - Used fraction (used/total).
- content
Types 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.
- active boolean
- Whether the store is active.
- enabled boolean
- Whether the store is enabled.
- 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 numberFraction - Used fraction (used/total).
- content_
types Sequence[str] - Allowed store content types.
- id str
- The ID of the store.
- node_
name str - The name of the node the store is on.
- type str
- Store type.
- active bool
- Whether the store is active.
- enabled bool
- Whether the store is enabled.
- bool
- Shared flag from store configuration.
- space_
available int - Available store space in bytes.
- space_
total int - Total store space in bytes.
- space_
used int - Used store space in bytes.
- space_
used_ floatfraction - Used fraction (used/total).
- content
Types List<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.
- active Boolean
- Whether the store is active.
- enabled Boolean
- Whether the store is enabled.
- 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 NumberFraction - Used fraction (used/total).
GetDatastoresLegacyFilters
- Content
Types List<string> - Only list stores with the given content types.
- Id string
- Only list stores with the given ID.
- Target string
- If
targetis different tonodeName, then only lists shared stores which content is accessible on this node and the specifiedtargetnode.
- Content
Types []string - Only list stores with the given content types.
- Id string
- Only list stores with the given ID.
- Target string
- If
targetis different tonodeName, then only lists shared stores which content is accessible on this node and the specifiedtargetnode.
- content
Types List<String> - Only list stores with the given content types.
- id String
- Only list stores with the given ID.
- target String
- If
targetis different tonodeName, then only lists shared stores which content is accessible on this node and the specifiedtargetnode.
- content
Types string[] - Only list stores with the given content types.
- id string
- Only list stores with the given ID.
- target string
- If
targetis different tonodeName, then only lists shared stores which content is accessible on this node and the specifiedtargetnode.
- content_
types Sequence[str] - Only list stores with the given content types.
- id str
- Only list stores with the given ID.
- target str
- If
targetis different tonodeName, then only lists shared stores which content is accessible on this node and the specifiedtargetnode.
- content
Types List<String> - Only list stores with the given content types.
- id String
- Only list stores with the given ID.
- target String
- If
targetis different tonodeName, then only lists shared stores which content is accessible on this node and the specifiedtargetnode.
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmoxTerraform Provider.
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
