"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.cfwDnsControlPoliciesOutput = exports.cfwDnsControlPolicies = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of cfw dns control policies
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooCfwDnsControlPolicy = new volcengine.cloud_firewall.CfwDnsControlPolicy("fooCfwDnsControlPolicy", {
 *     description: "acc-test-dns-control-policy",
 *     destinationType: "domain",
 *     destination: "www.test.com",
 *     sources: [{
 *         vpcId: fooVpc.id,
 *         region: "cn-beijing",
 *     }],
 * });
 * const fooCfwDnsControlPolicies = volcengine.cloud_firewall.getCfwDnsControlPoliciesOutput({
 *     ids: [fooCfwDnsControlPolicy.id],
 * });
 * ```
 */
/** @deprecated volcengine.cloud_firewall.CfwDnsControlPolicies has been deprecated in favor of volcengine.cloud_firewall.getCfwDnsControlPolicies */
function cfwDnsControlPolicies(args, opts) {
    pulumi.log.warn("cfwDnsControlPolicies is deprecated: volcengine.cloud_firewall.CfwDnsControlPolicies has been deprecated in favor of volcengine.cloud_firewall.getCfwDnsControlPolicies");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:cloud_firewall/cfwDnsControlPolicies:CfwDnsControlPolicies", {
        "description": args.description,
        "destinations": args.destinations,
        "ids": args.ids,
        "internetFirewallId": args.internetFirewallId,
        "outputFile": args.outputFile,
        "sources": args.sources,
        "statuses": args.statuses,
    }, opts);
}
exports.cfwDnsControlPolicies = cfwDnsControlPolicies;
/**
 * Use this data source to query detailed information of cfw dns control policies
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooCfwDnsControlPolicy = new volcengine.cloud_firewall.CfwDnsControlPolicy("fooCfwDnsControlPolicy", {
 *     description: "acc-test-dns-control-policy",
 *     destinationType: "domain",
 *     destination: "www.test.com",
 *     sources: [{
 *         vpcId: fooVpc.id,
 *         region: "cn-beijing",
 *     }],
 * });
 * const fooCfwDnsControlPolicies = volcengine.cloud_firewall.getCfwDnsControlPoliciesOutput({
 *     ids: [fooCfwDnsControlPolicy.id],
 * });
 * ```
 */
/** @deprecated volcengine.cloud_firewall.CfwDnsControlPolicies has been deprecated in favor of volcengine.cloud_firewall.getCfwDnsControlPolicies */
function cfwDnsControlPoliciesOutput(args, opts) {
    return pulumi.output(args).apply((a) => cfwDnsControlPolicies(a, opts));
}
exports.cfwDnsControlPoliciesOutput = cfwDnsControlPoliciesOutput;
//# sourceMappingURL=cfwDnsControlPolicies.js.map