Class SubscriptionUsage
Usage Metric of a Subscription in a Location.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class SubscriptionUsage : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
SubscriptionUsage()
Initializes a new instance of the SubscriptionUsage class.
Declaration
public SubscriptionUsage ();
SubscriptionUsage(String, String, String, String, Nullable<Double>, Nullable<Double>, String)
Initializes a new instance of the SubscriptionUsage class.
Declaration
public SubscriptionUsage (string id = null, string name = null, string type = null, string displayName = null, Nullable<double> currentValue = null, Nullable<double> limit = null, string unit = null);
Parameters
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
String
displayName
User-readable name of the metric. |
Nullable<Double>
currentValue
Current value of the metric. |
Nullable<Double>
limit
Boundary value of the metric. |
String
unit
Unit of the metric. |
Properties
CurrentValue
Gets current value of the metric.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.currentValue")]
public Nullable<double> CurrentValue { get; }
Property Value
Nullable<Double>
|
DisplayName
Gets user-readable name of the metric.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.displayName")]
public string DisplayName { get; }
Property Value
String
|
Limit
Gets boundary value of the metric.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.limit")]
public Nullable<double> Limit { get; }
Property Value
Nullable<Double>
|
Unit
Gets unit of the metric.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.unit")]
public string Unit { get; }
Property Value
String
|