import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of privatelink vpc endpoint service permissions
 * ## 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 = new volcengine.privatelink.VpcEndpointService("fooVpcEndpointService", {
 *     resources: [{
 *         resourceId: fooClb.id,
 *         resourceType: "CLB",
 *     }],
 *     description: "acc-test",
 *     autoAcceptEnabled: true,
 * });
 * const fooVpcEndpointServicePermission = new volcengine.privatelink.VpcEndpointServicePermission("fooVpcEndpointServicePermission", {
 *     serviceId: fooVpcEndpointService.id,
 *     permitAccountId: "210000000",
 * });
 * const fooVpcEndpointServicePermissions = volcengine.privatelink.getVpcEndpointServicePermissionsOutput({
 *     permitAccountId: fooVpcEndpointServicePermission.permitAccountId,
 *     serviceId: fooVpcEndpointService.id,
 * });
 * ```
 */
/** @deprecated volcengine.privatelink.VpcEndpointServicePermissions has been deprecated in favor of volcengine.privatelink.getVpcEndpointServicePermissions */
export declare function vpcEndpointServicePermissions(args: VpcEndpointServicePermissionsArgs, opts?: pulumi.InvokeOptions): Promise<VpcEndpointServicePermissionsResult>;
/**
 * A collection of arguments for invoking VpcEndpointServicePermissions.
 */
export interface VpcEndpointServicePermissionsArgs {
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The Id of permit account.
     */
    permitAccountId?: string;
    /**
     * The Id of service.
     */
    serviceId: string;
}
/**
 * A collection of values returned by VpcEndpointServicePermissions.
 */
export interface VpcEndpointServicePermissionsResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly outputFile?: string;
    /**
     * The collection of query.
     */
    readonly permissions: outputs.privatelink.VpcEndpointServicePermissionsPermission[];
    /**
     * The permit account id.
     */
    readonly permitAccountId?: string;
    readonly serviceId: string;
    /**
     * Returns the total amount of the data list.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of privatelink vpc endpoint service permissions
 * ## 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 = new volcengine.privatelink.VpcEndpointService("fooVpcEndpointService", {
 *     resources: [{
 *         resourceId: fooClb.id,
 *         resourceType: "CLB",
 *     }],
 *     description: "acc-test",
 *     autoAcceptEnabled: true,
 * });
 * const fooVpcEndpointServicePermission = new volcengine.privatelink.VpcEndpointServicePermission("fooVpcEndpointServicePermission", {
 *     serviceId: fooVpcEndpointService.id,
 *     permitAccountId: "210000000",
 * });
 * const fooVpcEndpointServicePermissions = volcengine.privatelink.getVpcEndpointServicePermissionsOutput({
 *     permitAccountId: fooVpcEndpointServicePermission.permitAccountId,
 *     serviceId: fooVpcEndpointService.id,
 * });
 * ```
 */
/** @deprecated volcengine.privatelink.VpcEndpointServicePermissions has been deprecated in favor of volcengine.privatelink.getVpcEndpointServicePermissions */
export declare function vpcEndpointServicePermissionsOutput(args: VpcEndpointServicePermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<VpcEndpointServicePermissionsResult>;
/**
 * A collection of arguments for invoking VpcEndpointServicePermissions.
 */
export interface VpcEndpointServicePermissionsOutputArgs {
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The Id of permit account.
     */
    permitAccountId?: pulumi.Input<string>;
    /**
     * The Id of service.
     */
    serviceId: pulumi.Input<string>;
}
