import * as pulumi from "@pulumi/pulumi"; /** * Provides a Vultr instance IPv4 resource. This can be used to create, read, and * modify a IPv4 address. instance is rebooted by default. * * ## Example Usage * * Create a new IPv4 address for a instance: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vultr from "@ediri/vultr"; * * const myInstance = new vultr.Instance("myInstance", { * enableIpv6: true, * osId: 167, * plan: "vc2-1c-1gb", * region: "ewr", * }); * const myInstanceIpv4 = new vultr.InstanceIpv4("myInstanceIpv4", { * instanceId: myInstance.id, * reboot: false, * }); * ``` */ export declare class InstanceIpv4 extends pulumi.CustomResource { /** * Get an existing InstanceIpv4 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?: InstanceIpv4State, opts?: pulumi.CustomResourceOptions): InstanceIpv4; /** * Returns true if the given object is an instance of InstanceIpv4. 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 InstanceIpv4; /** * The gateway IP address. */ readonly gateway: pulumi.Output; /** * The ID of the instance to be assigned the IPv4 address. */ readonly instanceId: pulumi.Output; /** * The IPv4 address in canonical format. */ readonly ip: pulumi.Output; /** * The IPv4 netmask in dot-decimal notation. */ readonly netmask: pulumi.Output; /** * Default true. Determines whether or not the server is rebooted after adding the IPv4 address. */ readonly reboot: pulumi.Output; /** * The reverse DNS information for this IP address. */ readonly reverse: pulumi.Output; /** * Create a InstanceIpv4 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: InstanceIpv4Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InstanceIpv4 resources. */ export interface InstanceIpv4State { /** * The gateway IP address. */ gateway?: pulumi.Input; /** * The ID of the instance to be assigned the IPv4 address. */ instanceId?: pulumi.Input; /** * The IPv4 address in canonical format. */ ip?: pulumi.Input; /** * The IPv4 netmask in dot-decimal notation. */ netmask?: pulumi.Input; /** * Default true. Determines whether or not the server is rebooted after adding the IPv4 address. */ reboot?: pulumi.Input; /** * The reverse DNS information for this IP address. */ reverse?: pulumi.Input; } /** * The set of arguments for constructing a InstanceIpv4 resource. */ export interface InstanceIpv4Args { /** * The ID of the instance to be assigned the IPv4 address. */ instanceId: pulumi.Input; /** * Default true. Determines whether or not the server is rebooted after adding the IPv4 address. */ reboot?: pulumi.Input; }