IResourceContainerImageBuilder.BuildImagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds container images for a collection of resources.
public System.Threading.Tasks.Task BuildImagesAsync(System.Collections.Generic.IEnumerable<Aspire.Hosting.ApplicationModel.IResource> resources, Aspire.Hosting.Publishing.ContainerBuildOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BuildImagesAsync : seq<Aspire.Hosting.ApplicationModel.IResource> * Aspire.Hosting.Publishing.ContainerBuildOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function BuildImagesAsync (resources As IEnumerable(Of IResource), Optional options As ContainerBuildOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- resources
- IEnumerable<IResource>
The resources to build images for.
- options
- ContainerBuildOptions
The container build options.
- cancellationToken
- CancellationToken
The cancellation token.