import * as pulumi from "@pulumi/pulumi"; /** * Provides a Vultr Reverse IPv4 resource. This can be used to create, read, and * modify reverse DNS records for IPv4 addresses. Upon success, DNS * changes may take 6-12 hours to become active. * * ## Example Usage * * Create a new reverse DNS record for an IPv4 address: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vultr from "@ediri/vultr"; * * const myInstance = new vultr.Instance("myInstance", { * enableIpv6: true, * osId: 477, * plan: "vc2-1c-2gb", * region: "ewr", * }); * const myReverseIpv4 = new vultr.ReverseIpv4("myReverseIpv4", { * instanceId: myInstance.id, * ip: myInstance.mainIp, * reverse: "host.example.com", * }); * ``` */ export declare class ReverseIpv4 extends pulumi.CustomResource { /** * Get an existing ReverseIpv4 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?: ReverseIpv4State, opts?: pulumi.CustomResourceOptions): ReverseIpv4; /** * Returns true if the given object is an instance of ReverseIpv4. 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 ReverseIpv4; /** * The gateway IP address. */ readonly gateway: pulumi.Output; /** * The ID of the instance you want to set an IPv4 * reverse DNS record for. */ readonly instanceId: pulumi.Output; /** * The IPv4 address used in the reverse DNS record. */ readonly ip: pulumi.Output; /** * The IPv4 netmask in dot-decimal notation. */ readonly netmask: pulumi.Output; /** * The hostname used in the IPv4 reverse DNS record. */ readonly reverse: pulumi.Output; /** * Create a ReverseIpv4 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: ReverseIpv4Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ReverseIpv4 resources. */ export interface ReverseIpv4State { /** * The gateway IP address. */ gateway?: pulumi.Input; /** * The ID of the instance you want to set an IPv4 * reverse DNS record for. */ instanceId?: pulumi.Input; /** * The IPv4 address used in the reverse DNS record. */ ip?: pulumi.Input; /** * The IPv4 netmask in dot-decimal notation. */ netmask?: pulumi.Input; /** * The hostname used in the IPv4 reverse DNS record. */ reverse?: pulumi.Input; } /** * The set of arguments for constructing a ReverseIpv4 resource. */ export interface ReverseIpv4Args { /** * The ID of the instance you want to set an IPv4 * reverse DNS record for. */ instanceId: pulumi.Input; /** * The IPv4 address used in the reverse DNS record. */ ip: pulumi.Input; /** * The hostname used in the IPv4 reverse DNS record. */ reverse: pulumi.Input; }