Share via


ArmWebPubSubModelFactory.SignalRServiceUsage Method

Definition

Initializes a new instance of SignalRServiceUsage.

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

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
SignalRServiceUsageName

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 SignalRServiceUsage instance for mocking.

Applies to