import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * **This datasource uses a Beta API** * * Use this data source to get the list of instances in a region of a public cloud project. * * ## Example Usage * * To list your instances: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const instance = ovh.CloudProject.getInstances({ * serviceName: "YYYY", * region: "XXXX", * }); * ``` */ export declare function getInstances(args: GetInstancesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInstances. */ export interface GetInstancesArgs { /** * Instance region. */ region: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getInstances. */ export interface GetInstancesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of instances */ readonly instances: outputs.CloudProject.GetInstancesInstance[]; readonly region: string; readonly serviceName: string; } /** * **This datasource uses a Beta API** * * Use this data source to get the list of instances in a region of a public cloud project. * * ## Example Usage * * To list your instances: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const instance = ovh.CloudProject.getInstances({ * serviceName: "YYYY", * region: "XXXX", * }); * ``` */ export declare function getInstancesOutput(args: GetInstancesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInstances. */ export interface GetInstancesOutputArgs { /** * Instance region. */ region: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }