-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SignalRServiceUsage.cs
46 lines (40 loc) · 2.13 KB
/
SignalRServiceUsage.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
namespace Azure.ResourceManager.WebPubSub.Models
{
/// <summary> Object that describes a specific usage of the resources. </summary>
public partial class SignalRServiceUsage
{
/// <summary> Initializes a new instance of SignalRServiceUsage. </summary>
internal SignalRServiceUsage()
{
}
/// <summary> Initializes a new instance of SignalRServiceUsage. </summary>
/// <param name="id"> Fully qualified ARM resource id. </param>
/// <param name="currentValue"> Current value for the usage quota. </param>
/// <param name="limit"> The maximum permitted value for the usage quota. If there is no limit, this value will be -1. </param>
/// <param name="name"> Localizable String object containing the name and a localized value. </param>
/// <param name="unit"> Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. </param>
internal SignalRServiceUsage(ResourceIdentifier id, long? currentValue, long? limit, SignalRServiceUsageName name, string unit)
{
Id = id;
CurrentValue = currentValue;
Limit = limit;
Name = name;
Unit = unit;
}
/// <summary> Fully qualified ARM resource id. </summary>
public ResourceIdentifier Id { get; }
/// <summary> Current value for the usage quota. </summary>
public long? CurrentValue { get; }
/// <summary> The maximum permitted value for the usage quota. If there is no limit, this value will be -1. </summary>
public long? Limit { get; }
/// <summary> Localizable String object containing the name and a localized value. </summary>
public SignalRServiceUsageName Name { get; }
/// <summary> Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. </summary>
public string Unit { get; }
}
}