import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to list the regions available for a public cloud project, using the OVHcloud API v2. All pages are fetched, so the full list of regions is returned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * export = async () => { * const regions = await ovh.getCloudRegions({ * serviceName: "", * }); * return { * regions: regions.regions, * }; * } * ``` */ export declare function getCloudRegions(args: GetCloudRegionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudRegions. */ export interface GetCloudRegionsArgs { /** * The id of the public cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudRegions. */ export interface GetCloudRegionsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of regions available for the project. Each region exports: */ readonly regions: outputs.GetCloudRegionsRegion[]; readonly serviceName: string; } /** * Use this data source to list the regions available for a public cloud project, using the OVHcloud API v2. All pages are fetched, so the full list of regions is returned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * export = async () => { * const regions = await ovh.getCloudRegions({ * serviceName: "", * }); * return { * regions: regions.regions, * }; * } * ``` */ export declare function getCloudRegionsOutput(args: GetCloudRegionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudRegions. */ export interface GetCloudRegionsOutputArgs { /** * The id of the public cloud project. */ serviceName: pulumi.Input; }