@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
98 lines • 3.63 kB
TypeScript
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:index/edgeServicesHeadStage:EdgeServicesHeadStage main 11111111-1111-1111-1111-111111111111
* ```
*
* @deprecated scaleway.index/edgeservicesheadstage.EdgeServicesHeadStage has been deprecated in favor of scaleway.edgeservices/headstage.HeadStage
*/
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.
*/
/** @deprecated scaleway.index/edgeservicesheadstage.EdgeServicesHeadStage has been deprecated in favor of scaleway.edgeservices/headstage.HeadStage */
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 | undefined>;
/**
* The ID of the pipeline.
*/
pipelineId?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a EdgeServicesHeadStage resource.
*/
export interface EdgeServicesHeadStageArgs {
/**
* The ID of head stage of the pipeline.
*/
headStageId?: pulumi.Input<string | undefined>;
/**
* The ID of the pipeline.
*/
pipelineId: pulumi.Input<string>;
}
//# sourceMappingURL=edgeServicesHeadStage.d.ts.map