@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
112 lines • 3.38 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about an Edge Services pipeline.
*
* A pipeline is the top-level resource that groups together all the stages (DNS, TLS, cache, backend, etc.) of an Edge Services configuration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services pipeline by its ID
* const byId = scaleway.edgeservices.getPipeline({
* pipelineId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services pipeline by name
* const byName = scaleway.edgeservices.getPipeline({
* name: "my-pipeline",
* });
* ```
*/
export declare function getPipeline(args?: GetPipelineArgs, opts?: pulumi.InvokeOptions): Promise<GetPipelineResult>;
/**
* A collection of arguments for invoking getPipeline.
*/
export interface GetPipelineArgs {
/**
* The pipeline name to filter for.
*/
name?: string;
/**
* The ID of the pipeline. Conflicts with all filter arguments below.
*
* The following filter arguments are supported (cannot be used with `pipelineId`):
*/
pipelineId?: string;
/**
* The ID of the project to filter for.
*/
projectId?: string;
}
/**
* A collection of values returned by getPipeline.
*/
export interface GetPipelineResult {
readonly createdAt: string;
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
readonly pipelineId?: string;
readonly projectId?: string;
readonly status: string;
readonly updatedAt: string;
}
/**
* Gets information about an Edge Services pipeline.
*
* A pipeline is the top-level resource that groups together all the stages (DNS, TLS, cache, backend, etc.) of an Edge Services configuration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services pipeline by its ID
* const byId = scaleway.edgeservices.getPipeline({
* pipelineId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve an Edge Services pipeline by name
* const byName = scaleway.edgeservices.getPipeline({
* name: "my-pipeline",
* });
* ```
*/
export declare function getPipelineOutput(args?: GetPipelineOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPipelineResult>;
/**
* A collection of arguments for invoking getPipeline.
*/
export interface GetPipelineOutputArgs {
/**
* The pipeline name to filter for.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the pipeline. Conflicts with all filter arguments below.
*
* The following filter arguments are supported (cannot be used with `pipelineId`):
*/
pipelineId?: pulumi.Input<string | undefined>;
/**
* The ID of the project to filter for.
*/
projectId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getPipeline.d.ts.map