ArmDevOpsInfrastructureModelFactory.DevOpsResourceQuota 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 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
The name of the quota.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET