public PSTroubleshootResult GetTroubleshooting(string resourceGroupName, string name, MNM.QueryTroubleshootingParameters parameters)
        {
            MNM.TroubleshootingResult troubleshoot = this.NetworkWatcherClient.GetTroubleshootingResult(resourceGroupName, name, parameters);

            PSTroubleshootResult psTroubleshoot = Mapper.Map <PSTroubleshootResult>(troubleshoot);

            return(psTroubleshoot);
        }
Example #2
0
        public PSTroubleshootingResult GetTroubleshooting(string resourceGroupName, string name, MNM.TroubleshootingParameters parameters, string expandResource = null)
        {
            MNM.TroubleshootingResult troubleshoot = this.NetworkWatcherClient.GetTroubleshooting(resourceGroupName, name, parameters);

            PSTroubleshootingResult psTroubleshoot = NetworkResourceManagerProfile.Mapper.Map <PSTroubleshootingResult>(troubleshoot);

            return(psTroubleshoot);
        }