ResourceRequests Constructors
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.
Overloads
ResourceRequests() |
Initializes a new instance of the ResourceRequests class. |
ResourceRequests(Double, Double, GpuResource) |
Initializes a new instance of the ResourceRequests class. |
ResourceRequests()
Initializes a new instance of the ResourceRequests class.
public ResourceRequests ();
Public Sub New ()
Applies to
ResourceRequests(Double, Double, GpuResource)
Initializes a new instance of the ResourceRequests class.
public ResourceRequests (double memoryInGB, double cpu, Microsoft.Azure.Management.ContainerInstance.Models.GpuResource gpu = default);
new Microsoft.Azure.Management.ContainerInstance.Models.ResourceRequests : double * double * Microsoft.Azure.Management.ContainerInstance.Models.GpuResource -> Microsoft.Azure.Management.ContainerInstance.Models.ResourceRequests
Public Sub New (memoryInGB As Double, cpu As Double, Optional gpu As GpuResource = Nothing)
Parameters
- memoryInGB
- Double
The memory request in GB of this container instance.
- cpu
- Double
The CPU request of this container instance.
- gpu
- GpuResource
The GPU request of this container instance.
Applies to
Azure SDK for .NET