@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
43 lines (42 loc) • 1.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get the IDs of available 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.getTlsCertificateIds({});
* const exampleTlsActivation = new fastly.TlsActivation("example", {certificateId: example.then(example => example.ids?.[0])});
* ```
*/
export declare function getTlsCertificateIds(opts?: pulumi.InvokeOptions): Promise<GetTlsCertificateIdsResult>;
/**
* A collection of values returned by getTlsCertificateIds.
*/
export interface GetTlsCertificateIdsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of IDs corresponding to Custom TLS certificates.
*/
readonly ids: string[];
}
/**
* Use this data source to get the IDs of available 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.getTlsCertificateIds({});
* const exampleTlsActivation = new fastly.TlsActivation("example", {certificateId: example.then(example => example.ids?.[0])});
* ```
*/
export declare function getTlsCertificateIdsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTlsCertificateIdsResult>;