UNPKG

@pulumi/gcp

Version:

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

52 lines 1.62 kB
"use strict"; // *** 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.getHealthCheckOutput = exports.getHealthCheck = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get information about a HealthCheck. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const healthCheck = gcp.compute.getHealthCheck({ * name: "my-hc", * }); * ``` */ function getHealthCheck(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:compute/getHealthCheck:getHealthCheck", { "name": args.name, "project": args.project, }, opts); } exports.getHealthCheck = getHealthCheck; /** * Get information about a HealthCheck. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const healthCheck = gcp.compute.getHealthCheck({ * name: "my-hc", * }); * ``` */ function getHealthCheckOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:compute/getHealthCheck:getHealthCheck", { "name": args.name, "project": args.project, }, opts); } exports.getHealthCheckOutput = getHealthCheckOutput; //# sourceMappingURL=getHealthCheck.js.map