Skip to content

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

Conversation

chandrasekarsrinivasan
Copy link
Contributor

Description

Checklist

@@ -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">
Copy link
Contributor Author

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

@maddieclayton
Copy link
Contributor

@chandrasekarsrinivasan Please either fill out or link a cmdlet design review here: https://github.com/Azure/azure-powershell-cmdlet-review-pr

@praries880
Copy link
Contributor

@praries880
Copy link
Contributor

praries880 commented Sep 10, 2018

@chandrasekarsrinivasan fix CI issues :

@praries880
Copy link
Contributor

@chandrasekarsrinivasan you need to generate the help file for the cmdlet you added here.

@praries880
Copy link
Contributor

@chandrasekarsrinivasan kindly merge form the september branch to resolve conflicts

@chandrasekarsrinivasan chandrasekarsrinivasan force-pushed the interfaceendpoints branch 2 times, most recently from 7cffd4a to 3f79bb7 Compare September 13, 2018 05:32
@@ -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
Copy link
Contributor

@praries880 praries880 Sep 13, 2018

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

@praries880
Copy link
Contributor

@chandrasekarsrinivasan merge conflicts need to be resolved

@@ -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',
Copy link
Contributor

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))]
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@praries880
Copy link
Contributor

marking as Do Not Merge as the PR is missing attest case for the new cmdlet

praries880
praries880 previously approved these changes Sep 13, 2018
@praries880
Copy link
Contributor

@chandrasekarsrinivasan kindly take care of merge conflicts

@praries880
Copy link
Contributor

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

@markcowl markcowl merged commit 8939a4b into Azure:network-september-release Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants