From 0f24868911876f3e315fc0a6f5f4ef022ff19e36 Mon Sep 17 00:00:00 2001 From: Mahdi Azarboon <21277296+azarboon@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:07:26 +0800 Subject: [PATCH] Update api_management_backend.html.markdown (#28150) --- website/docs/r/api_management_backend.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/r/api_management_backend.html.markdown b/website/docs/r/api_management_backend.html.markdown index ed8cf79b661b..f0da0288659c 100644 --- a/website/docs/r/api_management_backend.html.markdown +++ b/website/docs/r/api_management_backend.html.markdown @@ -33,7 +33,7 @@ resource "azurerm_api_management_backend" "example" { resource_group_name = azurerm_resource_group.example.name api_management_name = azurerm_api_management.example.name protocol = "http" - url = "https://backend" + url = "https://backend.com/api" } ``` @@ -49,7 +49,7 @@ The following arguments are supported: * `protocol` - (Required) The protocol used by the backend host. Possible values are `http` or `soap`. -* `url` - (Required) The URL of the backend host. +* `url` - (Required) The backend host URL should be specified in the format `"https://backend.com/api"`, avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as the `base-url` in the [`set-backend-service`](https://learn.microsoft.com/azure/api-management/set-backend-service-policy) policy, enabling seamless transitions from frontend to backend. ---