"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.plaintextsOutput = exports.plaintexts = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of kms plaintexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const encryptStable = new volcengine.kms.Ciphertext("encryptStable", {
 *     keyId: "c44870c3-f33b-421a-****-a2bba37c993e",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxlLg==",
 * });
 * const decrypt = volcengine.kms.getPlaintextsOutput({
 *     ciphertextBlob: encryptStable.ciphertextBlob,
 * });
 * ```
 */
/** @deprecated volcengine.kms.Plaintexts has been deprecated in favor of volcengine.kms.getPlaintexts */
function plaintexts(args, opts) {
    pulumi.log.warn("plaintexts is deprecated: volcengine.kms.Plaintexts has been deprecated in favor of volcengine.kms.getPlaintexts");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:kms/plaintexts:Plaintexts", {
        "ciphertextBlob": args.ciphertextBlob,
        "encryptionContext": args.encryptionContext,
        "outputFile": args.outputFile,
    }, opts);
}
exports.plaintexts = plaintexts;
/**
 * Use this data source to query detailed information of kms plaintexts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const encryptStable = new volcengine.kms.Ciphertext("encryptStable", {
 *     keyId: "c44870c3-f33b-421a-****-a2bba37c993e",
 *     plaintext: "VGhpcyBpcyBhIHBsYWludGV4dCBleGFtcGxlLg==",
 * });
 * const decrypt = volcengine.kms.getPlaintextsOutput({
 *     ciphertextBlob: encryptStable.ciphertextBlob,
 * });
 * ```
 */
/** @deprecated volcengine.kms.Plaintexts has been deprecated in favor of volcengine.kms.getPlaintexts */
function plaintextsOutput(args, opts) {
    return pulumi.output(args).apply((a) => plaintexts(a, opts));
}
exports.plaintextsOutput = plaintextsOutput;
//# sourceMappingURL=plaintexts.js.map