Skip to main content

scheduled_action_extension

Creates, updates, deletes, gets or lists a scheduled_action_extension resource.

Overview

Namescheduled_action_extension
TypeResource
Idazure.compute_schedule.scheduled_action_extension

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
actionTypestringThe action the scheduled action should perform in the resources. Required. Known values are: "Start", "Deallocate", and "Hibernate". (Start, Deallocate, Hibernate)
disabledbooleanTell if the scheduled action is disabled or not.
endTimestring (date-time)The time when the scheduled action is supposed to stop scheduling.
notificationSettingsarrayThe notification settings for the scheduled action. Required.
provisioningStatestringThe status of the last provisioning operation performed on the resource. Known values are: "Succeeded", "Failed", "Canceled", and "Deleting". (Succeeded, Failed, Canceled, Deleting)
resourceTypestringThe type of resource the scheduled action is targeting. Required. Known values are: "VirtualMachine" and "VirtualMachineScaleSet". (VirtualMachine, VirtualMachineScaleSet)
scheduleobjectThe schedule the scheduled action is supposed to follow. Required.
startTimestring (date-time)The time which the scheduled action is supposed to start running. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_vmsselectresource_uriList ScheduledActionResources resources by parent.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resource_uristringThe fully qualified Azure Resource manager identifier of the resource. Required.

SELECT examples

List ScheduledActionResources resources by parent.

SELECT
id,
name,
actionType,
disabled,
endTime,
notificationSettings,
provisioningState,
resourceType,
schedule,
startTime,
systemData,
type
FROM azure.compute_schedule.scheduled_action_extension
WHERE resource_uri = '{{ resource_uri }}' -- required
;