import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about a single region of a public cloud project, using the OVHcloud API v2. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const region = ovh.getCloudRegion({ * serviceName: "", * name: "GRA11", * }); * ``` */ export declare function getCloudRegion(args: GetCloudRegionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudRegion. */ export interface GetCloudRegionArgs { /** * The name of the region (e.g. `GRA11`). */ name: string; /** * The id of the public cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudRegion. */ export interface GetCloudRegionResult { /** * Availability zones available in the region. */ readonly availabilityZones: string[]; /** * Continent code of the region. */ readonly continent: string; /** * Country code of the region. */ readonly country: string; /** * Display name of the datacenter hosting the region. */ readonly datacenterName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly serviceName: string; /** * Available OpenStack services in the region. */ readonly services: string[]; /** * Region status (`ENABLED`, `DISABLED` or `MAINTENANCE`). */ readonly status: string; } /** * Use this data source to retrieve information about a single region of a public cloud project, using the OVHcloud API v2. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const region = ovh.getCloudRegion({ * serviceName: "", * name: "GRA11", * }); * ``` */ export declare function getCloudRegionOutput(args: GetCloudRegionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudRegion. */ export interface GetCloudRegionOutputArgs { /** * The name of the region (e.g. `GRA11`). */ name: pulumi.Input; /** * The id of the public cloud project. */ serviceName: pulumi.Input; }