Skip to content

Support Reset connection for VNG and Vwan - #14225

Merged
VeryEarly merged 11 commits into
Azure:network-novemberfrom
akshatkale:ak-reset-connection-november
Feb 25, 2021
Merged

Support Reset connection for VNG and Vwan#14225
VeryEarly merged 11 commits into
Azure:network-novemberfrom
akshatkale:ak-reset-connection-november

Conversation

@akshatkale

@akshatkale akshatkale commented Feb 18, 2021

Copy link
Copy Markdown
Contributor

Description

Checklist

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

@VeryEarly VeryEarly left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

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

@akshatkale

akshatkale commented Feb 24, 2021

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
Collaborator

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))]

@akshatkale akshatkale Feb 24, 2021

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@akshatkale

Copy link
Copy Markdown
Contributor Author

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

@akshatkale
akshatkale requested a review from VeryEarly February 24, 2021 17:05
@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