@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
25 lines • 1.01 kB
JavaScript
;
// *** 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.getApiGatewayOutput = exports.getApiGateway = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
function getApiGateway(args, opts) {
args = args || {};
if (!opts) {
opts = {};
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("yandex:index/getApiGateway:getApiGateway", {
"apiGatewayId": args.apiGatewayId,
"folderId": args.folderId,
"name": args.name,
}, opts);
}
exports.getApiGateway = getApiGateway;
function getApiGatewayOutput(args, opts) {
return pulumi.output(args).apply(a => getApiGateway(a, opts));
}
exports.getApiGatewayOutput = getApiGatewayOutput;
//# sourceMappingURL=getApiGateway.js.map