ArmDataMigrationModelFactory.Quota Method

Definition

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

currentValue
Nullable<Double>

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.

limit
Nullable<Double>

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