import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about a DBaaS Logs encryption key. * * ## Example Usage * * ### By title * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const key = ovh.getDbaasLogsEncryptionKey({ * serviceName: "ldp-xx-xxxxx", * title: "my-encryption-key", * }); * ``` * * ### By encryption key ID * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const key = ovh.getDbaasLogsEncryptionKey({ * serviceName: "ldp-xx-xxxxx", * encryptionKeyId: "dc145bc2-eb01-4efe-a802-XXXXXX", * }); * ``` */ export declare function getDbaasLogsEncryptionKey(args: GetDbaasLogsEncryptionKeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbaasLogsEncryptionKey. */ export interface GetDbaasLogsEncryptionKeyArgs { /** * The encryption key ID. Conflicts with `title`. * * At least one of `title` or `encryptionKeyId` must be specified. */ encryptionKeyId?: string; /** * The LDP service name */ serviceName: string; /** * The encryption key title. Conflicts with `encryptionKeyId`. */ title?: string; } /** * A collection of values returned by getDbaasLogsEncryptionKey. */ export interface GetDbaasLogsEncryptionKeyResult { /** * The encryption key creation date */ readonly createdAt: string; readonly encryptionKeyId: string; /** * The PGP key fingerprint */ readonly fingerprint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates if the key is editable */ readonly isEditable: boolean; readonly serviceName: string; readonly title: string; } /** * Use this data source to retrieve information about a DBaaS Logs encryption key. * * ## Example Usage * * ### By title * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const key = ovh.getDbaasLogsEncryptionKey({ * serviceName: "ldp-xx-xxxxx", * title: "my-encryption-key", * }); * ``` * * ### By encryption key ID * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const key = ovh.getDbaasLogsEncryptionKey({ * serviceName: "ldp-xx-xxxxx", * encryptionKeyId: "dc145bc2-eb01-4efe-a802-XXXXXX", * }); * ``` */ export declare function getDbaasLogsEncryptionKeyOutput(args: GetDbaasLogsEncryptionKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbaasLogsEncryptionKey. */ export interface GetDbaasLogsEncryptionKeyOutputArgs { /** * The encryption key ID. Conflicts with `title`. * * At least one of `title` or `encryptionKeyId` must be specified. */ encryptionKeyId?: pulumi.Input; /** * The LDP service name */ serviceName: pulumi.Input; /** * The encryption key title. Conflicts with `encryptionKeyId`. */ title?: pulumi.Input; }