Sdílet prostřednictvím


StreamAnalyticsExtensions.CompileQuerySubscription Method

Definition

Compile the Stream Analytics query.

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

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/.

compileQuery
StreamAnalyticsCompileQuery

The query compilation object which defines the input, output, and transformation for the query compilation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or compileQuery is null.

Applies to