Skip to main content

dicom_services

Creates, updates, deletes, gets or lists a dicom_services resource.

Overview

Namedicom_services
TypeResource
Idazure_extras.healthcare.dicom_services

Fields

The following fields are returned by SELECT queries:

The request was successful; the request was well-formed and received properly.

NameDatatypeDescription
identityobjectSetting indicating whether the service has a managed identity associated with it.
propertiesobjectDicom Service configuration.
systemDataobjectMetadata pertaining to creation and last modification of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, subscriptionId, workspaceName, dicomServiceNameGets the properties of the specified DICOM Service.
list_by_workspaceselectresourceGroupName, subscriptionId, workspaceNameLists all DICOM Services for the given workspace
create_or_updateinsertresourceGroupName, subscriptionId, workspaceName, dicomServiceNameCreates or updates a DICOM Service resource with the specified parameters.
updateupdateresourceGroupName, subscriptionId, dicomServiceName, workspaceNamePatch DICOM Service details.
deletedeletesubscriptionId, resourceGroupName, dicomServiceName, workspaceNameDeletes a DICOM Service.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
dicomServiceNamestringThe name of DICOM Service resource.
resourceGroupNamestringThe name of the resource group that contains the service instance.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of workspace resource.

SELECT examples

Gets the properties of the specified DICOM Service.

SELECT
identity,
properties,
systemData
FROM azure_extras.healthcare.dicom_services
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND dicomServiceName = '{{ dicomServiceName }}' -- required
;

INSERT examples

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

INSERT INTO azure_extras.healthcare.dicom_services (
data__identity,
data__properties,
resourceGroupName,
subscriptionId,
workspaceName,
dicomServiceName
)
SELECT
'{{ identity }}',
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ dicomServiceName }}'
RETURNING
identity,
properties,
systemData
;

UPDATE examples

Patch DICOM Service details.

UPDATE azure_extras.healthcare.dicom_services
SET
data__tags = '{{ tags }}',
data__identity = '{{ identity }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND dicomServiceName = '{{ dicomServiceName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
RETURNING
identity,
properties,
systemData;

DELETE examples

Deletes a DICOM Service.

DELETE FROM azure_extras.healthcare.dicom_services
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dicomServiceName = '{{ dicomServiceName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
;