ResourceSpec Properties
Class Properties 2 members
Represents resource specifications for a Docker service.
Represents the amount of CPU resources allocated for a specific service node in the swarm configuration. The value is typically expressed in terms of CPU shares or fractions, depending on the context.
public string? Cpus { get; set; } Represents the memory resource specification for the service. This property defines the amount of memory allocated as a resource. The value is typically specified as a string representing the size, for example "512M" for 512 megabytes.
public string? Memory { get; set; }