@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
54 lines • 1.78 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.getAppGatewayOutput = exports.getAppGateway = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Get information about a Google BeyondCorp App Gateway.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_beyondcorp_app_gateway = gcp.beyondcorp.getAppGateway({
* name: "my-beyondcorp-app-gateway",
* });
* ```
*/
function getAppGateway(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("gcp:beyondcorp/getAppGateway:getAppGateway", {
"name": args.name,
"project": args.project,
"region": args.region,
}, opts);
}
exports.getAppGateway = getAppGateway;
/**
* Get information about a Google BeyondCorp App Gateway.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_beyondcorp_app_gateway = gcp.beyondcorp.getAppGateway({
* name: "my-beyondcorp-app-gateway",
* });
* ```
*/
function getAppGatewayOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("gcp:beyondcorp/getAppGateway:getAppGateway", {
"name": args.name,
"project": args.project,
"region": args.region,
}, opts);
}
exports.getAppGatewayOutput = getAppGatewayOutput;
//# sourceMappingURL=getAppGateway.js.map