import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get information about a single consumer registered on a Barbican Key Manager container. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const consumer = ovh.getCloudKeyManagerContainerConsumer({ * serviceName: "Public cloud project ID", * containerId: "00000000-0000-0000-0000-000000000000", * consumerId: "Q09NUFVURTpJTlNUQU5DRToxMTExMTExMS0xMTExLTExMTEtMTExMS0xMTExMTExMTExMTE", * }); * export const consumerService = consumer.then(consumer => consumer.service); * ``` */ export declare function getCloudKeyManagerContainerConsumer(args: GetCloudKeyManagerContainerConsumerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudKeyManagerContainerConsumer. */ export interface GetCloudKeyManagerContainerConsumerArgs { /** * Consumer identifier, as returned in the `id` attribute of the `ovh.CloudKeyManagerContainerConsumer` resource and the `id` field of the `ovh.getCloudKeyManagerContainerConsumers` data source (the base64 identifier expected by the get-one endpoint). */ consumerId: string; /** * UUID 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 getCloudKeyManagerContainerConsumer. */ export interface GetCloudKeyManagerContainerConsumerResult { readonly consumerId: string; readonly containerId: string; /** * Computed consumer identifier. */ readonly id: string; /** * UUID of the resource consuming the container. */ readonly resourceId: string; /** * Type of the resource consuming the container. */ readonly resourceType: string; /** * OpenStack service type of the consumer. */ readonly service: string; readonly serviceName: string; } /** * Use this data source to get information about a single consumer registered on a Barbican Key Manager container. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const consumer = ovh.getCloudKeyManagerContainerConsumer({ * serviceName: "Public cloud project ID", * containerId: "00000000-0000-0000-0000-000000000000", * consumerId: "Q09NUFVURTpJTlNUQU5DRToxMTExMTExMS0xMTExLTExMTEtMTExMS0xMTExMTExMTExMTE", * }); * export const consumerService = consumer.then(consumer => consumer.service); * ``` */ export declare function getCloudKeyManagerContainerConsumerOutput(args: GetCloudKeyManagerContainerConsumerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudKeyManagerContainerConsumer. */ export interface GetCloudKeyManagerContainerConsumerOutputArgs { /** * Consumer identifier, as returned in the `id` attribute of the `ovh.CloudKeyManagerContainerConsumer` resource and the `id` field of the `ovh.getCloudKeyManagerContainerConsumers` data source (the base64 identifier expected by the get-one endpoint). */ consumerId: pulumi.Input; /** * UUID 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; }