-
Notifications
You must be signed in to change notification settings - Fork 4k
Powershell for interface endpoints #7172
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
Powershell for interface endpoints #7172
Conversation
@@ -43,8 +43,8 @@ | |||
<RunCodeAnalysis>false</RunCodeAnalysis> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<Reference Include="Microsoft.Azure.Management.Network, Version=19.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |||
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.19.3.0-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath> | |||
<Reference Include="Microsoft.Azure.Management.Network, Version=19.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
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.
Add readme file for interface endpoints
@chandrasekarsrinivasan Please either fill out or link a cmdlet design review here: https://github.com/Azure/azure-powershell-cmdlet-review-pr |
@chandrasekarsrinivasan fix CI issues :
|
@chandrasekarsrinivasan you need to generate the help file for the cmdlet you added here. |
791b832
to
4688934
Compare
@chandrasekarsrinivasan kindly merge form the september branch to resolve conflicts |
7cffd4a
to
3f79bb7
Compare
d72e508
to
5e46bf7
Compare
@@ -45,6 +45,7 @@ | |||
## Version 6.7.0 | |||
* Updated cmdlet New-AzureRmVirtualNetworkGatewayConnection with support for switch ExpressRouteGatewayBypass | |||
* Added cmdlets for Azure SdWan | |||
* Add cmdlet for Interface Endpoint Get-AzureInterfaceEndpoint |
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.
@chandrasekarsrinivasan this needs to be under Current Release
5e46bf7
to
cbc8bf3
Compare
@chandrasekarsrinivasan merge conflicts need to be resolved |
cbc8bf3
to
5383690
Compare
@@ -1045,7 +1045,8 @@ public class Mappings | |||
'Get-AzApplicationGatewayUrlPathMapConfig': 'Get-AzureRmApplicationGatewayUrlPathMapConfig', | |||
'Get-AzNetworkWatcherConnectionMonitor': 'Get-AzureRmNetworkWatcherConnectionMonitor', | |||
'Remove-AzVirtualNetworkSubnetConfig': 'Remove-AzureRmVirtualNetworkSubnetConfig', | |||
'Get-AzBgpServiceCommunity': 'Get-AzureRmBgpServiceCommunity' | |||
'Get-AzBgpServiceCommunity': 'Get-AzureRmBgpServiceCommunity', | |||
'Get-AzInterfaceEndpoint': 'Get-AzInterfaceEndpoint', |
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.
there is something wrong here...
It should be
'Get-AzInterfaceEndpoint': 'Get-AzureRmInterfaceEndpoint',
using System.Collections.Generic; | ||
using System.Management.Automation; | ||
|
||
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "InterfaceEndpoint", SupportsShouldProcess = true, DefaultParameterSetName = "GetByNameParameterSet"), OutputType(typeof(PSInterfaceEndpoint))] |
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.
you need to adda test case for this cmdlet. There is not test case in the PR
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.
We cannot have a test case on this. there is no way to test.
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.
Further details - we are not ready to expose end to end scenario for this through powershell. There is no way to set this on PS and hence a test case cannot be created. In a couple of months, we will have full support on this and then we can create New-, Set- APIs.
marking as |
5383690
to
1e2579b
Compare
@chandrasekarsrinivasan kindly take care of merge conflicts |
cancelled CI as it would free up the worker and we don't need the current job to complete as the PR is going to be updated |
1e2579b
to
801bf01
Compare
Description
Checklist
CONTRIBUTING.md
platyPS
module