UNPKG

@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.5 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the IDs of available TLS configurations for use with other resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const example = fastly.getTlsConfigurationIds({}); * const exampleTlsActivation = new fastly.TlsActivation("example", {configurationId: example.then(example => example.ids?.[0])}); * ``` */ export declare function getTlsConfigurationIds(opts?: pulumi.InvokeOptions): Promise<GetTlsConfigurationIdsResult>; /** * A collection of values returned by getTlsConfigurationIds. */ export interface GetTlsConfigurationIdsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of IDs corresponding to available TLS configurations. */ readonly ids: string[]; } /** * Use this data source to get the IDs of available TLS configurations for use with other resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const example = fastly.getTlsConfigurationIds({}); * const exampleTlsActivation = new fastly.TlsActivation("example", {configurationId: example.then(example => example.ids?.[0])}); * ``` */ export declare function getTlsConfigurationIdsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTlsConfigurationIdsResult>;