共用方式為


IotOperationsDataflowProfileCollection.GetIfExists 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}
  • Operation Id: DataflowProfileResource_Get
  • Default Api Version: 2024-11-01
  • Resource: IotOperationsDataflowProfileResource
public virtual Azure.NullableResponse<Azure.ResourceManager.IotOperations.IotOperationsDataflowProfileResource> GetIfExists(string dataflowProfileName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.IotOperations.IotOperationsDataflowProfileResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.IotOperations.IotOperationsDataflowProfileResource>
Public Overridable Function GetIfExists (dataflowProfileName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of IotOperationsDataflowProfileResource)

Parameters

dataflowProfileName
String

Name of Instance dataflowProfile resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dataflowProfileName is null.

Applies to