Class ServiceTaskSpecResourcesLimitsArgs
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 ServiceTaskSpecResourcesLimitsArgs : ResourceArgs
Constructors
View SourceServiceTaskSpecResourcesLimitsArgs()
Declaration
public ServiceTaskSpecResourcesLimitsArgs()
Properties
View SourceGenericResources
User-defined resources can be either Integer resources (e.g, SSD=3) or String resources (e.g, GPU=UUID1)
Declaration
public Input<ServiceTaskSpecResourcesLimitsGenericResourcesArgs> GenericResources { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ServiceTaskSpecResourcesLimitsGenericResourcesArgs> |
MemoryBytes
The amount of memory in bytes the container allocates
Declaration
public Input<int> MemoryBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
NanoCpus
CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least 1000000
Declaration
public Input<int> NanoCpus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |