QuotaExtensions.GetQuotaAllocationRequestStatusAsync Method

Definition

Get the quota allocation request status for the subscriptionId by allocationId. <item> Mocking. To mock this method, please mock GetQuotaAllocationRequestStatusAsync(ResourceIdentifier, String, String, String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>> GetQuotaAllocationRequestStatusAsync(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string groupQuotaName, string resourceProviderName, string allocationId, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotaAllocationRequestStatusAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>>
<Extension()>
Public Function GetQuotaAllocationRequestStatusAsync (client As ArmClient, scope As ResourceIdentifier, groupQuotaName As String, resourceProviderName As String, allocationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of QuotaAllocationRequestStatusResource))

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope of the resource collection to get.

groupQuotaName
String

The groupQuotaName for the resource.

resourceProviderName
String

The resourceProviderName for the resource.

allocationId
String

Request Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to