Skip to content
Docs Try Aspire
Docs Try

IResource.withPipelineStepFactory

Method
📦 Aspire.Hosting v13.4.0
interface IResource {
// ... omitted for brevity
withPipelineStepFactory(stepName: string, callback: (arg: PipelineStepContext) => Promise<void>, dependsOn?: string[], requiredBy?: string[], tags?: string[], description?: string): IResource;
}

Signature

method withPipelineStepFactory builder
Adds a pipeline step to the resource that will be executed during deployment.
withPipelineStepFactory(stepName: string, callback: (arg: PipelineStepContext) => Promise<void>, dependsOn?: string[], requiredBy?: string[], tags?: string[], description?: string): IResource
stepName string
callback (arg: PipelineStepContext) => Promise<void>
dependsOn string[] optional
requiredBy string[] optional
tags string[] optional
description string optional
IResource

Defined on

This method is defined on the following type: