@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
48 lines • 2.03 kB
JavaScript
;
// *** 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.getTlsPlatformCertificateIdsOutput = exports.getTlsPlatformCertificateIds = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to get the IDs of available Platform TLS Certificates for use with other resources.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const example = fastly.getTlsPlatformCertificateIds({});
* const exampleGetTlsPlatformCertificate = example.then(example => fastly.getTlsPlatformCertificate({
* id: example.ids?.[0],
* }));
* ```
*/
function getTlsPlatformCertificateIds(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fastly:index/getTlsPlatformCertificateIds:getTlsPlatformCertificateIds", {}, opts);
}
exports.getTlsPlatformCertificateIds = getTlsPlatformCertificateIds;
/**
* Use this data source to get the IDs of available Platform TLS Certificates for use with other resources.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const example = fastly.getTlsPlatformCertificateIds({});
* const exampleGetTlsPlatformCertificate = example.then(example => fastly.getTlsPlatformCertificate({
* id: example.ids?.[0],
* }));
* ```
*/
function getTlsPlatformCertificateIdsOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("fastly:index/getTlsPlatformCertificateIds:getTlsPlatformCertificateIds", {}, opts);
}
exports.getTlsPlatformCertificateIdsOutput = getTlsPlatformCertificateIdsOutput;
//# sourceMappingURL=getTlsPlatformCertificateIds.js.map