ArmQuotaModelFactory.QuotaUsagesProperties 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 QuotaUsagesProperties.
public static Azure.ResourceManager.Quota.Models.QuotaUsagesProperties QuotaUsagesProperties (Azure.ResourceManager.Quota.Models.QuotaUsagesObject usages = default, string unit = default, Azure.ResourceManager.Quota.Models.QuotaRequestResourceName name = default, string resourceTypeName = default, TimeSpan? quotaPeriod = default, bool? isQuotaApplicable = default, BinaryData properties = default);
static member QuotaUsagesProperties : Azure.ResourceManager.Quota.Models.QuotaUsagesObject * string * Azure.ResourceManager.Quota.Models.QuotaRequestResourceName * string * Nullable<TimeSpan> * Nullable<bool> * BinaryData -> Azure.ResourceManager.Quota.Models.QuotaUsagesProperties
Public Shared Function QuotaUsagesProperties (Optional usages As QuotaUsagesObject = Nothing, Optional unit As String = Nothing, Optional name As QuotaRequestResourceName = Nothing, Optional resourceTypeName As String = Nothing, Optional quotaPeriod As Nullable(Of TimeSpan) = Nothing, Optional isQuotaApplicable As Nullable(Of Boolean) = Nothing, Optional properties As BinaryData = Nothing) As QuotaUsagesProperties
Parameters
- usages
- QuotaUsagesObject
The quota limit properties for this resource.
- unit
- String
The units for the quota usage, such as Count and Bytes. When requesting quota, use the unit value returned in the GET response in the request body of your PUT operation.
Resource name provided by the resource provider. Use this property name when requesting quota.
- resourceTypeName
- String
The name of the resource type. Optional field.
The time period for the summary of the quota usage values. For example: *P1D (per one day) *PT1M (per one minute) *PT1S (per one second). This parameter is optional because it is not relevant for all resources such as compute.
- properties
- BinaryData
Additional properties for the specific resource provider.
Returns
A new QuotaUsagesProperties instance for mocking.
Applies to
Azure SDK for .NET