ResourceSpec.Cpus Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
[YamlDotNet.Serialization.YamlMember(Alias="cpus")]
public string? Cpus { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="cpus")>]
member this.Cpus : string with get, set
Public Property Cpus As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute