ArmAppContainersModelFactory.AppContainerResources 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.
Container App container resource requirements.
public static Azure.ResourceManager.AppContainers.Models.AppContainerResources AppContainerResources(double? cpu = default, string memory = default, string ephemeralStorage = default, double? gpu = default);
static member AppContainerResources : Nullable<double> * string * string * Nullable<double> -> Azure.ResourceManager.AppContainers.Models.AppContainerResources
Public Shared Function AppContainerResources (Optional cpu As Nullable(Of Double) = Nothing, Optional memory As String = Nothing, Optional ephemeralStorage As String = Nothing, Optional gpu As Nullable(Of Double) = Nothing) As AppContainerResources
Parameters
- memory
- String
Required memory, e.g. "250Mb".
- ephemeralStorage
- String
Ephemeral Storage, e.g. "1Gi".
Returns
A new AppContainerResources instance for mocking.