import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to get information about a single container in the Barbican Key Manager service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const container = ovh.getCloudKeyManagerContainer({ * serviceName: "Public cloud project ID", * containerId: "00000000-0000-0000-0000-000000000000", * }); * export const containerName = container.then(container => container.name); * ``` */ export declare function getCloudKeyManagerContainer(args: GetCloudKeyManagerContainerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudKeyManagerContainer. */ export interface GetCloudKeyManagerContainerArgs { /** * ID of the container. */ containerId: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getCloudKeyManagerContainer. */ export interface GetCloudKeyManagerContainerResult { /** * Computed hash representing the current resource state. */ readonly checksum: string; readonly containerId: string; /** * Creation date of the container. */ readonly createdAt: string; /** * Current state of the container as reported by OpenStack Barbican: */ readonly currentState: outputs.GetCloudKeyManagerContainerCurrentState; /** * ID of the container. */ readonly id: string; /** * Location of the container: */ readonly location: outputs.GetCloudKeyManagerContainerLocation; /** * Name of the secret reference. */ readonly name: string; /** * Container readiness status. */ readonly resourceStatus: string; readonly serviceName: string; /** * Type of the container. Possible values: `CERTIFICATE`, `GENERIC`, `RSA`. */ readonly type: string; /** * Last update date of the container. */ readonly updatedAt: string; } /** * Use this data source to get information about a single container in the Barbican Key Manager service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const container = ovh.getCloudKeyManagerContainer({ * serviceName: "Public cloud project ID", * containerId: "00000000-0000-0000-0000-000000000000", * }); * export const containerName = container.then(container => container.name); * ``` */ export declare function getCloudKeyManagerContainerOutput(args: GetCloudKeyManagerContainerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudKeyManagerContainer. */ export interface GetCloudKeyManagerContainerOutputArgs { /** * ID of the container. */ containerId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }