Share via


DistributedApplicationModelExtensions.GetBuildAndPushResources Method

Definition

Returns the build and push resources from the DistributedApplicationModel. Build and push resources are those that require building and pushing container images to a registry, and are not marked to be ignored by the manifest publishing callback annotation.

public static System.Collections.Generic.IEnumerable<Aspire.Hosting.ApplicationModel.IResource> GetBuildAndPushResources(this Aspire.Hosting.ApplicationModel.DistributedApplicationModel model);
static member GetBuildAndPushResources : Aspire.Hosting.ApplicationModel.DistributedApplicationModel -> seq<Aspire.Hosting.ApplicationModel.IResource>
<Extension()>
Public Iterator Function GetBuildAndPushResources (model As DistributedApplicationModel) As IEnumerable(Of IResource)

Parameters

model
DistributedApplicationModel

The distributed application model to extract build and push resources from.

Returns

An enumerable of build and push IResource in the model.

Applies to