UNPKG

@pulumi/gcp

Version:

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

60 lines 2.29 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.getRegionSslCertificateOutput = exports.getRegionSslCertificate = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get info about a Region Google Compute SSL Certificate from its name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myCert = gcp.compute.getRegionSslCertificate({ * name: "my-cert", * }); * export const certificate = myCert.then(myCert => myCert.certificate); * export const certificateId = myCert.then(myCert => myCert.certificateId); * export const selfLink = myCert.then(myCert => myCert.selfLink); * ``` */ function getRegionSslCertificate(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:compute/getRegionSslCertificate:getRegionSslCertificate", { "name": args.name, "project": args.project, "region": args.region, }, opts); } exports.getRegionSslCertificate = getRegionSslCertificate; /** * Get info about a Region Google Compute SSL Certificate from its name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myCert = gcp.compute.getRegionSslCertificate({ * name: "my-cert", * }); * export const certificate = myCert.then(myCert => myCert.certificate); * export const certificateId = myCert.then(myCert => myCert.certificateId); * export const selfLink = myCert.then(myCert => myCert.selfLink); * ``` */ function getRegionSslCertificateOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:compute/getRegionSslCertificate:getRegionSslCertificate", { "name": args.name, "project": args.project, "region": args.region, }, opts); } exports.getRegionSslCertificateOutput = getRegionSslCertificateOutput; //# sourceMappingURL=getRegionSslCertificate.js.map