@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
54 lines • 1.71 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.getHcVpnGatewayOutput = exports.getHcVpnGateway = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Get a HA VPN Gateway within GCE from its name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const gateway = gcp.compute.getHcVpnGateway({
* name: "foobar",
* });
* ```
*/
function getHcVpnGateway(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("gcp:compute/getHcVpnGateway:getHcVpnGateway", {
"name": args.name,
"project": args.project,
"region": args.region,
}, opts);
}
exports.getHcVpnGateway = getHcVpnGateway;
/**
* Get a HA VPN Gateway within GCE from its name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const gateway = gcp.compute.getHcVpnGateway({
* name: "foobar",
* });
* ```
*/
function getHcVpnGatewayOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("gcp:compute/getHcVpnGateway:getHcVpnGateway", {
"name": args.name,
"project": args.project,
"region": args.region,
}, opts);
}
exports.getHcVpnGatewayOutput = getHcVpnGatewayOutput;
//# sourceMappingURL=getHcVpnGateway.js.map