New-PveNodesStorageDownloadUrl
Download templates, ISO images, OVAs and VM images by using an URL.
API: POST /nodes/{node}/storage/{storage}/download-url, Proxmox VE API viewer
Syntax
Section titled “Syntax”New-PveNodesStorageDownloadUrl [-PveTicket <PveTicket>] [-Checksum <string>] [-ChecksumAlgorithm <string>] [-Compression <string>] -Content <string> -Filename <string> -Node <string> -Storage <string> -Url <string> [-VerifyCertificates <bool>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-Checksum |
string |
No | The expected checksum of the file. |
-ChecksumAlgorithm |
string |
No | The algorithm to calculate the checksum of the file. Values: md5, sha1, sha224, sha256, sha384, sha512. |
-Compression |
string |
No | Decompress the downloaded file using the specified compression algorithm. |
-Content |
string |
Yes | Content type. Values: iso, vztmpl, import. |
-Filename |
string |
Yes | The name of the file to create. Caution: This will be normalized! |
-Node |
string |
Yes | The cluster node name. |
-Storage |
string |
Yes | The storage identifier. |
-Url |
string |
Yes | The URL to download the file from. |
-VerifyCertificates |
bool |
No | If false, no SSL/TLS certificates will be verified. |
Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.
Output
Section titled “Output”A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.