Dicom Services - Create Or Update

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

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}?api-version=2022-06-01

URI Parameters

Name In Required Type Description
dicomServiceName
path True

string

The name of DICOM Service resource.

resourceGroupName
path True

string

The name of the resource group that contains the service instance.

Regex pattern: ^[-\w\._\(\)]+$

subscriptionId
path True

string

The subscription identifier.

workspaceName
path True

string

The name of workspace resource.

api-version
query True

string

Client Api Version.

Request Body

Name Type Description
etag

string

An etag associated with the resource, used for optimistic concurrency when editing it.

identity

Identity

Setting indicating whether the service has a managed identity associated with it.

location

string

The resource location.

properties.authenticationConfiguration

DicomServiceAuthenticationConfiguration

Dicom Service authentication configuration.

properties.corsConfiguration

CorsConfiguration

Dicom Service Cors configuration.

tags

object

Resource tags.

Responses

Name Type Description
200 OK

DicomService

Updated - Put request accepted and an existing resource is updated.

201 Created

DicomService

Created - Put request accepted and an existing resource is being created asynchronously.

202 Accepted

DicomService

Accepted - Put request accepted and an existing resource is being updated asynchronously.

Other Status Codes

ErrorDetails

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Create or update a Dicom Service

Sample request

PUT https://management.azure.com/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue?api-version=2022-06-01

{
  "location": "westus",
  "properties": {}
}

Sample response

{
  "name": "blue",
  "id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
  "location": "westus",
  "type": "Microsoft.HealthcareApis/workspaces/dicomservices",
  "properties": {
    "authenticationConfiguration": {
      "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
      "audiences": [
        "https://azurehealthcareapis.com/",
        "https://azurehealthcareapis.com"
      ]
    },
    "corsConfiguration": {
      "origins": [
        "*"
      ],
      "headers": [
        "*"
      ],
      "methods": [
        "DELETE",
        "GET",
        "OPTIONS",
        "PATCH",
        "POST",
        "PUT"
      ],
      "maxAge": 1440,
      "allowCredentials": false
    },
    "provisioningState": "Succeeded",
    "serviceUrl": null
  }
}
{
  "name": "blue",
  "id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
  "location": "westus",
  "type": "Microsoft.HealthcareApis/workspaces/dicomservices",
  "properties": {
    "authenticationConfiguration": {
      "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
      "audiences": [
        "https://azurehealthcareapis.com/",
        "https://azurehealthcareapis.com"
      ]
    },
    "provisioningState": "Creating",
    "serviceUrl": null
  }
}
{
  "name": "blue",
  "id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
  "location": "westus",
  "type": "Microsoft.HealthcareApis/workspaces/dicomservices",
  "properties": {
    "authenticationConfiguration": {
      "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
      "audiences": [
        "https://azurehealthcareapis.com/",
        "https://azurehealthcareapis.com"
      ]
    },
    "provisioningState": "Accepted",
    "serviceUrl": null
  }
}

Definitions

Name Description
CorsConfiguration

The settings for the CORS configuration of the service instance.

createdByType

The type of identity that created the resource.

DicomService

The description of Dicom Service

DicomServiceAuthenticationConfiguration

Authentication configuration information

ErrorDetails

Error details.

ErrorDetailsInternal

Error details.

Identity

Setting indicating whether the service has a managed identity associated with it.

PrivateEndpoint

The Private Endpoint resource.

PrivateEndpointConnection

The Private Endpoint Connection resource.

PrivateEndpointConnectionProvisioningState

The current provisioning state.

PrivateEndpointServiceConnectionStatus

The private endpoint connection status.

PrivateLinkServiceConnectionState

A collection of information about the state of the connection between service consumer and provider.

provisioningState

The provisioning state.

PublicNetworkAccess

Control permission for data plane traffic coming from public networks while private endpoint is enabled.

ServiceManagedIdentityType

Type of identity being specified, currently SystemAssigned and None are allowed.

systemData

Metadata pertaining to creation and last modification of the resource.

