import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates a container in the Barbican Key Manager service for a public cloud project. Containers hold references to secrets and are typically used to group related secrets such as TLS certificates. * * ## Import * * A Key Manager container can be imported using the `service_name` and `id`, separated by `/`: * * bash * * ```sh * $ pulumi import ovh:index/cloudKeyManagerContainer:CloudKeyManagerContainer my_container service_name/container_id * ``` */ export declare class CloudKeyManagerContainer extends pulumi.CustomResource { /** * Get an existing CloudKeyManagerContainer 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?: CloudKeyManagerContainerState, opts?: pulumi.CustomResourceOptions): CloudKeyManagerContainer; /** * Returns true if the given object is an instance of CloudKeyManagerContainer. 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 CloudKeyManagerContainer; /** * Availability zone where the container will be created. */ readonly availabilityZone: pulumi.Output; /** * Computed hash representing the current resource state. */ readonly checksum: pulumi.Output; /** * Creation date of the container. */ readonly createdAt: pulumi.Output; /** * Current state of the container as reported by OpenStack Barbican: */ readonly currentState: pulumi.Output; /** * Name of the container. */ readonly name: pulumi.Output; /** * Region where the container will be created. */ readonly region: pulumi.Output; /** * Container readiness status (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: pulumi.Output; /** * List of secret references in the container. Each element supports: */ readonly secretRefs: pulumi.Output; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ readonly serviceName: pulumi.Output; /** * Type of the container. Possible values: `CERTIFICATE`, `GENERIC`, `RSA`. */ readonly type: pulumi.Output; /** * Last update date of the container. */ readonly updatedAt: pulumi.Output; /** * Create a CloudKeyManagerContainer 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: CloudKeyManagerContainerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudKeyManagerContainer resources. */ export interface CloudKeyManagerContainerState { /** * Availability zone where the container will be created. */ availabilityZone?: pulumi.Input; /** * Computed hash representing the current resource state. */ checksum?: pulumi.Input; /** * Creation date of the container. */ createdAt?: pulumi.Input; /** * Current state of the container as reported by OpenStack Barbican: */ currentState?: pulumi.Input; /** * Name of the container. */ name?: pulumi.Input; /** * Region where the container will be created. */ region?: pulumi.Input; /** * Container readiness status (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ resourceStatus?: pulumi.Input; /** * List of secret references in the container. Each element supports: */ secretRefs?: pulumi.Input[]>; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; /** * Type of the container. Possible values: `CERTIFICATE`, `GENERIC`, `RSA`. */ type?: pulumi.Input; /** * Last update date of the container. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a CloudKeyManagerContainer resource. */ export interface CloudKeyManagerContainerArgs { /** * Availability zone where the container will be created. */ availabilityZone?: pulumi.Input; /** * Name of the container. */ name?: pulumi.Input; /** * Region where the container will be created. */ region: pulumi.Input; /** * List of secret references in the container. Each element supports: */ secretRefs?: pulumi.Input[]>; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; /** * Type of the container. Possible values: `CERTIFICATE`, `GENERIC`, `RSA`. */ type: pulumi.Input; }