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

2024/12/09 • 3 updated methods

ScheduledActions_VirtualMachinesExecuteDeallocate (updated)
Description ExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.
Reference Link ¶

⚶ Changes

{
  "#id": "ScheduledActions_VirtualMachinesExecuteDeallocate",
  "Description": {
    "new": "ExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.",
    "old": "ExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule recieves it."
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesExecuteDeallocate
{
api-version: string ,
subscriptionId: string ,
locationparameter: string ,
requestBody:
{
executionParameters:
{
optimizationPreference: enum ,
retryPolicy:
{
retryCount: integer ,
retryWindowInMinutes: integer ,
}
,
}
,
resources:
{
ids:
[
string ,
]
,
}
,
correlationid: string ,
}
,
}

⚐ Response (200)

{
description: string ,
type: string ,
location: string ,
results:
[
{
resourceId: string ,
errorCode: string ,
errorDetails: string ,
operation:
{
operationId: string ,
resourceId: string ,
opType: enum ,
subscriptionId: string ,
deadline: string ,
deadlineType: enum ,
state: enum ,
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 ,
}
,
]
,
}
,
}
ScheduledActions_VirtualMachinesExecuteHibernate (updated)
Description ExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.
Reference Link ¶

⚶ Changes

{
  "#id": "ScheduledActions_VirtualMachinesExecuteHibernate",
  "Description": {
    "new": "ExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.",
    "old": "ExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule recieves it."
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesExecuteHibernate
{
api-version: string ,
subscriptionId: string ,
locationparameter: string ,
requestBody:
{
executionParameters:
{
optimizationPreference: enum ,
retryPolicy:
{
retryCount: integer ,
retryWindowInMinutes: integer ,
}
,
}
,
resources:
{
ids:
[
string ,
]
,
}
,
correlationid: string ,
}
,
}

⚐ Response (200)

{
description: string ,
type: string ,
location: string ,
results:
[
{
resourceId: string ,
errorCode: string ,
errorDetails: string ,
operation:
{
operationId: string ,
resourceId: string ,
opType: enum ,
subscriptionId: string ,
deadline: string ,
deadlineType: enum ,
state: enum ,
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 ,
}
,
]
,
}
,
}
ScheduledActions_VirtualMachinesExecuteStart (updated)
Description ExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.
Reference Link ¶

⚶ Changes

{
  "#id": "ScheduledActions_VirtualMachinesExecuteStart",
  "Description": {
    "new": "ExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.",
    "old": "ExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule recieves it."
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesExecuteStart
{
api-version: string ,
subscriptionId: string ,
locationparameter: string ,
requestBody:
{
executionParameters:
{
optimizationPreference: enum ,
retryPolicy:
{
retryCount: integer ,
retryWindowInMinutes: integer ,
}
,
}
,
resources:
{
ids:
[
string ,
]
,
}
,
correlationid: string ,
}
,
}

⚐ Response (200)

{
description: string ,
type: string ,
location: string ,
results:
[
{
resourceId: string ,
errorCode: string ,
errorDetails: string ,
operation:
{
operationId: string ,
resourceId: string ,
opType: enum ,
subscriptionId: string ,
deadline: string ,
deadlineType: enum ,
state: enum ,
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 ,
}
,
]
,
}
,
}