import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Import * * Cloud project can be imported using the `project_id`. * * Using the following configuration: * * terraform * * import { * * to = ovh_cloud_project.my_cloud_project * * id = "" * * } * * You can then run: * * bash * * $ pulumi preview -generate-config-out=cloudproject.tf * * $ pulumi up * * The file `cloudproject.tf` will then contain the imported resource's configuration, that can be copied next to the `import` block above. See https://developer.hashicorp.com/terraform/language/import/generating-configuration for more details. */ export declare class Project extends pulumi.CustomResource { /** * Get an existing Project 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?: ProjectState, opts?: pulumi.CustomResourceOptions): Project; /** * Returns true if the given object is an instance of Project. 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 Project; /** * The URN of the cloud project */ readonly ProjectURN: pulumi.Output; readonly access: pulumi.Output; /** * Prevent the cloud project from being destroyed. Defaults to false. */ readonly deletionProtection: pulumi.Output; /** * A description associated with the user. */ readonly description: pulumi.Output; /** * Details about the order that was used to create the public cloud project */ readonly orders: pulumi.Output; /** * OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json) */ readonly ovhSubsidiary: pulumi.Output; /** * Ovh payment mode * * @deprecated This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used. */ readonly paymentMean: pulumi.Output; /** * Product Plan to order */ readonly plan: pulumi.Output; /** * Product Plan to order */ readonly planOptions: pulumi.Output; /** * openstack project id */ readonly projectId: pulumi.Output; /** * openstack project name */ readonly projectName: pulumi.Output; /** * project status */ readonly status: pulumi.Output; /** * Create a Project 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?: ProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Project resources. */ export interface ProjectState { /** * The URN of the cloud project */ ProjectURN?: pulumi.Input; access?: pulumi.Input; /** * Prevent the cloud project from being destroyed. Defaults to false. */ deletionProtection?: pulumi.Input; /** * A description associated with the user. */ description?: pulumi.Input; /** * Details about the order that was used to create the public cloud project */ orders?: pulumi.Input[]>; /** * OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json) */ ovhSubsidiary?: pulumi.Input; /** * Ovh payment mode * * @deprecated This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used. */ paymentMean?: pulumi.Input; /** * Product Plan to order */ plan?: pulumi.Input; /** * Product Plan to order */ planOptions?: pulumi.Input[]>; /** * openstack project id */ projectId?: pulumi.Input; /** * openstack project name */ projectName?: pulumi.Input; /** * project status */ status?: pulumi.Input; } /** * The set of arguments for constructing a Project resource. */ export interface ProjectArgs { /** * Prevent the cloud project from being destroyed. Defaults to false. */ deletionProtection?: pulumi.Input; /** * A description associated with the user. */ description?: pulumi.Input; /** * Details about the order that was used to create the public cloud project */ orders?: pulumi.Input[]>; /** * OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json) */ ovhSubsidiary?: pulumi.Input; /** * Ovh payment mode * * @deprecated This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used. */ paymentMean?: pulumi.Input; /** * Product Plan to order */ plan?: pulumi.Input; /** * Product Plan to order */ planOptions?: pulumi.Input[]>; }