Microsoft.Azure.Commands.Network.GetAzureEffectiveRouteTableCommand.Execute C# (CSharp) Method

Execute() public method

public Execute ( ) : void
return void
        public override void Execute()
        {
            base.Execute();

            var getEffectiveRouteTable = this.NetworkInterfaceClient.GetEffectiveRouteTable(this.ResourceGroupName, this.NetworkInterfaceName);

            var psEffectiveRouteTable = Mapper.Map<List<PSEffectiveRoute>>(getEffectiveRouteTable.Value);

            WriteObject(psEffectiveRouteTable, true);
        }
    }
GetAzureEffectiveRouteTableCommand