import * as pulumi from "@pulumi/pulumi"; /** * Creates a user for 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 registry = ovh.CloudProject.getContainerRegistry({ * serviceName: "XXXXXX", * registryId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * const user = new ovh.cloudproject.ContainerRegistryUser("user", { * serviceName: registryOvhCloudProjectContainerregistry.serviceName, * registryId: registryOvhCloudProjectContainerregistry.id, * email: "foo@bar.com", * login: "foobar", * }); * ``` * * ## Import * * OVHcloud Managed Private Registry user can be imported using the `service_name`, `registry_id` and `id` of the user, separated by "/" E.g., * * bash * * ```sh * $ pulumi import ovh:CloudProject/containerRegistryUser:ContainerRegistryUser my_user service_name/registry_id/user_id * ``` */ export declare class ContainerRegistryUser extends pulumi.CustomResource { /** * Get an existing ContainerRegistryUser 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?: ContainerRegistryUserState, opts?: pulumi.CustomResourceOptions): ContainerRegistryUser; /** * Returns true if the given object is an instance of ContainerRegistryUser. 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 ContainerRegistryUser; /** * User email */ readonly email: pulumi.Output; /** * User name */ readonly login: pulumi.Output; /** * (Sensitive) User password */ readonly password: pulumi.Output; /** * Registry ID */ readonly registryId: pulumi.Output; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ readonly serviceName: pulumi.Output; /** * User name (same as `login`) */ readonly user: pulumi.Output; /** * Create a ContainerRegistryUser 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: ContainerRegistryUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ContainerRegistryUser resources. */ export interface ContainerRegistryUserState { /** * User email */ email?: pulumi.Input; /** * User name */ login?: pulumi.Input; /** * (Sensitive) User password */ password?: pulumi.Input; /** * Registry ID */ registryId?: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; /** * User name (same as `login`) */ user?: pulumi.Input; } /** * The set of arguments for constructing a ContainerRegistryUser resource. */ export interface ContainerRegistryUserArgs { /** * User email */ email: pulumi.Input; /** * User name */ login: pulumi.Input; /** * Registry ID */ registryId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; }