DiscoveryModelFactory.NodePoolUsage 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.
Overview of compute usage for a nodepool.
public static Azure.AI.Discovery.NodePoolUsage NodePoolUsage(string reservedCPUs = default, string allocatableCPUs = default, string reservedMemory = default, string allocatableMemory = default, string reservedGPUs = default, string allocatableGPUs = default);
static member NodePoolUsage : string * string * string * string * string * string -> Azure.AI.Discovery.NodePoolUsage
Public Shared Function NodePoolUsage (Optional reservedCPUs As String = Nothing, Optional allocatableCPUs As String = Nothing, Optional reservedMemory As String = Nothing, Optional allocatableMemory As String = Nothing, Optional reservedGPUs As String = Nothing, Optional allocatableGPUs As String = Nothing) As NodePoolUsage
Parameters
- reservedCPUs
- String
CPUs in use (e.g. 1, or 500m for 500 milli-CPUs) across all nodes in the nodepool.
- allocatableCPUs
- String
CPUs which are free to use (e.g. 1, or 500m for 500 milli-CPUs) across all nodes in the nodepool.
- reservedMemory
- String
Memory which is in use (e.g. 500Mi or 1Gi).
- allocatableMemory
- String
Memory which is free to use (e.g. 500Mi or 1Gi).
- reservedGPUs
- String
GPUs which are in use.
- allocatableGPUs
- String
GPUs which are free to use.
Returns
A new NodePoolUsage instance for mocking.