Class ServiceTaskSpecResourcesReservation
Inheritance
System.Object
ServiceTaskSpecResourcesReservation
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 ServiceTaskSpecResourcesReservation
Fields
View SourceGenericResources
User-defined resources can be either Integer resources (e.g, SSD=3) or String resources (e.g, GPU=UUID1)
Declaration
public readonly ServiceTaskSpecResourcesReservationGenericResources GenericResources
Field Value
| Type | Description |
|---|---|
| ServiceTaskSpecResourcesReservationGenericResources |
MemoryBytes
The amount of memory in bytes the container allocates
Declaration
public readonly int? MemoryBytes
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
NanoCpus
CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least 1000000
Declaration
public readonly int? NanoCpus
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |