import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the regions of a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const regions = ovh.CloudProject.getRegions({ * serviceName: "XXXXXX", * hasServicesUps: ["network"], * }); * ``` */ export declare function getRegions(args: GetRegionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRegions. */ export interface GetRegionsArgs { /** * List of services which has to be UP in regions. Example: "image", "instance", "network", "storage", "volume", "workflow", ... If left blank, returns all regions associated with the service_name. */ hasServicesUps?: 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 getRegions. */ export interface GetRegionsResult { readonly hasServicesUps?: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of regions associated with the project, filtered by services UP. */ readonly names: string[]; readonly serviceName: string; } /** * Use this data source to get the regions of a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const regions = ovh.CloudProject.getRegions({ * serviceName: "XXXXXX", * hasServicesUps: ["network"], * }); * ``` */ export declare function getRegionsOutput(args: GetRegionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRegions. */ export interface GetRegionsOutputArgs { /** * List of services which has to be UP in regions. Example: "image", "instance", "network", "storage", "volume", "workflow", ... If left blank, returns all regions associated with the service_name. */ hasServicesUps?: pulumi.Input[]>; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }