@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
185 lines • 6.21 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Creates and manages Scaleway Edge Services Pipelines.
*
* ## Example Usage
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.edgeservices.Pipeline("main", {
* name: "pipeline-name",
* description: "pipeline description",
* });
* ```
*
* ### Complete pipeline
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.edgeservices.Pipeline("main", {
* name: "pipeline-name",
* description: "pipeline description",
* });
* const mainBackendStage = new scaleway.edgeservices.BackendStage("main", {
* pipelineId: main.id,
* s3BackendConfig: {
* bucketName: "my-bucket-name",
* bucketRegion: "fr-par",
* },
* });
* const mainWafStage = new scaleway.edgeservices.WafStage("main", {
* pipelineId: main.id,
* backendStageId: mainBackendStage.id,
* mode: "enable",
* paranoiaLevel: 3,
* });
* const mainRouteStage = new scaleway.edgeservices.RouteStage("main", {
* pipelineId: main.id,
* wafStageId: mainWafStage.id,
* rules: [{
* backendStageId: mainBackendStage.id,
* ruleHttpMatch: {
* methodFilters: [
* "get",
* "post",
* ],
* pathFilter: {
* pathFilterType: "regex",
* value: ".*",
* },
* },
* }],
* });
* const mainCacheStage = new scaleway.edgeservices.CacheStage("main", {
* pipelineId: main.id,
* routeStageId: mainRouteStage.id,
* });
* const mainTlsStage = new scaleway.edgeservices.TlsStage("main", {
* pipelineId: main.id,
* cacheStageId: mainCacheStage.id,
* managedCertificate: true,
* });
* const mainDnsStage = new scaleway.edgeservices.DnsStage("main", {
* pipelineId: main.id,
* tlsStageId: mainTlsStage.id,
* fqdns: ["subdomain.example.com"],
* });
* const mainHeadStage = new scaleway.edgeservices.HeadStage("main", {
* pipelineId: main.id,
* headStageId: mainDnsStage.id,
* });
* ```
*
* ## Import
*
* Pipelines can be imported using the `{id}`, e.g.
*
* ```sh
* $ pulumi import scaleway:index/edgeServicesPipeline:EdgeServicesPipeline basic 11111111-1111-1111-1111-111111111111
* ```
*
* @deprecated scaleway.index/edgeservicespipeline.EdgeServicesPipeline has been deprecated in favor of scaleway.edgeservices/pipeline.Pipeline
*/
export declare class EdgeServicesPipeline extends pulumi.CustomResource {
/**
* Get an existing EdgeServicesPipeline 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?: EdgeServicesPipelineState, opts?: pulumi.CustomResourceOptions): EdgeServicesPipeline;
/**
* Returns true if the given object is an instance of EdgeServicesPipeline. 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 EdgeServicesPipeline;
/**
* The date and time of the creation of the pipeline.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The description of the pipeline.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The name of the pipeline.
*/
readonly name: pulumi.Output<string>;
/**
* `projectId`) The ID of the project the pipeline is associated with.
*/
readonly projectId: pulumi.Output<string>;
/**
* The status of user pipeline.
*/
readonly status: pulumi.Output<string>;
/**
* The date and time of the last update of the pipeline.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* Create a EdgeServicesPipeline 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/edgeservicespipeline.EdgeServicesPipeline has been deprecated in favor of scaleway.edgeservices/pipeline.Pipeline */
constructor(name: string, args?: EdgeServicesPipelineArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering EdgeServicesPipeline resources.
*/
export interface EdgeServicesPipelineState {
/**
* The date and time of the creation of the pipeline.
*/
createdAt?: pulumi.Input<string | undefined>;
/**
* The description of the pipeline.
*/
description?: pulumi.Input<string | undefined>;
/**
* The name of the pipeline.
*/
name?: pulumi.Input<string | undefined>;
/**
* `projectId`) The ID of the project the pipeline is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* The status of user pipeline.
*/
status?: pulumi.Input<string | undefined>;
/**
* The date and time of the last update of the pipeline.
*/
updatedAt?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a EdgeServicesPipeline resource.
*/
export interface EdgeServicesPipelineArgs {
/**
* The description of the pipeline.
*/
description?: pulumi.Input<string | undefined>;
/**
* The name of the pipeline.
*/
name?: pulumi.Input<string | undefined>;
/**
* `projectId`) The ID of the project the pipeline is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=edgeServicesPipeline.d.ts.map