Fix compatibility with Azure Front Door

Created on 8 February 2024, 8 months ago
Updated 14 March 2024, 7 months ago

Problem/Motivation

This module works well for the Azure Front Door too. But recently some changes have been made by Microsoft and the endpoint url can be a little different for Azure Front Door. In the url to which the paths will be posted '/endpoints/' should be changed into '/afdEndpoints/'.

For now, I've included a patch that just changes the endpoint url. People could use it if they run into the same issue. I'll try to add the possibility to choose which endpoint url to use at a later moment.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Matsitsjka
  • Status changed to Fixed 7 months ago
  • 🇭🇺Hungary Aron Novak Hungary, Budapest

    It seems it is already fixed. The current DEV contains:

    $url = "https://management.azure.com/subscriptions/" . $subscription_id . "/resourceGroups/" . $resource_group_name . "/providers/Microsoft.Cdn/profiles/" . $profile_name . "/$endpoint_type/" . $endpoint_name . "/purge?api-version=" . $api_version;
    

    And endpoint_type can be "afdEndpoints", based on the settings.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024