Compartilhar via


ArmReservationsModelFactory.SubContent Method

Definition

Initializes a new instance of SubContent.

public static Azure.ResourceManager.Reservations.Models.SubContent SubContent (int? limit = default, Azure.ResourceManager.Reservations.Models.ReservationResourceName name = default, string resourceType = default, string unit = default, Azure.ResourceManager.Reservations.Models.QuotaRequestState? provisioningState = default, string message = default, Guid? subRequestId = default);
static member SubContent : Nullable<int> * Azure.ResourceManager.Reservations.Models.ReservationResourceName * string * string * Nullable<Azure.ResourceManager.Reservations.Models.QuotaRequestState> * string * Nullable<Guid> -> Azure.ResourceManager.Reservations.Models.SubContent
Public Shared Function SubContent (Optional limit As Nullable(Of Integer) = Nothing, Optional name As ReservationResourceName = Nothing, Optional resourceType As String = Nothing, Optional unit As String = Nothing, Optional provisioningState As Nullable(Of QuotaRequestState) = Nothing, Optional message As String = Nothing, Optional subRequestId As Nullable(Of Guid) = Nothing) As SubContent

Parameters

limit
Nullable<Int32>

Quota (resource limit).

name
ReservationResourceName

The resource name.

resourceType
String

Resource type for which the quota check was made.

unit
String

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

provisioningState
Nullable<QuotaRequestState>

The quota request status.

message
String

User-friendly status message.

subRequestId
Nullable<Guid>

Sub request ID for individual request.

Returns

A new SubContent instance for mocking.

Applies to