UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

58 lines 2.11 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.getCertificateProfileOutput = exports.getCertificateProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * CertificateProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up a single certificate profile object by its ID. * // The ID used here is from the API response log you provided. * const scmCertificateProfileDs = scm.getCertificateProfile({ * id: "8e64859b-eba9-4e25-9005-754c90c2b02d", * }); * export const exampleCpDsResult = scmCertificateProfileDs; * ``` */ function getCertificateProfile(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scm:index/getCertificateProfile:getCertificateProfile", { "id": args.id, "name": args.name, }, opts); } exports.getCertificateProfile = getCertificateProfile; /** * CertificateProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up a single certificate profile object by its ID. * // The ID used here is from the API response log you provided. * const scmCertificateProfileDs = scm.getCertificateProfile({ * id: "8e64859b-eba9-4e25-9005-754c90c2b02d", * }); * export const exampleCpDsResult = scmCertificateProfileDs; * ``` */ function getCertificateProfileOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scm:index/getCertificateProfile:getCertificateProfile", { "id": args.id, "name": args.name, }, opts); } exports.getCertificateProfileOutput = getCertificateProfileOutput; //# sourceMappingURL=getCertificateProfile.js.map