ArmComputeModelFactory.ComputeUsage 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 ComputeUsage.
public static Azure.ResourceManager.Compute.Models.ComputeUsage ComputeUsage (Azure.ResourceManager.Compute.Models.ComputeUsageUnit unit = default, int currentValue = 0, long limit = 0, Azure.ResourceManager.Compute.Models.ComputeUsageName name = default);
static member ComputeUsage : Azure.ResourceManager.Compute.Models.ComputeUsageUnit * int * int64 * Azure.ResourceManager.Compute.Models.ComputeUsageName -> Azure.ResourceManager.Compute.Models.ComputeUsage
Public Shared Function ComputeUsage (Optional unit As ComputeUsageUnit = Nothing, Optional currentValue As Integer = 0, Optional limit As Long = 0, Optional name As ComputeUsageName = Nothing) As ComputeUsage
Parameters
- unit
- ComputeUsageUnit
An enum describing the unit of usage measurement.
- currentValue
- Int32
The current usage of the resource.
- limit
- Int64
The maximum permitted usage of the resource.
- name
- ComputeUsageName
The name of the type of usage.
Returns
A new ComputeUsage instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET