Skip to content

Commit

Permalink
Update api_management_backend.html.markdown (hashicorp#28150)
Browse files Browse the repository at this point in the history
  • Loading branch information
azarboon authored Dec 3, 2024
1 parent 40abc63 commit 0f24868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/r/api_management_backend.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand All @@ -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.

---

Expand Down

0 comments on commit 0f24868

Please sign in to comment.