Condividi tramite


ArmCdnModelFactory.CdnUsage Method

Definition

Initializes a new instance of CdnUsage.

public static Azure.ResourceManager.Cdn.Models.CdnUsage CdnUsage (string resourceType = default, Azure.ResourceManager.Cdn.Models.CdnUsageUnit? unit = default, int? currentValue = default, int? limit = default);
static member CdnUsage : string * Nullable<Azure.ResourceManager.Cdn.Models.CdnUsageUnit> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Cdn.Models.CdnUsage
Public Shared Function CdnUsage (Optional resourceType As String = Nothing, Optional unit As Nullable(Of CdnUsageUnit) = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing) As CdnUsage

Parameters

resourceType
String

Resource type for which the usage is provided.

unit
Nullable<CdnUsageUnit>

Unit of the usage. e.g. count.

currentValue
Nullable<Int32>

Actual value of usage on the specified resource type.

limit
Nullable<Int32>

Quota of the specified resource type.

Returns

A new CdnUsage instance for mocking.

Applies to