| Description | : CancelOperations: Cancel a previously submitted (start/deallocate/hibernate) request for submit-type ComputeSchedule operations |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "ScheduledActions_VirtualMachinesCancelOperations",
"$responses": {
"200": {
"$properties": {
"results": {
"$properties": {
"operation": [
{
"#name": "deadlineType",
"Enum": {
"new": [
[
"Unknown",
"Default value of Unknown."
],
[
"InitiateAt",
"Initiate the operation at the given deadline."
],
[
"CompleteBy",
"Complete the operation by the given deadline."
]
],
"old": [
[
"Unknown",
"Default value of Unknown."
],
[
"InitiateAt",
"Initiate the operation at the given deadline."
]
]
}
}
]
}
}
}
}
}
}
⚼ Request
POST:
/subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesCancelOperations
{
api-version:
string
,
subscriptionId:
string
,
locationparameter:
string
,
requestBody:
}
{
,
operationIds:
[
,
string
,
]
correlationid:
string
,
}
⚐ Response (200)
{
results:
}
[
]
,
{
,
resourceId:
string
,
errorCode:
string
,
errorDetails:
string
,
operation:
}
{
,
operationId:
string
,
resourceId:
string
,
opType:
enum
,
subscriptionId:
string
,
deadline:
string
,
deadlineType:
enum
,
state:
enum
,
timezone:
string
,
timeZone:
string
,
resourceOperationError:
{
,
errorCode:
string
,
errorDetails:
string
,
}
completedAt:
string
,
retryPolicy:
}
{
,
retryCount:
integer
,
retryWindowInMinutes:
integer
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}