Obtener máquinas virtuales procesadas
Versión del producto: 10.11
Último modificado: 31 julio 2024
Devuelve información detallada sobre las máquinas virtuales procesadas durante los últimos N
minutos (personalizable hasta un máximo de 1440
).
Nota
Esta petición recupera los datos de todas las máquinas virtuales que el producto ha terminado de procesar, así como de las que están siendo procesadas en los últimos N minutos. Por ejemplo, si N es igual a 1440 (equivalente a 24 horas) y la ejecución de un job comienza a las 2 pm y termina a las 6 pm, entonces una petición a la API realizada a las 5 pm del día siguiente proporcionará información sobre todas las máquinas virtuales procesadas durante esa ejecución, incluyendo las que están actualmente en curso.
Punto final
https://<Director_IP_address>:4443/c/router
Punto final inquilino
Para los inquilinos del producto multiinquilino, el punto final debe ser:https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router
Ejemplo de solicitud
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data '{
"action": "JobSummaryManagement",
"method": "getProcessedVms",
"data": [{
"periodMinutes": 1440
}],
"type": "rpc",
"tid": 1}'
Campos de solicitud
Campo |
Tipo |
Valor(es) |
---|---|---|
action
|
string | JobSummaryGestión |
method
|
string | getProcessedmáquinas virtuales |
data
|
int | Hora en minutos |
type
|
string | rpc
|
tid
|
integer | 1 |
Muestra de respuesta
{
"action": "JobSummaryManagement",
"method": "getProcessedVms",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": {
"jobInfoList": [
{
"vid": "JOB-2",
"name": "Running",
"jobType": "BACKUP",
"vmInfoList": [
{
"vid": "VM-36",
"name": "@a",
"runInfoList": [
{
"vid": "JOB_EXECUTION_STEP-14",
"state": "SKIPPED",
"jobExecutionState": "SKIPPED",
"startDate": "2024-05-09T14:13:01.156+07:00",
"finishDate": "2024-05-09T14:13:01.161+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [],
"scheduleId": 3,
"scheduleName": "Schedule # 1",
"fullBackup": false,
"sourceTransporterHost": null,
"targetTransporterHost": null,
"retentionInfo": "Daily: 10 days"
},
{
"vid": "JOB_EXECUTION_STEP-11",
"state": "SKIPPED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T14:12:57.815+07:00",
"finishDate": "2024-05-09T14:12:58.986+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [],
"scheduleId": 3,
"scheduleName": "Manual run",
"fullBackup": true,
"sourceTransporterHost": null,
"targetTransporterHost": null,
"retentionInfo": "Daily: 10 days"
},
{
"vid": "JOB_EXECUTION_STEP-8",
"state": "SUCCEEDED",
"jobExecutionState": "STOPPED",
"startDate": "2024-05-09T14:02:59.914+07:00",
"finishDate": "2024-05-09T14:03:21.633+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [
"LAN"
],
"scheduleId": 3,
"scheduleName": "Manual run",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Daily: 10 days"
},
{
"vid": "JOB_EXECUTION_STEP-6",
"state": "SUCCEEDED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T14:00:51.884+07:00",
"finishDate": "2024-05-09T14:01:07.306+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [
"LAN"
],
"scheduleId": 3,
"scheduleName": "Manual run",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Daily: 10 days"
}
]
},
{
"vid": "VM-3",
"name": "flashboot_automation_Win98_VM1",
"runInfoList": [
{
"vid": "JOB_EXECUTION_STEP-13",
"state": "SUCCEEDED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T14:12:59.014+07:00",
"finishDate": "2024-05-09T14:18:08.695+07:00",
"retryCount": 0,
"dataTransferred": 314574750,
"dataTransferredUncompressed": 314572800,
"dataTransferredLastRetry": 314574750,
"dataTransferredUncompressedLastRetry": 314572800,
"transporterModes": [
"LAN"
],
"scheduleId": 3,
"scheduleName": "Manual run",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Daily: 10 days"
},
{
"vid": "JOB_EXECUTION_STEP-10",
"state": "STOPPED",
"jobExecutionState": "STOPPED",
"startDate": "2024-05-09T14:02:59.809+07:00",
"finishDate": "2024-05-09T14:08:20.177+07:00",
"retryCount": 0,
"dataTransferred": 314574750,
"dataTransferredUncompressed": 314572800,
"dataTransferredLastRetry": 314574750,
"dataTransferredUncompressedLastRetry": 314572800,
"transporterModes": [
"LAN"
],
"scheduleId": 3,
"scheduleName": "Manual run",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Daily: 10 days"
}
]
},
{
"vid": "VM-40",
"name": "@!#$%&*()P@ssword123@-+_9876",
"runInfoList": [
{
"vid": "JOB_EXECUTION_STEP-12",
"state": "SKIPPED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T14:12:57.815+07:00",
"finishDate": "2024-05-09T14:12:58.936+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [],
"scheduleId": 3,
"scheduleName": "Manual run",
"fullBackup": true,
"sourceTransporterHost": null,
"targetTransporterHost": null,
"retentionInfo": "Daily: 10 days"
},
{
"vid": "JOB_EXECUTION_STEP-9",
"state": "SUCCEEDED",
"jobExecutionState": "STOPPED",
"startDate": "2024-05-09T14:02:59.770+07:00",
"finishDate": "2024-05-09T14:03:19.749+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [
"LAN"
],
"scheduleId": 3,
"scheduleName": "Manual run",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Daily: 10 days"
},
{
"vid": "JOB_EXECUTION_STEP-7",
"state": "SUCCEEDED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T14:00:51.980+07:00",
"finishDate": "2024-05-09T14:01:05.337+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [
"LAN"
],
"scheduleId": 3,
"scheduleName": "Manual run",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Daily: 10 days"
}
]
}
]
},
{
"vid": "JOB-1",
"name": "Overlap",
"jobType": "BACKUP",
"vmInfoList": [
{
"vid": "VM-36",
"name": "@a",
"runInfoList": [
{
"vid": "JOB_EXECUTION_STEP-4",
"state": "SUCCEEDED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T12:24:02.932+07:00",
"finishDate": "2024-05-09T12:24:20.403+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [
"LAN"
],
"scheduleId": 1,
"scheduleName": "Schedule # 1",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Yearly: 3 years"
},
{
"vid": "JOB_EXECUTION_STEP-3",
"state": "SKIPPED",
"jobExecutionState": "SKIPPED",
"startDate": "2024-05-09T12:24:00.720+07:00",
"finishDate": "2024-05-09T12:24:00.733+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [],
"scheduleId": 2,
"scheduleName": "Schedule # 2",
"fullBackup": false,
"sourceTransporterHost": null,
"targetTransporterHost": null,
"retentionInfo": "Daily: 10 days"
},
{
"vid": "JOB_EXECUTION_STEP-1",
"state": "SUCCEEDED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T12:22:02.191+07:00",
"finishDate": "2024-05-09T12:22:20.227+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [
"LAN"
],
"scheduleId": 2,
"scheduleName": "Schedule # 2",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Daily: 10 days"
}
]
},
{
"vid": "VM-40",
"name": "@!#$%&*()P@ssword123@-+_9876",
"runInfoList": [
{
"vid": "JOB_EXECUTION_STEP-5",
"state": "SUCCEEDED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T12:24:02.931+07:00",
"finishDate": "2024-05-09T12:24:18.407+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [
"LAN"
],
"scheduleId": 1,
"scheduleName": "Schedule # 1",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Yearly: 3 years"
},
{
"vid": "JOB_EXECUTION_STEP-2",
"state": "SUCCEEDED",
"jobExecutionState": "SUCCEEDED",
"startDate": "2024-05-09T12:22:02.221+07:00",
"finishDate": "2024-05-09T12:22:18.394+07:00",
"retryCount": 0,
"dataTransferred": 0,
"dataTransferredUncompressed": 0,
"dataTransferredLastRetry": 0,
"dataTransferredUncompressedLastRetry": 0,
"transporterModes": [
"LAN"
],
"scheduleId": 2,
"scheduleName": "Schedule # 2",
"fullBackup": true,
"sourceTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"targetTransporterHost": {
"vid": "TRANSPORTER-1",
"name": "Onboard transporter"
},
"retentionInfo": "Daily: 10 days"
}
]
}
]
}
]
}
}
Campos de respuesta
Campo |
Valor |
Descripción |
---|---|---|
message
|
string | Mensaje si la solicitud ha fallado |
where
|
string | Referencia al método en el que se ha producido el problema |
cause
|
string | Causa del fallo |
data
|
Json | El jobInfoList lista de jobs relacionados. Véase el cuadro siguiente |
datos.hijos
Campo |
Tipo |
Descripción |
---|---|---|
|
string |
Job VID |
name
|
string | Nombre del job |
|
Cadena |
Tipo de job. Valores posibles: |
vmInfoList
|
Json | La lista vmInfoList de máquinas virtuales relacionadas. Véase el cuadro siguiente |
datos.hijos.hijos
Campo |
Tipo |
Descripción |
---|---|---|
|
string |
VM VID |
name
|
string | Nombre de la máquina virtual |
runInfoList
|
Json | La lista runInfoList de pasos de ejecución de job relacionados. Véase el cuadro siguiente |
datos.hijos.hijos.hijos
Campo |
Tipo |
Descripción |
---|---|---|
|
string |
VID del paso de ejecución del job |
state
|
string | Estado del paso de ejecución del job. Valores posibles: WAITING, RUNNING, STOPPED, FAILED, SUCCEEDED, SKIPPED |
jobExecutionState
|
string | Estado de ejecución del job. Valores posibles: WAITING, RUNNING, STOPPED, FAILED, SUCCEEDED, SKIPPED |
|
FechaHora |
Fecha y hora de inicio del paso de ejecución del job |
|
FechaHora |
Fecha y hora de finalizar el paso de ejecución del job |
|
int |
Número de reintentos de ejecución del job |
dataTransferred
|
largo | Datos transferidos en bytes |
dataTransferredUncompressed
|
largo | Datos transferidos sin comprimir en bytes |
dataTransferredLastRetry
|
largo | Datos transferidos durante el último reintento en bytes |
dataTransferredUncompressedLastRetry
|
largo | Datos transferidos sin comprimir durante el último reintento en bytes |
transporterModes
|
string |
Los modos de transferencia de datos. Valores posibles: |
scheduleId
|
int | Programación ID |
scheduleName
|
string | Nombre para mostrar la programación |
fullBackup
|
boolean | true si el modo de backup completo está activado |
sourceTransporterHost
|
string | Origen de los datos del host Transportador |
targetTransporterHost
|
string | Datos del host Transportador de destino |
retentionInfo
|
string | Datos de retención |