@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
47 lines (46 loc) • 1.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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],
* });
* ```
*/
export declare function getTlsPrivateKeyIds(opts?: pulumi.InvokeOptions): Promise<GetTlsPrivateKeyIdsResult>;
/**
* A collection of values returned by getTlsPrivateKeyIds.
*/
export interface GetTlsPrivateKeyIdsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of IDs of the TLS private keys.
*/
readonly ids: string[];
}
/**
* 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],
* });
* ```
*/
export declare function getTlsPrivateKeyIdsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTlsPrivateKeyIdsResult>;