ArmDevOpsInfrastructureModelFactory.DevOpsResourceQuota Method

Definition

Initializes a new instance of DevOpsResourceQuota.

public static Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsResourceQuota DevOpsResourceQuota (Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsResourceQuotaName name = default, Azure.Core.ResourceIdentifier id = default, string unit = default, long currentValue = 0, long limit = 0);
static member DevOpsResourceQuota : Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsResourceQuotaName * Azure.Core.ResourceIdentifier * string * int64 * int64 -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsResourceQuota
Public Shared Function DevOpsResourceQuota (Optional name As DevOpsResourceQuotaName = Nothing, Optional id As ResourceIdentifier = Nothing, Optional unit As String = Nothing, Optional currentValue As Long = 0, Optional limit As Long = 0) As DevOpsResourceQuota

Parameters

name
DevOpsResourceQuotaName

The name of the quota.

id
ResourceIdentifier

Fully qualified ARM resource id.

unit
String

The unit of usage measurement.

currentValue
Int64

The current usage of the resource.

limit
Int64

The maximum permitted usage of the resource.

Returns

A new DevOpsResourceQuota instance for mocking.

Applies to