@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
83 lines • 2.18 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Retrieve details about a specific SDN Subnet in Proxmox VE.
*/
export declare function getSubnet(args: GetSubnetArgs, opts?: pulumi.InvokeOptions): Promise<GetSubnetResult>;
/**
* A collection of arguments for invoking getSubnet.
*/
export interface GetSubnetArgs {
/**
* A CIDR network address, for example 10.0.0.0/8
*/
cidr: string;
/**
* DHCP range (start and end IPs).
*/
dhcpRange?: inputs.sdn.GetSubnetDhcpRange;
/**
* The VNet this subnet belongs to.
*/
vnet: string;
}
/**
* A collection of values returned by getSubnet.
*/
export interface GetSubnetResult {
/**
* A CIDR network address, for example 10.0.0.0/8
*/
readonly cidr: string;
/**
* The DNS server used for DHCP.
*/
readonly dhcpDnsServer: string;
/**
* DHCP range (start and end IPs).
*/
readonly dhcpRange: outputs.sdn.GetSubnetDhcpRange;
/**
* Prefix used for DNS zone delegation.
*/
readonly dnsZonePrefix: string;
/**
* The gateway address for the subnet.
*/
readonly gateway: string;
/**
* The full ID in the format 'vnet-id/subnet-id'.
*/
readonly id: string;
/**
* Whether SNAT is enabled for the subnet.
*/
readonly snat: boolean;
/**
* The VNet this subnet belongs to.
*/
readonly vnet: string;
}
/**
* Retrieve details about a specific SDN Subnet in Proxmox VE.
*/
export declare function getSubnetOutput(args: GetSubnetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSubnetResult>;
/**
* A collection of arguments for invoking getSubnet.
*/
export interface GetSubnetOutputArgs {
/**
* A CIDR network address, for example 10.0.0.0/8
*/
cidr: pulumi.Input<string>;
/**
* DHCP range (start and end IPs).
*/
dhcpRange?: pulumi.Input<inputs.sdn.GetSubnetDhcpRangeArgs | undefined>;
/**
* The VNet this subnet belongs to.
*/
vnet: pulumi.Input<string>;
}
//# sourceMappingURL=getSubnet.d.ts.map