Skip to content
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

Support Reset connection for VNG and Vwan #14225

Merged

Conversation

akshatkale
Copy link
Contributor

@akshatkale akshatkale commented Feb 18, 2021

Description

Checklist

@akshatkale akshatkale marked this pull request as ready for review February 22, 2021 04:17
Copy link
Contributor

@VeryEarly VeryEarly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local SDK needed to be check into tools/localfeed.

There is another PR: #14182

is going to check in local SDK, please make sure yours will be compatible with his.

@VeryEarly VeryEarly self-assigned this Feb 22, 2021
@VeryEarly
Copy link
Contributor

please sync with network-november branch, you might not need to check in the local SDK..

@akshatkale
Copy link
Contributor Author

akshatkale commented Feb 24, 2021

please sync with network-november branch, you might not need to check in the local SDK..

@VeryEarly - Synced with network-november branch but local SDK from #14182 wasn't compatible with my changes so checked-in new Network SDK version which works with both the PRs.

[Cmdlet(
VerbsCommon.Reset,
ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VpnSiteLinkConnection",
DefaultParameterSetName = "ByName"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
DefaultParameterSetName = "ByName"),
DefaultParameterSetName = "ByName",
SupportsShouldProcess = true),

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using Microsoft.Azure.Management.Network.Models;
using Newtonsoft.Json;

[Cmdlet("Reset", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VirtualNetworkGatewayConnection", DefaultParameterSetName = "ByName"), OutputType(typeof(void))]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[Cmdlet("Reset", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VirtualNetworkGatewayConnection", DefaultParameterSetName = "ByName"), OutputType(typeof(void))]
[Cmdlet("Reset", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VirtualNetworkGatewayConnection", DefaultParameterSetName = "ByName", SupportsShouldProcess = true), OutputType(typeof(void))]

Copy link
Contributor Author

@akshatkale akshatkale Feb 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akshatkale
Copy link
Contributor Author

Hi @VeryEarly, can we get this PR checked in today if everything looks good?

@VeryEarly VeryEarly merged commit 814d3ba into Azure:network-november Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants