import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const region = new ovh.cloudproject.ProjectRegion("region", { * serviceName: "", * region: "EU-WEST-LZ-LUX-A", * }); * ``` */ export declare class ProjectRegion extends pulumi.CustomResource { /** * Get an existing ProjectRegion resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ProjectRegionState, opts?: pulumi.CustomResourceOptions): ProjectRegion; /** * Returns true if the given object is an instance of ProjectRegion. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ProjectRegion; /** * Availability zones of the region */ readonly availabilityZones: pulumi.Output; /** * Region continent code */ readonly continentCode: pulumi.Output; /** * Region country code */ readonly countryCode: pulumi.Output; /** * Location of the datacenter where the region is */ readonly datacenterLocation: pulumi.Output; /** * Allowed countries for failover ip */ readonly ipCountries: pulumi.Output; /** * Region name */ readonly name: pulumi.Output; /** * Region to add to your project */ readonly region: pulumi.Output; /** * Region name */ readonly regionName: pulumi.Output; /** * Service name. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ readonly serviceName: pulumi.Output; /** * Details about components status */ readonly services: pulumi.Output; /** * Openstack region status */ readonly status: pulumi.Output; /** * Region type */ readonly type: pulumi.Output; /** * Create a ProjectRegion resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ProjectRegionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProjectRegion resources. */ export interface ProjectRegionState { /** * Availability zones of the region */ availabilityZones?: pulumi.Input[]>; /** * Region continent code */ continentCode?: pulumi.Input; /** * Region country code */ countryCode?: pulumi.Input; /** * Location of the datacenter where the region is */ datacenterLocation?: pulumi.Input; /** * Allowed countries for failover ip */ ipCountries?: pulumi.Input[]>; /** * Region name */ name?: pulumi.Input; /** * Region to add to your project */ region?: pulumi.Input; /** * Region name */ regionName?: pulumi.Input; /** * Service name. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; /** * Details about components status */ services?: pulumi.Input[]>; /** * Openstack region status */ status?: pulumi.Input; /** * Region type */ type?: pulumi.Input; } /** * The set of arguments for constructing a ProjectRegion resource. */ export interface ProjectRegionArgs { /** * Region to add to your project */ region: pulumi.Input; /** * Service name. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; }