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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET