StreamingJobInputResource.Test Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus> Test (Azure.WaitUntil waitUntil, Azure.ResourceManager.StreamAnalytics.StreamingJobInputData input = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Test : Azure.WaitUntil * Azure.ResourceManager.StreamAnalytics.StreamingJobInputData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>
override this.Test : Azure.WaitUntil * Azure.ResourceManager.StreamAnalytics.StreamingJobInputData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsResourceTestStatus>
Public Overridable Function Test (waitUntil As WaitUntil, Optional input As StreamingJobInputData = 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.
- 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
Azure SDK for .NET