"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.getGrantInstancesOutput = exports.getGrantInstances = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of cen grant instances
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.cen.getGrantInstances({
 *     instanceId: "vpc-2bysvq1xx543k2dx0eeul****",
 *     instanceRegionId: "cn-beijing",
 *     instanceType: "VPC",
 * });
 * ```
 */
function getGrantInstances(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:cen/getGrantInstances:getGrantInstances", {
        "instanceId": args.instanceId,
        "instanceRegionId": args.instanceRegionId,
        "instanceType": args.instanceType,
        "outputFile": args.outputFile,
    }, opts);
}
exports.getGrantInstances = getGrantInstances;
/**
 * Use this data source to query detailed information of cen grant instances
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.cen.getGrantInstances({
 *     instanceId: "vpc-2bysvq1xx543k2dx0eeul****",
 *     instanceRegionId: "cn-beijing",
 *     instanceType: "VPC",
 * });
 * ```
 */
function getGrantInstancesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getGrantInstances(a, opts));
}
exports.getGrantInstancesOutput = getGrantInstancesOutput;
//# sourceMappingURL=getGrantInstances.js.map