ansible-collections / azure

Development area for Azure Collections
https://galaxy.ansible.com/azure/azcollection
GNU General Public License v3.0
246 stars 330 forks source link

Feature Request - Add support for Azure Front Door #1041

Open paulczar opened 1 year ago

paulczar commented 1 year ago

Add support from Azure Front Door.

see https://learn.microsoft.com/en-us/cli/azure/service-page/azure%20front%20door?view=azure-cli-latest for the various CLI commands we should make available.

jartoo commented 5 months ago

This would be a good addition! +1 for feature request..

jartoo commented 4 months ago

Ok, for clarity here, the new version of the "Front Door Service" is actually managed out of the azure-mgmt-cdn library using the CdnManagementClient class, which is counter to what one would expect from the naming conventions. Currently, you offer the azure.azcollection.azure_rm_cdnprofile module, which is missing support for the Standard_AzureFrontDoor and Premium_AzureFrontDoor options. As well, additional modules for the Origin Group, Origin, Rule Set, Rules, End Points, etc.. would be needed. Not sure if it makes sense to add modules for each of these objects, or only some of them with the rest carried in the cdnprofile module. Interested in thoughts on this...

jartoo commented 4 months ago

Here is the link to the Python SDK relevant for the Standard and Premium Front Door types:

https://learn.microsoft.com/en-us/python/api/azure-mgmt-cdn/azure.mgmt.cdn.cdnmanagementclient?view=azure-python

Objects which will need Ansible Module Support as part of the Front Door Service: Profiles Custom Domains End Points Origin Groups Origins Routes Rule Sets Rules Security Policies Secrets Log Analytics

..though not sure if this is exhaustive