IInputsOperations.TestWithHttpMessagesAsync(String, String, String, Input, Dictionary<String,List<String>>, CancellationToken) IInputsOperations.TestWithHttpMessagesAsync(String, String, String, Input, Dictionary<String,List<String>>, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.StreamAnalytics.Models.ResourceTestStatus>> TestWithHttpMessagesAsync (string resourceGroupName, string jobName, string inputName, Microsoft.Azure.Management.StreamAnalytics.Models.Input input = null, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member TestWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.StreamAnalytics.Models.Input * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.StreamAnalytics.Models.ResourceTestStatus>>
Parameters
resourceGroupName
String String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

jobName
String String

The name of the streaming job.

inputName
String String

The name of the input.

input
Input Input

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.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns
Task<Microsoft.Rest.Azure.AzureOperationResponse<ResourceTestStatus>>
Exceptions
Microsoft.Rest.Azure.CloudException Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Microsoft.Rest.SerializationException Microsoft.Rest.SerializationException

Thrown when unable to deserialize the response

Microsoft.Rest.ValidationException Microsoft.Rest.ValidationException

Thrown when a required parameter is null

Applies to