Dela via


StreamingJobInputResource.TestAsync Method

Definition

Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}/test
  • Operation Id: Inputs_Test
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>> TestAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.StreamAnalytics.StreamingJobInputData input = default, System.Threading.CancellationToken cancellationToken = default);
abstract member TestAsync : Azure.WaitUntil * Azure.ResourceManager.StreamAnalytics.StreamingJobInputData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>>
override this.TestAsync : Azure.WaitUntil * Azure.ResourceManager.StreamAnalytics.StreamingJobInputData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>>
Public Overridable Function TestAsync (waitUntil As WaitUntil, Optional input As StreamingJobInputData = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of StreamAnalyticsResourceTestStatus))

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.

input
StreamingJobInputData

If the input specified does not already exist, this parameter must contain the full input definition intended to be tested. If the input specified already exists, this parameter can be left null to test the existing input as is or if specified, the properties specified will overwrite the corresponding properties in the existing input (exactly like a PATCH operation) and the resulting input will be tested.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to