Partilhar via


StreamAnalyticsExtensions.CompileQuerySubscriptionAsync Método

Definição

Compile a consulta do Stream Analytics.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/compileQuery
  • Operação IdSubscriptions_CompileQuery
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsQueryCompilationResult>> CompileQuerySubscriptionAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsCompileQuery compileQuery, System.Threading.CancellationToken cancellationToken = default);
static member CompileQuerySubscriptionAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsCompileQuery * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsQueryCompilationResult>>
<Extension()>
Public Function CompileQuerySubscriptionAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, compileQuery As StreamAnalyticsCompileQuery, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StreamAnalyticsQueryCompilationResult))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

A região para a qual a solicitação é enviada. Você pode descobrir em quais regiões o Azure Stream Analytics tem suporte aqui: https://azure.microsoft.com/en-us/regions/.

compileQuery
StreamAnalyticsCompileQuery

O objeto de compilação de consulta que define a entrada, a saída e a transformação para a compilação da consulta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

compileQuery é nulo.

Aplica-se a