| Modifier and Type | Method and Description |
|---|---|
ResourceRequests |
ResourceRequirements.requests()
Get the resource requests of this container instance.
|
ResourceRequests |
ResourceRequests.withCpu(double cpu)
Set the CPU request of this container instance.
|
ResourceRequests |
ResourceRequests.withGpu(GpuResource gpu)
Set the GPU request of this container instance.
|
ResourceRequests |
ResourceRequests.withMemoryInGB(double memoryInGB)
Set the memory request in GB of this container instance.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceRequirements |
ResourceRequirements.withRequests(ResourceRequests requests)
Set the resource requests of this container instance.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/