コード例 #1
0
        public override void ExecuteCmdlet()
        {
            var           routeSummary = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableSummary(ServiceKey, AccessType, Path);
            StringBuilder sb           = new StringBuilder();

            sb.AppendLine("");
            sb.AppendLine("Route Table Summary:");
            WriteObject(CommonParser.parseResult(routeSummary, sb));
        }
        public override void ExecuteCmdlet()
        {
            var arpInfo = ExpressRouteClient.GetAzureDedicatedCircuitPeeringArpInfo(ServiceKey, AccessType, Path);
            // parse output to a more user-friendly output
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("");
            sb.AppendLine("ARP Info:");
            WriteObject(CommonParser.parseResult(arpInfo, sb));
        }