| Modifier and Type | Method and Description |
|---|---|
ResourceLimits |
ResourceRequirements.limits()
Get the limits value.
|
ResourceLimits |
ResourceLimits.withCpu(Double cpu)
Set the cpu value.
|
ResourceLimits |
ResourceLimits.withMemoryInGB(Double memoryInGB)
Set the memoryInGB value.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceRequirements |
ResourceRequirements.withLimits(ResourceLimits limits)
Set the limits value.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/