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

2025/08/15 • 1 updated methods

ScheduledActionExtension_ListByVms (updated)
Description List ScheduledActionResources resources by parent
Reference Link ¶

⚶ Changes

{
  "#id": "ScheduledActionExtension_ListByVms",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "@added_649c87a98d184d4a9e1acd59f774d7ef": {
                  "#name": "resourceNotificationSettings",
                  "Description": "The notification settings for the scheduled action at a resource level. Resource level notification settings are scope to specific resources only and submitted through attach requests.",
                  "Required": false,
                  "Type": "array",
                  "$items": {
                    "Description": "The information about notifications to be send to about upcoming operations.",
                    "Type": "object",
                    "$properties": [
                      {
                        "#name": "destination",
                        "Description": "Where the notification should be sent. For email, it should follow email format.",
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "type",
                        "Description": "Type of notification to be sent.",
                        "Enum": [
                          [
                            "Email",
                            "Notify through e-mail"
                          ]
                        ],
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "language",
                        "Description": "The language the notification should be sent on.",
                        "Enum": [
                          [
                            "en-us",
                            "American english language"
                          ]
                        ],
                        "Required": true,
                        "Type": "string"
                      },
                      {
                        "#name": "disabled",
                        "Description": "Tells if the notification is enabled or not.",
                        "Required": false,
                        "Type": "boolean"
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.ComputeSchedule/associatedScheduledActions
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
value:
[
{
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 ,
resourceNotificationSettings:
[
{
destination: string ,
type: enum ,
language: enum ,
disabled: boolean ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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