Пример #1
0
        private static Task RunGetInfo(GetInfoOption getInfoOption)
        {
            var webappMgt = new WebAppManagement(getInfoOption);

            webappMgt.GetAppPlanInformation();
            return(Task.CompletedTask);
        }
Пример #2
0
        private static async Task RunDownloadLog(DownloadLogOption downloadLogOption)
        {
            var webappMgt = new WebAppManagement(downloadLogOption);

            try
            {
                await webappMgt.DownloadAppLog();
            }
            catch (Exception e)
            {
                Console.WriteLine($"{e.Message}");
            }
        }
Пример #3
0
 private static async Task RunRemoveGroup(RemoveGroupOption removeGroupOption)
 {
     var webappMgt = new WebAppManagement(removeGroupOption);
     await webappMgt.RemoveGroup();
 }
Пример #4
0
 private static async Task RunDeploy(DeployOption deploy)
 {
     var webappMgt = new WebAppManagement(deploy);
     await webappMgt.Deploy();
 }