public override void ExecuteCmdlet()
{
base.ExecuteCmdlet();
if (string.Equals(ParameterSetName, Microsoft.Azure.Commands.Network.Properties.Resources.SetByResource))
{
if (this.Subnet != null)
{
this.SubnetId = this.Subnet.Id;
}
}
}