Compartilhar via


ArmReservationsModelFactory.QuotaProperties Method

Definition

Initializes a new instance of QuotaProperties.

public static Azure.ResourceManager.Reservations.Models.QuotaProperties QuotaProperties (int? limit = default, int? currentValue = default, string unit = default, Azure.ResourceManager.Reservations.Models.ReservationResourceName resourceName = default, Azure.ResourceManager.Reservations.Models.ResourceTypeName? resourceTypeName = default, string quotaPeriod = default, BinaryData properties = default);
static member QuotaProperties : Nullable<int> * Nullable<int> * string * Azure.ResourceManager.Reservations.Models.ReservationResourceName * Nullable<Azure.ResourceManager.Reservations.Models.ResourceTypeName> * string * BinaryData -> Azure.ResourceManager.Reservations.Models.QuotaProperties
Public Shared Function QuotaProperties (Optional limit As Nullable(Of Integer) = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional unit As String = Nothing, Optional resourceName As ReservationResourceName = Nothing, Optional resourceTypeName As Nullable(Of ResourceTypeName) = Nothing, Optional quotaPeriod As String = Nothing, Optional properties As BinaryData = Nothing) As QuotaProperties

Parameters

limit
Nullable<Int32>

Quota properties.

currentValue
Nullable<Int32>

Current usage value for the resource.

unit
String

The limit units, such as count and bytes. Use the unit field provided in the response of the GET quota operation.

resourceName
ReservationResourceName

Name of the resource provide by the resource provider. Use this property for quotaRequests resource operations.

resourceTypeName
Nullable<ResourceTypeName>

The name of the resource type.

quotaPeriod
String

The time period over which the quota usage values are summarized. For example, P1D (per one day), PT1M (per one minute), and PT1S (per one second). This parameter is optional because, for some resources such as compute, the time period is irrelevant.

properties
BinaryData

Additional properties for the specified resource provider.

Returns

A new QuotaProperties instance for mocking.

Applies to