ArmCdnModelFactory.FrontDoorUsage Method

Definition

Initializes a new instance of FrontDoorUsage.

public static Azure.ResourceManager.Cdn.Models.FrontDoorUsage FrontDoorUsage (Azure.Core.ResourceIdentifier id = default, Azure.ResourceManager.Cdn.Models.FrontDoorUsageUnit unit = default, long currentValue = 0, long limit = 0, Azure.ResourceManager.Cdn.Models.FrontDoorUsageResourceName name = default);
static member FrontDoorUsage : Azure.Core.ResourceIdentifier * Azure.ResourceManager.Cdn.Models.FrontDoorUsageUnit * int64 * int64 * Azure.ResourceManager.Cdn.Models.FrontDoorUsageResourceName -> Azure.ResourceManager.Cdn.Models.FrontDoorUsage
Public Shared Function FrontDoorUsage (Optional id As ResourceIdentifier = Nothing, Optional unit As FrontDoorUsageUnit = Nothing, Optional currentValue As Long = 0, Optional limit As Long = 0, Optional name As FrontDoorUsageResourceName = Nothing) As FrontDoorUsage

Parameters

id
ResourceIdentifier

Resource identifier.

unit
FrontDoorUsageUnit

An enum describing the unit of measurement.

currentValue
Int64

The current value of the usage.

limit
Int64

The limit of usage.

name
FrontDoorUsageResourceName

The name of the type of usage.

Returns

A new FrontDoorUsage instance for mocking.

Applies to