UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

134 lines 4.29 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about an Edge Services backend stage. * * A backend stage defines the origin (Scaleway Object Storage bucket, Load Balancer, Serverless Container or Serverless Function) that Edge Services forwards requests to. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * // Retrieve an Edge Services backend stage by its ID * const byId = scaleway.edgeservices.getBackendStage({ * backendStageId: "11111111-1111-1111-1111-111111111111", * }); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * // Retrieve an Edge Services backend stage by pipeline ID * const byPipeline = scaleway.edgeservices.getBackendStage({ * pipelineId: main.id, * }); * ``` */ export declare function getBackendStage(args?: GetBackendStageArgs, opts?: pulumi.InvokeOptions): Promise<GetBackendStageResult>; /** * A collection of arguments for invoking getBackendStage. */ export interface GetBackendStageArgs { /** * The ID of the backend stage. * * The following filter arguments are supported (cannot be used with `backendStageId`): */ backendStageId?: string; /** * Filter by S3 bucket name. */ bucketName?: string; /** * Filter by S3 bucket region. */ bucketRegion?: string; /** * Filter by Load Balancer ID. */ lbId?: string; /** * The ID of the pipeline. */ pipelineId?: string; } /** * A collection of values returned by getBackendStage. */ export interface GetBackendStageResult { readonly backendStageId?: string; readonly bucketName?: string; readonly bucketRegion?: string; readonly containerBackendConfigs: outputs.edgeservices.GetBackendStageContainerBackendConfig[]; readonly createdAt: string; readonly functionBackendConfigs: outputs.edgeservices.GetBackendStageFunctionBackendConfig[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly lbBackendConfigs: outputs.edgeservices.GetBackendStageLbBackendConfig[]; readonly lbId?: string; readonly pipelineId?: string; readonly projectId: string; readonly s3BackendConfigs: outputs.edgeservices.GetBackendStageS3BackendConfig[]; readonly updatedAt: string; } /** * Gets information about an Edge Services backend stage. * * A backend stage defines the origin (Scaleway Object Storage bucket, Load Balancer, Serverless Container or Serverless Function) that Edge Services forwards requests to. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * // Retrieve an Edge Services backend stage by its ID * const byId = scaleway.edgeservices.getBackendStage({ * backendStageId: "11111111-1111-1111-1111-111111111111", * }); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * // Retrieve an Edge Services backend stage by pipeline ID * const byPipeline = scaleway.edgeservices.getBackendStage({ * pipelineId: main.id, * }); * ``` */ export declare function getBackendStageOutput(args?: GetBackendStageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackendStageResult>; /** * A collection of arguments for invoking getBackendStage. */ export interface GetBackendStageOutputArgs { /** * The ID of the backend stage. * * The following filter arguments are supported (cannot be used with `backendStageId`): */ backendStageId?: pulumi.Input<string | undefined>; /** * Filter by S3 bucket name. */ bucketName?: pulumi.Input<string | undefined>; /** * Filter by S3 bucket region. */ bucketRegion?: pulumi.Input<string | undefined>; /** * Filter by Load Balancer ID. */ lbId?: pulumi.Input<string | undefined>; /** * The ID of the pipeline. */ pipelineId?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getBackendStage.d.ts.map