SaltStack_API_Helper by xJoker

<PackageReference Include="SaltStack_API_Helper" Version="1.0.2.9" />

 Salt_API_Function

public class Salt_API_Function
public enum APIType

public static string APIurl

public static string APIUrlSelect(APIType at, string arg = "")

public static BaseType CmdRun(string json)

public static string CmdRunString(string json)

public static string CmdToString(RunCmdType rct = null, RunCmdTypeNoArg rctna = null)

public static string CombineUriToString(string baseUri, string relativeOrAbsoluteUri)

public static Dictionary<string, bool> CreateIISSite(List<string> minions, string apppoolName = "", string apppoolVersion = "", bool apppoolEnable32bit = false, string apppoolModel = "", string siteName = "", string siteProtocol = "", string siteDomain = "", string sitePath = "", string siteLogPath = "", string siteIP = "", string sitePort = "", string siteRunasUsername = "", string siteRunasPassword = "", string svnUrl = "", string svnUsername = "", string svnPassword = "", string siteSourceGoodsyncRunAsUser = "", string siteSourceGoodsync = "", string siteSourceGoodsyncExclude = "", string siteSourceGoodsyncInclude = "")

public static Dictionary<string, List<string>> GetAllMinionsKey()

public static Dictionary<string, List<AppPoolType>> GetAppPoolList(object minionName, string expr_form = "glob")

public static Dictionary<string, List<IISSiteType>> GetSiteList(object minionName, string expr_form = "glob")

public static Dictionary<string, string> GoodSyncDeleteJob(string RunAsUsername, List<string> minion, string jobName)

public static Dictionary<string, string> GoodSyncNewJob(List<string> minion, string RunAsUsername, string jobname, string f1, string f2, int ReadOnlySource = 0, int Direction = 1, int CleanupOldGenerations = 0, int CopyCreateTime = 0, int WaitForLocks = 0, int WaitForLocksMinutes = 10, string exclude = "", string include = "", int LimitChangesPercent = 100, int OnFileChangeAction = 1, int OnTimerAction = 2, int TimerIntervalMinutes = 10, int AutoResolveConflicts = 1, int DetectMovesAndRenames = 0, int UberUnlockedUpload = 0, int Option = 0)

public static Dictionary<string, string> GoodSyncSyncJob(string RunAsUsername, List<string> minion, string jobName = "")

public static Dictionary<string, string> IISOperation(List<string> minionName, IISOperation io, List<string> Name, string svnUsername = "", string svnPassword = "", string physicalPath = "", int? version = default)

public static Dictionary<string, List<Dictionary<string, object>>> job(string jid)

public static Dictionary<string, Dictionary<string, object>> Jobs()

public static LoginResponseType Login()

public static bool ManageMinions(List<string> minionName, string fun)

public static object MinionDetails(string minionName)

public static Dictionary<string, DynamicJson> minions()

public static Dictionary<string, List<string>> MinionsStatus()

public static string RunCmdTypeNoArgToString(RunCmdTypeNoArg rctna)

public static string RunCmdTypeToString(RunCmdType rct)

public static bool SiteBindEdit(string minionName, IISBindOperation ibo, string siteName, string domain, string ip, string port)

public static string SVNOperation(string filePath, SVNOperation so, List<string> minionName, string svnUsername = "", string svnPassword = "", string remote = "", int? version = default, SVNType st = 0, string fun = "")

public static bool WindowsGetServiceRealStatus(string minionName, string serviceName)

public static Dictionary<string, bool> WindowsServiceCreate(string minionName, string serviceName, string servicePath, string serviceDisplayName)

public static Dictionary<string, object> WindowsServiceOperation(List<string> minionName, ServiceOperation so, string serviceName, string svnUsername = "", string svnPassword = "", int? svnVersion = default)

public static Dictionary<string, Dictionary<string, bool>> WindowsServicesStatusGet(RunCmdTypeNoArg rct = null)

public static Dictionary<string, Dictionary<string, List<string>>> WindowsServicesStatusGetByPowershell(RunCmdType rct = null)