-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update azure_rm_cdnprofile to include the Standard and Premium Frontdoor options #1588
Conversation
Was not sure if you wanted all of the commits for each module done separately or not...assumed separate, though there are some cross dependencies with the tests, so they should be progressively accepted and then tested..tried getting feedback via email, but no engagement. Hope this is an acceptable approach. Thanks! |
@@ -129,7 +131,7 @@ def __init__(self): | |||
), | |||
sku=dict( | |||
type='str', | |||
choices=['standard_verizon', 'premium_verizon', 'custom_verizon', 'standard_akamai', 'standard_chinacdn', 'standard_microsoft'] | |||
choices=['standard_verizon', 'premium_verizon', 'custom_verizon', 'standard_akamai', 'standard_chinacdn', 'standard_microsoft', 'standard_azurefrontdoor', 'premium_azurefrontdoor'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (196 > 160 characters)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate the feedback! Changed. Curious if I missed where these type of requirements/coding standards are located? Happy to conform!
@jartoo small change request! Thank you very much! |
@jartoo small change request! Thank you! |
@jartoo Please! |
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
Thanks for all your help! I learned very much with these pull requests. |
I updated the cdn library to be 13.1.1 due to this issue, which affects the ability to manage Azure Front Doors (standard and premium) Azure/azure-sdk-for-python#35801 Otherwise you cannot clear the cache_configuration in Route() and Rule(). |
…oor options (ansible-collections#1588) * Update cdnprofile to include the Standard and Premium Frontdoor options * Updated per Fred's request to split lengthy line of code. * Update plugins/modules/azure_rm_cdnprofile.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Update plugins/modules/azure_rm_cdnprofile.py Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> * Must use azure.mgmt.cdn==13.1.1 to resolve cache_configuration set to NULL issue --------- Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com>
SUMMARY
Adds the ability to use the existing azure_rm_cdnprofile module to create both a Standard_AzureFrontDoor and Premium_AzureFrontDoor.
Begins to work on #1041 which will require additional pull requests and new modules. This does not complete this issue, however. This also bumps the azure-mgmt-cdn version from 11.0.0 to 13.1.0, which is the latest and will be needed for upcoming pull requests to finish the Front Door (Standard and Premium) functionality.
ISSUE TYPE
COMPONENT NAME
Module: azure_rm_cdnprofile
Change: allows additional SKU options.
ADDITIONAL INFORMATION