Skip to main content

occurrence_extension

Creates, updates, deletes, gets or lists an occurrence_extension resource.

Overview

Nameoccurrence_extension
TypeResource
Idazure.compute_schedule.occurrence_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.
errorDetailsobjectError details for the resource. Only populated if resource is in failed state.
notificationSettingsarrayThe desired notification settings for the specified resource.
provisioningStatestringThe current state of the resource. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled)
resourceIdstringThe ARM Id of the resource. "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}". Required.
scheduledActionIdstringThe arm identifier of the scheduled action the occurrence belongs to. Required.
scheduledTimestring (date-time)The time the occurrence is scheduled for the resource. Specified in UTC. 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_occurrence_by_vmsselectresource_uriList OccurrenceExtensionResource 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 OccurrenceExtensionResource resources by parent.

SELECT
id,
name,
errorDetails,
notificationSettings,
provisioningState,
resourceId,
scheduledActionId,
scheduledTime,
systemData,
type
FROM azure.compute_schedule.occurrence_extension
WHERE resource_uri = '{{ resource_uri }}' -- required
;