ArmSignalRModelFactory.SignalRUsage Method

Definition

Initializes a new instance of SignalRUsage.

public static Azure.ResourceManager.SignalR.Models.SignalRUsage SignalRUsage (Azure.Core.ResourceIdentifier id = default, long? currentValue = default, long? limit = default, Azure.ResourceManager.SignalR.Models.SignalRUsageName name = default, string unit = default);
static member SignalRUsage : Azure.Core.ResourceIdentifier * Nullable<int64> * Nullable<int64> * Azure.ResourceManager.SignalR.Models.SignalRUsageName * string -> Azure.ResourceManager.SignalR.Models.SignalRUsage
Public Shared Function SignalRUsage (Optional id As ResourceIdentifier = Nothing, Optional currentValue As Nullable(Of Long) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional name As SignalRUsageName = Nothing, Optional unit As String = Nothing) As SignalRUsage

Parameters

id
ResourceIdentifier

Fully qualified ARM resource id.

currentValue
Nullable<Int64>

Current value for the usage quota.

limit
Nullable<Int64>

The maximum permitted value for the usage quota. If there is no limit, this value will be -1.

name
SignalRUsageName

Localizable String object containing the name and a localized value.

unit
String

Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.

Returns

A new SignalRUsage instance for mocking.

Applies to