Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

DistributedApplicationModel.GetResources

Method
📦 Aspire.Hosting v17.0.0
type DistributedApplicationModel interface {
// ... omitted for brevity
GetResources() ([]Resource, error)
}

Signature

methodGetResources
Gets all resources in the distributed application model.
GetResources() ([]Resource, error)
([]Resource, error)

The resources in the model.

Returns ([]Resource, error).

Defined on

This method is defined on the following type: