@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
111 lines (110 loc) • 3.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get information on a TLS activation, including the certificate used, and the domain on which TLS was enabled.
*
* > **Warning:** The data source's filters are applied using an **AND** boolean operator, so depending on the combination
* of filters, they may become mutually exclusive. The exception to this is `id` which must not be specified in combination
* with any of the others.
*
* > **Note:** If more or less than a single match is returned by the search, this provider will fail. Ensure that your search is specific enough to return a single key.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const example = fastly.getTlsActivation({
* domain: "example.com",
* });
* ```
*/
export declare function getTlsActivation(args?: GetTlsActivationArgs, opts?: pulumi.InvokeOptions): Promise<GetTlsActivationResult>;
/**
* A collection of arguments for invoking getTlsActivation.
*/
export interface GetTlsActivationArgs {
/**
* ID of the TLS Certificate used.
*/
certificateId?: string;
/**
* ID of the TLS Configuration used.
*/
configurationId?: string;
/**
* Domain that TLS was enabled on.
*/
domain?: string;
/**
* Fastly Activation ID. Conflicts with all other filters.
*/
id?: string;
}
/**
* A collection of values returned by getTlsActivation.
*/
export interface GetTlsActivationResult {
/**
* ID of the TLS Certificate used.
*/
readonly certificateId: string;
/**
* ID of the TLS Configuration used.
*/
readonly configurationId: string;
/**
* Timestamp (GMT) when TLS was enabled.
*/
readonly createdAt: string;
/**
* Domain that TLS was enabled on.
*/
readonly domain: string;
/**
* Fastly Activation ID. Conflicts with all other filters.
*/
readonly id: string;
}
/**
* Use this data source to get information on a TLS activation, including the certificate used, and the domain on which TLS was enabled.
*
* > **Warning:** The data source's filters are applied using an **AND** boolean operator, so depending on the combination
* of filters, they may become mutually exclusive. The exception to this is `id` which must not be specified in combination
* with any of the others.
*
* > **Note:** If more or less than a single match is returned by the search, this provider will fail. Ensure that your search is specific enough to return a single key.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const example = fastly.getTlsActivation({
* domain: "example.com",
* });
* ```
*/
export declare function getTlsActivationOutput(args?: GetTlsActivationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTlsActivationResult>;
/**
* A collection of arguments for invoking getTlsActivation.
*/
export interface GetTlsActivationOutputArgs {
/**
* ID of the TLS Certificate used.
*/
certificateId?: pulumi.Input<string>;
/**
* ID of the TLS Configuration used.
*/
configurationId?: pulumi.Input<string>;
/**
* Domain that TLS was enabled on.
*/
domain?: pulumi.Input<string>;
/**
* Fastly Activation ID. Conflicts with all other filters.
*/
id?: pulumi.Input<string>;
}