Compartilhar via


StreamAnalyticsExtensions.CompileQuerySubscription Método

Definição

Compile a consulta do Stream Analytics.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/compileQuery
  • IdSubscriptions_CompileQuery de operação
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)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual 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