@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
115 lines (114 loc) • 3.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get information about a TLS subscription.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const example = fastly.getTlsSubscription({
* domains: ["example.com"],
* });
* ```
*/
export declare function getTlsSubscription(args?: GetTlsSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise<GetTlsSubscriptionResult>;
/**
* A collection of arguments for invoking getTlsSubscription.
*/
export interface GetTlsSubscriptionArgs {
/**
* The entity that issues and certifies the TLS certificates for the subscription.
*/
certificateAuthority?: string;
/**
* ID of TLS configuration used to terminate TLS traffic.
*/
configurationId?: string;
/**
* List of domains on which to enable TLS.
*/
domains?: string[];
/**
* ID of TLS subscription. Conflicts with all the other filters.
*/
id?: string;
}
/**
* A collection of values returned by getTlsSubscription.
*/
export interface GetTlsSubscriptionResult {
/**
* The entity that issues and certifies the TLS certificates for the subscription.
*/
readonly certificateAuthority: string;
/**
* List of certificate IDs associated with the Subscription.
*/
readonly certificateIds: string[];
/**
* The common name associated with the subscription generated by Fastly TLS.
*/
readonly commonName: string;
/**
* ID of TLS configuration used to terminate TLS traffic.
*/
readonly configurationId: string;
/**
* Timestamp (GMT) when subscription was created.
*/
readonly createdAt: string;
/**
* List of domains on which to enable TLS.
*/
readonly domains: string[];
/**
* ID of TLS subscription. Conflicts with all the other filters.
*/
readonly id: string;
/**
* The current state of the subscription. The list of possible states are: `pending`, `processing`, `issued`, and `renewing`.
*/
readonly state: string;
/**
* Timestamp (GMT) when subscription was last updated.
*/
readonly updatedAt: string;
}
/**
* Use this data source to get information about a TLS subscription.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const example = fastly.getTlsSubscription({
* domains: ["example.com"],
* });
* ```
*/
export declare function getTlsSubscriptionOutput(args?: GetTlsSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTlsSubscriptionResult>;
/**
* A collection of arguments for invoking getTlsSubscription.
*/
export interface GetTlsSubscriptionOutputArgs {
/**
* The entity that issues and certifies the TLS certificates for the subscription.
*/
certificateAuthority?: pulumi.Input<string>;
/**
* ID of TLS configuration used to terminate TLS traffic.
*/
configurationId?: pulumi.Input<string>;
/**
* List of domains on which to enable TLS.
*/
domains?: pulumi.Input<pulumi.Input<string>[]>;
/**
* ID of TLS subscription. Conflicts with all the other filters.
*/
id?: pulumi.Input<string>;
}