New-PveClusterSdnDns
Create a new sdn dns object.
API: POST /cluster/sdn/dns, Proxmox VE API viewer
Syntax
Section titled “Syntax”New-PveClusterSdnDns [-PveTicket <PveTicket>] -Dns <string> [-Fingerprint <string>] -Key <string> [-LockToken <string>] [-Reversemaskv6 <int>] [-Reversev6mask <int>] [-Ttl <int>] -Type <string> -Url <string> [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-Dns |
string |
Yes | The SDN dns object identifier. |
-Fingerprint |
string |
No | Certificate SHA 256 fingerprint. |
-Key |
string |
Yes | |
-LockToken |
string |
No | the token for unlocking the global SDN configuration. |
-Reversemaskv6 |
int |
No | |
-Reversev6mask |
int |
No | |
-Ttl |
int |
No | |
-Type |
string |
Yes | Plugin type. Values: powerdns. |
-Url |
string |
Yes |
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.