ArmWebPubSubModelFactory.SignalRServiceUsage 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 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
Fully qualified ARM resource id.
The maximum permitted value for the usage quota. If there is no limit, this value will be -1.
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.