Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
Retrieves information about an existing file in a Proxmox Virtual Environment node.
Using getFile
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 getFile(args: GetFileArgs, opts?: InvokeOptions): Promise<GetFileResult>
function getFileOutput(args: GetFileOutputArgs, opts?: InvokeOptions): Output<GetFileResult>def get_file(content_type: Optional[str] = None,
datastore_id: Optional[str] = None,
file_name: Optional[str] = None,
node_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFileResult
def get_file_output(content_type: Optional[pulumi.Input[str]] = None,
datastore_id: Optional[pulumi.Input[str]] = None,
file_name: Optional[pulumi.Input[str]] = None,
node_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFileResult]func GetFile(ctx *Context, args *GetFileArgs, opts ...InvokeOption) (*GetFileResult, error)
func GetFileOutput(ctx *Context, args *GetFileOutputArgs, opts ...InvokeOption) GetFileResultOutput> Note: This function is named GetFile in the Go SDK.
public static class GetFile
{
public static Task<GetFileResult> InvokeAsync(GetFileArgs args, InvokeOptions? opts = null)
public static Output<GetFileResult> Invoke(GetFileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFileResult> getFile(GetFileArgs args, InvokeOptions options)
public static Output<GetFileResult> getFile(GetFileArgs args, InvokeOptions options)
fn::invoke:
function: proxmoxve:index/getFile:getFile
arguments:
# arguments dictionaryThe following arguments are supported:
- Content
Type string - The content type of the file.
- Datastore
Id string - The identifier of the datastore.
- File
Name string - The name of the file.
- Node
Name string - The name of the node.
- Content
Type string - The content type of the file.
- Datastore
Id string - The identifier of the datastore.
- File
Name string - The name of the file.
- Node
Name string - The name of the node.
- content
Type String - The content type of the file.
- datastore
Id String - The identifier of the datastore.
- file
Name String - The name of the file.
- node
Name String - The name of the node.
- content
Type string - The content type of the file.
- datastore
Id string - The identifier of the datastore.
- file
Name string - The name of the file.
- node
Name string - The name of the node.
- content_
type str - The content type of the file.
- datastore_
id str - The identifier of the datastore.
- file_
name str - The name of the file.
- node_
name str - The name of the node.
- content
Type String - The content type of the file.
- datastore
Id String - The identifier of the datastore.
- file
Name String - The name of the file.
- node
Name String - The name of the node.
getFile Result
The following output properties are available:
- Content
Type string - The content type of the file.
- Datastore
Id string - The identifier of the datastore.
- File
Format string - The format of the file.
- File
Name string - The name of the file.
- File
Size int - The size of the file in bytes.
- Id string
- The unique identifier of the file (volume ID).
- Node
Name string - The name of the node.
- Vmid int
- The VM ID associated with the file (if applicable).
- Content
Type string - The content type of the file.
- Datastore
Id string - The identifier of the datastore.
- File
Format string - The format of the file.
- File
Name string - The name of the file.
- File
Size int - The size of the file in bytes.
- Id string
- The unique identifier of the file (volume ID).
- Node
Name string - The name of the node.
- Vmid int
- The VM ID associated with the file (if applicable).
- content
Type String - The content type of the file.
- datastore
Id String - The identifier of the datastore.
- file
Format String - The format of the file.
- file
Name String - The name of the file.
- file
Size Integer - The size of the file in bytes.
- id String
- The unique identifier of the file (volume ID).
- node
Name String - The name of the node.
- vmid Integer
- The VM ID associated with the file (if applicable).
- content
Type string - The content type of the file.
- datastore
Id string - The identifier of the datastore.
- file
Format string - The format of the file.
- file
Name string - The name of the file.
- file
Size number - The size of the file in bytes.
- id string
- The unique identifier of the file (volume ID).
- node
Name string - The name of the node.
- vmid number
- The VM ID associated with the file (if applicable).
- content_
type str - The content type of the file.
- datastore_
id str - The identifier of the datastore.
- file_
format str - The format of the file.
- file_
name str - The name of the file.
- file_
size int - The size of the file in bytes.
- id str
- The unique identifier of the file (volume ID).
- node_
name str - The name of the node.
- vmid int
- The VM ID associated with the file (if applicable).
- content
Type String - The content type of the file.
- datastore
Id String - The identifier of the datastore.
- file
Format String - The format of the file.
- file
Name String - The name of the file.
- file
Size Number - The size of the file in bytes.
- id String
- The unique identifier of the file (volume ID).
- node
Name String - The name of the node.
- vmid Number
- The VM ID associated with the file (if applicable).
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.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
