Microsoft.HealthcareApis workspaces/dicomservices

Bicep resource definition

The workspaces/dicomservices resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Usage Examples

Bicep Samples

A basic example of deploying Healthcare DICOM (Digital Imaging and Communications in Medicine) Service.

param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource workspace 'Microsoft.HealthcareApis/workspaces@2022-12-01' = {
  name: resourceName
  location: location
}

resource dicomService 'Microsoft.HealthcareApis/workspaces/dicomServices@2022-12-01' = {
  name: resourceName
  location: location
  parent: workspace
  properties: {
    publicNetworkAccess: 'Enabled'
  }
}

Resource format

To create a Microsoft.HealthcareApis/workspaces/dicomservices resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.HealthcareApis/workspaces/dicomservices@2025-04-01-preview' = {
  parent: resourceSymbolicName
  etag: 'string'
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    authenticationConfiguration: {}
    corsConfiguration: {
      allowCredentials: bool
      headers: [
        'string'
      ]
      maxAge: int
      methods: [
        'string'
      ]
      origins: [
        'string'
      ]
    }
    enableDataPartitions: bool
    encryption: {
      customerManagedKeyEncryption: {
        keyEncryptionKeyUrl: 'string'
      }
    }
    publicNetworkAccess: 'string'
    storageConfiguration: {
      fileSystemName: 'string'
      storageIndexingConfiguration: {
        storageEventQueueName: 'string'
      }
      storageResourceId: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.HealthcareApis/workspaces/dicomservices

Name Description Value
etag An etag associated with the resource, used for optimistic concurrency when editing it. string
identity Setting indicating whether the service has a managed identity associated with it. ServiceManagedIdentity
location The common properties for any location based resource, tracked or proxy. string
name The resource name string

Constraints:
Min length = 3
Max length = 24 (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: workspaces
properties Dicom Service configuration. DicomServiceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

CorsConfiguration

Name Description Value
allowCredentials If credentials are allowed via CORS. bool
headers The headers to be allowed via CORS. string[]
maxAge The max age to be allowed via CORS. int

Constraints:
Max value = 99999
methods The methods to be allowed via CORS. string[]
origins The origins to be allowed via CORS. string[]

DicomServiceAuthenticationConfiguration

Name Description Value

DicomServiceProperties

Name Description Value
authenticationConfiguration Dicom Service authentication configuration. DicomServiceAuthenticationConfiguration
corsConfiguration Dicom Service Cors configuration. CorsConfiguration
enableDataPartitions If data partitions is enabled or not. bool
encryption The encryption settings of the DICOM service Encryption
publicNetworkAccess Control permission for data plane traffic coming from public networks while private endpoint is enabled. 'Disabled'
'Enabled'
storageConfiguration The configuration of external storage account StorageConfiguration

DicomServiceTags

Name Description Value

Encryption

Name Description Value
customerManagedKeyEncryption The encryption settings for the customer-managed key EncryptionCustomerManagedKeyEncryption

EncryptionCustomerManagedKeyEncryption

Name Description Value
keyEncryptionKeyUrl The URL of the key to use for encryption string

ServiceManagedIdentity

Name Description Value
type Type of identity being specified, currently SystemAssigned and None are allowed. 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. ServiceManagedIdentityUserAssignedIdentities

ServiceManagedIdentityUserAssignedIdentities

Name Description Value

StorageConfiguration

Name Description Value
fileSystemName The filesystem name of connected storage account. string
storageIndexingConfiguration The configuration for indexing the connected storage. StorageIndexingConfiguration
storageResourceId The resource id of connected storage account. string

StorageIndexingConfiguration

Name Description Value
storageEventQueueName The name of the queue that contains storage cloud events. string

UserAssignedIdentity

Name Description Value

ARM template resource definition

The workspaces/dicomservices resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.HealthcareApis/workspaces/dicomservices resource, add the following JSON to your template.

{
  "type": "Microsoft.HealthcareApis/workspaces/dicomservices",
  "apiVersion": "2025-04-01-preview",
  "name": "string",
  "etag": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "authenticationConfiguration": {
    },
    "corsConfiguration": {
      "allowCredentials": "bool",
      "headers": [ "string" ],
      "maxAge": "int",
      "methods": [ "string" ],
      "origins": [ "string" ]
    },
    "enableDataPartitions": "bool",
    "encryption": {
      "customerManagedKeyEncryption": {
        "keyEncryptionKeyUrl": "string"
      }
    },
    "publicNetworkAccess": "string",
    "storageConfiguration": {
      "fileSystemName": "string",
      "storageIndexingConfiguration": {
        "storageEventQueueName": "string"
      },
      "storageResourceId": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.HealthcareApis/workspaces/dicomservices

Name Description Value
apiVersion The api version '2025-04-01-preview'
etag An etag associated with the resource, used for optimistic concurrency when editing it. string
identity Setting indicating whether the service has a managed identity associated with it. ServiceManagedIdentity
location The common properties for any location based resource, tracked or proxy. string
name The resource name string

Constraints:
Min length = 3
Max length = 24 (required)
properties Dicom Service configuration. DicomServiceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.HealthcareApis/workspaces/dicomservices'

CorsConfiguration

Name Description Value
allowCredentials If credentials are allowed via CORS. bool
headers The headers to be allowed via CORS. string[]
maxAge The max age to be allowed via CORS. int

Constraints:
Max value = 99999
methods The methods to be allowed via CORS. string[]
origins The origins to be allowed via CORS. string[]

DicomServiceAuthenticationConfiguration

Name Description Value

DicomServiceProperties

Name Description Value
authenticationConfiguration Dicom Service authentication configuration. DicomServiceAuthenticationConfiguration
corsConfiguration Dicom Service Cors configuration. CorsConfiguration
enableDataPartitions If data partitions is enabled or not. bool
encryption The encryption settings of the DICOM service Encryption
publicNetworkAccess Control permission for data plane traffic coming from public networks while private endpoint is enabled. 'Disabled'
'Enabled'
storageConfiguration The configuration of external storage account StorageConfiguration

DicomServiceTags

Name Description Value

Encryption

Name Description Value
customerManagedKeyEncryption The encryption settings for the customer-managed key EncryptionCustomerManagedKeyEncryption

EncryptionCustomerManagedKeyEncryption

Name Description Value
keyEncryptionKeyUrl The URL of the key to use for encryption string

ServiceManagedIdentity

Name Description Value
type Type of identity being specified, currently SystemAssigned and None are allowed. 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. ServiceManagedIdentityUserAssignedIdentities

ServiceManagedIdentityUserAssignedIdentities

Name Description Value

StorageConfiguration

Name Description Value
fileSystemName The filesystem name of connected storage account. string
storageIndexingConfiguration The configuration for indexing the connected storage. StorageIndexingConfiguration
storageResourceId The resource id of connected storage account. string

StorageIndexingConfiguration

Name Description Value
storageEventQueueName The name of the queue that contains storage cloud events. string

UserAssignedIdentity

Name Description Value

Terraform (AzAPI provider) resource definition

The workspaces/dicomservices resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Usage Examples

Terraform Samples

A basic example of deploying Healthcare DICOM (Digital Imaging and Communications in Medicine) Service.

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "westeurope"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "workspace" {
  type                      = "Microsoft.HealthcareApis/workspaces@2022-12-01"
  parent_id                 = azapi_resource.resourceGroup.id
  name                      = var.resource_name
  location                  = var.location
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

resource "azapi_resource" "dicomService" {
  type      = "Microsoft.HealthcareApis/workspaces/dicomServices@2022-12-01"
  parent_id = azapi_resource.workspace.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
      publicNetworkAccess = "Enabled"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

Resource format

To create a Microsoft.HealthcareApis/workspaces/dicomservices resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.HealthcareApis/workspaces/dicomservices@2025-04-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    etag = "string"
    properties = {
      authenticationConfiguration = {
      }
      corsConfiguration = {
        allowCredentials = bool
        headers = [
          "string"
        ]
        maxAge = int
        methods = [
          "string"
        ]
        origins = [
          "string"
        ]
      }
      enableDataPartitions = bool
      encryption = {
        customerManagedKeyEncryption = {
          keyEncryptionKeyUrl = "string"
        }
      }
      publicNetworkAccess = "string"
      storageConfiguration = {
        fileSystemName = "string"
        storageIndexingConfiguration = {
          storageEventQueueName = "string"
        }
        storageResourceId = "string"
      }
    }
  }
}

Property Values

Microsoft.HealthcareApis/workspaces/dicomservices

Name Description Value
etag An etag associated with the resource, used for optimistic concurrency when editing it. string
identity Setting indicating whether the service has a managed identity associated with it. ServiceManagedIdentity
location The common properties for any location based resource, tracked or proxy. string
name The resource name string

Constraints:
Min length = 3
Max length = 24 (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: workspaces
properties Dicom Service configuration. DicomServiceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.HealthcareApis/workspaces/dicomservices@2025-04-01-preview"

CorsConfiguration

Name Description Value
allowCredentials If credentials are allowed via CORS. bool
headers The headers to be allowed via CORS. string[]
maxAge The max age to be allowed via CORS. int

Constraints:
Max value = 99999
methods The methods to be allowed via CORS. string[]
origins The origins to be allowed via CORS. string[]

DicomServiceAuthenticationConfiguration

Name Description Value

DicomServiceProperties

Name Description Value
authenticationConfiguration Dicom Service authentication configuration. DicomServiceAuthenticationConfiguration
corsConfiguration Dicom Service Cors configuration. CorsConfiguration
enableDataPartitions If data partitions is enabled or not. bool
encryption The encryption settings of the DICOM service Encryption
publicNetworkAccess Control permission for data plane traffic coming from public networks while private endpoint is enabled. 'Disabled'
'Enabled'
storageConfiguration The configuration of external storage account StorageConfiguration

DicomServiceTags

Name Description Value

Encryption

Name Description Value
customerManagedKeyEncryption The encryption settings for the customer-managed key EncryptionCustomerManagedKeyEncryption

EncryptionCustomerManagedKeyEncryption

Name Description Value
keyEncryptionKeyUrl The URL of the key to use for encryption string

ServiceManagedIdentity

Name Description Value
type Type of identity being specified, currently SystemAssigned and None are allowed. 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. ServiceManagedIdentityUserAssignedIdentities

ServiceManagedIdentityUserAssignedIdentities

Name Description Value

StorageConfiguration

Name Description Value
fileSystemName The filesystem name of connected storage account. string
storageIndexingConfiguration The configuration for indexing the connected storage. StorageIndexingConfiguration
storageResourceId The resource id of connected storage account. string

StorageIndexingConfiguration

Name Description Value
storageEventQueueName The name of the queue that contains storage cloud events. string

UserAssignedIdentity

Name Description Value