관리-도구
편집 파일: ExtendedBackupSystemStatusAgentResponse.json
{"type":"object","properties":{"data":{"$ref":"#/definitions/AgentResponseData<BackupSystemLocalStatusData|BackupSystemStatusDisabledData|StatusInitData|CloudlinuxOnPremiseStatusDoneData|CloudlinuxOnPremiseStatusBackupData|CloudlinuxStatusDoneData|CloudlinuxStatusNotRunningLikeDoneWithErrorData|CloudlinuxStatusBackupData|AcronisStatusDoneData|ClusterLogicsStatusDoneData>"},"result":{"$ref":"#/definitions/Result"},"messages":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]},"status":{"enum":["failed_to_install","installing","not_installed","running","socket_inaccessible","stopped","upgrading"],"type":"string"}},"additionalProperties":false,"required":["data","messages","result"],"definitions":{"AgentResponseData<BackupSystemLocalStatusData|BackupSystemStatusDisabledData|StatusInitData|CloudlinuxOnPremiseStatusDoneData|CloudlinuxOnPremiseStatusBackupData|CloudlinuxStatusDoneData|CloudlinuxStatusNotRunningLikeDoneWithErrorData|CloudlinuxStatusBackupData|AcronisStatusDoneData|ClusterLogicsStatusDoneData>":{"type":"object","properties":{"items":{"anyOf":[{"$ref":"#/definitions/BackupSystemLocalStatusData"},{"$ref":"#/definitions/BackupSystemStatusDisabledData"},{"$ref":"#/definitions/StatusInitData"},{"$ref":"#/definitions/CloudlinuxOnPremiseStatusDoneData"},{"$ref":"#/definitions/CloudlinuxOnPremiseStatusBackupData"},{"$ref":"#/definitions/CloudlinuxStatusDoneData"},{"$ref":"#/definitions/CloudlinuxStatusNotRunningLikeDoneWithErrorData"},{"$ref":"#/definitions/CloudlinuxStatusBackupData"},{"$ref":"#/definitions/AcronisStatusDoneData"},{"$ref":"#/definitions/ClusterLogicsStatusDoneData"}]},"version":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"}},"strategy":{"type":"string"},"license":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"id":{"type":"string"},"license_type":{"anyOf":[{"enum":["imunify360","imunify360Trial","imunifyAV","imunifyAVPlus"],"type":"string"},{"type":"null"}]},"message":{"type":["null","string"]},"redirect_url":{"type":["null","string"]},"status":{"type":"boolean"},"user_count":{"type":["null","number"]},"user_limit":{"type":"number"},"ip_license":{"type":"boolean"},"pricing":{"type":"object","properties":{"im_av":{"type":"object","properties":{"standard":{"type":"string"},"bulk":{"type":"string"}},"additionalProperties":false,"required":["standard"]},"im_360_1":{"type":"object","properties":{"standard":{"type":"string"},"bulk":{"type":"string"}},"additionalProperties":false,"required":["standard"]},"im_360_30":{"type":"object","properties":{"standard":{"type":"string"},"bulk":{"type":"string"}},"additionalProperties":false,"required":["standard"]},"im_360_250":{"type":"object","properties":{"standard":{"type":"string"},"bulk":{"type":"string"}},"additionalProperties":false,"required":["standard"]},"im_360_unlimited":{"type":"object","properties":{"standard":{"type":"string"},"bulk":{"type":"string"}},"additionalProperties":false,"required":["standard"]}},"additionalProperties":false},"expiration":{},"demo":{"type":["null","boolean"]},"upgrade_url_360":{"type":["null","string"]},"upgrade_url":{"type":["null","string"]}},"required":["id","license_type","message","status","user_count","user_limit"]},{"additionalProperties":false,"type":"object","properties":{"license_type":{"anyOf":[{"enum":["imunify360","imunify360Trial","imunifyAV","imunifyAVPlus"],"type":"string"},{"type":"null"}]},"status":{"type":"boolean"},"expiration":{}},"required":["status"]},{"additionalProperties":false,"type":"object","properties":{"status":{"type":"boolean","enum":[false]},"redirect_url":{"type":"null"},"expiration":{}},"required":["redirect_url","status"]}]},"eula":{"anyOf":[{"type":"object","properties":{"message":{"type":"string"},"text":{"type":"string"},"updated":{"type":"string"}},"additionalProperties":false,"required":["message","text","updated"]},{"type":"null"}]}},"additionalProperties":false,"required":["items","license","version"]},"BackupSystemLocalStatusData":{"type":"object","properties":{"backup_system":{"$ref":"#/definitions/LocalBackupSystem"},"state":{"$ref":"#/definitions/BackupSystemState"},"error":{},"enabled":{"type":"boolean"},"log_path":{"type":"null"}},"additionalProperties":false,"required":["backup_system","enabled","error","log_path","state"]},"LocalBackupSystem":{"enum":["cpanel","directadmin","plesk","sample"],"type":"string"},"BackupSystemState":{"enum":["activation","backup","done","init","not_running"],"type":"string"},"BackupSystemStatusDisabledData":{"type":"object","properties":{"backup_system":{"type":"null"},"enabled":{"type":"boolean","enum":[false]},"state":{"type":"string","enum":["not_running"]},"error":{"type":["null","string"]},"log_path":{"type":"null"}},"additionalProperties":false,"required":["backup_system","enabled","log_path","state"]},"StatusInitData":{"type":"object","properties":{"backup_system":{"enum":["acronis","cloudlinux","cloudlinux_on_premise","clusterlogics"],"type":"string"},"state":{"type":"string","enum":["init"]},"log_path":{"type":"string"},"error":{},"enabled":{"type":"boolean"}},"additionalProperties":false,"required":["backup_system","enabled","error","log_path","state"]},"CloudlinuxOnPremiseStatusDoneData":{"type":"object","properties":{"state":{"type":"string","enum":["done"]},"backup_system":{"type":"string","enum":["cloudlinux_on_premise"]},"enabled":{"type":"boolean"},"error":{"type":["null","string"]},"login_url":{"type":"string"},"username":{"type":"string"},"schedule":{"anyOf":[{"$ref":"#/definitions/ScheduleMonthlyByDaysOfMonth"},{"$ref":"#/definitions/ScheduleMonthlyByDaysOfWeek"},{"$ref":"#/definitions/ScheduleWeekly"},{"$ref":"#/definitions/ScheduleDaily"},{"$ref":"#/definitions/ScheduleHourly"},{"$ref":"#/definitions/ScheduleTimeSinceBackup"},{"$ref":"#/definitions/ScheduleOnStartup"},{"$ref":"#/definitions/ScheduleOnShutdown"},{"type":"null"}]},"log_path":{"type":"string"}},"additionalProperties":false,"required":["backup_system","enabled","error","login_url","schedule","state","username"]},"ScheduleMonthlyByDaysOfMonth":{"type":"object","properties":{"type":{"type":"string","enum":["monthlyByDaysOfMonth"]},"startAt":{"type":"object","properties":{"minute":{"type":"number"},"second":{"type":"number"},"hour":{"type":"number"}},"additionalProperties":false,"required":["hour","minute","second"]},"effectiveDates":{"type":"object","properties":{"to":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]},"from":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]}},"additionalProperties":false,"required":["from","to"]},"multipleDaysAllowed":{"type":"boolean","enum":[true]},"dayNumbers":{"type":"array","items":{"type":["string","number"]}},"preventFromSleeping":{"type":"boolean"},"runLater":{"type":"boolean"},"machineWake":{"type":"boolean"}},"additionalProperties":false,"required":["dayNumbers","effectiveDates","machineWake","multipleDaysAllowed","preventFromSleeping","runLater","startAt","type"]},"ScheduleMonthlyByDaysOfWeek":{"type":"object","properties":{"type":{"type":"string","enum":["monthlyByDaysOfWeek"]},"startAt":{"type":"object","properties":{"minute":{"type":"number"},"second":{"type":"number"},"hour":{"type":"number"}},"additionalProperties":false,"required":["hour","minute","second"]},"daysOfWeek":{"type":"array","items":{"enum":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"type":"string"}},"effectiveDates":{"type":"object","properties":{"to":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]},"from":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]}},"additionalProperties":false,"required":["from","to"]},"multipleDaysAllowed":{"type":"boolean","enum":[true]},"occurence":{"type":"array","items":[{"type":"string","enum":["second"]},{"type":"string","enum":["last"]}],"minItems":2,"maxItems":2},"preventFromSleeping":{"type":"boolean"},"runLater":{"type":"boolean"},"machineWake":{"type":"boolean"}},"additionalProperties":false,"required":["daysOfWeek","effectiveDates","machineWake","multipleDaysAllowed","occurence","preventFromSleeping","runLater","startAt","type"]},"ScheduleWeekly":{"type":"object","properties":{"type":{"type":"string","enum":["weekly"]},"daysOfWeek":{"type":"array","items":{"enum":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"type":"string"}},"startAt":{"type":"object","properties":{"minute":{"type":"number"},"second":{"type":"number"},"hour":{"type":"number"}},"additionalProperties":false,"required":["hour","minute","second"]},"effectiveDates":{"type":"object","properties":{"to":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]},"from":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]}},"additionalProperties":false,"required":["from","to"]},"preventFromSleeping":{"type":"boolean"},"runLater":{"type":"boolean"},"machineWake":{"type":"boolean"}},"additionalProperties":false,"required":["daysOfWeek","effectiveDates","machineWake","preventFromSleeping","runLater","startAt","type"]},"ScheduleDaily":{"type":"object","properties":{"type":{"type":"string","enum":["daily"]},"effectiveDates":{"type":"object","properties":{"to":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]},"from":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]}},"additionalProperties":false,"required":["from","to"]},"startAt":{"type":"object","properties":{"minute":{"type":"number"},"second":{"type":"number"},"hour":{"type":"number"}},"additionalProperties":false,"required":["hour","minute","second"]},"daysOfWeek":{"type":"array","items":{"enum":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"type":"string"}},"preventFromSleeping":{"type":"boolean"},"runLater":{"type":"boolean"},"machineWake":{"type":"boolean"}},"additionalProperties":false,"required":["daysOfWeek","effectiveDates","machineWake","preventFromSleeping","runLater","startAt","type"]},"ScheduleHourly":{"type":"object","properties":{"type":{"type":"string","enum":["hourly"]},"from":{"type":"object","properties":{"minute":{"type":"number"},"second":{"type":"number"},"hour":{"type":"number"}},"additionalProperties":false,"required":["hour","minute","second"]},"effectiveDates":{"type":"object","properties":{"to":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]},"from":{"type":"object","properties":{"year":{"type":"number"},"day":{"type":"number"},"month":{"type":"number"}},"additionalProperties":false,"required":["day","month","year"]}},"additionalProperties":false,"required":["from","to"]},"daysOfWeek":{"type":"array","items":{"enum":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"type":"string"}},"to":{"type":"object","properties":{"minute":{"type":"number"},"second":{"type":"number"},"hour":{"type":"number"}},"additionalProperties":false,"required":["hour","minute","second"]},"repeatInterval":{"type":"object","properties":{"type":{"enum":["hours","minutes"],"type":"string"},"value":{"type":"number"}},"additionalProperties":false,"required":["type","value"]},"preventFromSleeping":{"type":"boolean"},"runLater":{"type":"boolean"},"machineWake":{"type":"boolean"}},"additionalProperties":false,"required":["daysOfWeek","effectiveDates","from","machineWake","preventFromSleeping","repeatInterval","runLater","to","type"]},"ScheduleTimeSinceBackup":{"type":"object","properties":{"type":{"type":"string","enum":["timeSinceBackup"]},"intervalSinceLastBackup":{"type":"object","properties":{"value":{"type":"number"},"type":{"enum":["days","hours"],"type":"string"}},"additionalProperties":false,"required":["type","value"]},"preventFromSleeping":{"type":"boolean"},"runLater":{"type":"boolean"},"machineWake":{"type":"boolean"}},"additionalProperties":false,"required":["intervalSinceLastBackup","machineWake","preventFromSleeping","runLater","type"]},"ScheduleOnStartup":{"type":"object","properties":{"type":{"type":"string","enum":["onStartup"]}},"additionalProperties":false,"required":["type"]},"ScheduleOnShutdown":{"type":"object","properties":{"type":{"type":"string","enum":["onShutdown"]}},"additionalProperties":false,"required":["type"]},"CloudlinuxOnPremiseStatusBackupData":{"type":"object","properties":{"progress":{"type":["null","number"]},"state":{"type":"string","enum":["backup"]},"backup_system":{"type":"string","enum":["cloudlinux_on_premise"]},"enabled":{"type":"boolean"},"error":{"type":["null","string"]},"login_url":{"type":"string"},"username":{"type":"string"},"schedule":{"anyOf":[{"$ref":"#/definitions/ScheduleMonthlyByDaysOfMonth"},{"$ref":"#/definitions/ScheduleMonthlyByDaysOfWeek"},{"$ref":"#/definitions/ScheduleWeekly"},{"$ref":"#/definitions/ScheduleDaily"},{"$ref":"#/definitions/ScheduleHourly"},{"$ref":"#/definitions/ScheduleTimeSinceBackup"},{"$ref":"#/definitions/ScheduleOnStartup"},{"$ref":"#/definitions/ScheduleOnShutdown"},{"type":"null"}]},"log_path":{"type":"string"}},"additionalProperties":false,"required":["backup_system","enabled","error","login_url","progress","schedule","state","username"]},"CloudlinuxStatusDoneData":{"type":"object","properties":{"state":{"type":"string","enum":["done"]},"backup_system":{"type":"string","enum":["cloudlinux"]},"enabled":{"type":"boolean"},"error":{"type":["null","string"]},"purchased_backup_gb":{"type":"number"},"backup_space_used_bytes":{"type":"number"},"login_url":{"type":"string"},"timestamp":{"type":"number"},"username":{"type":"string"},"region":{"type":"string"},"schedule":{"anyOf":[{"$ref":"#/definitions/ScheduleMonthlyByDaysOfMonth"},{"$ref":"#/definitions/ScheduleMonthlyByDaysOfWeek"},{"$ref":"#/definitions/ScheduleWeekly"},{"$ref":"#/definitions/ScheduleDaily"},{"$ref":"#/definitions/ScheduleHourly"},{"$ref":"#/definitions/ScheduleTimeSinceBackup"},{"$ref":"#/definitions/ScheduleOnStartup"},{"$ref":"#/definitions/ScheduleOnShutdown"},{"type":"null"}]},"resize_url":{"type":"string"}},"additionalProperties":false,"required":["backup_space_used_bytes","backup_system","enabled","error","login_url","purchased_backup_gb","region","resize_url","schedule","state","timestamp","username"]},"CloudlinuxStatusNotRunningLikeDoneWithErrorData":{"type":"object","properties":{"state":{"type":"string","enum":["not_running"]},"error":{"type":"string"},"backup_system":{"type":"string","enum":["cloudlinux"]},"enabled":{"type":"boolean"},"purchased_backup_gb":{"type":"number"},"backup_space_used_bytes":{"type":"number"},"login_url":{"type":"string"},"timestamp":{"type":"number"},"username":{"type":"string"},"region":{"type":"string"},"schedule":{"anyOf":[{"$ref":"#/definitions/ScheduleMonthlyByDaysOfMonth"},{"$ref":"#/definitions/ScheduleMonthlyByDaysOfWeek"},{"$ref":"#/definitions/ScheduleWeekly"},{"$ref":"#/definitions/ScheduleDaily"},{"$ref":"#/definitions/ScheduleHourly"},{"$ref":"#/definitions/ScheduleTimeSinceBackup"},{"$ref":"#/definitions/ScheduleOnStartup"},{"$ref":"#/definitions/ScheduleOnShutdown"},{"type":"null"}]},"resize_url":{"type":"string"}},"additionalProperties":false,"required":["backup_space_used_bytes","backup_system","enabled","error","login_url","purchased_backup_gb","region","resize_url","schedule","state","timestamp","username"]},"CloudlinuxStatusBackupData":{"type":"object","properties":{"progress":{"type":["null","number"]},"state":{"type":"string","enum":["backup"]},"backup_system":{"type":"string","enum":["cloudlinux"]},"enabled":{"type":"boolean"},"error":{"type":["null","string"]},"purchased_backup_gb":{"type":"number"},"backup_space_used_bytes":{"type":"number"},"login_url":{"type":"string"},"timestamp":{"type":"number"},"username":{"type":"string"},"region":{"type":"string"},"schedule":{"anyOf":[{"$ref":"#/definitions/ScheduleMonthlyByDaysOfMonth"},{"$ref":"#/definitions/ScheduleMonthlyByDaysOfWeek"},{"$ref":"#/definitions/ScheduleWeekly"},{"$ref":"#/definitions/ScheduleDaily"},{"$ref":"#/definitions/ScheduleHourly"},{"$ref":"#/definitions/ScheduleTimeSinceBackup"},{"$ref":"#/definitions/ScheduleOnStartup"},{"$ref":"#/definitions/ScheduleOnShutdown"},{"type":"null"}]},"resize_url":{"type":"string"}},"additionalProperties":false,"required":["backup_space_used_bytes","backup_system","enabled","error","login_url","progress","purchased_backup_gb","region","resize_url","schedule","state","timestamp","username"]},"AcronisStatusDoneData":{"type":"object","properties":{"backup_system":{"type":"string","enum":["acronis"]},"state":{"type":"string","enum":["done"]},"error":{"type":["null","string"]},"enabled":{"type":"boolean"},"username":{"type":"string"},"timestamp":{"type":"number"},"log_path":{"type":"string"}},"additionalProperties":false,"required":["backup_system","enabled","error","log_path","state","timestamp","username"]},"ClusterLogicsStatusDoneData":{"type":"object","properties":{"backup_system":{"type":"string","enum":["clusterlogics"]},"state":{"type":"string","enum":["done"]},"error":{"type":["null","string"]},"enabled":{"type":"boolean"},"username":{"type":"string"},"log_path":{"type":"null"},"url":{"type":"string"},"apikey":{"type":"string"}},"additionalProperties":false,"required":["apikey","backup_system","enabled","error","log_path","state","url","username"]},"Result":{"enum":["error","success","warnings"],"type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}