Compute Cloud API, REST: Maintenance.Get
Retrieves the specific Maintenance by ID.
HTTP request
GET https://compute.api.yandexcloud.kz/compute/v1/maintenances/{maintenanceId}
Path parameters
GetMaintenanceRequest allows getting Maintenance by ID.
|
Field |
Description |
|
maintenanceId |
string Required field. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"resourcePath": [
{
"id": "string",
"type": "string"
}
],
"description": "string",
"details": [
{
"key": "string",
"value": "string"
}
],
"status": "string",
"createdAt": "string",
"startScheduledAt": "string",
"completionScheduledAt": "string",
"maxStartScheduledAt": "string",
"startedAt": "string",
"succeededAt": "string",
"cancelledAt": "string",
"userControllable": "boolean"
}
|
Field |
Description |
|
id |
string ID of the maintenance. |
|
resourcePath[] |
Full path to the resource affected by maintenance, |
|
description |
string Describes action to be performed. |
|
details[] |
Service-specific details. |
|
status |
enum (Status) Status of the maintenance.
|
|
createdAt |
string (date-time) The creation time of the maintenance. String in RFC3339 To work with values in this field, use the APIs described in the |
|
startScheduledAt |
string (date-time) The time when the maintenance was scheduled to start. String in RFC3339 To work with values in this field, use the APIs described in the |
|
completionScheduledAt |
string (date-time) The time when the maintenance is estimated to complete. Optional. String in RFC3339 To work with values in this field, use the APIs described in the |
|
maxStartScheduledAt |
string (date-time) Latest time the maintenance can be postponed to. String in RFC3339 To work with values in this field, use the APIs described in the |
|
startedAt |
string (date-time) The time time when the maintenance has actually started. String in RFC3339 To work with values in this field, use the APIs described in the |
|
succeededAt |
string (date-time) The time time when the maintenance has actually completed successfully. String in RFC3339 To work with values in this field, use the APIs described in the |
|
cancelledAt |
string (date-time) The time time when the maintenance has actually been cancelled. String in RFC3339 To work with values in this field, use the APIs described in the |
|
userControllable |
boolean Indicates whether the user can control (reschedule) the maintenance. |
Resource
|
Field |
Description |
|
id |
string ID of the resource |
|
type |
string The type of the resource, e.g. resource-manager.cloud, resource-manager.folder, compute.instance, etc. |
Detail
|
Field |
Description |
|
key |
string Unique key (service-specific). |
|
value |
string Description (service-specific). |