Sdílet prostřednictvím


StreamAnalyticsExtensions.GetStreamingJob Method

Definition

Gets details about the specified streaming job.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}
  • Operation Id: StreamingJobs_Get
public static Azure.Response<Azure.ResourceManager.StreamAnalytics.StreamingJobResource> GetStreamingJob (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string jobName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetStreamingJob : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>
<Extension()>
Public Function GetStreamingJob (resourceGroupResource As ResourceGroupResource, jobName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StreamingJobResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

jobName
String

The name of the streaming job.

expand
String

The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or jobName is null.

jobName is an empty string, and was expected to be non-empty.

Applies to