"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInstanceOutput = exports.getInstance = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to get information about a Lustre instance. For more information see the [API docs](https://cloud.google.com/filestore/docs/lustre/reference/rest/v1/projects.locations.instances).
 *
 * ## Example Usage
 */
function getInstance(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("gcp:lustre/getInstance:getInstance", {
        "instanceId": args.instanceId,
        "project": args.project,
        "zone": args.zone,
    }, opts);
}
exports.getInstance = getInstance;
/**
 * Use this data source to get information about a Lustre instance. For more information see the [API docs](https://cloud.google.com/filestore/docs/lustre/reference/rest/v1/projects.locations.instances).
 *
 * ## Example Usage
 */
function getInstanceOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("gcp:lustre/getInstance:getInstance", {
        "instanceId": args.instanceId,
        "project": args.project,
        "zone": args.zone,
    }, opts);
}
exports.getInstanceOutput = getInstanceOutput;
//# sourceMappingURL=getInstance.js.map