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
Retrieves information about all SDN VNets in Proxmox. This data source lists all virtual networks configured in the Software-Defined Networking setup.
Using getVnets
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 getVnets(opts?: InvokeOptions): Promise<GetVnetsResult>
function getVnetsOutput(opts?: InvokeOptions): Output<GetVnetsResult>def get_vnets(opts: Optional[InvokeOptions] = None) -> GetVnetsResult
def get_vnets_output(opts: Optional[InvokeOptions] = None) -> Output[GetVnetsResult]func GetVnets(ctx *Context, opts ...InvokeOption) (*GetVnetsResult, error)
func GetVnetsOutput(ctx *Context, opts ...InvokeOption) GetVnetsResultOutput> Note: This function is named GetVnets in the Go SDK.
public static class GetVnets
{
public static Task<GetVnetsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetVnetsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetVnetsResult> getVnets(InvokeOptions options)
public static Output<GetVnetsResult> getVnets(InvokeOptions options)
fn::invoke:
function: proxmoxve:sdn/getVnets:getVnets
arguments:
# arguments dictionarygetVnets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Vnets
List<Pulumi.
Proxmox VE. Sdn. Outputs. Get Vnets Vnet> - List of SDN VNets.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vnets
[]Get
Vnets Vnet - List of SDN VNets.
- id String
- The provider-assigned unique ID for this managed resource.
- vnets
List<Get
Vnets Vnet> - List of SDN VNets.
- id string
- The provider-assigned unique ID for this managed resource.
- vnets
Get
Vnets Vnet[] - List of SDN VNets.
- id str
- The provider-assigned unique ID for this managed resource.
- vnets
Sequence[Get
Vnets Vnet] - List of SDN VNets.
- id String
- The provider-assigned unique ID for this managed resource.
- vnets List<Property Map>
- List of SDN VNets.
Supporting Types
GetVnetsVnet
- alias str
- id str
- isolate_
ports bool - tag int
- vlan_
aware bool - zone str
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
