Set-PveClusterSdnVnets
Update sdn vnet object configuration.
API: PUT /cluster/sdn/vnets/{vnet}, Proxmox VE API viewer
Syntax
Section titled “Syntax”Set-PveClusterSdnVnets [-PveTicket <PveTicket>] [-Alias <string>] [-Delete <string>] [-Digest <string>] [-IsolatePorts <bool>] [-LockToken <string>] [-Tag <int>] [-Vlanaware <bool>] -Vnet <string> [-Zone <string>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-Alias |
string |
No | Alias name of the VNet. |
-Delete |
string |
No | A list of settings you want to delete. |
-Digest |
string |
No | Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. |
-IsolatePorts |
bool |
No | If true, sets the isolated property for all interfaces on the bridge of this VNet. |
-LockToken |
string |
No | the token for unlocking the global SDN configuration. |
-Tag |
int |
No | VLAN Tag (for VLAN or QinQ zones) or VXLAN VNI (for VXLAN or EVPN zones). |
-Vlanaware |
bool |
No | Allow VLANs to pass through this vnet. |
-Vnet |
string |
Yes | The SDN vnet object identifier. |
-Zone |
string |
No | Name of the zone this VNet belongs to. |
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.