UNPKG

@pulumi/fastly

Version:

A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4

75 lines (74 loc) 2.12 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the IDs of activations, certificates and subscriptions associated with a domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const domain = fastly.getTlsDomain({ * domain: "example.com", * }); * ``` */ export declare function getTlsDomain(args: GetTlsDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetTlsDomainResult>; /** * A collection of arguments for invoking getTlsDomain. */ export interface GetTlsDomainArgs { /** * Domain name to look up activations, certificates and subscriptions for. */ domain: string; } /** * A collection of values returned by getTlsDomain. */ export interface GetTlsDomainResult { /** * Domain name to look up activations, certificates and subscriptions for. */ readonly domain: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * IDs of the activations associated with the domain. */ readonly tlsActivationIds: string[]; /** * IDs of the certificates associated with the domain. */ readonly tlsCertificateIds: string[]; /** * IDs of the subscriptions associated with the domain. */ readonly tlsSubscriptionIds: string[]; } /** * Use this data source to get the IDs of activations, certificates and subscriptions associated with a domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const domain = fastly.getTlsDomain({ * domain: "example.com", * }); * ``` */ export declare function getTlsDomainOutput(args: GetTlsDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTlsDomainResult>; /** * A collection of arguments for invoking getTlsDomain. */ export interface GetTlsDomainOutputArgs { /** * Domain name to look up activations, certificates and subscriptions for. */ domain: pulumi.Input<string>; }