Udostępnij za pośrednictwem


StreamAnalyticsExtensions.GetQuotasSubscriptionsAsync Method

Definition

Retrieves the subscription's current quota information in a particular region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/quotas
  • Operation Id: Subscriptions_ListQuotas
public static Azure.AsyncPageable<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSubscriptionQuota> GetQuotasSubscriptionsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotasSubscriptionsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSubscriptionQuota>
<Extension()>
Public Function GetQuotasSubscriptionsAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StreamAnalyticsSubscriptionQuota)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

The region to which the request is sent. You can find out which regions Azure Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of StreamAnalyticsSubscriptionQuota that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to