Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

Resources

Classsealednet10.0
📦 Aspire.Hosting.Docker v13.6.0
Represents the resource configurations for a Docker service in Swarm mode.
namespace Aspire.Hosting.Docker.Resources.ServiceNodes.Swarm;
public sealed class Resources
{
// ...
}
The Resources class defines the optional constraints for resource allocation by specifying limits and reservations. Limits define the maximum resources a service can utilize, while reservations define the minimum guaranteed resources.
View all constructors
View all properties