@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
120 lines • 3.72 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about an Edge Services DNS stage.
*
* A DNS stage defines the Fully Qualified Domain Names (FQDNs) attached to an Edge Services pipeline and links them to the next processing stage.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services DNS stage by its ID
* const byId = scaleway.edgeservices.getDnsStage({
* dnsStageId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services DNS stage by pipeline ID and FQDN
* const byFqdn = scaleway.edgeservices.getDnsStage({
* pipelineId: main.id,
* fqdn: "cdn.example.com",
* });
* ```
*/
export declare function getDnsStage(args?: GetDnsStageArgs, opts?: pulumi.InvokeOptions): Promise<GetDnsStageResult>;
/**
* A collection of arguments for invoking getDnsStage.
*/
export interface GetDnsStageArgs {
/**
* The ID of the DNS stage. Conflicts with all filter arguments below.
*
* The following filter arguments are supported (cannot be used with `dnsStageId`):
*/
dnsStageId?: string;
/**
* FQDN to filter for (in the format subdomain.example.com).
*/
fqdn?: string;
/**
* The ID of the pipeline.
*/
pipelineId?: string;
}
/**
* A collection of values returned by getDnsStage.
*/
export interface GetDnsStageResult {
readonly backendStageId: string;
readonly cacheStageId: string;
readonly createdAt: string;
readonly defaultFqdn: string;
readonly dnsStageId?: string;
readonly fqdn?: string;
readonly fqdns: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly pipelineId?: string;
readonly projectId: string;
readonly tlsStageId: string;
readonly type: string;
readonly updatedAt: string;
readonly wildcardDomain: boolean;
}
/**
* Gets information about an Edge Services DNS stage.
*
* A DNS stage defines the Fully Qualified Domain Names (FQDNs) attached to an Edge Services pipeline and links them to the next processing stage.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services DNS stage by its ID
* const byId = scaleway.edgeservices.getDnsStage({
* dnsStageId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services DNS stage by pipeline ID and FQDN
* const byFqdn = scaleway.edgeservices.getDnsStage({
* pipelineId: main.id,
* fqdn: "cdn.example.com",
* });
* ```
*/
export declare function getDnsStageOutput(args?: GetDnsStageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDnsStageResult>;
/**
* A collection of arguments for invoking getDnsStage.
*/
export interface GetDnsStageOutputArgs {
/**
* The ID of the DNS stage. Conflicts with all filter arguments below.
*
* The following filter arguments are supported (cannot be used with `dnsStageId`):
*/
dnsStageId?: pulumi.Input<string | undefined>;
/**
* FQDN to filter for (in the format subdomain.example.com).
*/
fqdn?: pulumi.Input<string | undefined>;
/**
* The ID of the pipeline.
*/
pipelineId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getDnsStage.d.ts.map