import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about an additional IP in a public cloud project. Additional IPs are created and deleted through the lifecycle of other products (typically instances they are attached to), so this data source is a read-only view. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ip = ovh.getCloudAdditionalIp({ * serviceName: "", * id: "", * }); * export const additionalIpStatus = ip.then(ip => ip.resourceStatus); * ``` */ export declare function getCloudAdditionalIp(args: GetCloudAdditionalIpArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudAdditionalIp. */ export interface GetCloudAdditionalIpArgs { /** * IP address of the additional IP. */ id: string; /** * Service name of the resource representing the id of the cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: string; } /** * A collection of values returned by getCloudAdditionalIp. */ export interface GetCloudAdditionalIpResult { /** * Checksum field of the API envelope. Always empty for this read-only IP type. */ readonly checksum: string; /** * Current state of the additional IP: */ readonly currentState: outputs.GetCloudAdditionalIpCurrentState; /** * Ongoing asynchronous tasks related to the additional IP. Each element exports: */ readonly currentTasks: outputs.GetCloudAdditionalIpCurrentTask[]; /** * Identifier of the current task. */ readonly id: string; /** * Additional IP readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UNKNOWN`, `UPDATING`). */ readonly resourceStatus: string; readonly serviceName: string; } /** * Use this data source to retrieve information about an additional IP in a public cloud project. Additional IPs are created and deleted through the lifecycle of other products (typically instances they are attached to), so this data source is a read-only view. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ip = ovh.getCloudAdditionalIp({ * serviceName: "", * id: "", * }); * export const additionalIpStatus = ip.then(ip => ip.resourceStatus); * ``` */ export declare function getCloudAdditionalIpOutput(args: GetCloudAdditionalIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudAdditionalIp. */ export interface GetCloudAdditionalIpOutputArgs { /** * IP address of the additional IP. */ id: pulumi.Input; /** * Service name of the resource representing the id of the cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; }