有没有办法将手臂模板传递给静态私有前端 IP 地址以创建应用程序网关?我看到快速入门模板中的示例使用
"frontendIPConfigurations": [
{
"name": "appGatewayFrontendIP",
"properties": {
"PublicIPAddress": {
"id": "[variables('appGwPublicIPRef')]"
}
}
}
],
对于公众,但我不明白这里“id”的使用。在架构示例中,我发现了这个:
"properties": {
"privateIPAddress": {
"type": "string",
"description": "PrivateIPAddress of the network interface IP Configuration."
},
"privateIPAllocationMethod": {
"oneOf": [
{
"type": "string",
"enum": [
"Static",
"Dynamic"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "PrivateIP allocation method."
},
但不知道哪种类型合适?