"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.vpcEndpointServicesOutput = exports.vpcEndpointServices = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of privatelink vpc endpoint services
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooClb = new volcengine.clb.Clb("fooClb", {
 *     type: "public",
 *     subnetId: fooSubnet.id,
 *     loadBalancerSpec: "small_1",
 *     description: "acc-test-demo",
 *     loadBalancerName: "acc-test-clb",
 *     loadBalancerBillingType: "PostPaid",
 *     eipBillingConfig: {
 *         isp: "BGP",
 *         eipBillingType: "PostPaidByBandwidth",
 *         bandwidth: 1,
 *     },
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooVpcEndpointService: volcengine.privatelink.VpcEndpointService[] = [];
 * for (const range = {value: 0}; range.value < 2; range.value++) {
 *     fooVpcEndpointService.push(new volcengine.privatelink.VpcEndpointService(`fooVpcEndpointService-${range.value}`, {
 *         resources: [{
 *             resourceId: fooClb.id,
 *             resourceType: "CLB",
 *         }],
 *         description: "acc-test",
 *         autoAcceptEnabled: true,
 *     }));
 * }
 * const fooVpcEndpointServices = volcengine.privatelink.getVpcEndpointServicesOutput({
 *     ids: fooVpcEndpointService.map(__item => __item.id),
 * });
 * ```
 */
/** @deprecated volcengine.privatelink.VpcEndpointServices has been deprecated in favor of volcengine.privatelink.getVpcEndpointServices */
function vpcEndpointServices(args, opts) {
    pulumi.log.warn("vpcEndpointServices is deprecated: volcengine.privatelink.VpcEndpointServices has been deprecated in favor of volcengine.privatelink.getVpcEndpointServices");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:privatelink/vpcEndpointServices:VpcEndpointServices", {
        "ids": args.ids,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "serviceName": args.serviceName,
        "tags": args.tags,
    }, opts);
}
exports.vpcEndpointServices = vpcEndpointServices;
/**
 * Use this data source to query detailed information of privatelink vpc endpoint services
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooClb = new volcengine.clb.Clb("fooClb", {
 *     type: "public",
 *     subnetId: fooSubnet.id,
 *     loadBalancerSpec: "small_1",
 *     description: "acc-test-demo",
 *     loadBalancerName: "acc-test-clb",
 *     loadBalancerBillingType: "PostPaid",
 *     eipBillingConfig: {
 *         isp: "BGP",
 *         eipBillingType: "PostPaidByBandwidth",
 *         bandwidth: 1,
 *     },
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooVpcEndpointService: volcengine.privatelink.VpcEndpointService[] = [];
 * for (const range = {value: 0}; range.value < 2; range.value++) {
 *     fooVpcEndpointService.push(new volcengine.privatelink.VpcEndpointService(`fooVpcEndpointService-${range.value}`, {
 *         resources: [{
 *             resourceId: fooClb.id,
 *             resourceType: "CLB",
 *         }],
 *         description: "acc-test",
 *         autoAcceptEnabled: true,
 *     }));
 * }
 * const fooVpcEndpointServices = volcengine.privatelink.getVpcEndpointServicesOutput({
 *     ids: fooVpcEndpointService.map(__item => __item.id),
 * });
 * ```
 */
/** @deprecated volcengine.privatelink.VpcEndpointServices has been deprecated in favor of volcengine.privatelink.getVpcEndpointServices */
function vpcEndpointServicesOutput(args, opts) {
    return pulumi.output(args).apply((a) => vpcEndpointServices(a, opts));
}
exports.vpcEndpointServicesOutput = vpcEndpointServicesOutput;
//# sourceMappingURL=vpcEndpointServices.js.map