@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
128 lines • 3.99 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets information about an Edge Services TLS stage.
*
* A TLS stage manages TLS/SSL certificates for an Edge Services pipeline, supporting both managed Let's Encrypt certificates and custom certificates stored in Scaleway Secret Manager.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services TLS stage by its ID
* const byId = scaleway.edgeservices.getTlsStage({
* tlsStageId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services TLS stage by pipeline ID
* const byPipeline = scaleway.edgeservices.getTlsStage({
* pipelineId: main.id,
* });
* ```
*/
export declare function getTlsStage(args?: GetTlsStageArgs, opts?: pulumi.InvokeOptions): Promise<GetTlsStageResult>;
/**
* A collection of arguments for invoking getTlsStage.
*/
export interface GetTlsStageArgs {
/**
* The ID of the pipeline.
*/
pipelineId?: string;
/**
* Secret ID to filter for.
*/
secretId?: string;
/**
* Secret region to filter for.
*/
secretRegion?: string;
/**
* The ID of the TLS stage. Conflicts with all filter arguments below.
*
* The following filter arguments are supported (cannot be used with `tlsStageId`):
*/
tlsStageId?: string;
}
/**
* A collection of values returned by getTlsStage.
*/
export interface GetTlsStageResult {
readonly backendStageId: string;
readonly cacheStageId: string;
readonly certificateExpiresAt: string;
readonly createdAt: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly managedCertificate: boolean;
readonly pipelineId?: string;
readonly projectId: string;
readonly routeStageId: string;
readonly secretId?: string;
readonly secretRegion?: string;
readonly secrets: outputs.edgeservices.GetTlsStageSecret[];
readonly tlsStageId?: string;
readonly updatedAt: string;
readonly wafStageId: string;
}
/**
* Gets information about an Edge Services TLS stage.
*
* A TLS stage manages TLS/SSL certificates for an Edge Services pipeline, supporting both managed Let's Encrypt certificates and custom certificates stored in Scaleway Secret Manager.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services TLS stage by its ID
* const byId = scaleway.edgeservices.getTlsStage({
* tlsStageId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services TLS stage by pipeline ID
* const byPipeline = scaleway.edgeservices.getTlsStage({
* pipelineId: main.id,
* });
* ```
*/
export declare function getTlsStageOutput(args?: GetTlsStageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTlsStageResult>;
/**
* A collection of arguments for invoking getTlsStage.
*/
export interface GetTlsStageOutputArgs {
/**
* The ID of the pipeline.
*/
pipelineId?: pulumi.Input<string | undefined>;
/**
* Secret ID to filter for.
*/
secretId?: pulumi.Input<string | undefined>;
/**
* Secret region to filter for.
*/
secretRegion?: pulumi.Input<string | undefined>;
/**
* The ID of the TLS stage. Conflicts with all filter arguments below.
*
* The following filter arguments are supported (cannot be used with `tlsStageId`):
*/
tlsStageId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getTlsStage.d.ts.map