Get a single nOps Essentials instance.
GET/svc/notifications/scheduler/nops_scheduler/:id
Get a single nOps Essentials instance.
Request
Path Parameters
A UUID string identifying nOps Essentials.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
- StatusEnum
]
Array [
]
Array [
]
Possible values: >= -2147483648
and <= 2147483647
Possible values: <= 250 characters
Possible values: <= 50 characters
resources
object[]
Possible values: [ec2
, rds
, rds_cluster
, autoscaling_groups
, eks_nodegroup
, ebs
, snapshot
]
Possible values: <= 255 characters
Possible values: <= 2048 characters
Possible values: <= 2048 characters
Possible values: <= 2048 characters
Possible values: [active
, deleted
]
status
object
nullable
oneOf
string
Possible values: [running
, stopped
, terminated
, not_determined
]
Possible values: <= 50 characters
resource_details
object
actions
object[]
required
Possible values: [start
, stop
, terminate
, modify
, update_ec2_auto_scaling
, ebs_migration
, ec2_rightsizing
, delete_volume
, delete_volume_with_snapshot
, archive_snapshot
]
action_details
object
Possible values: [selected_day_of_week
, cronjob
, onetime
]
Possible values: [mon
, tue
, wed
, thu
, fri
, sat
, sun
]
Possible values: <= 23
Possible values: <= 59
Possible values: [active
, inactive
, deleting
]
Possible values: [active
, inactive
, deleting
]
Possible values: [scheduler_start_stop
, ec2_auto_scaling
, nswitch_essential
, nswitch_changeset
, essentials_idle_resources
, essentials__scheduler
, essentials__storage
, essentials__rightsizing
, essentials__idle_resources
]
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 64 characters
Possible values: <= 64 characters
Possible values: <= 255 characters
pull_requests
object[]
Possible values: >= -9223372036854776000
and <= 9223372036854776000
Possible values: >= -9223372036854776000
and <= 9223372036854776000
Possible values: >= -2147483648
and <= 2147483647
Possible values: <= 255 characters
Possible values: <= 256 characters
Possible values: <= 256 characters
Possible values: <= 2048 characters
Possible values: <= 256 characters
Possible values: [opened
, merged
, closed
, locked
]
Possible values: [github
, gitlab
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"client": 0,
"project": 0,
"user": 0,
"name": "string",
"account_number": "string",
"resources": [
{
"id": 0,
"created": "2024-07-29T15:51:28.071Z",
"modified": "2024-07-29T15:51:28.071Z",
"item_type": "ec2",
"item_id": "string",
"resource_id": "string",
"resource_name": "string",
"resource_arn": "string",
"state": "active",
"status": "running",
"last_check_status": "2024-07-29T15:51:28.071Z",
"region": "string",
"resource_details": {},
"price_per_unit": 0,
"manually_added": true,
"scheduler": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"actions": [
{
"id": 0,
"position": "string",
"created": "2024-07-29T15:51:28.071Z",
"modified": "2024-07-29T15:51:28.071Z",
"action": "start",
"action_details": {},
"action_type": "selected_day_of_week",
"day_of_week": [
"mon"
],
"hour": 0,
"minute": 0,
"state": "active",
"last_run": "2024-07-29T15:51:28.071Z",
"last_manual_trigger": "2024-07-29T15:51:28.071Z",
"run_date": "2024-07-29T15:51:28.071Z",
"scheduler": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"state": "active",
"eventbridge_configuration": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"scheduler_for": "scheduler_start_stop",
"description": "string",
"recommendation_hash": "string",
"hours_down": 0,
"scheduled_by_tag_key": "string",
"scheduled_by_tag_value": "string",
"changeset_pull_request_urls": [
"string"
],
"pull_requests": [
{
"project_id": 0,
"gitsource_pull_request_id": 0,
"project_pull_request_id": 0,
"labels": [
"string"
],
"source_branch": "string",
"target_branch": "string",
"web_url": "string",
"project_name": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"merged_at": "2024-07-29T15:51:28.071Z",
"closed_at": "2024-07-29T15:51:28.071Z",
"state": "opened",
"git_source": "github"
}
]
}