Freigeben über


IotOperationsDataflowEndpointCollection.CreateOrUpdateAsync Method

Definition

Create a DataflowEndpointResource

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

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

dataflowEndpointName
String

Name of Instance dataflowEndpoint resource.

data
IotOperationsDataflowEndpointData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dataflowEndpointName or data is null.

Applies to