Microsoft.ComputeSchedule (preview:2025-04-15)

2025/07/23 • 1 updated methods

ScheduledActions_Update (updated)
Description Update a ScheduledAction
Reference Link ¶

⚶ Changes

{
  "#id": "ScheduledActions_Update",
  "$parameters": {
    "properties": {
      "Description": {
        "new": "The type used for update operations of the ScheduledAction.",
        "old": "The scheduled action resource"
      },
      "$properties": {
        "@added_4b9b806826c34c1f8dc67508cf55e924": {
          "#name": "tags",
          "Description": "Resource tags.",
          "Required": false,
          "Type": "object"
        }
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
properties:
{
tags: object ,
properties:
{
resourceType: enum ,
actionType: enum ,
startTime: string ,
endTime: string ,
schedule:
{
scheduledTime: string ,
timeZone: string ,
requestedWeekDays:
[
string ,
]
,
requestedMonths:
[
string ,
]
,
requestedDaysOfTheMonth:
[
integer ,
]
,
executionParameters:
{
optimizationPreference: enum ,
retryPolicy:
{
retryCount: integer ,
retryWindowInMinutes: integer ,
}
,
}
,
deadlineType: enum ,
}
,
notificationSettings:
[
{
destination: string ,
type: enum ,
language: enum ,
disabled: boolean ,
}
,
]
,
disabled: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
resourceType: enum ,
actionType: enum ,
startTime: string ,
endTime: string ,
schedule:
{
scheduledTime: string ,
timeZone: string ,
requestedWeekDays:
[
string ,
]
,
requestedMonths:
[
string ,
]
,
requestedDaysOfTheMonth:
[
integer ,
]
,
executionParameters:
{
optimizationPreference: enum ,
retryPolicy:
{
retryCount: integer ,
retryWindowInMinutes: integer ,
}
,
}
,
deadlineType: enum ,
}
,
notificationSettings:
[
{
destination: string ,
type: enum ,
language: enum ,
disabled: boolean ,
}
,
]
,
disabled: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

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