@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
48 lines • 1.75 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.getTlsPrivateKeyIdsOutput = exports.getTlsPrivateKeyIds = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to get the list of TLS private key identifiers in Fastly.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const demo = fastly.getTlsPrivateKeyIds({});
* const example = fastly.getTlsPrivateKey({
* id: demoFastlyTlsPrivateKeyIds.ids[0],
* });
* ```
*/
function getTlsPrivateKeyIds(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fastly:index/getTlsPrivateKeyIds:getTlsPrivateKeyIds", {}, opts);
}
exports.getTlsPrivateKeyIds = getTlsPrivateKeyIds;
/**
* Use this data source to get the list of TLS private key identifiers in Fastly.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const demo = fastly.getTlsPrivateKeyIds({});
* const example = fastly.getTlsPrivateKey({
* id: demoFastlyTlsPrivateKeyIds.ids[0],
* });
* ```
*/
function getTlsPrivateKeyIdsOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("fastly:index/getTlsPrivateKeyIds:getTlsPrivateKeyIds", {}, opts);
}
exports.getTlsPrivateKeyIdsOutput = getTlsPrivateKeyIdsOutput;
//# sourceMappingURL=getTlsPrivateKeyIds.js.map