Skip to content
DocsTry Aspire
DocsTry

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

methodwithPipelineStepFactorybuilder
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
stepNamestring
callback(arg: PipelineStepContext) => Promise<void>
dependsOnstring[]optional
requiredBystring[]optional
tagsstring[]optional
descriptionstringoptional
IResource

Defined on

This method is defined on the following type: