import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Creates a container registry associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const regcap = ovh.CloudProject.getCapabilitiesContainerFilter({ * serviceName: "XXXXXX", * planName: "SMALL", * region: "GRA", * }); * const myRegistry = new ovh.cloudproject.ContainerRegistry("my_registry", { * serviceName: regcap.then(regcap => regcap.serviceName), * planId: regcap.then(regcap => regcap.id), * region: regcap.then(regcap => regcap.region), * name: "mydockerregistry", * }); * ``` * * > **WARNING** You can update and migrate to a higher plan at any time but not the contrary. * * ## Import * * OVHcloud Managed Private Registry can be imported using the `service_name` and `id` of the registry, separated by "/" E.g., * * bash * * ```sh * $ pulumi import ovh:CloudProject/containerRegistry:ContainerRegistry my_registry service_name/registry_id * ``` */ export declare class ContainerRegistry extends pulumi.CustomResource { /** * Get an existing ContainerRegistry 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?: ContainerRegistryState, opts?: pulumi.CustomResourceOptions): ContainerRegistry; /** * Returns true if the given object is an instance of ContainerRegistry. 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 ContainerRegistry; /** * Plan creation date */ readonly createdAt: pulumi.Output; /** * OVHCloud IAM enabled */ readonly iamEnabled: pulumi.Output; /** * Registry name */ readonly name: pulumi.Output; /** * Plan ID of the registry */ readonly planId: pulumi.Output; /** * Plan of the registry */ readonly plans: pulumi.Output; /** * Project ID of your registry */ readonly projectId: pulumi.Output; /** * Region of the registry */ readonly region: pulumi.Output; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ readonly serviceName: pulumi.Output; /** * Current size of the registry (bytes) */ readonly size: pulumi.Output; /** * Registry status */ readonly status: pulumi.Output; /** * Registry last update date */ readonly updatedAt: pulumi.Output; /** * Access url of the registry */ readonly url: pulumi.Output; /** * Version of your registry */ readonly version: pulumi.Output; /** * Create a ContainerRegistry 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: ContainerRegistryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ContainerRegistry resources. */ export interface ContainerRegistryState { /** * Plan creation date */ createdAt?: pulumi.Input; /** * OVHCloud IAM enabled */ iamEnabled?: pulumi.Input; /** * Registry name */ name?: pulumi.Input; /** * Plan ID of the registry */ planId?: pulumi.Input; /** * Plan of the registry */ plans?: pulumi.Input[]>; /** * Project ID of your registry */ projectId?: pulumi.Input; /** * Region of the registry */ region?: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; /** * Current size of the registry (bytes) */ size?: pulumi.Input; /** * Registry status */ status?: pulumi.Input; /** * Registry last update date */ updatedAt?: pulumi.Input; /** * Access url of the registry */ url?: pulumi.Input; /** * Version of your registry */ version?: pulumi.Input; } /** * The set of arguments for constructing a ContainerRegistry resource. */ export interface ContainerRegistryArgs { /** * Registry name */ name?: pulumi.Input; /** * Plan ID of the registry */ planId?: pulumi.Input; /** * Region of the registry */ region: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; }