ArmCdnModelFactory.CdnUsage 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 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.
Returns
A new CdnUsage instance for mocking.