Partager via


StreamAnalytics.SubscriptionsListQuotas Method

Definition

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

public System.Threading.Tasks.Task SubscriptionsListQuotas (string location, string subscriptionId, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.ISubscriptionQuotasListResult>,System.Threading.Tasks.Task> onOk, Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.ISendAsync sender);
member this.SubscriptionsListQuotas : string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.ISubscriptionQuotasListResult>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function SubscriptionsListQuotas (location As String, subscriptionId As String, onOk As Func(Of HttpResponseMessage, Task(Of ISubscriptionQuotasListResult), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

location
String

The region in which to retrieve the subscription's quota information. You can find out which regions Azure Stream Analytics is supported in here: https://azure.microsoft.com/en-us/regions/

subscriptionId
String

The ID of the target subscription.

onOk
Func<HttpResponseMessage,Task<ISubscriptionQuotasListResult>,Task>

a delegate that is called when the remote service returns 200 (OK).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to