import * as pulumi from "@pulumi/pulumi"; /** * Provides a Civo network resource. This can be used to create, modify, and delete networks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as civo from "@pulumi/civo"; * * const customNet = new civo.Network("custom_net", {label: "test_network"}); * ``` * * ## Import * * using ID * * ```sh * $ pulumi import civo:index/network:Network custom_net b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 * ``` */ export declare class Network extends pulumi.CustomResource { /** * Get an existing Network 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?: NetworkState, opts?: pulumi.CustomResourceOptions): Network; /** * Returns true if the given object is an instance of Network. 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 Network; /** * The CIDR block for the network */ readonly cidrV4: pulumi.Output; /** * If the network is default, this will be `true` */ readonly default: pulumi.Output; /** * Name for the network */ readonly label: pulumi.Output; /** * The name of the network */ readonly name: pulumi.Output; /** * List of nameservers for the network */ readonly nameserversV4s: pulumi.Output; /** * The region of the network */ readonly region: pulumi.Output; /** * End of the IPv4 allocation pool for VLAN */ readonly vlanAllocationPoolV4End: pulumi.Output; /** * Start of the IPv4 allocation pool for VLAN */ readonly vlanAllocationPoolV4Start: pulumi.Output; /** * CIDR for VLAN IPv4 */ readonly vlanCidrV4: pulumi.Output; /** * Gateway IP for VLAN IPv4 */ readonly vlanGatewayIpV4: pulumi.Output; /** * VLAN ID for the network */ readonly vlanId: pulumi.Output; /** * Physical interface for VLAN */ readonly vlanPhysicalInterface: pulumi.Output; /** * Create a Network 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: NetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Network resources. */ export interface NetworkState { /** * The CIDR block for the network */ cidrV4?: pulumi.Input; /** * If the network is default, this will be `true` */ default?: pulumi.Input; /** * Name for the network */ label?: pulumi.Input; /** * The name of the network */ name?: pulumi.Input; /** * List of nameservers for the network */ nameserversV4s?: pulumi.Input[]>; /** * The region of the network */ region?: pulumi.Input; /** * End of the IPv4 allocation pool for VLAN */ vlanAllocationPoolV4End?: pulumi.Input; /** * Start of the IPv4 allocation pool for VLAN */ vlanAllocationPoolV4Start?: pulumi.Input; /** * CIDR for VLAN IPv4 */ vlanCidrV4?: pulumi.Input; /** * Gateway IP for VLAN IPv4 */ vlanGatewayIpV4?: pulumi.Input; /** * VLAN ID for the network */ vlanId?: pulumi.Input; /** * Physical interface for VLAN */ vlanPhysicalInterface?: pulumi.Input; } /** * The set of arguments for constructing a Network resource. */ export interface NetworkArgs { /** * The CIDR block for the network */ cidrV4?: pulumi.Input; /** * Name for the network */ label: pulumi.Input; /** * List of nameservers for the network */ nameserversV4s?: pulumi.Input[]>; /** * The region of the network */ region?: pulumi.Input; /** * End of the IPv4 allocation pool for VLAN */ vlanAllocationPoolV4End?: pulumi.Input; /** * Start of the IPv4 allocation pool for VLAN */ vlanAllocationPoolV4Start?: pulumi.Input; /** * CIDR for VLAN IPv4 */ vlanCidrV4?: pulumi.Input; /** * Gateway IP for VLAN IPv4 */ vlanGatewayIpV4?: pulumi.Input; /** * VLAN ID for the network */ vlanId?: pulumi.Input; /** * Physical interface for VLAN */ vlanPhysicalInterface?: pulumi.Input; }