Beispiel #1
0
        /// <summary>
        /// Enable Maintenance Mode
        /// </summary>
        private static void AgentEnableMaintenanceMode()
        {
            var agentGovern = new AgentGovern();
            var result      = agentGovern.AgentEnableMaintenanceMode(new EnableMaintenanceModeParmeter
            {
                Enable = true,
                Reason = "abc"
            }).GetAwaiter().GetResult();

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