Share via


MockableStreamAnalyticsSubscriptionResource.CompileQuerySubscription Method

Definition

Compile the Stream Analytics query.

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

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

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

compileQuery is null.

Applies to