"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.vpcEndpointsOutput = exports.vpcEndpoints = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of cr vpc endpoints
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.cr.getVpcEndpoints({
 *     registry: "enterprise-1",
 *     statuses: [
 *         "Enabled",
 *         "Enabling",
 *         "Disabling",
 *         "Failed",
 *     ],
 * });
 * ```
 */
/** @deprecated volcengine.cr.VpcEndpoints has been deprecated in favor of volcengine.cr.getVpcEndpoints */
function vpcEndpoints(args, opts) {
    pulumi.log.warn("vpcEndpoints is deprecated: volcengine.cr.VpcEndpoints has been deprecated in favor of volcengine.cr.getVpcEndpoints");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:cr/vpcEndpoints:VpcEndpoints", {
        "outputFile": args.outputFile,
        "registry": args.registry,
        "statuses": args.statuses,
    }, opts);
}
exports.vpcEndpoints = vpcEndpoints;
/**
 * Use this data source to query detailed information of cr vpc endpoints
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.cr.getVpcEndpoints({
 *     registry: "enterprise-1",
 *     statuses: [
 *         "Enabled",
 *         "Enabling",
 *         "Disabling",
 *         "Failed",
 *     ],
 * });
 * ```
 */
/** @deprecated volcengine.cr.VpcEndpoints has been deprecated in favor of volcengine.cr.getVpcEndpoints */
function vpcEndpointsOutput(args, opts) {
    return pulumi.output(args).apply((a) => vpcEndpoints(a, opts));
}
exports.vpcEndpointsOutput = vpcEndpointsOutput;
//# sourceMappingURL=vpcEndpoints.js.map