Schedule Rule
Package : spaceone.api.power_scheduler.v1
ScheduleRule
ScheduleRule Methods:
NO
Method
Request Type
Response Type
Description
1
2
3
4
5
6
create
POST /power-scheduler/v1/schedule-rules
Type
Message
Request
Response
update
PUT /power-scheduler/v1/schedule-rule/{schedule_rule_id}
Type
Message
Request
Response
delete
DELETE /power-scheduler/v1/schedule-rule/{schedule_rule_id}
Type
Message
Request
Response
get
GET /power-scheduler/v1/schedule-rule/{schedule_rule_id}
Type
Message
Request
Response
list
GET /power-scheduler/v1/schedule-rules
POST /power-scheduler/v1/schedule-rules/search
Type
Message
Request
Response
stat
POST /power-scheduler/v1/schedule-rules/stat
Type
Message
Request
Response
Message
CreateScheduleRuleRequest
No
Field
Type
Required
Description
1
schedule_id
string
✅
2
name
string
❌
3
state
RULE_STATE_NONE
RUNNING
STOPPED
✅
4
rule_type
RULE_TYPE_NONE
ROUTINE
TICKET
✅
5
rule
✅
6
priority
❌
7
tags
❌
8
user_id
string
✅
9
domain_id
string
✅
GetScheduleRuleRequest
No
Field
Type
Required
Description
1
schedule_rule_id
string
✅
2
domain_id
string
✅
3
only
list of string
❌
Rule
No
Field
Type
Description
1
day
string
2
date
string
3
times
RuleInfo
No
Field
Type
Description
1
schedule_rule_id
string
2
name
string
3
state
RULE_STATE_NONE
RUNNING
STOPPED
4
rule_type
RULE_TYPE_NONE
ROUTINE
TICKET
5
rule
6
priority
7
schedule_id
string
8
tags
9
project_id
string
10
domain_id
string
11
created_by
string
12
created_at
string
RulesInfo
No
Field
Type
Description
1
results
2
total_count
ScheduleRuleQuery
No
Field
Type
Required
Description
1
query
❌
2
schedule_rule_id
string
❌
3
schedule_id
string
❌
4
name
string
❌
5
priority
❌
6
state
RULE_STATE_NONE
RUNNING
STOPPED
❌
7
project_id
string
❌
8
domain_id
string
✅
ScheduleRuleRequest
No
Field
Type
Required
Description
1
schedule_rule_id
string
✅
2
domain_id
string
✅
ScheduleRuleStatQuery
No
Field
Type
Required
Description
1
query
✅
2
domain_id
string
✅
UpdateScheduleRuleRequest
No
Field
Type
Required
Description
1
schedule_rule_id
string
✅
2
name
string
❌
3
state
RULE_STATE_NONE
RUNNING
STOPPED
❌
4
rule
❌
5
tags
❌
6
domain_id
string
✅
Last updated