Microsoft.ComputeSchedule (preview:2024-08-15)

2024/12/09 • 1 updated methods

ScheduledActions_VirtualMachinesGetOperationErrors (updated)
Description GetOperationErrors: Get error details on operation errors (like transient errors encountered, additional logs) if they exist.
Reference Link ¶

⚶ Changes

{
  "#id": "ScheduledActions_VirtualMachinesGetOperationErrors",
  "Description": {
    "new": "GetOperationErrors: Get error details on operation errors (like transient errors encountered, additional logs) if they exist.",
    "old": "GetOperationErrors: Get operation error details on operation errors (like transient errors encountered, additional logs) if they exist."
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesGetOperationErrors
{
api-version: string ,
subscriptionId: string ,
locationparameter: string ,
requestBody:
{
operationIds:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
results:
[
{
operationId: string ,
creationTime: string ,
activationTime: string ,
completedAt: string ,
operationErrors:
[
{
errorCode: string ,
errorDetails: string ,
timeStamp: string ,
crpOperationId: string ,
}
,
]
,
requestErrorCode: string ,
requestErrorDetails: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}