"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.getTagResourcesOutput = exports.getTagResources = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls tag resources
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const basic = volcengine.tls.getTagResources({
 *     maxResults: 10,
 *     resourceIds: ["6e6ea17f-ee1d-494f-83f7-c3ecc5c351ea"],
 *     resourceType: "project",
 * });
 * const withFilters = volcengine.tls.getTagResources({
 *     maxResults: 50,
 *     resourceIds: [
 *         "project-123456",
 *         "project-789012",
 *     ],
 *     resourceType: "project",
 *     tagFilters: [
 *         {
 *             key: "environment",
 *             values: [
 *                 "production",
 *                 "development",
 *             ],
 *         },
 *         {
 *             key: "department",
 *             values: ["devops"],
 *         },
 *     ],
 * });
 * const firstPage = volcengine.tls.getTagResources({
 *     maxResults: 20,
 *     resourceIds: ["topic-123456"],
 *     resourceType: "topic",
 * });
 * ```
 */
function getTagResources(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/getTagResources:getTagResources", {
        "maxResults": args.maxResults,
        "nextToken": args.nextToken,
        "outputFile": args.outputFile,
        "resourceIds": args.resourceIds,
        "resourceType": args.resourceType,
        "tagFilters": args.tagFilters,
    }, opts);
}
exports.getTagResources = getTagResources;
/**
 * Use this data source to query detailed information of tls tag resources
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const basic = volcengine.tls.getTagResources({
 *     maxResults: 10,
 *     resourceIds: ["6e6ea17f-ee1d-494f-83f7-c3ecc5c351ea"],
 *     resourceType: "project",
 * });
 * const withFilters = volcengine.tls.getTagResources({
 *     maxResults: 50,
 *     resourceIds: [
 *         "project-123456",
 *         "project-789012",
 *     ],
 *     resourceType: "project",
 *     tagFilters: [
 *         {
 *             key: "environment",
 *             values: [
 *                 "production",
 *                 "development",
 *             ],
 *         },
 *         {
 *             key: "department",
 *             values: ["devops"],
 *         },
 *     ],
 * });
 * const firstPage = volcengine.tls.getTagResources({
 *     maxResults: 20,
 *     resourceIds: ["topic-123456"],
 *     resourceType: "topic",
 * });
 * ```
 */
function getTagResourcesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getTagResources(a, opts));
}
exports.getTagResourcesOutput = getTagResourcesOutput;
//# sourceMappingURL=getTagResources.js.map