proxmoxve logo
Proxmox Virtual Environment (Proxmox VE) v3.0.0, Mar 26 23

proxmoxve.Storage.getDatastores

Using getDatastores

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 getDatastores(args: GetDatastoresArgs, opts?: InvokeOptions): Promise<GetDatastoresResult>
function getDatastoresOutput(args: GetDatastoresOutputArgs, opts?: InvokeOptions): Output<GetDatastoresResult>
def get_datastores(node_name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDatastoresResult
def get_datastores_output(node_name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDatastoresResult]
func GetDatastores(ctx *Context, args *GetDatastoresArgs, opts ...InvokeOption) (*GetDatastoresResult, error)
func GetDatastoresOutput(ctx *Context, args *GetDatastoresOutputArgs, opts ...InvokeOption) GetDatastoresResultOutput

> Note: This function is named GetDatastores in the Go SDK.

public static class GetDatastores 
{
    public static Task<GetDatastoresResult> InvokeAsync(GetDatastoresArgs args, InvokeOptions? opts = null)
    public static Output<GetDatastoresResult> Invoke(GetDatastoresInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatastoresResult> getDatastores(GetDatastoresArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: proxmoxve:Storage/getDatastores:getDatastores
  arguments:
    # arguments dictionary

The following arguments are supported:

NodeName string
NodeName string
nodeName String
nodeName string
nodeName String

getDatastores Result

The following output properties are available:

Actives List<bool>
ContentTypes List<ImmutableArray<string>>
DatastoreIds List<string>
Enableds List<bool>
Id string

The provider-assigned unique ID for this managed resource.

NodeName string
Shareds List<bool>
SpaceAvailables List<int>
SpaceTotals List<int>
SpaceUseds List<int>
Types List<string>
Actives []bool
ContentTypes [][]string
DatastoreIds []string
Enableds []bool
Id string

The provider-assigned unique ID for this managed resource.

NodeName string
Shareds []bool
SpaceAvailables []int
SpaceTotals []int
SpaceUseds []int
Types []string
actives List<Boolean>
contentTypes List<List<String>>
datastoreIds List<String>
enableds List<Boolean>
id String

The provider-assigned unique ID for this managed resource.

nodeName String
shareds List<Boolean>
spaceAvailables List<Integer>
spaceTotals List<Integer>
spaceUseds List<Integer>
types List<String>
actives boolean[]
contentTypes string[][]
datastoreIds string[]
enableds boolean[]
id string

The provider-assigned unique ID for this managed resource.

nodeName string
shareds boolean[]
spaceAvailables number[]
spaceTotals number[]
spaceUseds number[]
types string[]
actives Sequence[bool]
content_types Sequence[Sequence[str]]
datastore_ids Sequence[str]
enableds Sequence[bool]
id str

The provider-assigned unique ID for this managed resource.

node_name str
shareds Sequence[bool]
space_availables Sequence[int]
space_totals Sequence[int]
space_useds Sequence[int]
types Sequence[str]
actives List<Boolean>
contentTypes List<List<String>>
datastoreIds List<String>
enableds List<Boolean>
id String

The provider-assigned unique ID for this managed resource.

nodeName String
shareds List<Boolean>
spaceAvailables List<Number>
spaceTotals List<Number>
spaceUseds List<Number>
types List<String>

Package Details

Repository
proxmoxve muhlba91/pulumi-proxmoxve
License
Apache-2.0
Notes

This Pulumi package is based on the proxmoxve Terraform Provider.