Use the app service plan's resource group for cert operations#2755
Conversation
|
@phekmat, It will cover your contributions to all Microsoft-managed open source projects. |
|
Feel free to run with this if you need to. I grabbed |
1c8d3cf to
be59ad8
Compare
|
@phekmat, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
be59ad8 to
51d31b7
Compare
Codecov Report
@@ Coverage Diff @@
## master #2755 +/- ##
==========================================
+ Coverage 62.86% 62.86% +<.01%
==========================================
Files 480 480
Lines 25886 25888 +2
Branches 3923 3923
==========================================
+ Hits 16273 16275 +2
Misses 8599 8599
Partials 1014 1014
Continue to review full report at Codecov.
|
|
I tried to create a VCR-based test case for this as well, but it looks like the |
yugangw-msft
left a comment
There was a problem hiding this comment.
@LukaszStem, please take a look and confirm the logic
There was a problem hiding this comment.
please replace with from azure.cli.core.commands.arm import parse_resource_id and use that common routine
There was a problem hiding this comment.
Done (it was already imported, so I just had to change the usages). Thanks
SSL certificates are associated with the the app service plan/server farm in Azure, so use the web app's `server_farm_id` to extract the associated resource group for any `bind`, `unbind`, or `upload` actions. Fixes Azure#2750
51d31b7 to
0c46b24
Compare
SSL certificates are associated with the the app service plan/server farm in Azure, so use the web app's
server_farm_idto extract the associated resource group for anybind,unbind, oruploadactions. Fixes #2750This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Command Guidelines
(see Authoring Command Modules)