ArmContainerInstanceModelFactory.ContainerResourceRequestsContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.ContainerInstance.Models.ContainerResourceRequestsContent ContainerResourceRequestsContent(double memoryInGB = 0, double cpu = 0, Azure.ResourceManager.ContainerInstance.Models.ContainerGpuResourceInfo gpu = default);
static member ContainerResourceRequestsContent : double * double * Azure.ResourceManager.ContainerInstance.Models.ContainerGpuResourceInfo -> Azure.ResourceManager.ContainerInstance.Models.ContainerResourceRequestsContent
Public Shared Function ContainerResourceRequestsContent (Optional memoryInGB As Double = 0, Optional cpu As Double = 0, Optional gpu As ContainerGpuResourceInfo = Nothing) As ContainerResourceRequestsContent
Parameters
- memoryInGB
- Double
The memory request in GB of this container instance.
- cpu
- Double
The CPU request of this container instance.
The GPU request of this container instance.
Returns
A new ContainerResourceRequestsContent instance for mocking.