DistributedApplicationModelExtensions.GetBuildAndPushResources 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.
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
The distributed application model to extract build and push resources from.
Returns
An enumerable of build and push IResource in the model.