Skip to content
Docs Try Aspire

Placement

Class sealed net10.0
📦 Aspire.Hosting.Docker v13.1.2-preview.1.26125.13
Represents the placement configuration for a Docker service in a Swarm cluster. This class is used to define specific constraints and preferences for the placement of tasks or containers.
namespace Aspire.Hosting.Docker.Resources.ServiceNodes.Swarm;
public sealed class Placement
{
// ...
}