NetAppExtensions.GetNetAppSubscriptionQuotaItemAsync Method

Definition

Get the default and current quota limit <item> Mocking. To mock this method, please mock GetNetAppSubscriptionQuotaItemAsync(AzureLocation, String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppSubscriptionQuotaItemResource>> GetNetAppSubscriptionQuotaItemAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string quotaLimitName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetAppSubscriptionQuotaItemAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppSubscriptionQuotaItemResource>>
<Extension()>
Public Function GetNetAppSubscriptionQuotaItemAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, quotaLimitName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppSubscriptionQuotaItemResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

location
AzureLocation

The location for the resource.

quotaLimitName
String

The name of the Quota Limit.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to