Class ServiceTaskSpecPlacementArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Docker.Inputs
Assembly: Pulumi.Docker.dll
Syntax
public sealed class ServiceTaskSpecPlacementArgs : ResourceArgs
Constructors
View SourceServiceTaskSpecPlacementArgs()
Declaration
public ServiceTaskSpecPlacementArgs()
Properties
View SourceConstraints
An array of constraints. e.g.: node.role==manager
Declaration
public InputList<string> Constraints { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Platforms
Platforms stores all the platforms that the service's image can run on
Declaration
public InputList<ServiceTaskSpecPlacementPlatformArgs> Platforms { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ServiceTaskSpecPlacementPlatformArgs> |
Prefs
Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: spread=node.role.manager
Declaration
public InputList<string> Prefs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |