ArmDataMigrationModelFactory.DataMigrationQuota 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 DataMigrationQuota.
public static Azure.ResourceManager.DataMigration.Models.DataMigrationQuota DataMigrationQuota(double? currentValue = default, string id = default, double? limit = default, Azure.ResourceManager.DataMigration.Models.DataMigrationQuotaName name = default, string unit = default);
static member DataMigrationQuota : Nullable<double> * string * Nullable<double> * Azure.ResourceManager.DataMigration.Models.DataMigrationQuotaName * string -> Azure.ResourceManager.DataMigration.Models.DataMigrationQuota
Public Shared Function DataMigrationQuota (Optional currentValue As Nullable(Of Double) = Nothing, Optional id As String = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional name As DataMigrationQuotaName = Nothing, Optional unit As String = Nothing) As DataMigrationQuota
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.
The name of the quota.
- unit
- String
The unit for the quota, such as Count, Bytes, BytesPerSecond, etc.
Returns
A new DataMigrationQuota instance for mocking.