Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
Bicep kaynak tanımı
Çalışma alanları/iotconnectors/fhirdestinations kaynak türü, aşağıdakileri hedefleyen işlemlerle dağıtılabilir:
- kaynak grupları
- Bkz. kaynak grubu dağıtım komutları
Her API sürümünde değiştirilen özelliklerin listesi için bkz. değişiklik günlüğü.
Kullanım Örnekleri
Bicep Örnekleri
Healthcare Med Tech (Tıbbi Nesnelerin İnterneti) Hizmeti Fhir Destination'ı dağıtmanın temel bir örneği.
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource workspace 'Microsoft.HealthcareApis/workspaces@2022-12-01' = {
name: resourceName
location: location
}
resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = {
name: resourceName
location: location
sku: {
capacity: 1
name: 'Standard'
tier: 'Standard'
}
properties: {
disableLocalAuth: false
isAutoInflateEnabled: false
publicNetworkAccess: 'Enabled'
zoneRedundant: false
}
}
resource eventhub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' = {
name: resourceName
parent: namespace
properties: {
messageRetentionInDays: 1
partitionCount: 2
status: 'Active'
}
}
resource fhirService 'Microsoft.HealthcareApis/workspaces/fhirServices@2022-12-01' = {
name: resourceName
location: location
parent: workspace
kind: 'fhir-R4'
properties: {
acrConfiguration: {}
authenticationConfiguration: {
audience: 'https://acctestfhir.fhir.azurehealthcareapis.com'
authority: 'https://login.microsoftonline.com/${tenant().tenantId}'
smartProxyEnabled: false
}
corsConfiguration: {
allowCredentials: false
headers: []
methods: []
origins: []
}
}
}
resource iotConnector 'Microsoft.HealthcareApis/workspaces/iotConnectors@2022-12-01' = {
name: resourceName
location: location
parent: workspace
properties: {
deviceMapping: {
content: {
template: []
templateType: 'CollectionContent'
}
}
ingestionEndpointConfiguration: {
consumerGroup: consumerGroup.id
eventHubName: eventhub.name
fullyQualifiedEventHubNamespace: '${namespace.name}.servicebus.windows.net'
}
}
}
resource consumerGroup 'Microsoft.EventHub/namespaces/eventhubs/consumerGroups@2021-11-01' = {
name: resourceName
parent: eventhub
properties: {
userMetadata: ''
}
}
resource fhirDestination 'Microsoft.HealthcareApis/workspaces/iotConnectors/fhirDestinations@2022-12-01' = {
name: resourceName
location: location
parent: iotConnector
properties: {
fhirMapping: {
content: {
template: []
templateType: 'CollectionFhirTemplate'
}
}
fhirServiceResourceId: fhirService.id
resourceIdentityResolutionType: 'Create'
}
}
Azure Doğrulanmış Modülleri
Aşağıdaki Azure Doğrulanmış Modüller bu kaynak türünü dağıtmak için kullanılabilir.
| Module | Açıklama |
|---|---|
| Healthcare API Workspace - Iotconnector - Fhirdestination | Healthcare API Workspace için AVM Child Modülü - Iotconnector - Fhirdestination |
Kaynak biçimi
Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations kaynağı oluşturmak için aşağıdaki Bicep'i şablonunuza ekleyin.
resource symbolicname 'Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations@2025-03-01-preview' = {
parent: resourceSymbolicName
etag: 'string'
location: 'string'
name: 'string'
properties: {
fhirMapping: {
content: any(...)
}
fhirServiceResourceId: 'string'
resourceIdentityResolutionType: 'string'
}
}
Özellik Değerleri
Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations
| İsim | Açıklama | Değer |
|---|---|---|
| ETİKET | Kaynakla ilişkili bir etag, düzenleme sırasında iyimser eşzamanlılık için kullanılır. | String |
| konum | Kaynak konumu. | String |
| isim | Kaynak adı | dizgi Kısıtlama -ları: En az uzunluk = 3 Maksimum uzunluk = 24 (gerekli) |
| ebeveyn | Bicep'te bir alt kaynak için üst kaynak belirtebilirsiniz. Bu özelliği yalnızca alt kaynak üst kaynağın dışında bildirildiğinde eklemeniz gerekir. Daha fazla bilgi için bkz. Alt kaynaküst kaynak dışında. |
Tür kaynağı için sembolik ad: çalışma alanları/iotconnectors |
| özellikler | IoT FHIR Hedef ayarları. | IotFhirDestinationProperties (gerekli) |
IotFhirDestinationProperties
| İsim | Açıklama | Değer |
|---|---|---|
| fhirMapping (İngilizce) | FHIR Eşlemeleri | IotMappingProperties (gerekli) |
| fhirServiceResourceId | Bağlanacak FHIR hizmetinin tam kaynak kimliği. | dize (gerekli) |
| resourceIdentityResolutionType | Kaynak kimliğinin hedefte nasıl çözümleneceğini belirler. | 'Oluştur' 'Arama' (gerekli) |
IotMappingProperties
| İsim | Açıklama | Değer |
|---|---|---|
| içerik | Eşleme. | herhangi |
ARM şablonu kaynak tanımı
Çalışma alanları/iotconnectors/fhirdestinations kaynak türü, aşağıdakileri hedefleyen işlemlerle dağıtılabilir:
- Kaynak grupları - Kaynak grubu dağıtım komutlarına bakınız Her API sürümünde değişen özelliklerin listesi için değişiklik günlüğüne bakınız.
Kullanım Örnekleri
Kaynak biçimi
Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations kaynağı oluşturmak için, şablonunuza aşağıdaki JSON'u ekleyin.
{
"type": "Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations",
"apiVersion": "2025-03-01-preview",
"name": "string",
"etag": "string",
"location": "string",
"properties": {
"fhirMapping": {
"content": {}
},
"fhirServiceResourceId": "string",
"resourceIdentityResolutionType": "string"
}
}
Özellik Değerleri
Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations
| İsim | Açıklama | Değer |
|---|---|---|
| apiVersiyonu | API sürümü | '2025-03-01-önizleme' |
| ETİKET | Kaynakla ilişkili bir etag, düzenleme sırasında iyimser eşzamanlılık için kullanılır. | String |
| konum | Kaynak konumu. | String |
| isim | Kaynak adı | dizgi Kısıtlama -ları: En az uzunluk = 3 Maksimum uzunluk = 24 (gerekli) |
| özellikler | IoT FHIR Hedef ayarları. | IotFhirDestinationProperties (gerekli) |
| tür | Kaynak türü | 'Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations' |
IotFhirDestinationProperties
| İsim | Açıklama | Değer |
|---|---|---|
| fhirMapping (İngilizce) | FHIR Eşlemeleri | IotMappingProperties (gerekli) |
| fhirServiceResourceId | Bağlanacak FHIR hizmetinin tam kaynak kimliği. | dize (gerekli) |
| resourceIdentityResolutionType | Kaynak kimliğinin hedefte nasıl çözümleneceğini belirler. | 'Oluştur' 'Arama' (gerekli) |
IotMappingProperties
| İsim | Açıklama | Değer |
|---|---|---|
| içerik | Eşleme. | herhangi |
Terraform (AzAPI sağlayıcısı) kaynak tanımı
Çalışma alanları/iotconnectors/fhirdestinations kaynak türü, aşağıdakileri hedefleyen işlemlerle dağıtılabilir:
- Kaynak grupları Her API sürümünde değişen özelliklerin listesi için bkz. Değişiklik günlüğü.
Kullanım Örnekleri
Terraform Örnekleri
Healthcare Med Tech (Tıbbi Nesnelerin İnterneti) Hizmeti Fhir Destination'ı dağıtmanın temel bir örneği.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
azurerm = {
source = "hashicorp/azurerm"
}
}
}
provider "azurerm" {
features {
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
data "azurerm_client_config" "current" {
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "namespace" {
type = "Microsoft.EventHub/namespaces@2022-01-01-preview"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
disableLocalAuth = false
isAutoInflateEnabled = false
publicNetworkAccess = "Enabled"
zoneRedundant = false
}
sku = {
capacity = 1
name = "Standard"
tier = "Standard"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "eventhub" {
type = "Microsoft.EventHub/namespaces/eventhubs@2021-11-01"
parent_id = azapi_resource.namespace.id
name = var.resource_name
body = {
properties = {
messageRetentionInDays = 1
partitionCount = 2
status = "Active"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "consumerGroup" {
type = "Microsoft.EventHub/namespaces/eventhubs/consumerGroups@2021-11-01"
parent_id = azapi_resource.eventhub.id
name = var.resource_name
body = {
properties = {
userMetadata = ""
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
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" "fhirService" {
type = "Microsoft.HealthcareApis/workspaces/fhirServices@2022-12-01"
parent_id = azapi_resource.workspace.id
name = var.resource_name
location = var.location
body = {
kind = "fhir-R4"
properties = {
acrConfiguration = {
}
authenticationConfiguration = {
audience = "https://acctestfhir.fhir.azurehealthcareapis.com"
authority = "https://login.microsoftonline.com/${data.azurerm_client_config.current.tenant_id}"
smartProxyEnabled = false
}
corsConfiguration = {
allowCredentials = false
headers = [
]
methods = [
]
origins = [
]
}
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "iotConnector" {
type = "Microsoft.HealthcareApis/workspaces/iotConnectors@2022-12-01"
parent_id = azapi_resource.workspace.id
name = var.resource_name
location = var.location
body = {
properties = {
deviceMapping = {
content = {
template = [
]
templateType = "CollectionContent"
}
}
ingestionEndpointConfiguration = {
consumerGroup = azapi_resource.consumerGroup.id
eventHubName = azapi_resource.eventhub.name
fullyQualifiedEventHubNamespace = "${azapi_resource.namespace.name}.servicebus.windows.net"
}
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "fhirDestination" {
type = "Microsoft.HealthcareApis/workspaces/iotConnectors/fhirDestinations@2022-12-01"
parent_id = azapi_resource.iotConnector.id
name = var.resource_name
location = var.location
body = {
properties = {
fhirMapping = {
content = {
template = [
]
templateType = "CollectionFhirTemplate"
}
}
fhirServiceResourceId = azapi_resource.fhirService.id
resourceIdentityResolutionType = "Create"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
Kaynak biçimi
Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations kaynağı oluşturmak için, şablonunuza aşağıdaki Terraform'u ekleyin.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations@2025-03-01-preview"
name = "string"
parent_id = "string"
location = "string"
body = {
etag = "string"
properties = {
fhirMapping = {
content = ?
}
fhirServiceResourceId = "string"
resourceIdentityResolutionType = "string"
}
}
}
Özellik Değerleri
Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations
| İsim | Açıklama | Değer |
|---|---|---|
| ETİKET | Kaynakla ilişkili bir etag, düzenleme sırasında iyimser eşzamanlılık için kullanılır. | String |
| konum | Kaynak konumu. | String |
| isim | Kaynak adı | dizgi Kısıtlama -ları: En az uzunluk = 3 Maksimum uzunluk = 24 (gerekli) |
| ebeveyn_kimlik | Bu kaynağın üst öğesi olan kaynağın kimliği. | Tür kaynağı kimliği: çalışma alanları/iotconnectors |
| özellikler | IoT FHIR Hedef ayarları. | IotFhirDestinationProperties (gerekli) |
| tür | Kaynak türü | "Microsoft.HealthcareApis/workspaces/iotconnectors/fhirdestinations@2025-03-01-preview" |
IotFhirDestinationProperties
| İsim | Açıklama | Değer |
|---|---|---|
| fhirMapping (İngilizce) | FHIR Eşlemeleri | IotMappingProperties (gerekli) |
| fhirServiceResourceId | Bağlanacak FHIR hizmetinin tam kaynak kimliği. | dize (gerekli) |
| resourceIdentityResolutionType | Kaynak kimliğinin hedefte nasıl çözümleneceğini belirler. | 'Oluştur' 'Arama' (gerekli) |
IotMappingProperties
| İsim | Açıklama | Değer |
|---|---|---|
| içerik | Eşleme. | herhangi |