共用方式為


StreamingJobOutputResource.TestAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/outputs/{outputName}/test
  • Operation Id: Outputs_Test
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>> TestAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData data = default, System.Threading.CancellationToken cancellationToken = default);
abstract member TestAsync : Azure.WaitUntil * Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>>
override this.TestAsync : Azure.WaitUntil * Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>>
Public Overridable Function TestAsync (waitUntil As WaitUntil, Optional data As StreamingJobOutputData = 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.

data
StreamingJobOutputData

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to