Share via


Deploy.Mode Property

Definition

Gets or sets the deployment mode for the service. Specifies how tasks are scheduled on nodes. Common values include "replicated" for distributing tasks across nodes or "global" for running a task on every node in the cluster.

[YamlDotNet.Serialization.YamlMember(Alias="mode")]
public string? Mode { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="mode")>]
member this.Mode : string with get, set
Public Property Mode As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to