Share via


MockableStreamAnalyticsSubscriptionResource.SampleInputSubscriptionAsync Method

Definition

Sample the Stream Analytics input data.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/locations/{location}/sampleInput
  • Operation Id: Subscriptions_SampleInput
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSampleInputResult>> SampleInputSubscriptionAsync (Azure.WaitUntil waitUntil, Azure.Core.AzureLocation location, Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSampleInputContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SampleInputSubscriptionAsync : Azure.WaitUntil * Azure.Core.AzureLocation * Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSampleInputContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSampleInputResult>>
override this.SampleInputSubscriptionAsync : Azure.WaitUntil * Azure.Core.AzureLocation * Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSampleInputContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsSampleInputResult>>
Public Overridable Function SampleInputSubscriptionAsync (waitUntil As WaitUntil, location As AzureLocation, content As StreamAnalyticsSampleInputContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of StreamAnalyticsSampleInputResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

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

content
StreamAnalyticsSampleInputContent

Defines the necessary parameters for sampling the Stream Analytics input data.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to