@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
160 lines (159 loc) • 5.93 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Creates and manages Scaleway Edge Services DNS Stages.
*
* ## Example Usage
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.EdgeServicesDnsStage("main", {
* pipelineId: mainScalewayEdgeServicesPipeline.id,
* fqdns: ["subdomain.example.com"],
* });
* ```
*
* ## Import
*
* DNS stages can be imported using the `{id}`, e.g.
*
* bash
*
* ```sh
* $ pulumi import scaleway:index/edgeServicesDnsStage:EdgeServicesDnsStage basic 11111111-1111-1111-1111-111111111111
* ```
*/
export declare class EdgeServicesDnsStage extends pulumi.CustomResource {
/**
* Get an existing EdgeServicesDnsStage 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?: EdgeServicesDnsStageState, opts?: pulumi.CustomResourceOptions): EdgeServicesDnsStage;
/**
* Returns true if the given object is an instance of EdgeServicesDnsStage. 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 EdgeServicesDnsStage;
/**
* The backend stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
readonly backendStageId: pulumi.Output<string>;
/**
* The cache stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
readonly cacheStageId: pulumi.Output<string>;
/**
* The date and time of the creation of the DNS stage.
*/
readonly createdAt: pulumi.Output<string>;
/**
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
*/
readonly fqdns: pulumi.Output<string[]>;
/**
* The ID of the pipeline.
*/
readonly pipelineId: pulumi.Output<string>;
/**
* `projectId`) The ID of the project the DNS stage is associated with.
*/
readonly projectId: pulumi.Output<string>;
/**
* The TLS stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
readonly tlsStageId: pulumi.Output<string>;
/**
* The type of the stage.
*/
readonly type: pulumi.Output<string>;
/**
* The date and time of the last update of the DNS stage.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* Create a EdgeServicesDnsStage 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: EdgeServicesDnsStageArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering EdgeServicesDnsStage resources.
*/
export interface EdgeServicesDnsStageState {
/**
* The backend stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
backendStageId?: pulumi.Input<string>;
/**
* The cache stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
cacheStageId?: pulumi.Input<string>;
/**
* The date and time of the creation of the DNS stage.
*/
createdAt?: pulumi.Input<string>;
/**
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
*/
fqdns?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The ID of the pipeline.
*/
pipelineId?: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the DNS stage is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* The TLS stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
tlsStageId?: pulumi.Input<string>;
/**
* The type of the stage.
*/
type?: pulumi.Input<string>;
/**
* The date and time of the last update of the DNS stage.
*/
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a EdgeServicesDnsStage resource.
*/
export interface EdgeServicesDnsStageArgs {
/**
* The backend stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
backendStageId?: pulumi.Input<string>;
/**
* The cache stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
cacheStageId?: pulumi.Input<string>;
/**
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
*/
fqdns?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The ID of the pipeline.
*/
pipelineId: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the DNS stage is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* The TLS stage ID the DNS stage will be linked to. Only one of `backendStageId`, `cacheStageId` and `tlsStageId` should be specified.
*/
tlsStageId?: pulumi.Input<string>;
}