我正在尝试计算出那些标有黑线的字段需要哪些值 - 如果可能的话,我想使用逻辑应用系统分配的标识。
我发现的文档没有解释或给出使用系统身份的示例 - 知道我需要指定哪些值吗?
注意:Azure SQL 服务器已启用 Entra。
所以我创建了以下 ARM 模板。我缺少的代码在 **...注意 apiVersion
template_content = <<TEMPLATE
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {},
"resources": [
{
"type": "Microsoft.Web/connections",
"apiVersion": "2018-07-01-preview",
"name": "${local.api_sql_connector}",
"location": "uksouth",
"kind": "V2",
"properties": {
"displayName": "connection_to_db_ISL_Management_Information",
"statuses": [
{
"status": "Ready"
}
],
"customParameterValues": {},
"nonSecretParameterValues": {},
**"parameterValueSet": {
"name": "oauthMI",
"values": {}
},**
"createdTime": "2024-08-25T10:03:26.8330878Z",
"changedTime": "2024-08-26T10:44:23.2214299Z",
"api": {
"name": "sql",
"displayName": "SQL Server",
"description": "Microsoft SQL Server is a relational database management system developed by Microsoft. Connect to SQL Server to manage data. You can perform various actions such as create, update, get, and delete on rows in a table.",
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1710/1.0.1710.3861/sql/icon.png",
"brandColor": "#ba141a",
"id": "/subscriptions/${data.azurerm_subscription.current.subscription_id}/providers/Microsoft.Web/locations/uksouth/managedApis/sql",
"type": "Microsoft.Web/locations/managedApis"
},
"testLinks": [
{
"requestUri": "https://management.azure.com:443/subscriptions/${data.azurerm_subscription.current.subscription_id}/resourceGroups/${local.solution_rg}/providers/Microsoft.Web/connections/sql/extensions/proxy/testconnection?api-version=2016-06-01",
"method": "get"
}
]
}
}
]
}
TEMPLATE
}