StreamingJobCollection.GetIfExists(String, String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}
  • Operation Id: StreamingJobs_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobResource> GetIfExists (string jobName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>
override this.GetIfExists : string * string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>
Public Overridable Function GetIfExists (jobName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of StreamingJobResource)

Parameters

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

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

jobName is null.

Applies to