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

2025/07/11 • 33 new methods

OccurrenceExtension_ListOccurrenceByVms (new)
Description List OccurrenceExtensionResource resources by parent
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
resourceId: string ,
notificationSettings:
[
{
destination: string ,
type: enum ,
language: enum ,
disabled: boolean ,
}
,
]
,
scheduledTime: string ,
provisioningState: enum ,
errorDetails:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
scheduledActionId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActionExtension_ListByVms (new)
Description List ScheduledActionResources resources by parent
Reference Link ¶

⚼ 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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_VirtualMachinesCancelOperations (new)
Description VirtualMachinesCancelOperations: Cancel a previously submitted (start/deallocate/hibernate) request
Reference Link ¶

⚼ 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 ,
}
,
]
,
}
,
}
ScheduledActions_VirtualMachinesExecuteCreate (new)
Description VirtualMachinesExecuteCreate: Execute create operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesExecuteCreate
{
api-version: string ,
subscriptionId: string ,
locationparameter: string ,
requestBody:
{
resourceConfigParameters:
{
baseProfile: object ,
resourceOverrides:
[
object ,
]
,
resourceCount: integer ,
resourcePrefix: string ,
}
,
executionParameters:
{
optimizationPreference: enum ,
retryPolicy:
{
retryCount: integer ,
retryWindowInMinutes: integer ,
}
,
}
,
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 ,
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_VirtualMachinesExecuteDeallocate (new)
Description VirtualMachinesExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.
Reference Link ¶

⚼ 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 ,
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_VirtualMachinesExecuteDelete (new)
Description VirtualMachinesExecuteDelete: Execute delete operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.
Reference Link ¶

⚼ Request

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

⚐ 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 ,
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 (new)
Description VirtualMachinesExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.
Reference Link ¶

⚼ 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 ,
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 (new)
Description VirtualMachinesExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.
Reference Link ¶

⚼ 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 ,
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_VirtualMachinesGetOperationErrors (new)
Description VirtualMachinesGetOperationErrors: Get error details on operation errors (like transient errors encountered, additional logs) if they exist.
Reference Link ¶

⚼ 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 ,
timeStamp: string ,
azureOperationName: string ,
crpOperationId: string ,
}
,
]
,
requestErrorCode: string ,
requestErrorDetails: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_VirtualMachinesGetOperationStatus (new)
Description VirtualMachinesGetOperationStatus: Polling endpoint to read status of operations performed on virtual machines
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesGetOperationStatus
{
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 ,
}
,
]
,
}
,
}
ScheduledActions_VirtualMachinesSubmitDeallocate (new)
Description VirtualMachinesSubmitDeallocate: Schedule deallocate operation for a batch of virtual machines at datetime in future.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesSubmitDeallocate
{
api-version: string ,
subscriptionId: string ,
locationparameter: string ,
requestBody:
{
schedule:
{
deadline: string ,
deadLine: string ,
timezone: string ,
timeZone: string ,
deadlineType: enum ,
}
,
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 ,
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_VirtualMachinesSubmitHibernate (new)
Description VirtualMachinesSubmitHibernate: Schedule hibernate operation for a batch of virtual machines at datetime in future.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesSubmitHibernate
{
api-version: string ,
subscriptionId: string ,
locationparameter: string ,
requestBody:
{
schedule:
{
deadline: string ,
deadLine: string ,
timezone: string ,
timeZone: string ,
deadlineType: enum ,
}
,
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 ,
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_VirtualMachinesSubmitStart (new)
Description VirtualMachinesSubmitStart: Schedule start operation for a batch of virtual machines at datetime in future.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/locations/{locationparameter}/virtualMachinesSubmitStart
{
api-version: string ,
subscriptionId: string ,
locationparameter: string ,
requestBody:
{
schedule:
{
deadline: string ,
deadLine: string ,
timezone: string ,
timeZone: string ,
deadlineType: enum ,
}
,
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 ,
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_ListBySubscription (new)
Description List ScheduledAction resources by subscription ID
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.ComputeSchedule/scheduledActions
{
api-version: string ,
subscriptionId: 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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_ListByResourceGroup (new)
Description List ScheduledAction resources by resource group
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: 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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_Get (new)
Description Get a ScheduledAction
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
}

⚐ 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 ,
}
,
]
,
}
,
}
ScheduledActions_CreateOrUpdate (new)
Description Create a ScheduledAction
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
resource:
{
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 (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 (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
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 ,
}
,
]
,
}
,
}
ScheduledActions_Update (new)
Description Update a ScheduledAction
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
properties:
{
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 ,
}
,
]
,
}
,
}
ScheduledActions_Delete (new)
Description Delete a ScheduledAction
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_AttachResources (new)
Description A synchronous resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/attachResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
body:
{
resources:
[
{
name: string ,
id: string ,
type: string ,
resourceId: string ,
notificationSettings:
[
{
destination: string ,
type: enum ,
language: enum ,
disabled: boolean ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (200)

{
totalResources: integer ,
resourcesStatuses:
[
{
resourceId: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_CancelNextOccurrence (new)
Description A synchronous resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/cancelNextOccurrence
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
body:
{
resourceIds:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
totalResources: integer ,
resourcesStatuses:
[
{
resourceId: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_DetachResources (new)
Description A synchronous resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/detachResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
body:
{
resources:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
totalResources: integer ,
resourcesStatuses:
[
{
resourceId: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_Disable (new)
Description A synchronous resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/disable
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_Enable (new)
Description A synchronous resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/enable
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Occurrences_ListByScheduledAction (new)
Description List Occurrence resources by ScheduledAction
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
scheduledTime: string ,
resultSummary:
{
total: integer ,
statuses:
[
{
code: string ,
count: integer ,
errorDetails:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Occurrences_Get (new)
Description Get a Occurrence
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences/{occurrenceId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
occurrenceId: string ,
}

⚐ Response (200)

{
properties:
{
scheduledTime: string ,
resultSummary:
{
total: integer ,
statuses:
[
{
code: string ,
count: integer ,
errorDetails:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Occurrences_Cancel (new)
Description A synchronous resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences/{occurrenceId}/cancel
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
occurrenceId: string ,
body:
{
resourceIds:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
totalResources: integer ,
resourcesStatuses:
[
{
resourceId: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Occurrences_Delay (new)
Description A long-running resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences/{occurrenceId}/delay
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
occurrenceId: string ,
body:
{
delay: string ,
resourceIds:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
totalResources: integer ,
resourcesStatuses:
[
{
resourceId: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Occurrences_ListResources (new)
Description List resources attached to Scheduled Actions for the given occurrence
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences/{occurrenceId}/resources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
occurrenceId: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
id: string ,
type: string ,
resourceId: string ,
notificationSettings:
[
{
destination: string ,
type: enum ,
language: enum ,
disabled: boolean ,
}
,
]
,
scheduledTime: string ,
provisioningState: enum ,
errorDetails:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_PatchResources (new)
Description A synchronous resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/patchResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
body:
{
resources:
[
{
name: string ,
id: string ,
type: string ,
resourceId: string ,
notificationSettings:
[
{
destination: string ,
type: enum ,
language: enum ,
disabled: boolean ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (200)

{
totalResources: integer ,
resourcesStatuses:
[
{
resourceId: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScheduledActions_ListResources (new)
Description List resources attached to Scheduled Actions
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/resources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
id: string ,
type: string ,
resourceId: string ,
notificationSettings:
[
{
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 ,
}
,
]
,
}
,
}
ScheduledActions_TriggerManualOccurrence (new)
Description A synchronous resource action.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/triggerManualOccurrence
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scheduledActionName: string ,
}

⚐ Response (200)

{
properties:
{
scheduledTime: string ,
resultSummary:
{
total: integer ,
statuses:
[
{
code: string ,
count: integer ,
errorDetails:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
]
,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

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