DicomServiceCollection.CreateOrUpdate Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}
  • Operation Id: DicomServices_CreateOrUpdate
  • Default Api Version: 2024-03-31
  • Resource: DicomServiceResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HealthcareApis.DicomServiceResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string dicomServiceName, Azure.ResourceManager.HealthcareApis.DicomServiceData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.HealthcareApis.DicomServiceData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HealthcareApis.DicomServiceResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.HealthcareApis.DicomServiceData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HealthcareApis.DicomServiceResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, dicomServiceName As String, data As DicomServiceData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of DicomServiceResource)

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.

dicomServiceName
String

The name of DICOM Service resource.

data
DicomServiceData

The parameters for creating or updating a Dicom Service resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dicomServiceName or data is null.

Applies to