Share via


IotConnectorFhirDestinationOperationsExtensions.CreateOrUpdateAsync Method

Definition

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

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

Parameters

operations
IIotConnectorFhirDestinationOperations

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.

fhirDestinationName
String

The name of IoT Connector FHIR destination resource.

iotFhirDestination
IotFhirDestination

The parameters for creating or updating an IoT Connector FHIR destination resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to