Delen via


ArmQuotaModelFactory.QuotaSubRequestDetail Method

Definition

Initializes a new instance of QuotaSubRequestDetail.

public static Azure.ResourceManager.Quota.Models.QuotaSubRequestDetail QuotaSubRequestDetail (Azure.ResourceManager.Quota.Models.QuotaRequestResourceName name = default, string resourceTypeName = default, string unit = default, Azure.ResourceManager.Quota.Models.QuotaRequestState? provisioningState = default, string message = default, Guid? subRequestId = default, Azure.ResourceManager.Quota.Models.QuotaLimitJsonObject limit = default);
static member QuotaSubRequestDetail : Azure.ResourceManager.Quota.Models.QuotaRequestResourceName * string * string * Nullable<Azure.ResourceManager.Quota.Models.QuotaRequestState> * string * Nullable<Guid> * Azure.ResourceManager.Quota.Models.QuotaLimitJsonObject -> Azure.ResourceManager.Quota.Models.QuotaSubRequestDetail
Public Shared Function QuotaSubRequestDetail (Optional name As QuotaRequestResourceName = Nothing, Optional resourceTypeName 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, Optional limit As QuotaLimitJsonObject = Nothing) As QuotaSubRequestDetail

Parameters

name
QuotaRequestResourceName

Resource name.

resourceTypeName
String

Resource type for which the quota properties were requested.

unit
String

Quota limit units, 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.

provisioningState
Nullable<QuotaRequestState>

The quota request status.

message
String

User-friendly status message.

subRequestId
Nullable<Guid>

Quota request ID.

limit
QuotaLimitJsonObject

Resource quota limit properties. Please note QuotaLimitJsonObject is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include QuotaLimitObject.

Returns

A new QuotaSubRequestDetail instance for mocking.

Applies to