Share via


DicomServicesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a DICOM Service resource with the specified parameters.

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

Parameters

operations
IDicomServicesOperations

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.

dicomServiceName
String

The name of DICOM Service resource.

dicomservice
DicomService

The parameters for creating or updating a Dicom Service resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to