Skip to content

New-PveNodesLxcMtunnel

Migration tunnel endpoint - only for internal use by CT migration.

API: POST /nodes/{node}/lxc/{vmid}/mtunnel, Proxmox VE API viewer

New-PveNodesLxcMtunnel
[-PveTicket <PveTicket>]
[-Bridges <string>]
-Node <string>
[-Storages <string>]
-Vmid <int>
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-Bridges string No List of network bridges to check availability. Will be checked again for actually used bridges during migration.
-Node string Yes The cluster node name.
-Storages string No List of storages to check permission and availability. Will be checked again for all actually used storages during migration.
-Vmid int Yes The (unique) ID of the VM.

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.

A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.