using Newtonsoft.Json; namespace PSProxmox.Models { /// /// Represents an SDN VNet in Proxmox VE. /// public class ProxmoxSDNVnet { /// /// Gets or sets the VNet name. /// [JsonProperty("vnet")] public string VNet { get; set; } /// /// Gets or sets the VNet zone. /// [JsonProperty("zone")] public string Zone { get; set; } /// /// Gets or sets the VNet type. /// [JsonProperty("type")] public string Type { get; set; } /// /// Gets or sets the VNet alias. /// [JsonProperty("alias")] public string Alias { get; set; } /// /// Gets or sets the VNet VLAN ID. /// [JsonProperty("vlanid")] public int? VlanID { get; set; } /// /// Gets or sets the VNet tag. /// [JsonProperty("tag")] public int? Tag { get; set; } /// /// Gets or sets the VNet IPv4 subnet. /// [JsonProperty("ipv4")] public string IPv4 { get; set; } /// /// Gets or sets the VNet IPv6 subnet. /// [JsonProperty("ipv6")] public string IPv6 { get; set; } /// /// Gets or sets the VNet MAC address. /// [JsonProperty("mac")] public string MAC { get; set; } /// /// Gets or sets the VNet bridge. /// [JsonProperty("bridge")] public string Bridge { get; set; } /// /// Gets or sets the VNet gateway. /// [JsonProperty("gateway")] public string Gateway { get; set; } /// /// Gets or sets the VNet IPv6 gateway. /// [JsonProperty("gateway6")] public string Gateway6 { get; set; } /// /// Gets or sets the VNet MTU. /// [JsonProperty("mtu")] public int? MTU { get; set; } /// /// Gets or sets the VNet DHCP. /// [JsonProperty("dhcp")] public bool DHCP { get; set; } /// /// Gets or sets the VNet DNS. /// [JsonProperty("dns")] public string DNS { get; set; } /// /// Gets or sets the VNet DNS search domain. /// [JsonProperty("dnssearchdomain")] public string DNSSearchDomain { get; set; } /// /// Gets or sets the VNet reverse DNS. /// [JsonProperty("reversedns")] public string ReverseDNS { get; set; } } }