private SetRouteParameters CreateParameters(string routeName, string addressPrefix, string nextHopType) { NextHop nextHop = new NextHop() { Type = nextHopType, }; return(CreateParameters(routeName, addressPrefix, nextHop)); }
public AzureOperationResponse SetRoute(string routeTableName, string routeName, string addressPrefix, string nextHopType) { NextHop nextHop = new NextHop() { Type = nextHopType, }; SetRouteParameters parameters = new SetRouteParameters() { Name = routeName, AddressPrefix = addressPrefix, NextHop = nextHop, }; return(client.Routes.SetRoute(routeTableName, routeName, parameters)); }
private SetRouteParameters CreateParameters(string routeName, string addressPrefix, NextHop nextHop) { return(new SetRouteParameters() { Name = routeName, AddressPrefix = addressPrefix, NextHop = nextHop, }); }