UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

95 lines 3.15 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.edgeservices.Pipeline("main", { * name: "my-edge_services-pipeline", * description: "pipeline description", * }); * const mainDnsStage = new scaleway.edgeservices.DnsStage("main", { * pipelineId: main.id, * tlsStageId: mainScalewayEdgeServicesTlsStage.id, * fqdns: ["subdomain.example.com"], * }); * const mainHeadStage = new scaleway.edgeservices.HeadStage("main", { * pipelineId: main.id, * headStageId: mainDnsStage.id, * }); * ``` * * ## Import * * Head stages can be imported using the `{id}`, e.g. * * ```sh * $ pulumi import scaleway:edgeservices/headStage:HeadStage main 11111111-1111-1111-1111-111111111111 * ``` */ export declare class HeadStage extends pulumi.CustomResource { /** * Get an existing HeadStage 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?: HeadStageState, opts?: pulumi.CustomResourceOptions): HeadStage; /** * Returns true if the given object is an instance of HeadStage. 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 HeadStage; /** * 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 HeadStage 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: HeadStageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HeadStage resources. */ export interface HeadStageState { /** * The ID of head stage of the pipeline. */ headStageId?: pulumi.Input<string | undefined>; /** * The ID of the pipeline. */ pipelineId?: pulumi.Input<string | undefined>; } /** * The set of arguments for constructing a HeadStage resource. */ export interface HeadStageArgs { /** * The ID of head stage of the pipeline. */ headStageId?: pulumi.Input<string | undefined>; /** * The ID of the pipeline. */ pipelineId: pulumi.Input<string>; } //# sourceMappingURL=headStage.d.ts.map