Share via


IotOperationsDataflowCollection.CreateOrUpdate Method

Definition

Create a DataflowResource

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

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.

dataflowName
String

Name of Instance dataflowProfile dataflow resource.

data
IotOperationsDataflowData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dataflowName or data is null.

Applies to