UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

97 lines (96 loc) 3.28 kB
import * as pulumi from "@pulumi/pulumi"; /** * Sets the Scaleway Edge Services head stage of your pipeline. * * ## Example Usage * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * const main = new scaleway.EdgeServicesPipeline("main", { * name: "my-edge_services-pipeline", * description: "pipeline description", * }); * const mainEdgeServicesDnsStage = new scaleway.EdgeServicesDnsStage("main", { * pipelineId: main.id, * tlsStageId: mainScalewayEdgeServicesTlsStage.id, * fqdns: ["subdomain.example.com"], * }); * const mainEdgeServicesHeadStage = new scaleway.EdgeServicesHeadStage("main", { * pipelineId: main.id, * headStageId: mainEdgeServicesDnsStage.id, * }); * ``` * * ## Import * * Head stages can be imported using the `{id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/edgeServicesHeadStage:EdgeServicesHeadStage main 11111111-1111-1111-1111-111111111111 * ``` */ export declare class EdgeServicesHeadStage extends pulumi.CustomResource { /** * Get an existing EdgeServicesHeadStage 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?: EdgeServicesHeadStageState, opts?: pulumi.CustomResourceOptions): EdgeServicesHeadStage; /** * Returns true if the given object is an instance of EdgeServicesHeadStage. 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 EdgeServicesHeadStage; /** * The ID of head stage of the pipeline. */ readonly headStageId: pulumi.Output<string>; /** * The ID of the pipeline. */ readonly pipelineId: pulumi.Output<string>; /** * Create a EdgeServicesHeadStage 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. */ constructor(name: string, args: EdgeServicesHeadStageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EdgeServicesHeadStage resources. */ export interface EdgeServicesHeadStageState { /** * The ID of head stage of the pipeline. */ headStageId?: pulumi.Input<string>; /** * The ID of the pipeline. */ pipelineId?: pulumi.Input<string>; } /** * The set of arguments for constructing a EdgeServicesHeadStage resource. */ export interface EdgeServicesHeadStageArgs { /** * The ID of head stage of the pipeline. */ headStageId?: pulumi.Input<string>; /** * The ID of the pipeline. */ pipelineId: pulumi.Input<string>; }