swagger: '2.0' info: title: Azure Health Data Services de-identification service Collection DicomServices API version: '2024-11-15' x-typespec-generated: - emitter: '@azure-tools/typespec-autorest' schemes: - https consumes: - application/json produces: - application/json security: - AadToken: - https://deid.azure.com/.default tags: - name: DicomServices paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices : get: tags: - DicomServices description: Lists all DICOM Services for the given workspace operationId: DicomServices_ListByWorkspace x-ms-examples: List dicomservices: $ref: ./examples/dicomservices/DicomServices_List.json parameters: - $ref: '#/parameters/resourceGroupName' - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: '#/parameters/workspaceName' responses: '200': description: List of DICOM Services. schema: $ref: '#/definitions/DicomServiceCollection' default: description: Error response describing why the operation failed schema: $ref: '#/definitions/ErrorDetails' x-ms-pageable: nextLinkName: nextLink ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName} : get: tags: - DicomServices description: Gets the properties of the specified DICOM Service. operationId: DicomServices_Get x-ms-examples: Get a dicomservice: $ref: ./examples/dicomservices/DicomServices_Get.json parameters: - $ref: '#/parameters/resourceGroupName' - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: '#/parameters/workspaceName' - $ref: '#/parameters/dicomServiceName' responses: '200': description: The request was successful; the request was well-formed and received properly. schema: $ref: '#/definitions/DicomService' default: description: Error response describing why the operation failed schema: $ref: '#/definitions/ErrorDetails' put: tags: - DicomServices description: Creates or updates a DICOM Service resource with the specified parameters. operationId: DicomServices_CreateOrUpdate x-ms-long-running-operation: true x-ms-examples: Create or update a Dicom Service: $ref: ./examples/dicomservices/DicomServices_Create.json parameters: - $ref: '#/parameters/resourceGroupName' - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: '#/parameters/workspaceName' - $ref: '#/parameters/dicomServiceName' - name: dicomservice description: The parameters for creating or updating a Dicom Service resource. in: body required: true schema: $ref: '#/definitions/DicomService' responses: '200': description: Updated - Put request accepted and an existing resource is updated. schema: $ref: '#/definitions/DicomService' '201': description: Created - Put request accepted and an existing resource is being created asynchronously. schema: $ref: '#/definitions/DicomService' '202': description: Accepted - Put request accepted and an existing resource is being updated asynchronously. schema: $ref: '#/definitions/DicomService' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorDetails' patch: tags: - DicomServices description: Patch DICOM Service details. operationId: DicomServices_Update x-ms-long-running-operation: true x-ms-examples: Update a dicomservice: $ref: ./examples/dicomservices/DicomServices_Patch.json parameters: - $ref: '#/parameters/resourceGroupName' - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: '#/parameters/dicomServiceName' - $ref: '#/parameters/workspaceName' - name: dicomservicePatchResource description: The parameters for updating a Dicom Service. in: body required: true schema: $ref: '#/definitions/DicomServicePatchResource' responses: '200': description: Updated - Patch request accepted and an existing resource is updated. schema: $ref: '#/definitions/DicomService' '202': description: Accepted - Patch request accepted and an existing resource is being updated asynchronously. schema: $ref: '#/definitions/DicomService' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorDetails' delete: tags: - DicomServices description: Deletes a DICOM Service. operationId: DicomServices_Delete x-ms-long-running-operation: true x-ms-examples: Delete a dicomservice: $ref: ./examples/dicomservices/DicomServices_Delete.json parameters: - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: '#/parameters/resourceGroupName' - $ref: '#/parameters/dicomServiceName' - $ref: '#/parameters/workspaceName' responses: '200': description: Resource deleted. '202': description: Delete request accepted; the operation will complete asynchronously. '204': description: The resource does not exist. default: description: Error response describing why the operation failed schema: $ref: '#/definitions/Error' definitions: CorsConfigurationOriginEntry: description: An origin for CORS. type: string pattern: ^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\:\/\/(?:[a-zA-Z0-9-]+[.]?)+(?:\:[0-9]{1,5})?|[*]))$ ErrorDetails: description: Error details. type: object properties: error: description: Error details $ref: '#/definitions/ErrorDetailsInternal' DicomServiceCollection: description: The collection of Dicom Services. type: object properties: nextLink: description: The link used to get the next page of Dicom Services. type: string value: description: The list of Dicom Services. type: array items: $ref: '#/definitions/DicomService' DicomServicePatchResource: type: object description: Dicom Service patch properties allOf: - $ref: '#/definitions/ResourceTags' - $ref: '#/definitions/ServiceManagedIdentity' DicomAudience: description: The audience for Dicom Service type: string readOnly: true ServiceManagedIdentity: type: object description: Managed service identity (system assigned and/or user assigned identities) properties: identity: type: object description: Setting indicating whether the service has a managed identity associated with it. properties: type: description: Type of identity being specified, currently SystemAssigned and None are allowed. type: string enum: - None - SystemAssigned - UserAssigned - SystemAssigned,UserAssigned x-ms-enum: name: ServiceManagedIdentityType modelAsString: true principalId: readOnly: true format: uuid type: string description: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. tenantId: readOnly: true format: uuid type: string description: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. userAssignedIdentities: $ref: '#/definitions/UserAssignedIdentities' required: - type ErrorDetailsInternal: description: Error details. type: object properties: code: description: The error code. type: string readOnly: true message: description: The error message. type: string readOnly: true target: description: The target of the particular error. type: string readOnly: true LocationBasedResource: type: object description: The common properties for any location based resource, tracked or proxy. allOf: - $ref: '#/definitions/ResourceCore' properties: location: type: string description: The resource location. x-ms-mutability: - create - read x-ms-azure-resource: true DicomServiceAuthenticationConfiguration: description: Authentication configuration information type: object properties: authority: type: string description: The authority url for the service readOnly: true audiences: type: array description: The audiences for the service items: $ref: '#/definitions/DicomAudience' readOnly: true Encryption: description: Settings to encrypt a service type: object properties: customerManagedKeyEncryption: type: object description: The encryption settings for the customer-managed key readOnly: false properties: keyEncryptionKeyUrl: type: string description: The URL of the key to use for encryption readOnly: false UserAssignedIdentity: type: object description: User assigned identity properties properties: principalId: description: The principal ID of the assigned identity. format: uuid type: string readOnly: true clientId: description: The client ID of the assigned identity. format: uuid type: string readOnly: true CorsConfiguration: description: The settings for the CORS configuration of the service instance. type: object properties: origins: type: array description: The origins to be allowed via CORS. readOnly: false items: $ref: '#/definitions/CorsConfigurationOriginEntry' headers: type: array description: The headers to be allowed via CORS. readOnly: false items: $ref: '#/definitions/CorsConfigurationHeaderEntry' methods: type: array description: The methods to be allowed via CORS. readOnly: false items: $ref: '#/definitions/CorsConfigurationMethodEntry' maxAge: type: integer format: int32 description: The max age to be allowed via CORS. readOnly: false minimum: 0 maximum: 99999 allowCredentials: type: boolean description: If credentials are allowed via CORS. readOnly: false EnableDataPartitions: description: Boolean to indicate if data partitions is enabled or not. type: boolean DicomService: type: object description: The description of Dicom Service allOf: - $ref: '#/definitions/TaggedResource' - $ref: '#/definitions/ServiceManagedIdentity' properties: properties: description: Dicom Service configuration. $ref: '#/definitions/DicomServiceProperties' x-ms-client-flatten: true systemData: description: Metadata pertaining to creation and last modification of the resource. $ref: '#/definitions/systemData' ResourceTags: type: object description: List of key value pairs that describe the resource. This will overwrite the existing tags. properties: tags: type: object additionalProperties: type: string x-ms-mutability: - read - create - update description: Resource tags. CorsConfigurationHeaderEntry: description: A header for CORS. type: string CorsConfigurationMethodEntry: description: A method for CORS. type: string DicomServiceProperties: description: Dicom Service properties. type: object properties: provisioningState: description: The provisioning state. $ref: '#/definitions/ProvisioningState' authenticationConfiguration: description: Dicom Service authentication configuration. $ref: '#/definitions/DicomServiceAuthenticationConfiguration' corsConfiguration: description: Dicom Service Cors configuration. $ref: '#/definitions/CorsConfiguration' serviceUrl: description: The url of the Dicom Services. type: string readOnly: true privateEndpointConnections: description: The list of private endpoint connections that are set up for this resource. type: array items: $ref: ../../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection readOnly: true publicNetworkAccess: description: Control permission for data plane traffic coming from public networks while private endpoint is enabled. $ref: '#/definitions/ResourcePublicNetworkAccess' eventState: description: DICOM Service event support status. $ref: '#/definitions/ResourceEventState' encryption: description: The encryption settings of the DICOM service $ref: '#/definitions/Encryption' storageConfiguration: description: The configuration of external storage account $ref: '#/definitions/StorageConfiguration' enableDataPartitions: description: If data partitions is enabled or not. $ref: '#/definitions/EnableDataPartitions' Error: description: Error details. type: object properties: error: description: Error details $ref: '#/definitions/ErrorDetailsInternal' StorageConfiguration: description: The configuration of connected storage type: object properties: storageResourceId: type: string description: The resource id of connected storage account. readOnly: false fileSystemName: type: string description: The filesystem name of connected storage account. readOnly: false TaggedResource: type: object description: The common properties of tracked resources in the service. allOf: - $ref: '#/definitions/ResourceTags' - $ref: '#/definitions/LocationBasedResource' x-ms-azure-resource: true ResourcePublicNetworkAccess: description: Control permission for data plane traffic coming from public networks while private endpoint is enabled. enum: - Enabled - Disabled type: string x-ms-enum: name: PublicNetworkAccess modelAsString: true readOnly: true ProvisioningState: description: The provisioning state. enum: - Deleting - Succeeded - Creating - Accepted - Verifying - Updating - Failed - Canceled - Deprovisioned - Moving - Suspended - Warned - SystemMaintenance type: string readOnly: true x-ms-enum: name: provisioningState modelAsString: true UserAssignedIdentities: title: User-Assigned Identities description: '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.' type: object additionalProperties: $ref: '#/definitions/UserAssignedIdentity' ResourceCore: type: object description: The common properties for any resource, tracked or proxy. properties: id: readOnly: true type: string description: The resource identifier. name: readOnly: true type: string description: The resource name. pattern: ^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$ type: readOnly: true type: string description: The resource type. etag: description: An etag associated with the resource, used for optimistic concurrency when editing it. type: string x-ms-azure-resource: true ResourceEventState: type: string description: Indicates the current status of event support for the resource. enum: - Disabled - Enabled - Updating x-ms-enum: name: ServiceEventState modelAsString: true readOnly: true systemData: description: Metadata pertaining to creation and last modification of the resource. type: object readOnly: true properties: createdBy: type: string description: The identity that created the resource. createdByType: type: string description: The type of identity that created the resource. enum: - User - Application - ManagedIdentity - Key x-ms-enum: name: createdByType modelAsString: true createdAt: type: string format: date-time description: The timestamp of resource creation (UTC). lastModifiedBy: type: string description: The identity that last modified the resource. lastModifiedByType: type: string description: The type of identity that last modified the resource. enum: - User - Application - ManagedIdentity - Key x-ms-enum: name: createdByType modelAsString: true lastModifiedAt: type: string format: date-time description: The timestamp of resource last modification (UTC) parameters: resourceGroupName: name: resourceGroupName in: path description: The name of the resource group that contains the service instance. required: true type: string x-ms-parameter-location: method pattern: ^[-\w\._\(\)]+$ minLength: 1 maxLength: 90 dicomServiceName: name: dicomServiceName in: path required: true type: string description: The name of DICOM Service resource. x-ms-parameter-location: method minLength: 3 maxLength: 24 workspaceName: name: workspaceName in: path required: true type: string description: The name of workspace resource. x-ms-parameter-location: method minLength: 3 maxLength: 24 securityDefinitions: AadToken: type: oauth2 description: The Azure Active Directory OAuth2 Flow flow: accessCode authorizationUrl: https://login.microsoftonline.com/common/oauth2/v2.0/authorize scopes: https://deid.azure.com/.default: '' tokenUrl: https://login.microsoftonline.com/common/oauth2/token x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - name: endpoint in: path description: Url of your De-identification Service. required: true type: string format: uri x-ms-skip-url-encoding: true