public override long GetGidFromServer(string groupName) { return(_request.Get <long>("api/HostGroup/group/gid/query/" + groupName)); }
public override bool GetAndWriteAllowlist() { var list = _request.Get<IEnumerable<string>>("api/Resource/get/allowlist/secretKey"); AddAllowlist(list.ToArray()); return true; }