Proxmox Virtual Environment (Proxmox VE) v7.7.0 published on Sunday, Oct 12, 2025 by Daniel Muehlbachler-Pietrzykowski
proxmoxve.Sdn.getSubnet
Explore with Pulumi AI

Proxmox Virtual Environment (Proxmox VE) v7.7.0 published on Sunday, Oct 12, 2025 by Daniel Muehlbachler-Pietrzykowski
Retrieve details about a specific SDN Subnet in Proxmox VE.
Using getSubnet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSubnet(args: GetSubnetArgs, opts?: InvokeOptions): Promise<GetSubnetResult>
function getSubnetOutput(args: GetSubnetOutputArgs, opts?: InvokeOptions): Output<GetSubnetResult>
def get_subnet(cidr: Optional[str] = None,
dhcp_range: Optional[GetSubnetDhcpRange] = None,
vnet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubnetResult
def get_subnet_output(cidr: Optional[pulumi.Input[str]] = None,
dhcp_range: Optional[pulumi.Input[GetSubnetDhcpRangeArgs]] = None,
vnet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSubnetResult]
func LookupSubnet(ctx *Context, args *LookupSubnetArgs, opts ...InvokeOption) (*LookupSubnetResult, error)
func LookupSubnetOutput(ctx *Context, args *LookupSubnetOutputArgs, opts ...InvokeOption) LookupSubnetResultOutput
> Note: This function is named LookupSubnet
in the Go SDK.
public static class GetSubnet
{
public static Task<GetSubnetResult> InvokeAsync(GetSubnetArgs args, InvokeOptions? opts = null)
public static Output<GetSubnetResult> Invoke(GetSubnetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSubnetResult> getSubnet(GetSubnetArgs args, InvokeOptions options)
public static Output<GetSubnetResult> getSubnet(GetSubnetArgs args, InvokeOptions options)
fn::invoke:
function: proxmoxve:Sdn/getSubnet:getSubnet
arguments:
# arguments dictionary
The following arguments are supported:
- Cidr string
- A CIDR network address, for example 10.0.0.0/8
- Vnet string
- The VNet this subnet belongs to.
- Dhcp
Range Pulumi.Proxmox VE. Sdn. Inputs. Get Subnet Dhcp Range - DHCP range (start and end IPs).
- Cidr string
- A CIDR network address, for example 10.0.0.0/8
- Vnet string
- The VNet this subnet belongs to.
- Dhcp
Range GetSubnet Dhcp Range - DHCP range (start and end IPs).
- cidr String
- A CIDR network address, for example 10.0.0.0/8
- vnet String
- The VNet this subnet belongs to.
- dhcp
Range GetSubnet Dhcp Range - DHCP range (start and end IPs).
- cidr string
- A CIDR network address, for example 10.0.0.0/8
- vnet string
- The VNet this subnet belongs to.
- dhcp
Range GetSubnet Dhcp Range - DHCP range (start and end IPs).
- cidr str
- A CIDR network address, for example 10.0.0.0/8
- vnet str
- The VNet this subnet belongs to.
- dhcp_
range GetSubnet Dhcp Range - DHCP range (start and end IPs).
- cidr String
- A CIDR network address, for example 10.0.0.0/8
- vnet String
- The VNet this subnet belongs to.
- dhcp
Range Property Map - DHCP range (start and end IPs).
getSubnet Result
The following output properties are available:
- Cidr string
- A CIDR network address, for example 10.0.0.0/8
- Dhcp
Dns stringServer - The DNS server used for DHCP.
- Dhcp
Range Pulumi.Proxmox VE. Sdn. Outputs. Get Subnet Dhcp Range - DHCP range (start and end IPs).
- Dns
Zone stringPrefix - Prefix used for DNS zone delegation.
- Gateway string
- The gateway address for the subnet.
- Id string
- The full ID in the format 'vnet-id/subnet-id'.
- Snat bool
- Whether SNAT is enabled for the subnet.
- Vnet string
- The VNet this subnet belongs to.
- Cidr string
- A CIDR network address, for example 10.0.0.0/8
- Dhcp
Dns stringServer - The DNS server used for DHCP.
- Dhcp
Range GetSubnet Dhcp Range - DHCP range (start and end IPs).
- Dns
Zone stringPrefix - Prefix used for DNS zone delegation.
- Gateway string
- The gateway address for the subnet.
- Id string
- The full ID in the format 'vnet-id/subnet-id'.
- Snat bool
- Whether SNAT is enabled for the subnet.
- Vnet string
- The VNet this subnet belongs to.
- cidr String
- A CIDR network address, for example 10.0.0.0/8
- dhcp
Dns StringServer - The DNS server used for DHCP.
- dhcp
Range GetSubnet Dhcp Range - DHCP range (start and end IPs).
- dns
Zone StringPrefix - Prefix used for DNS zone delegation.
- gateway String
- The gateway address for the subnet.
- id String
- The full ID in the format 'vnet-id/subnet-id'.
- snat Boolean
- Whether SNAT is enabled for the subnet.
- vnet String
- The VNet this subnet belongs to.
- cidr string
- A CIDR network address, for example 10.0.0.0/8
- dhcp
Dns stringServer - The DNS server used for DHCP.
- dhcp
Range GetSubnet Dhcp Range - DHCP range (start and end IPs).
- dns
Zone stringPrefix - Prefix used for DNS zone delegation.
- gateway string
- The gateway address for the subnet.
- id string
- The full ID in the format 'vnet-id/subnet-id'.
- snat boolean
- Whether SNAT is enabled for the subnet.
- vnet string
- The VNet this subnet belongs to.
- cidr str
- A CIDR network address, for example 10.0.0.0/8
- dhcp_
dns_ strserver - The DNS server used for DHCP.
- dhcp_
range GetSubnet Dhcp Range - DHCP range (start and end IPs).
- dns_
zone_ strprefix - Prefix used for DNS zone delegation.
- gateway str
- The gateway address for the subnet.
- id str
- The full ID in the format 'vnet-id/subnet-id'.
- snat bool
- Whether SNAT is enabled for the subnet.
- vnet str
- The VNet this subnet belongs to.
- cidr String
- A CIDR network address, for example 10.0.0.0/8
- dhcp
Dns StringServer - The DNS server used for DHCP.
- dhcp
Range Property Map - DHCP range (start and end IPs).
- dns
Zone StringPrefix - Prefix used for DNS zone delegation.
- gateway String
- The gateway address for the subnet.
- id String
- The full ID in the format 'vnet-id/subnet-id'.
- snat Boolean
- Whether SNAT is enabled for the subnet.
- vnet String
- The VNet this subnet belongs to.
Supporting Types
GetSubnetDhcpRange
- End
Address string - End of the DHCP range.
- Start
Address string - Start of the DHCP range.
- End
Address string - End of the DHCP range.
- Start
Address string - Start of the DHCP range.
- end
Address String - End of the DHCP range.
- start
Address String - Start of the DHCP range.
- end
Address string - End of the DHCP range.
- start
Address string - Start of the DHCP range.
- end_
address str - End of the DHCP range.
- start_
address str - Start of the DHCP range.
- end
Address String - End of the DHCP range.
- start
Address String - Start of the DHCP range.
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmox
Terraform Provider.

Proxmox Virtual Environment (Proxmox VE) v7.7.0 published on Sunday, Oct 12, 2025 by Daniel Muehlbachler-Pietrzykowski