Delen via


StreamingJobOutputResource.Test 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus> Test (Azure.WaitUntil waitUntil, Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData data = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Test : Azure.WaitUntil * Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>
override this.Test : Azure.WaitUntil * Azure.ResourceManager.StreamAnalytics.StreamingJobOutputData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>
Public Overridable Function Test (waitUntil As WaitUntil, Optional data As StreamingJobOutputData = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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