swagger: '2.0' info: title: Azure Health Data Services de-identification service Collection 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: Collection paths: /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services: get: tags: - Collection description: Get all the service instances in a subscription. operationId: Services_List x-ms-examples: List all services in subscription: $ref: ./examples/legacy/ServiceList.json x-ms-pageable: nextLinkName: nextLink parameters: - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter responses: '200': description: This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the service instances in the subscription. schema: $ref: '#/definitions/ServicesDescriptionListResult' default: description: DefaultErrorResponse schema: $ref: '#/definitions/ErrorDetails' /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services: get: tags: - Collection description: Get all the service instances in a resource group. operationId: Services_ListByResourceGroup x-ms-examples: List all services in resource group: $ref: ./examples/legacy/ServiceListByResourceGroup.json x-ms-pageable: nextLinkName: nextLink parameters: - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: '#/parameters/resourceGroupName' responses: '200': description: This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the service instances in the resource group. schema: $ref: '#/definitions/ServicesDescriptionListResult' default: description: DefaultErrorResponse schema: $ref: '#/definitions/ErrorDetails' definitions: ServiceCorsConfigurationOriginEntry: description: An origin for CORS. type: string pattern: ^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\:\/\/(?:[a-zA-Z0-9-]+[.]?)+(?:\:[0-9]{1,5})?|[*]))$ ServiceAccessPolicyEntry: description: An access policy entry. properties: objectId: description: An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. type: string pattern: ^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$ required: - objectId ServiceExportConfigurationInfo: description: Export operation configuration information type: object properties: storageAccountName: type: string description: The name of the default export storage account. readOnly: false ErrorDetails: description: Error details. type: object properties: error: description: Error details $ref: '#/definitions/ErrorDetailsInternal' ServicesDescriptionListResult: description: A list of service description objects with a next link. type: object properties: nextLink: description: The link used to get the next page of service description objects. type: string value: description: A list of service description objects. type: array items: $ref: '#/definitions/ServicesDescription' ServicesResource: description: The common properties of a service. 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. kind: readOnly: false type: string description: The kind of the service. enum: - fhir - fhir-Stu3 - fhir-R4 x-ms-enum: name: kind modelAsString: false location: type: string description: The resource location. x-ms-mutability: - create - read tags: type: object additionalProperties: type: string description: The resource tags. etag: description: An etag associated with the resource, used for optimistic concurrency when editing it. type: string identity: type: object description: Setting indicating whether the service has a managed identity associated with it. properties: principalId: readOnly: true type: string description: The principal ID of the resource identity. tenantId: readOnly: true type: string description: The tenant ID of the resource. type: description: Type of identity being specified, currently SystemAssigned and None are allowed. type: string enum: - SystemAssigned - None x-ms-enum: name: ManagedServiceIdentityType modelAsString: true x-ms-azure-resource: true required: - location - kind ServiceOciArtifactEntry: description: An Open Container Initiative (OCI) artifact. type: object properties: loginServer: description: The Azure Container Registry login server. type: string imageName: description: The artifact name. type: string digest: description: The artifact digest. type: string 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 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) ServicesProperties: description: The properties of a service instance. type: object properties: provisioningState: description: The provisioning state. $ref: '#/definitions/ProvisioningState' accessPolicies: $ref: '#/definitions/ServiceAccessPoliciesInfo' description: The access policies of the service instance. cosmosDbConfiguration: $ref: '#/definitions/ServiceCosmosDbConfigurationInfo' description: The settings for the Cosmos DB database backing the service. authenticationConfiguration: $ref: '#/definitions/ServiceAuthenticationConfigurationInfo' description: The authentication configuration for the service instance. corsConfiguration: $ref: '#/definitions/ServiceCorsConfigurationInfo' description: The settings for the CORS configuration of the service instance. exportConfiguration: $ref: '#/definitions/ServiceExportConfigurationInfo' description: The settings for the export operation of the service instance. 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 publicNetworkAccess: 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 acrConfiguration: $ref: '#/definitions/ServiceAcrConfigurationInfo' description: The azure container registry settings used for convert data operation of the service instance. importConfiguration: $ref: '#/definitions/ServiceImportConfigurationInfo' description: The settings for the import operation of the service instance. ServiceAcrConfigurationInfo: description: Azure container registry configuration information type: object properties: loginServers: type: array description: The list of the ACR login servers. readOnly: false items: type: string ociArtifacts: type: array description: The list of Open Container Initiative (OCI) artifacts. readOnly: false items: $ref: '#/definitions/ServiceOciArtifactEntry' x-ms-identifiers: [] ServiceAccessPoliciesInfo: description: The access policies of the service instance. type: array items: $ref: '#/definitions/ServiceAccessPolicyEntry' x-ms-identifiers: - objectId ServiceAuthenticationConfigurationInfo: description: Authentication configuration information type: object properties: authority: type: string description: The authority url for the service readOnly: false audience: type: string description: The audience url for the service readOnly: false smartProxyEnabled: type: boolean description: If the SMART on FHIR proxy is enabled readOnly: false ServiceCorsConfigurationInfo: 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/ServiceCorsConfigurationOriginEntry' headers: type: array description: The headers to be allowed via CORS. readOnly: false items: $ref: '#/definitions/ServiceCorsConfigurationHeaderEntry' methods: type: array description: The methods to be allowed via CORS. readOnly: false items: $ref: '#/definitions/ServiceCorsConfigurationMethodEntry' maxAge: type: integer 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 ServiceCorsConfigurationMethodEntry: description: A method for CORS. type: string ServiceCorsConfigurationHeaderEntry: description: A header for CORS. type: string ServiceCosmosDbConfigurationInfo: description: The settings for the Cosmos DB database backing the service. type: object properties: offerThroughput: type: integer description: The provisioned throughput for the backing database. readOnly: false minimum: 400 keyVaultKeyUri: type: string description: The URI of the customer-managed key for the backing database. readOnly: false crossTenantCmkApplicationId: type: string pattern: ^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$ description: The multi-tenant application id used to enable CMK access for services in a data sovereign region. readOnly: false ServicesDescription: description: The description of the service. type: object properties: properties: x-ms-client-flatten: false description: The common properties of a service. $ref: '#/definitions/ServicesProperties' systemData: description: Metadata pertaining to creation and last modification of the resource. $ref: '#/definitions/systemData' allOf: - $ref: '#/definitions/ServicesResource' 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 ServiceImportConfigurationInfo: description: Import operation configuration information type: object properties: integrationDataStore: type: string description: The name of the default integration storage account. readOnly: false initialImportMode: type: boolean description: If the FHIR service is in InitialImportMode. readOnly: false enabled: type: boolean description: If the import operation is enabled. readOnly: false 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 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