UserAssignedIdentity

User assigned identity properties

CorsConfiguration

The settings for the CORS configuration of the service instance.

Name Type Description
allowCredentials

boolean

If credentials are allowed via CORS.

headers

string[]

The headers to be allowed via CORS.

maxAge

integer

The max age to be allowed via CORS.

methods

string[]

The methods to be allowed via CORS.

origins

string[]

The origins to be allowed via CORS.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

DicomService

The description of Dicom Service

Name Type Description
etag

string

An etag associated with the resource, used for optimistic concurrency when editing it.

id

string

The resource identifier.

identity

Identity

Setting indicating whether the service has a managed identity associated with it.

location

string

The resource location.

name

string

The resource name.

properties.authenticationConfiguration

DicomServiceAuthenticationConfiguration

Dicom Service authentication configuration.

properties.corsConfiguration

CorsConfiguration

Dicom Service Cors configuration.

properties.privateEndpointConnections

PrivateEndpointConnection[]

The list of private endpoint connections that are set up for this resource.

properties.provisioningState

provisioningState

The provisioning state.

properties.publicNetworkAccess

PublicNetworkAccess

Control permission for data plane traffic coming from public networks while private endpoint is enabled.

properties.serviceUrl

string

The url of the Dicom Services.

systemData

systemData

Metadata pertaining to creation and last modification of the resource.

tags

object

Resource tags.

type

string

The resource type.

DicomServiceAuthenticationConfiguration

Authentication configuration information

Name Type Description
audiences

string[]

The audiences for the service

authority

string

The authority url for the service

ErrorDetails

Error details.

Name Type Description
error

ErrorDetailsInternal

Error details

ErrorDetailsInternal

Error details.

Name Type Description
code

string

The error code.

message

string

The error message.

target

string

The target of the particular error.

Identity

Setting indicating whether the service has a managed identity associated with it.

Name Type Description
principalId

string

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

tenantId

string

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

type

ServiceManagedIdentityType

Type of identity being specified, currently SystemAssigned and None are allowed.

userAssignedIdentities

<string,  UserAssignedIdentity>

User-Assigned Identities
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.

PrivateEndpoint

The Private Endpoint resource.

Name Type Description
id

string

The ARM identifier for Private Endpoint

PrivateEndpointConnection

The Private Endpoint Connection resource.

Name Type Description
id

string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

The name of the resource

properties.privateEndpoint

PrivateEndpoint

The resource of private end point.

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

A collection of information about the state of the connection between service consumer and provider.

properties.provisioningState

PrivateEndpointConnectionProvisioningState

The provisioning state of the private endpoint connection resource.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

PrivateEndpointConnectionProvisioningState

The current provisioning state.

Name Type Description
Creating

string

Deleting

string

Failed

string

Succeeded

string

PrivateEndpointServiceConnectionStatus

The private endpoint connection status.

Name Type Description
Approved

string

Pending

string

Rejected

string

PrivateLinkServiceConnectionState

A collection of information about the state of the connection between service consumer and provider.

Name Type Description
actionsRequired

string

A message indicating if changes on the service provider require any updates on the consumer.

description

string

The reason for approval/rejection of the connection.

status

PrivateEndpointServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

provisioningState

The provisioning state.

Name Type Description
Accepted

string

Canceled

string

Creating

string

Deleting

string

Deprovisioned

string

Failed

string

Moving

string

Succeeded

string

Suspended

string

SystemMaintenance

string

Updating

string

Verifying

string

Warned

string

PublicNetworkAccess

Control permission for data plane traffic coming from public networks while private endpoint is enabled.

Name Type Description
Disabled

string

Enabled

string

ServiceManagedIdentityType

Type of identity being specified, currently SystemAssigned and None are allowed.

Name Type Description
None

string

SystemAssigned

string

SystemAssigned,UserAssigned

string

UserAssigned

string

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.

UserAssignedIdentity

User assigned identity properties

Name Type Description
clientId

string

The client ID of the assigned identity.

principalId

string

The principal ID of the assigned identity.