Share via


IotOperationsDataflowCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}
  • Operation Id: DataflowResource_Get
  • Default Api Version: 2024-11-01
  • Resource: IotOperationsDataflowResource
public virtual Azure.NullableResponse<Azure.ResourceManager.IotOperations.IotOperationsDataflowResource> GetIfExists(string dataflowName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.IotOperations.IotOperationsDataflowResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.IotOperations.IotOperationsDataflowResource>
Public Overridable Function GetIfExists (dataflowName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of IotOperationsDataflowResource)

Parameters

dataflowName
String

Name of Instance dataflowProfile dataflow resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dataflowName is null.

Applies to