UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

56 lines 1.99 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.getCertificateOutput = exports.getCertificate = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source (`f5bigip.ssl.Certificate`) to get the ssl-certificate details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const test = f5bigip.ssl.getCertificate({ * name: "terraform_ssl_certificate", * partition: "Common", * }); * export const bigipSslCertificateName = test.then(test => test.name); * ``` */ function getCertificate(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("f5bigip:ssl/getCertificate:getCertificate", { "name": args.name, "partition": args.partition, }, opts); } exports.getCertificate = getCertificate; /** * Use this data source (`f5bigip.ssl.Certificate`) to get the ssl-certificate details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const test = f5bigip.ssl.getCertificate({ * name: "terraform_ssl_certificate", * partition: "Common", * }); * export const bigipSslCertificateName = test.then(test => test.name); * ``` */ function getCertificateOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("f5bigip:ssl/getCertificate:getCertificate", { "name": args.name, "partition": args.partition, }, opts); } exports.getCertificateOutput = getCertificateOutput; //# sourceMappingURL=getCertificate.js.map