ArmAppContainersModelFactory.AppContainerResources Method

Definition

Initializes a new instance of AppContainerResources.

public static Azure.ResourceManager.AppContainers.Models.AppContainerResources AppContainerResources (double? cpu = default, string memory = default, string ephemeralStorage = default);
static member AppContainerResources : Nullable<double> * string * string -> 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) As AppContainerResources

Parameters

cpu
Nullable<Double>

Required CPU in cores, e.g. 0.5.

memory
String

Required memory, e.g. "250Mb".

ephemeralStorage
String

Ephemeral Storage, e.g. "1Gi".

Returns

A new AppContainerResources instance for mocking.

Applies to