Sdílet prostřednictvím


StreamAnalyticsExtensions.GetQuotasSubscriptions 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.Pageable<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSubscriptionQuota> GetQuotasSubscriptions (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotasSubscriptions : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSubscriptionQuota>
<Extension()>
Public Function GetQuotasSubscriptions (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Exceptions

subscriptionResource is null.

Applies to