StreamingJobCollection.GetIfExistsAsync 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.
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 System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>> GetIfExistsAsync (string jobName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>>
override this.GetIfExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>>
Public Overridable Function GetIfExistsAsync (jobName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Azure SDK for .NET