Freigeben über


IotOperationsDataflowProfileCollection.CreateOrUpdate Method

Definition

Create a DataflowProfileResource

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

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.

dataflowProfileName
String

Name of Instance dataflowProfile resource.

data
IotOperationsDataflowProfileData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dataflowProfileName or data is null.

Applies to