다음을 통해 공유


StreamingJobOutputCollection.GetIfExists(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}/outputs/{outputName}
  • Operation Id: Outputs_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobOutputResource> GetIfExists (string outputName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobOutputResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.StreamAnalytics.StreamingJobOutputResource>
Public Overridable Function GetIfExists (outputName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of StreamingJobOutputResource)

Parameters

outputName
String

The name of the output.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

outputName is null.

Applies to