Introducing Az.Security AllowedConnection cmdlets#12233
Introducing Az.Security AllowedConnection cmdlets#12233VeryEarly merged 24 commits intoAzure:masterfrom ariklin:master
Conversation
change name
fix conflict
|
Can one of the admins verify this patch? |
src/Security/Security/Cmdlets/AllowedConnections/GetAllowedConnections.cs
Outdated
Show resolved
Hide resolved
src/Security/Security/Cmdlets/AllowedConnections/GetAllowedConnections.cs
Show resolved
Hide resolved
src/Security/Security/Cmdlets/AllowedConnections/GetAllowedConnections.cs
Show resolved
Hide resolved
|
@VeryEarly, please consider my last comment. |
|
@VeryEarly, please consider my last commit. |
There was a problem hiding this comment.
-
there should be another parameter set where only "-Location" is mandatory, to support list by home region
-
regenerate help with these changes
-
please add test case to cover these scenarios
|
@VeryEarly, List by home region only is not supported by manual api. |
do you mean https://docs.microsoft.com/en-us/rest/api/securitycenter/allowedconnections/listbyhomeregion this is not working? |
it doesn't |
I tried call GET /subscriptions/{subscription}/providers/Microsoft.Security/locations/westcentralus/allowedConnections?api-version=2020-01-01 had successful response, how is it not supported? |
@VeryEarly, as a PS command with listbyhomeregion will be useless, as a subscription can have only one ASC Location. A user may determine the ASC Location of his subscription using the following: |
Do you mean list by subscription and list by home region will have the same response? |
Yes, it will. |
If that's the case, why "-Location" parameter is needed? |
|
VeryEarly
left a comment
There was a problem hiding this comment.
please change this back to 0.7.9
https://github.com/ariklin/azure-powershell-1/blob/master/src/Security/Security/Az.Security.psd1#L15
Done. |
* Introducing SecurityTopologies cmdlets * Update ChangeLog.md * Update ChangeLog.md * Change cmdlet name to Get-AzSecurityTopology * remove AllowedConnections * change name * fix conflicy * fix conflict * Update ChangeLog.md * Introducing Az.Security AllowedConnections cmdlets * update change.log * remove SecurityTopology * fix version * Fix comments * fix location * fix comment * fix comment * fix version number Co-authored-by: Arik Riklin <arik.riklin@microsoft.com> Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Description
Checklist
CONTRIBUTING.mdChangeLog.mdfile(s) has been updated:ChangeLog.mdfile can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md## Upcoming Releaseheader -- no new version header should be addedDesign review: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/619