@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
50 lines • 1.56 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves information about all SDN VNets in Proxmox. This data source lists all virtual networks configured in the Software-Defined Networking setup.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* // List all SDN VNets
* const all = proxmoxve.sdn.getVnets({});
* export const dataProxmoxSdnVnetsAll = {
* vnets: all.then(all => all.vnets),
* };
* ```
*/
export declare function getVnets(opts?: pulumi.InvokeOptions): Promise<GetVnetsResult>;
/**
* A collection of values returned by getVnets.
*/
export interface GetVnetsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of SDN VNets.
*/
readonly vnets: outputs.sdn.GetVnetsVnet[];
}
/**
* Retrieves information about all SDN VNets in Proxmox. This data source lists all virtual networks configured in the Software-Defined Networking setup.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* // List all SDN VNets
* const all = proxmoxve.sdn.getVnets({});
* export const dataProxmoxSdnVnetsAll = {
* vnets: all.then(all => all.vnets),
* };
* ```
*/
export declare function getVnetsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVnetsResult>;
//# sourceMappingURL=getVnets.d.ts.map