@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
181 lines • 7.32 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.edgeservices.DnsStage("main", {
* pipelineId: mainScalewayEdgeServicesPipeline.id,
* fqdns: ["subdomain.example.com"],
* });
* ```
*
* ## Import
*
* DNS stages can be imported using the `{id}`, e.g.
*
* ```sh
* $ pulumi import scaleway:index/edgeServicesDnsStage:EdgeServicesDnsStage basic 11111111-1111-1111-1111-111111111111
* ```
*
* @deprecated scaleway.index/edgeservicesdnsstage.EdgeServicesDnsStage has been deprecated in favor of scaleway.edgeservices/dnsstage.DnsStage
*/
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>;
/**
* The Default Fully Qualified Domain Name attached to the stage.
*/
readonly defaultFqdn: 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>;
/**
* Defines whether wildcard (subdomains) is supported for the given domain. A wildcard certificate is required to make it work.
*/
readonly wildcardDomain: pulumi.Output<boolean>;
/**
* 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.
*/
/** @deprecated scaleway.index/edgeservicesdnsstage.EdgeServicesDnsStage has been deprecated in favor of scaleway.edgeservices/dnsstage.DnsStage */
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 | undefined>;
/**
* 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 | undefined>;
/**
* The date and time of the creation of the DNS stage.
*/
createdAt?: pulumi.Input<string | undefined>;
/**
* The Default Fully Qualified Domain Name attached to the stage.
*/
defaultFqdn?: pulumi.Input<string | undefined>;
/**
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
*/
fqdns?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* The ID of the pipeline.
*/
pipelineId?: pulumi.Input<string | undefined>;
/**
* `projectId`) The ID of the project the DNS stage is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* 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 | undefined>;
/**
* The type of the stage.
*/
type?: pulumi.Input<string | undefined>;
/**
* The date and time of the last update of the DNS stage.
*/
updatedAt?: pulumi.Input<string | undefined>;
/**
* Defines whether wildcard (subdomains) is supported for the given domain. A wildcard certificate is required to make it work.
*/
wildcardDomain?: pulumi.Input<boolean | undefined>;
}
/**
* 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 | undefined>;
/**
* 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 | undefined>;
/**
* Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
*/
fqdns?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* 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 | undefined>;
/**
* 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 | undefined>;
/**
* Defines whether wildcard (subdomains) is supported for the given domain. A wildcard certificate is required to make it work.
*/
wildcardDomain?: pulumi.Input<boolean | undefined>;
}
//# sourceMappingURL=edgeServicesDnsStage.d.ts.map