共用方式為


ArmAppContainersModelFactory.ContainerAppUsage Method

Definition

Initializes a new instance of ContainerAppUsage.

public static Azure.ResourceManager.AppContainers.Models.ContainerAppUsage ContainerAppUsage (Azure.ResourceManager.AppContainers.Models.ContainerAppUsageUnit unit = default, float currentValue = 0, float limit = 0, Azure.ResourceManager.AppContainers.Models.ContainerAppUsageName name = default);
static member ContainerAppUsage : Azure.ResourceManager.AppContainers.Models.ContainerAppUsageUnit * single * single * Azure.ResourceManager.AppContainers.Models.ContainerAppUsageName -> Azure.ResourceManager.AppContainers.Models.ContainerAppUsage
Public Shared Function ContainerAppUsage (Optional unit As ContainerAppUsageUnit = Nothing, Optional currentValue As Single = 0, Optional limit As Single = 0, Optional name As ContainerAppUsageName = Nothing) As ContainerAppUsage

Parameters

unit
ContainerAppUsageUnit

An enum describing the unit of usage measurement.

currentValue
Single

The current usage of the resource.

limit
Single

The maximum permitted usage of the resource.

name
ContainerAppUsageName

The name of the type of usage.

Returns

A new ContainerAppUsage instance for mocking.

Applies to