Dela via


IotConnectorsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates an IoT Connector resource with the specified parameters.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HealthcareApis.Models.IotConnector> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.HealthcareApis.IIotConnectorsOperations operations, string resourceGroupName, string workspaceName, string iotConnectorName, Microsoft.Azure.Management.HealthcareApis.Models.IotConnector iotConnector, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.HealthcareApis.IIotConnectorsOperations * string * string * string * Microsoft.Azure.Management.HealthcareApis.Models.IotConnector * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HealthcareApis.Models.IotConnector>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IIotConnectorsOperations, resourceGroupName As String, workspaceName As String, iotConnectorName As String, iotConnector As IotConnector, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IotConnector)

Parameters

operations
IIotConnectorsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the service instance.

workspaceName
String

The name of workspace resource.

iotConnectorName
String

The name of IoT Connector resource.

iotConnector
IotConnector

The parameters for creating or updating an IoT Connectors resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to