cterasdk.common.enum module#
- class cterasdk.common.enum.Application#
Bases:
object- Variables:
All (str) – All Applications
Exchange (str) – Microsoft Exchange
SQL (str) – Microsoft SQL Server
NTDS (str) – Active Directory Users and Groups
DFS (str) – DFS Replication Service
FRS (str) – File Replication Service
System (str) – System State
HyperV (str) – Hyper-V
SharePoint_07 (str) – SharePoint 2007
SharePoint (str) – SharePoint
- All = ['{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}', '{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}', '{b2014c9e-8711-4c5c-a5a9-3cf384484757}', '{2707761b-2324-473d-88eb-eb007a359533}', '{d76f5a28-3092-4589-ba48-2958fb88ce29}', '{db7f098c-121b-46fe-814b-58902de3a193}', '{66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}', '{c2f52614-5e53-4858-a589-38eeb25c6184}', '{da452614-4858-5e53-a512-38aab25c61ad}']#
- DFS = '{2707761b-2324-473d-88eb-eb007a359533}'#
- Exchange = '{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}'#
- FRS = '{d76f5a28-3092-4589-ba48-2958fb88ce29}'#
- HyperV = '{66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}'#
- NTDS = '{b2014c9e-8711-4c5c-a5a9-3cf384484757}'#
- SQL = '{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}'#
- System = '{db7f098c-121b-46fe-814b-58902de3a193}'#
- class cterasdk.common.enum.BooleanFunction#
Bases:
objectBoolean function
- Variables:
AND (str) – AND
AND – OR
- AND = 'AND'#
- OR = 'OR'#
- class cterasdk.common.enum.DayOfWeek#
Bases:
objectDay of Week
- Variables:
Sunday (int) – Sunday
Monday (int) – Monday
Tuesday (int) – Tuesday
Wednesday (int) – Wednesday
Thursday (int) – Thursday
Friday (int) – Friday
Saturday (int) – Saturday
- All = [0, 1, 2, 3, 4, 5, 6]#
- Friday = 5#
- Monday = 1#
- Saturday = 6#
- Sunday = 0#
- Thursday = 4#
- Tuesday = 2#
- Wednesday = 3#
- Weekdays = [1, 2, 3, 4, 5]#
- Weekend = [6, 0]#
- class cterasdk.common.enum.FileCriteria#
Bases:
objectFile Criteria
- Variables:
Name (str) – File name
Path (str) – File path
Type (str) – File type
Size (str) – File size
Modified (str) – Last modified
- Modified = 'LastModified'#
- Name = 'FileName'#
- Path = 'PathName'#
- Size = 'FileSize'#
- Type = 'FileType'#
- class cterasdk.common.enum.ScheduleType#
Bases:
objectSchedule Type
- Variables:
Manual (str) – Manual
Hourly (str) – Hourly
Daily (str) – Daily
Weekly (str) – Weekly
Monthly (str) – Monthly
Interval (str) – Interval
Window (str) – Window
- Daily = 'daily'#
- Hourly = 'hourly'#
- Interval = 'interval'#
- Manual = 'manual'#
- Monthly = 'monthly'#
- Weekly = 'weekly'#
- Window = 'window'#
- class cterasdk.common.enum.TaskRunningStatus#
Bases:
objectTask Status
- Variables:
Disabled (str) – Task is disabled.
Running (str) – Task is currently running.
Completed (str) – Task completed successfully.
Failed (str) – Task failed.
Retrying (str) – Task is retrying after a failure.
Waiting (str) – Task is waiting to be run.
Stopping (str) – Task is in the process of stopping.
Stopped (str) – Task has been stopped.
Warnings (str) – Task completed with warnings.
- Completed = 'completed'#
- Disabled = 'disabled'#
- Failed = 'failed'#
- Retrying = 'retrying'#
- Running = 'running'#
- Stopped = 'stopped'#
- Stopping = 'stopping'#
- Waiting = 'waiting'#
- Warnings = 'completed with warnings'#