"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.serviceControlPoliciesOutput = exports.serviceControlPolicies = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of organization service control policies
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.organization.getServiceControlPolicies({
 *     policyType: "Custom",
 *     query: "test",
 * });
 * ```
 */
/** @deprecated volcengine.organization.ServiceControlPolicies has been deprecated in favor of volcengine.organization.getServiceControlPolicies */
function serviceControlPolicies(args, opts) {
    pulumi.log.warn("serviceControlPolicies is deprecated: volcengine.organization.ServiceControlPolicies has been deprecated in favor of volcengine.organization.getServiceControlPolicies");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:organization/serviceControlPolicies:ServiceControlPolicies", {
        "outputFile": args.outputFile,
        "policyType": args.policyType,
        "query": args.query,
    }, opts);
}
exports.serviceControlPolicies = serviceControlPolicies;
/**
 * Use this data source to query detailed information of organization service control policies
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.organization.getServiceControlPolicies({
 *     policyType: "Custom",
 *     query: "test",
 * });
 * ```
 */
/** @deprecated volcengine.organization.ServiceControlPolicies has been deprecated in favor of volcengine.organization.getServiceControlPolicies */
function serviceControlPoliciesOutput(args, opts) {
    return pulumi.output(args).apply((a) => serviceControlPolicies(a, opts));
}
exports.serviceControlPoliciesOutput = serviceControlPoliciesOutput;
//# sourceMappingURL=serviceControlPolicies.js.map