UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

52 lines 1.89 kB
"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.getSecurityGatewayOutput = exports.getSecurityGateway = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get information about a Google BeyondCorp Security Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_beyondcorp_security_gateway = gcp.beyondcorp.getSecurityGateway({ * securityGatewayId: "my-beyondcorp-security-gateway", * }); * ``` */ function getSecurityGateway(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:beyondcorp/getSecurityGateway:getSecurityGateway", { "project": args.project, "securityGatewayId": args.securityGatewayId, }, opts); } exports.getSecurityGateway = getSecurityGateway; /** * Get information about a Google BeyondCorp Security Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_beyondcorp_security_gateway = gcp.beyondcorp.getSecurityGateway({ * securityGatewayId: "my-beyondcorp-security-gateway", * }); * ``` */ function getSecurityGatewayOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:beyondcorp/getSecurityGateway:getSecurityGateway", { "project": args.project, "securityGatewayId": args.securityGatewayId, }, opts); } exports.getSecurityGatewayOutput = getSecurityGatewayOutput; //# sourceMappingURL=getSecurityGateway.js.map