import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * Creates and manages Scaleway Edge Services TLS Stages.
 *
 * ## Example Usage
 *
 * ### Managed
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as scaleway from "@pulumiverse/scaleway";
 *
 * const main = new scaleway.edgeservices.TlsStage("main", {
 *     pipelineId: mainScalewayEdgeServicesPipeline.id,
 *     managedCertificate: true,
 * });
 * ```
 *
 * ### With a certificate stored in Scaleway Secret Manager
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as scaleway from "@pulumiverse/scaleway";
 *
 * const main = new scaleway.edgeservices.TlsStage("main", {
 *     pipelineId: mainScalewayEdgeServicesPipeline.id,
 *     secrets: [{
 *         secretId: "11111111-1111-1111-1111-111111111111",
 *         region: "fr-par",
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * TLS stages can be imported using the `{id}`, e.g.
 *
 * ```sh
 * $ pulumi import scaleway:index/edgeServicesTlsStage:EdgeServicesTlsStage basic 11111111-1111-1111-1111-111111111111
 * ```
 *
 * @deprecated scaleway.index/edgeservicestlsstage.EdgeServicesTlsStage has been deprecated in favor of scaleway.edgeservices/tlsstage.TlsStage
 */
export declare class EdgeServicesTlsStage extends pulumi.CustomResource {
    /**
     * Get an existing EdgeServicesTlsStage resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeServicesTlsStageState, opts?: pulumi.CustomResourceOptions): EdgeServicesTlsStage;
    /**
     * Returns true if the given object is an instance of EdgeServicesTlsStage.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is EdgeServicesTlsStage;
    /**
     * The backend stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    readonly backendStageId: pulumi.Output<string>;
    /**
     * The cache stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    readonly cacheStageId: pulumi.Output<string>;
    /**
     * The expiration date of the certificate.
     */
    readonly certificateExpiresAt: pulumi.Output<string>;
    /**
     * The date and time of the creation of the TLS stage.
     */
    readonly createdAt: pulumi.Output<string>;
    /**
     * Set to true when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
     */
    readonly managedCertificate: pulumi.Output<boolean>;
    /**
     * The ID of the pipeline.
     */
    readonly pipelineId: pulumi.Output<string>;
    /**
     * `projectId`) The ID of the project the TLS stage is associated with.
     */
    readonly projectId: pulumi.Output<string>;
    /**
     * The route stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    readonly routeStageId: pulumi.Output<string>;
    /**
     * The TLS secrets.
     */
    readonly secrets: pulumi.Output<outputs.EdgeServicesTlsStageSecret[]>;
    /**
     * The date and time of the last update of the TLS stage.
     */
    readonly updatedAt: pulumi.Output<string>;
    /**
     * The WAF stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    readonly wafStageId: pulumi.Output<string>;
    /**
     * Create a EdgeServicesTlsStage resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    /** @deprecated scaleway.index/edgeservicestlsstage.EdgeServicesTlsStage has been deprecated in favor of scaleway.edgeservices/tlsstage.TlsStage */
    constructor(name: string, args: EdgeServicesTlsStageArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering EdgeServicesTlsStage resources.
 */
export interface EdgeServicesTlsStageState {
    /**
     * The backend stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    backendStageId?: pulumi.Input<string | undefined>;
    /**
     * The cache stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    cacheStageId?: pulumi.Input<string | undefined>;
    /**
     * The expiration date of the certificate.
     */
    certificateExpiresAt?: pulumi.Input<string | undefined>;
    /**
     * The date and time of the creation of the TLS stage.
     */
    createdAt?: pulumi.Input<string | undefined>;
    /**
     * Set to true when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
     */
    managedCertificate?: pulumi.Input<boolean | undefined>;
    /**
     * The ID of the pipeline.
     */
    pipelineId?: pulumi.Input<string | undefined>;
    /**
     * `projectId`) The ID of the project the TLS stage is associated with.
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * The route stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    routeStageId?: pulumi.Input<string | undefined>;
    /**
     * The TLS secrets.
     */
    secrets?: pulumi.Input<pulumi.Input<inputs.EdgeServicesTlsStageSecret>[] | undefined>;
    /**
     * The date and time of the last update of the TLS stage.
     */
    updatedAt?: pulumi.Input<string | undefined>;
    /**
     * The WAF stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    wafStageId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a EdgeServicesTlsStage resource.
 */
export interface EdgeServicesTlsStageArgs {
    /**
     * The backend stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    backendStageId?: pulumi.Input<string | undefined>;
    /**
     * The cache stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    cacheStageId?: pulumi.Input<string | undefined>;
    /**
     * Set to true when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
     */
    managedCertificate?: pulumi.Input<boolean | undefined>;
    /**
     * The ID of the pipeline.
     */
    pipelineId: pulumi.Input<string>;
    /**
     * `projectId`) The ID of the project the TLS stage is associated with.
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * The route stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    routeStageId?: pulumi.Input<string | undefined>;
    /**
     * The TLS secrets.
     */
    secrets?: pulumi.Input<pulumi.Input<inputs.EdgeServicesTlsStageSecret>[] | undefined>;
    /**
     * The WAF stage ID the TLS stage will be linked to. Only one of `backendStageId`, `cacheStageId`, `routeStageId` and `wafStageId` should be specified.
     */
    wafStageId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=edgeServicesTlsStage.d.ts.map