import * as pulumi from "@pulumi/pulumi"; /** * Manages Proxmox VE SDN VNet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const finalizer = new proxmoxve.sdn.Applier("finalizer", {}); * // SDN Zone (Simple) - Basic zone for simple vnets * const exampleZone1 = new proxmoxve.sdn.zone.Simple("example_zone_1", { * resourceId: "zone1", * mtu: 1500, * dns: "1.1.1.1", * dnsZone: "example.com", * ipam: "pve", * reverseDns: "1.1.1.1", * }, { * dependsOn: [finalizer], * }); * // SDN Zone (Simple) - Second zone for demonstration * const exampleZone2 = new proxmoxve.sdn.zone.Simple("example_zone_2", { * resourceId: "zone2", * mtu: 1500, * }, { * dependsOn: [finalizer], * }); * // Basic VNet (Simple) * const basicVnet = new proxmoxve.sdn.Vnet("basic_vnet", { * resourceId: "vnet1", * zone: exampleZone1.resourceId, * }, { * dependsOn: [finalizer], * }); * // VNet with Alias and Port Isolation * const isolatedVnet = new proxmoxve.sdn.Vnet("isolated_vnet", { * resourceId: "vnet2", * zone: exampleZone2.resourceId, * alias: "Isolated VNet", * isolatePorts: true, * vlanAware: false, * }, { * dependsOn: [finalizer], * }); * // SDN Applier for all resources * const vnetApplier = new proxmoxve.sdn.Applier("vnet_applier", {}, { * dependsOn: [ * exampleZone1, * exampleZone2, * basicVnet, * isolatedVnet, * ], * }); * ``` * * ## Import * * !/usr/bin/env sh * SDN vnet can be imported using its unique identifier (vnet ID) * * ```sh * $ pulumi import proxmoxve:sdn/vnet:Vnet basic_vnet vnet1 * $ pulumi import proxmoxve:sdn/vnet:Vnet isolated_vnet vnet2 * ``` */ export declare class Vnet extends pulumi.CustomResource { /** * Get an existing Vnet resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VnetState, opts?: pulumi.CustomResourceOptions): Vnet; /** * Returns true if the given object is an instance of Vnet. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Vnet; /** * An optional alias for this VNet. */ readonly alias: pulumi.Output; /** * Isolate ports within this VNet. */ readonly isolatePorts: pulumi.Output; /** * The unique identifier of the SDN VNet. */ readonly resourceId: pulumi.Output; /** * Tag value for VLAN/VXLAN (can't be used with other zone types). */ readonly tag: pulumi.Output; /** * Allow VM VLANs to pass through this VNet. */ readonly vlanAware: pulumi.Output; /** * The zone to which this VNet belongs. */ readonly zone: pulumi.Output; /** * Create a Vnet resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VnetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Vnet resources. */ export interface VnetState { /** * An optional alias for this VNet. */ alias?: pulumi.Input; /** * Isolate ports within this VNet. */ isolatePorts?: pulumi.Input; /** * The unique identifier of the SDN VNet. */ resourceId?: pulumi.Input; /** * Tag value for VLAN/VXLAN (can't be used with other zone types). */ tag?: pulumi.Input; /** * Allow VM VLANs to pass through this VNet. */ vlanAware?: pulumi.Input; /** * The zone to which this VNet belongs. */ zone?: pulumi.Input; } /** * The set of arguments for constructing a Vnet resource. */ export interface VnetArgs { /** * An optional alias for this VNet. */ alias?: pulumi.Input; /** * Isolate ports within this VNet. */ isolatePorts?: pulumi.Input; /** * The unique identifier of the SDN VNet. */ resourceId: pulumi.Input; /** * Tag value for VLAN/VXLAN (can't be used with other zone types). */ tag?: pulumi.Input; /** * Allow VM VLANs to pass through this VNet. */ vlanAware?: pulumi.Input; /** * The zone to which this VNet belongs. */ zone: pulumi.Input; } //# sourceMappingURL=vnet.d.ts.map