ArmDataMigrationModelFactory.Quota 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 Quota.
public static Azure.ResourceManager.DataMigration.Models.Quota Quota (double? currentValue = default, string id = default, double? limit = default, Azure.ResourceManager.DataMigration.Models.QuotaName name = default, string unit = default);
static member Quota : Nullable<double> * string * Nullable<double> * Azure.ResourceManager.DataMigration.Models.QuotaName * string -> Azure.ResourceManager.DataMigration.Models.Quota
Public Shared Function Quota (Optional currentValue As Nullable(Of Double) = Nothing, Optional id As String = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional name As QuotaName = Nothing, Optional unit As String = Nothing) As Quota
Parameters
The current value of the quota. If null or missing, the current value cannot be determined in the context of the request.
- id
- String
The resource ID of the quota object.
The maximum value of the quota. If null or missing, the quota has no maximum, in which case it merely tracks usage.
- name
- QuotaName
The name of the quota.
- unit
- String
The unit for the quota, such as Count, Bytes, BytesPerSecond, etc.
Returns
A new Quota instance for mocking.
Applies to
Azure SDK for .NET