MockableStreamAnalyticsSubscriptionResource.TestOutputSubscription Method

Definition

Test the Stream Analytics output.

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

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

testOutput
StreamAnalyticsTestOutput

Defines the necessary parameters for testing the Stream Analytics output.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

testOutput is null.

Applies to