Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
Deprecated: Use
proxmoxve.sdn.Subnetinstead. This data source will be removed in v1.0.
Retrieve details about a specific SDN Subnet in Proxmox VE.
Using getSubnetLegacy
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 getSubnetLegacy(args: GetSubnetLegacyArgs, opts?: InvokeOptions): Promise<GetSubnetLegacyResult>
function getSubnetLegacyOutput(args: GetSubnetLegacyOutputArgs, opts?: InvokeOptions): Output<GetSubnetLegacyResult>def get_subnet_legacy(cidr: Optional[str] = None,
dhcp_range: Optional[GetSubnetLegacyDhcpRange] = None,
vnet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubnetLegacyResult
def get_subnet_legacy_output(cidr: Optional[pulumi.Input[str]] = None,
dhcp_range: Optional[pulumi.Input[GetSubnetLegacyDhcpRangeArgs]] = None,
vnet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSubnetLegacyResult]func LookupSubnetLegacy(ctx *Context, args *LookupSubnetLegacyArgs, opts ...InvokeOption) (*LookupSubnetLegacyResult, error)
func LookupSubnetLegacyOutput(ctx *Context, args *LookupSubnetLegacyOutputArgs, opts ...InvokeOption) LookupSubnetLegacyResultOutput> Note: This function is named LookupSubnetLegacy in the Go SDK.
public static class GetSubnetLegacy
{
public static Task<GetSubnetLegacyResult> InvokeAsync(GetSubnetLegacyArgs args, InvokeOptions? opts = null)
public static Output<GetSubnetLegacyResult> Invoke(GetSubnetLegacyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSubnetLegacyResult> getSubnetLegacy(GetSubnetLegacyArgs args, InvokeOptions options)
public static Output<GetSubnetLegacyResult> getSubnetLegacy(GetSubnetLegacyArgs args, InvokeOptions options)
fn::invoke:
function: proxmoxve:sdn/getSubnetLegacy:getSubnetLegacy
arguments:
# arguments dictionaryThe 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 Legacy 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 Legacy 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 Legacy 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 Legacy 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 Legacy 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).
getSubnetLegacy 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 Legacy 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 Legacy 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 Legacy 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 Legacy 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 Legacy 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
GetSubnetLegacyDhcpRange
- 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
proxmoxTerraform Provider.
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
