Networking
Front Door Standard or Premium endpoint
Provides the public entry point for routes on a Standard or Premium Front Door profile.
Naming rules
- Abbreviation
- Length
- Up to 50 (module guidance)
- Allowed characters
- See Microsoft’s resource reference.
- Uniqueness scope
- Microsoft.Cdn/profiles
Azure Verified Modules naming utility v0.3.0 · AVM naming key profile_afd_endpoint
Code examples
Adapt the examples to your environment and supply referenced resources and variables.
Terraform
Terraform documentationhcl
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
version = "~> 2.0"
}
}
}
variable "name" {
type = string
}
variable "parent_id" {
description = "Full Azure resource ID of the parent resource or resource group."
type = string
}
resource "azapi_resource" "example" {
type = "Microsoft.Cdn/profiles/afdEndpoints@2026-10-01"
name = var.name
parent_id = var.parent_id
location = "global"
body = {
properties = {
enabledState = "Enabled"
}
}
}
Bicep
Bicep documentationbicep
param name string
@description('Slash-separated names of the parent resources in this resource group.')
param parentName string
resource example 'Microsoft.Cdn/profiles/afdEndpoints@2026-10-01' = {
name: '${parentName}/${name}'
location: 'global'
properties: {
enabledState: 'Enabled'
}
}
ARM template
ARM template documentationjson
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string"
},
"parentName": {
"type": "string",
"metadata": {
"description": "Slash-separated names of the parent resources in this resource group."
}
}
},
"resources": [
{
"type": "Microsoft.Cdn/profiles/afdEndpoints",
"apiVersion": "2026-10-01",
"name": "[format('{0}/{1}', parameters('parentName'), parameters('name'))]",
"location": "global",
"properties": {
"enabledState": "Enabled"
}
}
]
}
Private endpoints
Premium profiles can connect privately to supported origins. Approve the connection on the origin. Clients continue to reach the public Front Door endpoint.
Service networking guidance