ArmAppContainersModelFactory.ContainerAppUsage 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.
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
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.
The name of the type of usage.
Returns
A new ContainerAppUsage instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET