Class Quota
Describes a quota for or usage details about a resource
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DataMigration.dll
Syntax
public class Quota
Constructors
Quota()
Initializes a new instance of the Quota class.
Declaration
public Quota ();
Quota(Nullable<Double>, String, Nullable<Double>, QuotaName, String)
Initializes a new instance of the Quota class.
Declaration
public Quota (Nullable<double> currentValue = null, string id = null, Nullable<double> limit = null, Microsoft.Azure.Management.DataMigration.Models.QuotaName name = null, string unit = null);
Parameters
|
Nullable<Double>
currentValue
The current value of the quota. If null or missing, the current value cannot be determined in the context of the request. |
|
String
id
The resource ID of the quota object |
|
Nullable<Double>
limit
The maximum value of the quota. If null or missing, the quota has no maximum, in which case it merely tracks usage. |
|
QuotaName
name
The name of the quota |
|
String
unit
The unit for the quota, such as Count, Bytes, BytesPerSecond, etc. |
Properties
CurrentValue
Gets or sets the current value of the quota. If null or missing, the current value cannot be determined in the context of the request.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="currentValue")]
public Nullable<double> CurrentValue { get; set; }
Property Value
|
Nullable<Double>
|
Id
Gets or sets the resource ID of the quota object
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="id")]
public string Id { get; set; }
Property Value
|
String
|
Limit
Gets or sets the maximum value of the quota. If null or missing, the quota has no maximum, in which case it merely tracks usage.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="limit")]
public Nullable<double> Limit { get; set; }
Property Value
|
Nullable<Double>
|
Name
Gets or sets the name of the quota
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public Microsoft.Azure.Management.DataMigration.Models.QuotaName Name { get; set; }
Property Value
|
QuotaName
|
Unit
Gets or sets the unit for the quota, such as Count, Bytes, BytesPerSecond, etc.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="unit")]
public string Unit { get; set; }
Property Value
|
String
|