Skip to content
DocsTry Aspire
DocsTry

withPipelineStepFactory

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
withPipelineStepFactory(
stepName: string,
callback: callback,
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

Applies to

This method applies to the following types: