Exemplo n.º 1
0
        static void EnableMaintenanceMode()
        {
            var agentGovern = new AgentGovern();
            var result      = agentGovern.EnableMaintenanceMode(new EnableMaintenanceModeParmeter {
                ServiceID = "lisapi001", Enable = true, Reason = "abc"
            }).GetAwaiter().GetResult();

            Console.WriteLine($"result={result.result}");
            Console.WriteLine($"back content={result.backJson}");
        }