import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to retrieve information about a region associated with a public cloud project. The region must be associated with the project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const GRA1 = ovh.CloudProject.getRegion({ * serviceName: "XXXXXX", * name: "GRA1", * }); * ``` */ export declare function getRegion(args: GetRegionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRegion. */ export interface GetRegionArgs { /** * The name of the region associated with the public cloud project. */ name: 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 getRegion. */ export interface GetRegionResult { /** * Availability zones of the region */ readonly availabilityZones: string[]; /** * The code of the geographic continent the region is running. E.g.: EU for Europe, US for America... */ readonly continentCode: string; /** * Region country code */ readonly countryCode: string; /** * The location code of the datacenter. E.g.: "GRA", meaning Gravelines, for region "GRA1" */ readonly datacenterLocation: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Allowed countries for failover IP */ readonly ipCountries: string[]; /** * the name of the public cloud service */ readonly name: string; readonly serviceName: string; /** * The list of public cloud services running within the region */ readonly services: outputs.CloudProject.GetRegionService[]; /** * the status of the service */ readonly status: string; /** * Region type (localzone | region | region-3-az) */ readonly type: string; } /** * Use this data source to retrieve information about a region associated with a public cloud project. The region must be associated with the project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const GRA1 = ovh.CloudProject.getRegion({ * serviceName: "XXXXXX", * name: "GRA1", * }); * ``` */ export declare function getRegionOutput(args: GetRegionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRegion. */ export interface GetRegionOutputArgs { /** * The name of the region associated with the public cloud project. */ name: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }