import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The aiven.StaticIp resource allows the creation and deletion of static ips. Please note that once a static ip is in the 'assigned' state it is bound to the node it is assigned to and cannot be deleted or disassociated until the node is recycled. Plans that would delete static ips that are in the assigned state will be blocked. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.StaticIp("example", { * project: "my-project", * cloudName: "aws-eu-central-1", * terminationProtection: false, * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/staticIp:StaticIp example PROJECT/STATIC_IP_ADDRESS_ID * ``` */ export declare class StaticIp extends pulumi.CustomResource { /** * Get an existing StaticIp 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?: StaticIpState, opts?: pulumi.CustomResourceOptions): StaticIp; /** * Returns true if the given object is an instance of StaticIp. 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 StaticIp; /** * Target cloud. Maximum length: `256`. Changing this property forces recreation of the resource. */ readonly cloudName: pulumi.Output; /** * IPv4 address. */ readonly ipAddress: pulumi.Output; /** * Project name. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * Service name. */ readonly serviceName: pulumi.Output; /** * Static IP address state. The possible values are `assigned`, `available`, `created`, `creating`, `deleted` and `deleting`. */ readonly state: pulumi.Output; /** * Static IP address identifier. */ readonly staticIpAddressId: pulumi.Output; /** * Static IP address is protected against deletion. The default value is `false`. */ readonly terminationProtection: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a StaticIp 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: StaticIpArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StaticIp resources. */ export interface StaticIpState { /** * Target cloud. Maximum length: `256`. Changing this property forces recreation of the resource. */ cloudName?: pulumi.Input; /** * IPv4 address. */ ipAddress?: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * Service name. */ serviceName?: pulumi.Input; /** * Static IP address state. The possible values are `assigned`, `available`, `created`, `creating`, `deleted` and `deleting`. */ state?: pulumi.Input; /** * Static IP address identifier. */ staticIpAddressId?: pulumi.Input; /** * Static IP address is protected against deletion. The default value is `false`. */ terminationProtection?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a StaticIp resource. */ export interface StaticIpArgs { /** * Target cloud. Maximum length: `256`. Changing this property forces recreation of the resource. */ cloudName: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * Static IP address is protected against deletion. The default value is `false`. */ terminationProtection?: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=staticIp.d.ts.map