MockableStreamAnalyticsSubscriptionResource.GetQuotasSubscriptionsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 virtual Azure.AsyncPageable<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSubscriptionQuota> GetQuotasSubscriptionsAsync (Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetQuotasSubscriptionsAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSubscriptionQuota>
override this.GetQuotasSubscriptionsAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSubscriptionQuota>
Public Overridable Function GetQuotasSubscriptionsAsync (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StreamAnalyticsSubscriptionQuota)
Parameters
- 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.
Applies to
Azure SDK for .NET