This contains APIs to manage fixed schedules for the AutoStopping Rules.
Returns all the AutoStopping Rule fixed schedules for the given identifier.
successful operation
Invalid
{- "response": [
- {
- "name": "string",
- "id": 0,
- "account": "string",
- "description": "string",
- "resources": [
- {
- "id": "string",
- "type": "autostop_rule"
}
], - "details": {
- "uptime": {
- "period": {
- "start": "2021-10-19T08:35:00.927Z",
- "end": "2021-10-19T08:37:58.927Z"
}, - "days": {
- "days": [
- 0
], - "all_day": true,
- "start_time": {
- "hour": 0,
- "min": 0
}, - "end_time": {
- "hour": 0,
- "min": 0
}
}
}, - "downtime": {
- "period": {
- "start": "2021-10-19T08:35:00.927Z",
- "end": "2021-10-19T08:37:58.927Z"
}, - "days": {
- "days": [
- 0
], - "all_day": true,
- "start_time": {
- "hour": 0,
- "min": 0
}, - "end_time": {
- "hour": 0,
- "min": 0
}
}
}, - "timezone": "string"
}
}
]
}
Creates an AutoStopping rule to run resources based on the schedule.
successful operation
Invalid
{- "name": "string",
- "id": 0,
- "account": "string",
- "description": "string",
- "resources": [
- {
- "id": "string",
- "type": "autostop_rule"
}
], - "details": {
- "uptime": {
- "period": {
- "start": "2021-10-19T08:35:00.927Z",
- "end": "2021-10-19T08:37:58.927Z"
}, - "days": {
- "days": [
- 0
], - "all_day": true,
- "start_time": {
- "hour": 0,
- "min": 0
}, - "end_time": {
- "hour": 0,
- "min": 0
}
}
}, - "downtime": {
- "period": {
- "start": "2021-10-19T08:35:00.927Z",
- "end": "2021-10-19T08:37:58.927Z"
}, - "days": {
- "days": [
- 0
], - "all_day": true,
- "start_time": {
- "hour": 0,
- "min": 0
}, - "end_time": {
- "hour": 0,
- "min": 0
}
}
}, - "timezone": "string"
}
}
Deletes a fixed schedule for the given AutoStopping Rule.
successful operation
{- "response": "string"
}