DistributedApplicationModelExtensions Methods
Class Methods 3 members
Provides extension methods on the
DistributedApplicationModel class. GetBuildAndPushResources(DistributedApplicationModel) Section titled GetBuildAndPushResources(DistributedApplicationModel) extension IEnumerable<IResource> 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 class DistributedApplicationModelExtensions{ public static IEnumerable<IResource> GetBuildAndPushResources( this DistributedApplicationModel model) { // ... }}Parameters
model DistributedApplicationModel The distributed application model to extract build and push resources from. Returns
IEnumerable<IResource> An enumerable of build and push IResource in the model. GetBuildResources(DistributedApplicationModel) Section titled GetBuildResources(DistributedApplicationModel) extension IEnumerable<IResource> Returns the build resources from the
DistributedApplicationModel. Build resources are those that are either build-only containers or project resources, and are not marked to be ignored by the manifest publishing callback annotation. public static class DistributedApplicationModelExtensions{ public static IEnumerable<IResource> GetBuildResources( this DistributedApplicationModel model) { // ... }}Parameters
model DistributedApplicationModel The distributed application model to extract build resources from. Returns
IEnumerable<IResource> An enumerable of build IResource in the model. GetComputeResources(DistributedApplicationModel) Section titled GetComputeResources(DistributedApplicationModel) extension IEnumerable<IResource> Returns the compute resources from the
DistributedApplicationModel. Compute resources are those that are either containers or project resources, and are not marked to be ignored by the manifest publishing callback annotation. public static class DistributedApplicationModelExtensions{ public static IEnumerable<IResource> GetComputeResources( this DistributedApplicationModel model) { // ... }}Parameters
model DistributedApplicationModel The distributed application model to extract compute resources from. Returns
IEnumerable<IResource> An enumerable of compute IResource in the model.