Freigeben über


IotOperationsDataflowEndpointCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

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

Parameters

dataflowEndpointName
String

Name of Instance dataflowEndpoint resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dataflowEndpointName is null.

Applies to