Show / Hide Table of Contents

Class ServiceTaskSpecPlacement

Inheritance
System.Object
ServiceTaskSpecPlacement
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.Outputs
Assembly: Pulumi.Docker.dll
Syntax
public sealed class ServiceTaskSpecPlacement

Fields

View Source

Constraints

An array of constraints. e.g.: node.role==manager

Declaration
public readonly ImmutableArray<string> Constraints
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Platforms

Platforms stores all the platforms that the service's image can run on

Declaration
public readonly ImmutableArray<ServiceTaskSpecPlacementPlatform> Platforms
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<ServiceTaskSpecPlacementPlatform>
View Source

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 readonly ImmutableArray<string> Prefs
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.